Update files from the datasets library (from 1.6.1)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.6.1
- freebase_qa.py +1 -1
freebase_qa.py
CHANGED
@@ -107,7 +107,7 @@ class FreebaseQA(datasets.GeneratorBasedBuilder):
|
|
107 |
]
|
108 |
|
109 |
def _generate_examples(self, filepath):
|
110 |
-
"""
|
111 |
|
112 |
with open(filepath, encoding="utf-8") as f:
|
113 |
dataset = json.load(f)
|
|
|
107 |
]
|
108 |
|
109 |
def _generate_examples(self, filepath):
|
110 |
+
"""Yields examples."""
|
111 |
|
112 |
with open(filepath, encoding="utf-8") as f:
|
113 |
dataset = json.load(f)
|