init
Browse files- process/tweet_qa.py +0 -1
process/tweet_qa.py
CHANGED
@@ -7,7 +7,6 @@ data = load_dataset("lmqg/qg_tweetqa")
|
|
7 |
|
8 |
|
9 |
def process(tmp):
|
10 |
-
tmp.pop("label_name")
|
11 |
tmp = [i.to_dict() for _, i in tmp.iterrows()]
|
12 |
for i in tmp:
|
13 |
i['text'] = i.pop('paragraph_question')
|
|
|
7 |
|
8 |
|
9 |
def process(tmp):
|
|
|
10 |
tmp = [i.to_dict() for _, i in tmp.iterrows()]
|
11 |
for i in tmp:
|
12 |
i['text'] = i.pop('paragraph_question')
|