Update files from the datasets library (from 1.18.0)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.18.0
mc4.py
CHANGED
@@ -299,7 +299,7 @@ class Mc4(datasets.GeneratorBasedBuilder):
|
|
299 |
for split in ["train", "validation"]:
|
300 |
data_urls[split] = [
|
301 |
_DATA_URL.format(
|
302 |
-
language=
|
303 |
split_suffix="-validation" if split == "validation" else "",
|
304 |
index=index,
|
305 |
n_shards=_N_SHARDS_PER_SPLIT[lang][split],
|
|
|
299 |
for split in ["train", "validation"]:
|
300 |
data_urls[split] = [
|
301 |
_DATA_URL.format(
|
302 |
+
language=lang,
|
303 |
split_suffix="-validation" if split == "validation" else "",
|
304 |
index=index,
|
305 |
n_shards=_N_SHARDS_PER_SPLIT[lang][split],
|