Pieter Delobelle
commited on
Commit
·
8479798
1
Parent(s):
2aa5080
fixed typo
Browse files- enwiki-yearly-cleaned.py +1 -3
enwiki-yearly-cleaned.py
CHANGED
@@ -35,8 +35,7 @@ _HOMEPAGE = ""
|
|
35 |
|
36 |
_LICENSE = ""
|
37 |
|
38 |
-
_DATA_URL = "https://huggingface.co/datasets/pdelobelle/enwiki-yearly-cleaned/resolve/main/enwiki-yearly-cleaned/{split}/enwiki_{index}_{split}.
|
39 |
-
|
40 |
_CONFIG_NAMES = ["tiny", "small", "medium", "large", "full"]
|
41 |
|
42 |
_CONFIGS = dict(
|
@@ -97,7 +96,6 @@ class Wikipedia(datasets.GeneratorBasedBuilder):
|
|
97 |
_DATA_URL.format(
|
98 |
split=split,
|
99 |
index=index,
|
100 |
-
n_shards=4 if split == "validation" else 1024,
|
101 |
)
|
102 |
)
|
103 |
|
|
|
35 |
|
36 |
_LICENSE = ""
|
37 |
|
38 |
+
_DATA_URL = "https://huggingface.co/datasets/pdelobelle/enwiki-yearly-cleaned/resolve/main/enwiki-yearly-cleaned/{split}/enwiki_{index}_{split}.jsonl.gz"
|
|
|
39 |
_CONFIG_NAMES = ["tiny", "small", "medium", "large", "full"]
|
40 |
|
41 |
_CONFIGS = dict(
|
|
|
96 |
_DATA_URL.format(
|
97 |
split=split,
|
98 |
index=index,
|
|
|
99 |
)
|
100 |
)
|
101 |
|