Update ccnews_split.py
Browse files- ccnews_split.py +1 -1
ccnews_split.py
CHANGED
@@ -131,7 +131,7 @@ class CCNews(datasets.GeneratorBasedBuilder):
|
|
131 |
return [
|
132 |
datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"files": custom_iter_archive(archive, train_filter), "level": level}),
|
133 |
datasets.SplitGenerator(name=datasets.Split.VALIDATION, gen_kwargs={"files": custom_iter_archive(archive, val_filter), "level": level}),
|
134 |
-
datasets.SplitGenerator(name=datasets.Split.TEST, gen_kwargs={"files": custom_iter_archive(archive, test_filter)
|
135 |
]
|
136 |
|
137 |
def _generate_examples(self, files, level):
|
|
|
131 |
return [
|
132 |
datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"files": custom_iter_archive(archive, train_filter), "level": level}),
|
133 |
datasets.SplitGenerator(name=datasets.Split.VALIDATION, gen_kwargs={"files": custom_iter_archive(archive, val_filter), "level": level}),
|
134 |
+
datasets.SplitGenerator(name=datasets.Split.TEST, gen_kwargs={"files": custom_iter_archive(archive, test_filter), "level": level}),
|
135 |
]
|
136 |
|
137 |
def _generate_examples(self, files, level):
|