kwojtasik commited on
Commit
f008060
1 Parent(s): bf70961

Update poquad.py

Browse files
Files changed (1) hide show
  1. poquad.py +1 -1
poquad.py CHANGED
@@ -111,7 +111,7 @@ class SquadV2(datasets.GeneratorBasedBuilder):
111
 
112
  answer_starts = [answer["answer_start"] for answer in qa["answers"]]
113
  answers = [answer["text"] for answer in qa["answers"]]
114
- is_impossible = qa["is_impossible"]
115
  # Features currently used are "context", "question", and "answers".
116
  # Others are extracted here for the ease of future expansions.
117
  id_ += 1
 
111
 
112
  answer_starts = [answer["answer_start"] for answer in qa["answers"]]
113
  answers = [answer["text"] for answer in qa["answers"]]
114
+ is_impossible = question["is_impossible"]
115
  # Features currently used are "context", "question", and "answers".
116
  # Others are extracted here for the ease of future expansions.
117
  id_ += 1