system HF staff commited on
Commit
26e2730
1 Parent(s): 9fb18f2

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. ar_cov19.py +1 -1
ar_cov19.py CHANGED
@@ -124,7 +124,7 @@ class ArCov19(datasets.GeneratorBasedBuilder):
124
  return [datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"data_dir": data_dir})]
125
 
126
  def _generate_examples(self, data_dir):
127
- """ Yields examples. """
128
  # TODO: This method will receive as arguments the `gen_kwargs` defined in the previous `_split_generators` method.
129
  # It is in charge of opening the given file and yielding (key, example) tuples from the dataset
130
  # The key is not important, it's more here for legacy reason (legacy from tfds)
124
  return [datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"data_dir": data_dir})]
125
 
126
  def _generate_examples(self, data_dir):
127
+ """Yields examples."""
128
  # TODO: This method will receive as arguments the `gen_kwargs` defined in the previous `_split_generators` method.
129
  # It is in charge of opening the given file and yielding (key, example) tuples from the dataset
130
  # The key is not important, it's more here for legacy reason (legacy from tfds)