Datasets:
Update poquad.py
Browse files
poquad.py
CHANGED
@@ -117,7 +117,7 @@ class SquadV2(datasets.GeneratorBasedBuilder):
|
|
117 |
# Features currently used are "context", "question", and "answers".
|
118 |
# Others are extracted here for the ease of future expansions.
|
119 |
id_ += 1
|
120 |
-
yield id_, {
|
121 |
"title": title,
|
122 |
"context": context,
|
123 |
"question": question,
|
|
|
117 |
# Features currently used are "context", "question", and "answers".
|
118 |
# Others are extracted here for the ease of future expansions.
|
119 |
id_ += 1
|
120 |
+
yield str(id_), {
|
121 |
"title": title,
|
122 |
"context": context,
|
123 |
"question": question,
|