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_asp.py +1 -1
wiki_asp.py
CHANGED
@@ -196,7 +196,7 @@ class WikiAsp(datasets.GeneratorBasedBuilder):
|
|
196 |
]
|
197 |
|
198 |
def _generate_examples(self, filepath, split):
|
199 |
-
"""
|
200 |
with open(filepath, encoding="utf-8") as f:
|
201 |
for id_, row in enumerate(f):
|
202 |
data = json.loads(row)
|
|
|
196 |
]
|
197 |
|
198 |
def _generate_examples(self, filepath, split):
|
199 |
+
"""Yields examples."""
|
200 |
with open(filepath, encoding="utf-8") as f:
|
201 |
for id_, row in enumerate(f):
|
202 |
data = json.loads(row)
|