Datasets:
Tasks:
Question Answering
Sub-tasks:
extractive-qa
Languages:
English
Size:
1M<n<10M
ArXiv:
License:
Update lotte_passages.py
Browse files- lotte_passages.py +2 -2
lotte_passages.py
CHANGED
@@ -182,11 +182,11 @@ class NewDataset(datasets.GeneratorBasedBuilder):
|
|
182 |
else:
|
183 |
author = ""
|
184 |
|
185 |
-
|
186 |
"doc_id": current_query["doc_id"],
|
187 |
"author": author,
|
188 |
"text": current_query["text"]
|
189 |
-
|
190 |
|
191 |
|
192 |
|
|
|
182 |
else:
|
183 |
author = ""
|
184 |
|
185 |
+
yield i + 1, {
|
186 |
"doc_id": current_query["doc_id"],
|
187 |
"author": author,
|
188 |
"text": current_query["text"]
|
189 |
+
}
|
190 |
|
191 |
|
192 |
|