Datasets:
Fix indices
Browse files- mc4-es-sampled.py +1 -1
mc4-es-sampled.py
CHANGED
|
@@ -100,7 +100,7 @@ class Mc4EsSampled(datasets.GeneratorBasedBuilder):
|
|
| 100 |
]
|
| 101 |
data_urls["validation"] = [
|
| 102 |
_DATA_URL_VALIDATION.format(
|
| 103 |
-
index=index,
|
| 104 |
n_shards=_N_SHARDS_PER_SPLIT[config]["validation"],
|
| 105 |
)
|
| 106 |
for config in self.config.configs
|
|
|
|
| 100 |
]
|
| 101 |
data_urls["validation"] = [
|
| 102 |
_DATA_URL_VALIDATION.format(
|
| 103 |
+
index=index + 1,
|
| 104 |
n_shards=_N_SHARDS_PER_SPLIT[config]["validation"],
|
| 105 |
)
|
| 106 |
for config in self.config.configs
|