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