system HF staff commited on
Commit
6daa6a8
1 Parent(s): dadb227

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. ted_talks_iwslt.py +2 -2
ted_talks_iwslt.py CHANGED
@@ -193,7 +193,7 @@ _YEAR_FOLDER = {"2014": "XML_releases/xml-20140120", "2015": "XML_releases/xml-2
193
 
194
 
195
  class TedTalksIWSLTConfig(datasets.BuilderConfig):
196
- """"Builder Config for the TedTalks IWSLT dataset"""
197
 
198
  def __init__(self, language_pair=(None, None), year=None, **kwargs):
199
  """BuilderConfig for TedTalks IWSLT dataset.
@@ -290,7 +290,7 @@ class TedTalksIWSLT(datasets.GeneratorBasedBuilder):
290
  ]
291
 
292
  def _generate_examples(self, filepath, split):
293
- """ Yields examples. """
294
  # TODO: This method will receive as arguments the `gen_kwargs` defined in the previous `_split_generators` method.
295
  # It is in charge of opening the given file and yielding (key, example) tuples from the dataset
296
  # The key is not important, it's more here for legacy reason (legacy from tfds)
 
193
 
194
 
195
  class TedTalksIWSLTConfig(datasets.BuilderConfig):
196
+ """ "Builder Config for the TedTalks IWSLT dataset"""
197
 
198
  def __init__(self, language_pair=(None, None), year=None, **kwargs):
199
  """BuilderConfig for TedTalks IWSLT dataset.
 
290
  ]
291
 
292
  def _generate_examples(self, filepath, split):
293
+ """Yields examples."""
294
  # TODO: This method will receive as arguments the `gen_kwargs` defined in the previous `_split_generators` method.
295
  # It is in charge of opening the given file and yielding (key, example) tuples from the dataset
296
  # The key is not important, it's more here for legacy reason (legacy from tfds)