bugfixes for mmteb miracl
Browse files- mmteb-miracl.py +0 -2
mmteb-miracl.py
CHANGED
@@ -166,7 +166,6 @@ class MMTEBMIRACL(datasets.GeneratorBasedBuilder):
|
|
166 |
|
167 |
def _split_generators(self, dl_manager):
|
168 |
name = self.config.name
|
169 |
-
downloaded_files = dl_manager.download_and_extract(_DATASET_URLS[name])
|
170 |
|
171 |
if name.startswith('corpus-'):
|
172 |
language = name.strip('corpus-', '')
|
@@ -179,7 +178,6 @@ class MMTEBMIRACL(datasets.GeneratorBasedBuilder):
|
|
179 |
},
|
180 |
),
|
181 |
]
|
182 |
-
|
183 |
elif name.startswith('queries-'):
|
184 |
language = name.strip('queries-', '')
|
185 |
downloaded_files = dl_manager.download_and_extract(_DATASET_URLS[language]['queries'])
|
|
|
166 |
|
167 |
def _split_generators(self, dl_manager):
|
168 |
name = self.config.name
|
|
|
169 |
|
170 |
if name.startswith('corpus-'):
|
171 |
language = name.strip('corpus-', '')
|
|
|
178 |
},
|
179 |
),
|
180 |
]
|
|
|
181 |
elif name.startswith('queries-'):
|
182 |
language = name.strip('queries-', '')
|
183 |
downloaded_files = dl_manager.download_and_extract(_DATASET_URLS[language]['queries'])
|