Update self_dataset.py
Browse files- self_dataset.py +3 -1
self_dataset.py
CHANGED
|
@@ -103,7 +103,9 @@ class ATC(datasets.GeneratorBasedBuilder):
|
|
| 103 |
|
| 104 |
def _split_generators(self, dl_manager):
|
| 105 |
langs = (
|
| 106 |
-
|
|
|
|
|
|
|
| 107 |
)
|
| 108 |
|
| 109 |
archive_path = dl_manager.download_and_extract(self.config.data_url)
|
|
|
|
| 103 |
|
| 104 |
def _split_generators(self, dl_manager):
|
| 105 |
langs = (
|
| 106 |
+
_ALL_CONFIGS
|
| 107 |
+
if self.config.name == "all"
|
| 108 |
+
else [self.config.name]
|
| 109 |
)
|
| 110 |
|
| 111 |
archive_path = dl_manager.download_and_extract(self.config.data_url)
|