Datasets:
Tasks:
Text Generation
Modalities:
Text
Sub-tasks:
language-modeling
Size:
10M - 100M
ArXiv:
License:
Fixed bug downloading mini version
#2
by djstrong - opened
- oscar-small.py +2 -2
oscar-small.py
CHANGED
|
@@ -85,7 +85,7 @@ _CITATION = """\
|
|
| 85 |
"""
|
| 86 |
|
| 87 |
_BASE_DATA_URL_FORMAT_STR = (
|
| 88 |
-
"https://huggingface.co/datasets/nthngdy/oscar-
|
| 89 |
)
|
| 90 |
|
| 91 |
def _languages():
|
|
@@ -223,7 +223,7 @@ class OscarConfig(datasets.BuilderConfig):
|
|
| 223 |
|
| 224 |
# Initialize the base class.
|
| 225 |
name = f"{shuffled_str}_{deduplicated_str}_{language}"
|
| 226 |
-
description = f"{shuffled_str.capitalize()} and {deduplicated_str}, {_languages()[language]} OSCAR-
|
| 227 |
super(OscarConfig, self).__init__(name=name, description=description, **kwargs)
|
| 228 |
|
| 229 |
# Additional attributes
|
|
|
|
| 85 |
"""
|
| 86 |
|
| 87 |
_BASE_DATA_URL_FORMAT_STR = (
|
| 88 |
+
"https://huggingface.co/datasets/nthngdy/oscar-small/resolve/main/data/{language}.gz"
|
| 89 |
)
|
| 90 |
|
| 91 |
def _languages():
|
|
|
|
| 223 |
|
| 224 |
# Initialize the base class.
|
| 225 |
name = f"{shuffled_str}_{deduplicated_str}_{language}"
|
| 226 |
+
description = f"{shuffled_str.capitalize()} and {deduplicated_str}, {_languages()[language]} OSCAR-Small dataset"
|
| 227 |
super(OscarConfig, self).__init__(name=name, description=description, **kwargs)
|
| 228 |
|
| 229 |
# Additional attributes
|