changxin commited on
Commit
99f9ab2
1 Parent(s): 5957924

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.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):
 
35
  downloaded_files = dl_manager.download_and_extract(_URLS)
36
 
37
  return [
38
+ datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"split_key" : "A","filepath": downloaded_files["train"]}),
39
+ datasets.SplitGenerator(name=datasets.Split.VALIDATION, gen_kwargs={"split_key" : "B","filepath": downloaded_files["dev"]}),
40
  ]
41
 
42
  def _generate_examples(self, filepath):