maximedb commited on
Commit
d6791d7
1 Parent(s): 2135939
Files changed (1) hide show
  1. mfaq_light.py +2 -2
mfaq_light.py CHANGED
@@ -44,14 +44,14 @@ _LANGUAGES = [
44
  ]
45
 
46
  class MFAQLightConfig(datasets.BuilderConfig):
47
- def __init__(self, *args, language="en", negative=True, **kwargs):
48
  super().__init__(
49
  *args,
50
  name=f"{language}",
51
  **kwargs,
52
  )
53
  self.language = language
54
- self.negative = negative
55
 
56
  class MFAQLight(datasets.GeneratorBasedBuilder):
57
  BUILDER_CONFIGS = []
 
44
  ]
45
 
46
  class MFAQLightConfig(datasets.BuilderConfig):
47
+ def __init__(self, *args, language="en", negatives=True, **kwargs):
48
  super().__init__(
49
  *args,
50
  name=f"{language}",
51
  **kwargs,
52
  )
53
  self.language = language
54
+ self.negatives = negatives
55
 
56
  class MFAQLight(datasets.GeneratorBasedBuilder):
57
  BUILDER_CONFIGS = []