system HF staff commited on
Commit
ff703b5
1 Parent(s): f2ae841

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. ohsumed.py +1 -1
ohsumed.py CHANGED
@@ -146,7 +146,7 @@ class Ohsumed(datasets.GeneratorBasedBuilder):
146
  ]
147
 
148
  def _generate_examples(self, filepath, split):
149
- """ Yields examples. """
150
  # TODO: This method will receive as arguments the `gen_kwargs` defined in the previous `_split_generators` method.
151
  # It is in charge of opening the given file and yielding (key, example) tuples from the dataset
152
  # The key is not important, it's more here for legacy reason (legacy from tfds)
 
146
  ]
147
 
148
  def _generate_examples(self, filepath, split):
149
+ """Yields examples."""
150
  # TODO: This method will receive as arguments the `gen_kwargs` defined in the previous `_split_generators` method.
151
  # It is in charge of opening the given file and yielding (key, example) tuples from the dataset
152
  # The key is not important, it's more here for legacy reason (legacy from tfds)