system HF staff commited on
Commit
f171b81
1 Parent(s): 4d9382e

Update files from the datasets library (from 1.6.1)

Browse files

Release notes: https://github.com/huggingface/datasets/releases/tag/1.6.1

Files changed (1) hide show
  1. medical_questions_pairs.py +1 -1
medical_questions_pairs.py CHANGED
@@ -71,7 +71,7 @@ class MedicalQuestionsPairs(datasets.GeneratorBasedBuilder):
71
  return [datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepath": data_file})]
72
 
73
  def _generate_examples(self, filepath):
74
- """ Yields examples. """
75
  with open(filepath, encoding="utf-8") as f:
76
  data = csv.reader(f)
77
  for id_, row in enumerate(data):
 
71
  return [datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepath": data_file})]
72
 
73
  def _generate_examples(self, filepath):
74
+ """Yields examples."""
75
  with open(filepath, encoding="utf-8") as f:
76
  data = csv.reader(f)
77
  for id_, row in enumerate(data):