Datasets:
Update files from the datasets library (from 1.6.1)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.6.1
quac.py
CHANGED
@@ -122,7 +122,7 @@ class Quac(datasets.GeneratorBasedBuilder):
|
|
122 |
]
|
123 |
|
124 |
def _generate_examples(self, filepath):
|
125 |
-
"""
|
126 |
with open(filepath, encoding="utf-8") as f:
|
127 |
squad = json.load(f)
|
128 |
for section in squad["data"]:
|
|
|
122 |
]
|
123 |
|
124 |
def _generate_examples(self, filepath):
|
125 |
+
"""Yields examples."""
|
126 |
with open(filepath, encoding="utf-8") as f:
|
127 |
squad = json.load(f)
|
128 |
for section in squad["data"]:
|