Datasets:
Update files from the datasets library (from 1.6.1)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.6.1
- wiki_lingua.py +1 -1
wiki_lingua.py
CHANGED
@@ -190,7 +190,7 @@ class WikiLingua(datasets.GeneratorBasedBuilder):
|
|
190 |
return processed_article
|
191 |
|
192 |
def _generate_examples(self, filepath, split):
|
193 |
-
"""
|
194 |
with open(filepath, "rb") as f:
|
195 |
data = pickle.load(f)
|
196 |
for id_, row in enumerate(data.items()):
|
|
|
190 |
return processed_article
|
191 |
|
192 |
def _generate_examples(self, filepath, split):
|
193 |
+
"""Yields examples."""
|
194 |
with open(filepath, "rb") as f:
|
195 |
data = pickle.load(f)
|
196 |
for id_, row in enumerate(data.items()):
|