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 +4 -1
lotte_passages.py
CHANGED
@@ -200,7 +200,10 @@ class NewDataset(datasets.GeneratorBasedBuilder):
|
|
200 |
|
201 |
########################################################
|
202 |
|
203 |
-
|
|
|
|
|
|
|
204 |
|
205 |
if "author" in current_query.keys():
|
206 |
author = current_query['author']
|
|
|
200 |
|
201 |
########################################################
|
202 |
|
203 |
+
if len(data) == 268880 or len(data) == 119458:
|
204 |
+
current_query = data[i]
|
205 |
+
else:
|
206 |
+
current_query = data
|
207 |
|
208 |
if "author" in current_query.keys():
|
209 |
author = current_query['author']
|