-
Notifications
You must be signed in to change notification settings - Fork 4
/
run.sh
executable file
·96 lines (93 loc) · 2.56 KB
/
run.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
python -u run.py \
--description="NYT-H training with pcnn on sentence-level" \
--task_name="sent" \
--model_name="sent_pcnn" \
--data_dir="data/train" \
--eval_model="best" \
--overwrite_output_dir \
--output_dir="outputs/sent_pcnn_422" \
--embedding_path="/home/tzhu/embeddings/glove.6B.50d.txt" \
--embedding_dim=50 \
--seed=422 \
--main_device="cuda:3" \
--device_ids="[3]" \
--epoch=50 \
--batch_size=64 \
--dropout_rate=0.5 \
--lr=1e-3 \
--max_len=150 \
--pos_dis=75 \
--pos_dim=5 \
--save_best_model \
--do_eval \
--do_train \
--select_score='non_na_macro_f1' \
--tb_logging_step=1000
python -u run.py \
--description="NYT-H training with crcnn on sentence-level" \
--task_name="sent" \
--model_name="sent_crcnn" \
--data_dir="data/train" \
--eval_model="best" \
--overwrite_output_dir \
--output_dir="outputs/sent_crcnn_422-no_criterion_saved" \
--embedding_path="/home/tzhu/embeddings/glove.6B.50d.txt" \
--embedding_dim=50 \
--seed=422 \
--main_device="cuda:3" \
--device_ids="[3]" \
--epoch=50 \
--batch_size=64 \
--dropout_rate=0.5 \
--lr=1e-3 \
--max_len=150 \
--pos_dis=75 \
--pos_dim=5 \
--save_best_model \
--do_eval \
--do_train \
--select_score='non_na_macro_f1' \
--tb_logging_step=1000
python -u run.py \
--description="NYT-H training with pcnn+att on bag-level" \
--task_name="bag" \
--model_name="bag_pcnn_att" \
--data_dir="data/train" \
--eval_model="best" \
--overwrite_output_dir \
--output_dir="outputs/bag_pcnn_att_422" \
--embedding_path="/home/tzhu/embeddings/glove.6B.50d.txt" \
--embedding_dim=50 \
--seed=422 \
--main_device="cuda:3" \
--device_ids="[3]" \
--epoch=50 \
--batch_size=64 \
--dropout_rate=0.5 \
--lr=1e-3 \
--max_len=150 \
--pos_dis=75 \
--pos_dim=5 \
--save_best_model \
--do_eval \
--do_train \
--select_score='non_na_macro_f1' \
--tb_logging_step=1000
python -u run.py \
--description="NYT-H training with pcnn on bag2sent-level" \
--task_name="bag2sent" \
--model_name="bag_pcnn_att" \
--data_dir="data/train" \
--eval_model="best" \
--overwrite_output_dir \
--output_dir="outputs/bag_pcnn_att_422" \
--embedding_path="/home/tzhu/embeddings/glove.6B.50d.txt" \
--embedding_dim=50 \
--seed=422 \
--main_device="cuda:3" \
--device_ids="[3]" \
--batch_size=64 \
--max_len=150 \
--pos_dis=75 \
--pos_dim=5 \
--do_eval