Commit
•
cb1ad14
1
Parent(s):
85525bc
Update loading script
Browse files- russian_super_glue.py +1 -1
russian_super_glue.py
CHANGED
@@ -394,8 +394,8 @@ class RussianSuperGlue(datasets.GeneratorBasedBuilder):
|
|
394 |
)
|
395 |
|
396 |
def _split_generators(self, dl_manager: datasets.DownloadManager):
|
397 |
-
dl_dir = dl_manager.download_and_extract(self.config.data_url) or ""
|
398 |
task_name = _get_task_name_from_data_url(self.config.data_url)
|
|
|
399 |
dl_dir = os.path.join(dl_dir, task_name)
|
400 |
if self.config.name == "lidirus":
|
401 |
return [
|
|
|
394 |
)
|
395 |
|
396 |
def _split_generators(self, dl_manager: datasets.DownloadManager):
|
|
|
397 |
task_name = _get_task_name_from_data_url(self.config.data_url)
|
398 |
+
dl_dir = dl_manager.download_and_extract(f"data/{task_name}.zip") or ""
|
399 |
dl_dir = os.path.join(dl_dir, task_name)
|
400 |
if self.config.name == "lidirus":
|
401 |
return [
|