changxin commited on
Commit
496db85
1 Parent(s): 7760dc3

Update test_pq.py

Browse files
Files changed (1) hide show
  1. test_pq.py +2 -2
test_pq.py CHANGED
@@ -35,8 +35,8 @@ class Test(datasets.GeneratorBasedBuilder):
35
  downloaded_files = dl_manager.download_and_extract(_URLS)
36
 
37
  return [
38
- datasets.SplitGenerator(name=datasets.Split.test1, gen_kwargs={"filepath": downloaded_files["train"]}),
39
- datasets.SplitGenerator(name=datasets.Split.test2, gen_kwargs={"filepath": downloaded_files["dev"]}),
40
  ]
41
 
42
  def _generate_examples(self, filepath):
 
35
  downloaded_files = dl_manager.download_and_extract(_URLS)
36
 
37
  return [
38
+ datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepath": downloaded_files["train"]}),
39
+ datasets.SplitGenerator(name=datasets.Split.VALIDATION, gen_kwargs={"filepath": downloaded_files["dev"]}),
40
  ]
41
 
42
  def _generate_examples(self, filepath):