Update goodwiki_long.py
Browse files- goodwiki_long.py +4 -1
goodwiki_long.py
CHANGED
|
@@ -33,7 +33,7 @@ _URLS = {
|
|
| 33 |
"train/partition_0.jsonl",
|
| 34 |
],
|
| 35 |
"test": [
|
| 36 |
-
"test/
|
| 37 |
]
|
| 38 |
}
|
| 39 |
|
|
@@ -85,6 +85,9 @@ class GoodWikiLongDataset(datasets.GeneratorBasedBuilder):
|
|
| 85 |
datasets.SplitGenerator(
|
| 86 |
name=datasets.Split.TRAIN, gen_kwargs={"filepath": data_dir["train"]}
|
| 87 |
),
|
|
|
|
|
|
|
|
|
|
| 88 |
]
|
| 89 |
|
| 90 |
def _generate_examples(self, filepath):
|
|
|
|
| 33 |
"train/partition_0.jsonl",
|
| 34 |
],
|
| 35 |
"test": [
|
| 36 |
+
"test/partition_0.jsonl",
|
| 37 |
]
|
| 38 |
}
|
| 39 |
|
|
|
|
| 85 |
datasets.SplitGenerator(
|
| 86 |
name=datasets.Split.TRAIN, gen_kwargs={"filepath": data_dir["train"]}
|
| 87 |
),
|
| 88 |
+
datasets.SplitGenerator(
|
| 89 |
+
name=datasets.Split.TEST, gen_kwargs={"filepath": data_dir["test"]}
|
| 90 |
+
),
|
| 91 |
]
|
| 92 |
|
| 93 |
def _generate_examples(self, filepath):
|