system HF staff commited on
Commit
d96648e
1 Parent(s): 1a48d76

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. ptb_text_only.py +1 -1
ptb_text_only.py CHANGED
@@ -136,7 +136,7 @@ class PtbTextOnly(datasets.GeneratorBasedBuilder):
136
  ]
137
 
138
  def _generate_examples(self, filepath):
139
- """ Yields examples. """
140
  # TODO: This method will receive as arguments the `gen_kwargs` defined in the previous `_split_generators` method.
141
  # It is in charge of opening the given file and yielding (key, example) tuples from the dataset
142
  # The key is not important, it's more here for legacy reason (legacy from tfds)
136
  ]
137
 
138
  def _generate_examples(self, filepath):
139
+ """Yields examples."""
140
  # TODO: This method will receive as arguments the `gen_kwargs` defined in the previous `_split_generators` method.
141
  # It is in charge of opening the given file and yielding (key, example) tuples from the dataset
142
  # The key is not important, it's more here for legacy reason (legacy from tfds)