Update process.py
Browse files- process.py +1 -1
process.py
CHANGED
@@ -48,7 +48,7 @@ if __name__ == '__main__':
|
|
48 |
|
49 |
with open(f'dataset/train.jsonl', 'w') as f:
|
50 |
train = read_file(wget(urls['train']))
|
51 |
-
f.write("\n".join([json.dumps(i.to_dict()) for _, i in
|
52 |
|
53 |
with open(f'dataset/valid.jsonl', 'w') as f:
|
54 |
dev1 = read_file(wget(urls['dev1']))
|
|
|
48 |
|
49 |
with open(f'dataset/train.jsonl', 'w') as f:
|
50 |
train = read_file(wget(urls['train']))
|
51 |
+
f.write("\n".join([json.dumps(i.to_dict()) for _, i in train.iterrows()]))
|
52 |
|
53 |
with open(f'dataset/valid.jsonl', 'w') as f:
|
54 |
dev1 = read_file(wget(urls['dev1']))
|