Skip to content

Commit

Permalink
issue: 319
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe0120 committed Sep 4, 2022
1 parent 8e680d3 commit fa46676
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pycorrector/macbert/preprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def main():
print('data_size:', len(rst_items))
train_lst, dev_lst = train_test_split(rst_items, test_size=0.1, random_state=42)
save_json(train_lst, os.path.join(pwd_path, 'output/train.json'))
save_json(train_lst, os.path.join(pwd_path, 'output/dev.json'))
save_json(dev_lst, os.path.join(pwd_path, 'output/dev.json'))
save_json(test_lst, os.path.join(pwd_path, 'output/test.json'))


Expand Down

0 comments on commit fa46676

Please sign in to comment.