djstrong commited on
Commit
41f8023
1 Parent(s): 0ad3cc2

Update poquad.py

Browse files
Files changed (1) hide show
  1. poquad.py +2 -2
poquad.py CHANGED
@@ -54,7 +54,7 @@ class SquadV2(datasets.GeneratorBasedBuilder):
54
  # datasets.features.FeatureConnectors
55
  features=datasets.Features(
56
  {
57
- "id": datasets.Value("string"),
58
  "title": datasets.Value("string"),
59
  "context": datasets.Value("string"),
60
  "question": datasets.Value("string"),
@@ -125,7 +125,7 @@ class SquadV2(datasets.GeneratorBasedBuilder):
125
  # Others are extracted here for the ease of future expansions.
126
  id_ += 1
127
  yield str(id_), {
128
- "id": str(id_),
129
  "title": title,
130
  "context": context,
131
  "question": question,
 
54
  # datasets.features.FeatureConnectors
55
  features=datasets.Features(
56
  {
57
+ "idX": datasets.Value("string"),
58
  "title": datasets.Value("string"),
59
  "context": datasets.Value("string"),
60
  "question": datasets.Value("string"),
 
125
  # Others are extracted here for the ease of future expansions.
126
  id_ += 1
127
  yield str(id_), {
128
+ "idY": str(id_),
129
  "title": title,
130
  "context": context,
131
  "question": question,