Crystina
commited on
Commit
•
f7ee93c
1
Parent(s):
cb99389
ignore test and train for now
Browse files- cl-miracl.py +21 -21
cl-miracl.py
CHANGED
@@ -128,29 +128,29 @@ class CL_MIRACL(datasets.GeneratorBasedBuilder):
|
|
128 |
'filepaths': downloaded_files['dev'],
|
129 |
},
|
130 |
),
|
131 |
-
datasets.SplitGenerator(
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
),
|
137 |
|
138 |
]
|
139 |
-
if lang not in surprise_languages:
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
if lang not in new_languages:
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
return splits
|
155 |
|
156 |
def _generate_examples(self, filepaths):
|
|
|
128 |
'filepaths': downloaded_files['dev'],
|
129 |
},
|
130 |
),
|
131 |
+
# datasets.SplitGenerator(
|
132 |
+
# name='testB',
|
133 |
+
# gen_kwargs={
|
134 |
+
# 'filepaths': downloaded_files['testB'],
|
135 |
+
# },
|
136 |
+
# ),
|
137 |
|
138 |
]
|
139 |
+
# if lang not in surprise_languages:
|
140 |
+
# splits.append(datasets.SplitGenerator(
|
141 |
+
# name='train',
|
142 |
+
# gen_kwargs={
|
143 |
+
# 'filepaths': downloaded_files['train'],
|
144 |
+
# },
|
145 |
+
# ))
|
146 |
+
|
147 |
+
# if lang not in new_languages:
|
148 |
+
# splits.append(datasets.SplitGenerator(
|
149 |
+
# name='testA',
|
150 |
+
# gen_kwargs={
|
151 |
+
# 'filepaths': downloaded_files['testA'],
|
152 |
+
# },
|
153 |
+
# ))
|
154 |
return splits
|
155 |
|
156 |
def _generate_examples(self, filepaths):
|