Datasets:
Add all config
Browse files- the_pile_github.py +3 -0
the_pile_github.py
CHANGED
|
@@ -192,6 +192,9 @@ _URLS = {
|
|
| 192 |
},
|
| 193 |
}
|
| 194 |
|
|
|
|
|
|
|
|
|
|
| 195 |
|
| 196 |
|
| 197 |
# Name of the dataset usually match the script name with CamelCase instead of snake_case
|
|
|
|
| 192 |
},
|
| 193 |
}
|
| 194 |
|
| 195 |
+
# Add all existing urls to the dict
|
| 196 |
+
_URLS["all"] = {split: sum([_URLS[lang][split] for lang in _URLS.keys()], []) for split in ["train", "dev", "test"]}
|
| 197 |
+
|
| 198 |
|
| 199 |
|
| 200 |
# Name of the dataset usually match the script name with CamelCase instead of snake_case
|