Datasets:
Tasks:
Question Answering
Sub-tasks:
extractive-qa
Languages:
English
Multilinguality:
monolingual
Size Categories:
10K<n<100K
Language Creators:
found
Annotations Creators:
no-annotation
Source Datasets:
original
ArXiv:
Tags:
License:
jonsaadfalcon
commited on
Commit
•
98d6e66
1
Parent(s):
7624eb8
updated file format
Browse files
lotte.py
CHANGED
@@ -178,7 +178,7 @@ class NewDataset(datasets.GeneratorBasedBuilder):
|
|
178 |
data = json.loads(row)
|
179 |
|
180 |
current_query = data[i]
|
181 |
-
yield
|
182 |
"qid": current_query["qid"],
|
183 |
"query": current_query["query"],
|
184 |
"score": current_query["score"],
|
|
|
178 |
data = json.loads(row)
|
179 |
|
180 |
current_query = data[i]
|
181 |
+
yield key, {
|
182 |
"qid": current_query["qid"],
|
183 |
"query": current_query["query"],
|
184 |
"score": current_query["score"],
|