Datasets:
Yeb Havinga
commited on
Commit
·
e557406
1
Parent(s):
1146e77
Fix # validation files
Browse files- mc4_nl_cleaned.py +1 -1
mc4_nl_cleaned.py
CHANGED
@@ -150,7 +150,7 @@ class Mc4(datasets.GeneratorBasedBuilder):
|
|
150 |
_BASE_URL.format(
|
151 |
split=split,
|
152 |
index=index,
|
153 |
-
n_shards=
|
154 |
)
|
155 |
for index in range(_CONFIGS[self.config.name][split])
|
156 |
]
|
|
|
150 |
_BASE_URL.format(
|
151 |
split=split,
|
152 |
index=index,
|
153 |
+
n_shards=4 if split == "validation" else 1024,
|
154 |
)
|
155 |
for index in range(_CONFIGS[self.config.name][split])
|
156 |
]
|