Pieter Delobelle
commited on
Commit
·
2aa5080
1
Parent(s):
ab7feb5
fixed zero index
Browse files- enwiki-yearly-cleaned.py +1 -1
enwiki-yearly-cleaned.py
CHANGED
@@ -88,7 +88,7 @@ class Wikipedia(datasets.GeneratorBasedBuilder):
|
|
88 |
data_urls = {}
|
89 |
config = _CONFIGS[self.config.name]
|
90 |
for split in ["train", "validation"]:
|
91 |
-
start_file = config.get("start",
|
92 |
num_files = config.get(split)
|
93 |
|
94 |
data_urls[split] = []
|
|
|
88 |
data_urls = {}
|
89 |
config = _CONFIGS[self.config.name]
|
90 |
for split in ["train", "validation"]:
|
91 |
+
start_file = config.get("start", 1) if split == "train" else 1
|
92 |
num_files = config.get(split)
|
93 |
|
94 |
data_urls[split] = []
|