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
@@ -220,7 +220,7 @@ class NewDataset(datasets.GeneratorBasedBuilder):
|
|
220 |
else:
|
221 |
author = ""
|
222 |
|
223 |
-
yield
|
224 |
"doc_id": current_query["doc_id"],
|
225 |
"author": author,
|
226 |
"text": current_query["text"]
|
|
|
220 |
else:
|
221 |
author = ""
|
222 |
|
223 |
+
yield i + 1, {
|
224 |
"doc_id": current_query["doc_id"],
|
225 |
"author": author,
|
226 |
"text": current_query["text"]
|