Datasets:
Tasks:
Question Answering
Modalities:
Text
Formats:
parquet
Sub-tasks:
extractive-qa
Languages:
English
Size:
10K - 100K
ArXiv:
License:
Update files from the datasets library (from 1.6.1)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.6.1
ropes.py
CHANGED
@@ -111,7 +111,7 @@ class Ropes(datasets.GeneratorBasedBuilder):
|
|
111 |
]
|
112 |
|
113 |
def _generate_examples(self, filepath, split):
|
114 |
-
"""
|
115 |
with open(filepath, encoding="utf-8") as f:
|
116 |
ropes = json.load(f)
|
117 |
for article in ropes["data"]:
|
|
|
111 |
]
|
112 |
|
113 |
def _generate_examples(self, filepath, split):
|
114 |
+
"""Yields examples."""
|
115 |
with open(filepath, encoding="utf-8") as f:
|
116 |
ropes = json.load(f)
|
117 |
for article in ropes["data"]:
|