- Link to the homework slide.
- Link to the homework video.
- Link to the data.
- Link to the evaluation script.
- create directory
final/model
- run
python3.7 final/train.py [train_data_path]
- trained model will be stored in
final/model
- download pretrained model file with
bash download.sh
- run
bash run.sh [test_data_path] [predict_path]
- run
python3.7 final/draw_p5.py [train_data_path] [output_pic_path]
- pretrained model file should be placed in
final/model
- run
python3.7 final/draw_p6.py [dev_data_path] [output_pic_path] [python3 path (installed with ckiptagger package)] [scorer_path] [temp_file_1_path] [temp_file_2_path] [ckipdata_path]
temp_file_1_path
andtemp_file_2_path
represents two temporary files