Datasets:
Update files from the datasets library (from 1.6.1)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.6.1
- head_qa.py +1 -1
head_qa.py
CHANGED
@@ -117,7 +117,7 @@ class HeadQA(datasets.GeneratorBasedBuilder):
|
|
117 |
]
|
118 |
|
119 |
def _generate_examples(self, filepath):
|
120 |
-
"""
|
121 |
with open(filepath, encoding="utf-8") as f:
|
122 |
head_qa = json.load(f)
|
123 |
for exam in head_qa["exams"]:
|
|
|
117 |
]
|
118 |
|
119 |
def _generate_examples(self, filepath):
|
120 |
+
"""Yields examples."""
|
121 |
with open(filepath, encoding="utf-8") as f:
|
122 |
head_qa = json.load(f)
|
123 |
for exam in head_qa["exams"]:
|