Update files from the datasets library (from 1.6.1)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.6.1
bprec.py
CHANGED
@@ -178,7 +178,7 @@ class Bprec(datasets.GeneratorBasedBuilder):
|
|
178 |
]
|
179 |
|
180 |
def _generate_examples(self, filedirs, split="tele"):
|
181 |
-
"""
|
182 |
# TODO: This method will receive as arguments the `gen_kwargs` defined in the previous `_split_generators` method.
|
183 |
# It is in charge of opening the given file and yielding (key, example) tuples from the dataset
|
184 |
# The key is not important, it's more here for legacy reason (legacy from tfds)
|
|
|
178 |
]
|
179 |
|
180 |
def _generate_examples(self, filedirs, split="tele"):
|
181 |
+
"""Yields examples."""
|
182 |
# TODO: This method will receive as arguments the `gen_kwargs` defined in the previous `_split_generators` method.
|
183 |
# It is in charge of opening the given file and yielding (key, example) tuples from the dataset
|
184 |
# The key is not important, it's more here for legacy reason (legacy from tfds)
|