Skip to content

Commit

Permalink
Update data_cut_off.py
Browse files Browse the repository at this point in the history
  • Loading branch information
wangjiwu authored Nov 29, 2020
1 parent 3d54e21 commit fab4aba
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion data_cut_off.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,7 @@


dev_set = pd_all.iloc[0:pd_all.shape[0]/10]
dev_set.to_csv("glue/dev.tsv", index=False, sep='\t')
train_set = pd_all.iloc[pd_all.shape[0]/10, -1]

dev_set.to_csv("glue/dev.tsv", index=False, sep='\t')
train_set.to_csv("glue/train.tsv", index=False, sep='\t')

0 comments on commit fab4aba

Please sign in to comment.