Datasets:
Tasks:
Question Answering
Modalities:
Text
Sub-tasks:
extractive-qa
Languages:
English
Size:
10K - 100K
ArXiv:
License:
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"],
|