ramonachristen
commited on
Commit
•
d41d796
1
Parent(s):
968cc4e
Update MultiLegalNeg.py
Browse files- MultiLegalNeg.py +2 -2
MultiLegalNeg.py
CHANGED
@@ -33,7 +33,7 @@ _SUBSETS = [
|
|
33 |
"_sherlock", "_sfu", "_bioscope"
|
34 |
]
|
35 |
|
36 |
-
_BUILDS = ['de', 'fr', 'it', 'swiss', 'en_bioscope', 'en_sherlock', 'en_sfu', 'en_all', '
|
37 |
|
38 |
|
39 |
|
@@ -43,7 +43,7 @@ class MultiLegalNegConfig(datasets.BuilderConfig):
|
|
43 |
super( MultiLegalNegConfig, self).__init__(**kwargs)
|
44 |
self.name = name
|
45 |
self.language = name.split("_")[0]
|
46 |
-
self.subset = name.split("_")[1] if len(name.split("_"))==2 else ""
|
47 |
|
48 |
class MultiLegalNeg(datasets.GeneratorBasedBuilder):
|
49 |
|
|
|
33 |
"_sherlock", "_sfu", "_bioscope"
|
34 |
]
|
35 |
|
36 |
+
_BUILDS = ['de', 'fr', 'it', 'swiss', 'en_bioscope', 'en_sherlock', 'en_sfu', 'en_all', 'all_all']
|
37 |
|
38 |
|
39 |
|
|
|
43 |
super( MultiLegalNegConfig, self).__init__(**kwargs)
|
44 |
self.name = name
|
45 |
self.language = name.split("_")[0]
|
46 |
+
self.subset = f'_{name.split("_")[1]}' if len(name.split("_"))==2 else ""
|
47 |
|
48 |
class MultiLegalNeg(datasets.GeneratorBasedBuilder):
|
49 |
|