Datasets:
Update files from the datasets library (from 1.6.1)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.6.1
- so_stacksample.py +1 -1
so_stacksample.py
CHANGED
@@ -137,7 +137,7 @@ class SOStackSample(datasets.GeneratorBasedBuilder):
|
|
137 |
]
|
138 |
|
139 |
def _generate_examples(self, filepath, split):
|
140 |
-
"""
|
141 |
# This method will receive as arguments the `gen_kwargs` defined in the previous `_split_generators` method.
|
142 |
# It is in charge of opening the given file and yielding (key, example) tuples from the dataset
|
143 |
# The key is not important, it's more here for legacy reason (legacy from tfds)
|
|
|
137 |
]
|
138 |
|
139 |
def _generate_examples(self, filepath, split):
|
140 |
+
"""Yields examples."""
|
141 |
# This method will receive as arguments the `gen_kwargs` defined in the previous `_split_generators` method.
|
142 |
# It is in charge of opening the given file and yielding (key, example) tuples from the dataset
|
143 |
# The key is not important, it's more here for legacy reason (legacy from tfds)
|