Update files from the datasets library (from 1.6.1)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.6.1
newsqa.py
CHANGED
@@ -236,7 +236,7 @@ class Newsqa(datasets.GeneratorBasedBuilder):
|
|
236 |
]
|
237 |
|
238 |
def _generate_examples(self, filepath, split):
|
239 |
-
"""
|
240 |
|
241 |
if self.config.name == "combined-csv":
|
242 |
with open(filepath, encoding="utf-8") as csv_file:
|
|
|
236 |
]
|
237 |
|
238 |
def _generate_examples(self, filepath, split):
|
239 |
+
"""Yields examples."""
|
240 |
|
241 |
if self.config.name == "combined-csv":
|
242 |
with open(filepath, encoding="utf-8") as csv_file:
|