mariosasko
commited on
Commit
•
b8b3fa4
1
Parent(s):
26cd3a2
Small fix
Browse files- wikipedia.py +1 -1
wikipedia.py
CHANGED
@@ -964,7 +964,7 @@ class Wikipedia(datasets.ArrowBasedBuilder):
|
|
964 |
if self.config.name in PROCESSED_CONFIG_TO_NUM_SHARDS:
|
965 |
num_shards = PROCESSED_CONFIG_TO_NUM_SHARDS[self.config.name]
|
966 |
parquet_urls = [
|
967 |
-
os.path.join("data", self.config.name, f"train-{i:05d}-{num_shards:05d}.parquet")
|
968 |
for i in range(num_shards)
|
969 |
]
|
970 |
# Use dictionary since testing mock always returns the same result.
|
|
|
964 |
if self.config.name in PROCESSED_CONFIG_TO_NUM_SHARDS:
|
965 |
num_shards = PROCESSED_CONFIG_TO_NUM_SHARDS[self.config.name]
|
966 |
parquet_urls = [
|
967 |
+
os.path.join("data", self.config.name, f"train-{i:05d}-of-{num_shards:05d}.parquet")
|
968 |
for i in range(num_shards)
|
969 |
]
|
970 |
# Use dictionary since testing mock always returns the same result.
|