system HF staff commited on
Commit
e46b842
1 Parent(s): cda528e

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. polsum.py +1 -1
polsum.py CHANGED
@@ -130,7 +130,7 @@ class Polsum(datasets.GeneratorBasedBuilder):
130
  ]
131
 
132
  def _generate_examples(self, filepaths):
133
- """ Yields examples. """
134
  # TODO: This method will receive as arguments the `gen_kwargs` defined in the previous `_split_generators` method.
135
  # It is in charge of opening the given file and yielding (key, example) tuples from the dataset
136
  # The key is not important, it's more here for legacy reason (legacy from tfds)
 
130
  ]
131
 
132
  def _generate_examples(self, filepaths):
133
+ """Yields examples."""
134
  # TODO: This method will receive as arguments the `gen_kwargs` defined in the previous `_split_generators` method.
135
  # It is in charge of opening the given file and yielding (key, example) tuples from the dataset
136
  # The key is not important, it's more here for legacy reason (legacy from tfds)