nthngdy commited on
Commit
86cbaf4
·
1 Parent(s): f9e039f

Update ccnews_split.py

Browse files
Files changed (1) hide show
  1. 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)}, "level": level}),
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):