forked from google-research/bert
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Move_mask_sens_refind.sh
53 lines (48 loc) · 1.6 KB
/
Move_mask_sens_refind.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
#!/usr/bin/env bash
python run_classifier.py\
--data_dir data/data_refind/data_msm/aaa_seq_length\
--bert_config_file models/uncased_L-12_H-768_A-12/bert_config.json\
--task_name cla\
--vocab_file models/uncased_L-12_H-768_A-12/vocab.txt\
--output_dir outputs/Move_mask_sens_refind\
--init_checkpoint models/uncased_L-12_H-768_A-12/bert_model.ckpt\
--max_seq_length 512\
--do_train True\
--train_batch_size 5\
--learning_rate 3e-5\
--num_train_epochs 3.0\
--gpu 1\
--cla_nums 5
python run_classifier.py\
--data_dir data/data_refind/data_msm/aaa_seq_length/test_mask\
--bert_config_file models/uncased_L-12_H-768_A-12/bert_config.json\
--task_name cla\
--vocab_file models/uncased_L-12_H-768_A-12/vocab.txt\
--output_dir outputs/Move_mask_sens_refind\
--init_checkpoint models/uncased_L-12_H-768_A-12/bert_model.ckpt\
--max_seq_length 512\
--do_predict True\
--train_batch_size 5\
--learning_rate 3e-5\
--num_train_epochs 3.0\
--gpu 1\
--cla_nums 5\
--test_results_pre mask_
python run_classifier.py\
--data_dir data/data_refind/data_msm/aaa_seq_length/test_sen\
--bert_config_file models/uncased_L-12_H-768_A-12/bert_config.json\
--task_name cla\
--vocab_file models/uncased_L-12_H-768_A-12/vocab.txt\
--output_dir outputs/Move_mask_sens_refind\
--init_checkpoint models/uncased_L-12_H-768_A-12/bert_model.ckpt\
--max_seq_length 512\
--do_predict True\
--train_batch_size 5\
--learning_rate 3e-5\
--num_train_epochs 3.0\
--gpu 1\
--cla_nums 5\
--test_results_pre sen_
python test_merge.py\
--data_dir data/data_refind/data_msm/aaa_seq_length/test_sen\
--output_dir outputs/Move_mask_sens_refind