ok
Browse files- 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",
|
48 |
super().__init__(
|
49 |
*args,
|
50 |
name=f"{language}",
|
51 |
**kwargs,
|
52 |
)
|
53 |
self.language = language
|
54 |
-
self.
|
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 = []
|