fedryanto commited on
Commit
2e6cb84
·
1 Parent(s): ed34ff3

Update qas.py

Browse files
Files changed (1) hide show
  1. qas.py +1 -1
qas.py CHANGED
@@ -98,7 +98,7 @@ class Squad(datasets.GeneratorBasedBuilder):
98
  datasets.SplitGenerator(name=datasets.Split.TEST, gen_kwargs={"filepath": data_path["test"]}),
99
  ]
100
 
101
- def _generate_examples(self, filepath, split):
102
  """This function returns the examples in the raw (text) form."""
103
  logger.info("generating examples from = %s", filepath)
104
  key = 0
 
98
  datasets.SplitGenerator(name=datasets.Split.TEST, gen_kwargs={"filepath": data_path["test"]}),
99
  ]
100
 
101
+ def _generate_examples(self, filepath):
102
  """This function returns the examples in the raw (text) form."""
103
  logger.info("generating examples from = %s", filepath)
104
  key = 0