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 +1 -1
lotte_passages.py
CHANGED
|
@@ -206,7 +206,7 @@ class NewDataset(datasets.GeneratorBasedBuilder):
|
|
| 206 |
else:
|
| 207 |
author = ""
|
| 208 |
|
| 209 |
-
yield
|
| 210 |
"doc_id": current_query["doc_id"],
|
| 211 |
"author": author,
|
| 212 |
"text": current_query["text"]
|
|
|
|
| 206 |
else:
|
| 207 |
author = ""
|
| 208 |
|
| 209 |
+
yield i, {
|
| 210 |
"doc_id": current_query["doc_id"],
|
| 211 |
"author": author,
|
| 212 |
"text": current_query["text"]
|