fix dataset
Browse files- process/tweet_qa.py +1 -1
process/tweet_qa.py
CHANGED
@@ -11,8 +11,8 @@ def process(tmp):
|
|
11 |
for i in tmp:
|
12 |
i.pop('paragraph_question')
|
13 |
i['text'] = i.pop("paragraph")
|
14 |
-
i['gold_label_str'] = i.pop("answer")
|
15 |
i['context'] = i.pop("question")
|
|
|
16 |
return tmp
|
17 |
|
18 |
|
|
|
11 |
for i in tmp:
|
12 |
i.pop('paragraph_question')
|
13 |
i['text'] = i.pop("paragraph")
|
|
|
14 |
i['context'] = i.pop("question")
|
15 |
+
i['gold_label_str'] = i.pop("answer")
|
16 |
return tmp
|
17 |
|
18 |
|