amphora commited on
Commit
27570d7
1 Parent(s): 0329433

Upload csatqa.py

Browse files
Files changed (1) hide show
  1. csatqa.py +6 -1
csatqa.py CHANGED
@@ -55,7 +55,12 @@ class CSATQA(datasets.GeneratorBasedBuilder):
55
  return [
56
  datasets.SplitGenerator(
57
  name=datasets.Split.TRAIN,
58
- ),
 
 
 
 
 
59
  ]
60
 
61
  def _generate_examples(self, filepath):
 
55
  return [
56
  datasets.SplitGenerator(
57
  name=datasets.Split.TRAIN,
58
+ # These kwargs will be passed to _generate_examples
59
+ gen_kwargs={
60
+ "filepath": os.path.join("data.jsonl"),
61
+ "split": "train",
62
+ }
63
+ )
64
  ]
65
 
66
  def _generate_examples(self, filepath):