-
Notifications
You must be signed in to change notification settings - Fork 62
/
run.sh
45 lines (40 loc) · 1.44 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
python train.py \
--train_file /home/xianglingyang/data/faith_gen/LCSTS_new/small_train.json \
--dev_file /home/xianglingyang/data/faith_gen/LCSTS_new/small_dev.json \
--batch_size 6 \
--max_epochs 10 \
--max_source_length 512 \
--max_target_length 300 \
--model_path /home/xianglingyang/pretrained_models/torch/t5-copy \
--gpus 4 \
--lr 5e-5 --model_type t5copy
python train.py \
--train_file /home/xianglingyang/data/faith_gen/LCSTS_new/small_train.json \
--dev_file /home/xianglingyang/data/faith_gen/LCSTS_new/small_dev.json \
--batch_size 6 \
--max_epochs 10 \
--max_source_length 512 \
--max_target_length 150 \
--model_path /home/xianglingyang/pretrained_models/torch/t5-copy \
--gpus 4 \
--lr 5e-5 --model_type t5-pegasus
python train.py \
--train_file /home/xianglingyang/data/faith_gen/LCSTS_new/small_train.json \
--dev_file /home/xianglingyang/data/faith_gen/LCSTS_new/small_dev.json \
--batch_size 6 \
--max_epochs 10 \
--max_source_length 512 \
--max_target_length 300 \
--model_path /home/xianglingyang/pretrained_models/torch/cpt-large \
--gpus 4 \
--lr 5e-5 --model_type cpt --rdrop
python train.py \
--train_file /home/xianglingyang/data/faith_gen/LCSTS_new/small_train.json \
--dev_file /home/xianglingyang/data/faith_gen/LCSTS_new/small_dev.json \
--batch_size 6 \
--max_epochs 10 \
--max_source_length 512 \
--max_target_length 300 \
--model_path /home/xianglingyang/pretrained_models/torch/prophet \
--gpus 4 \
--lr 5e-5 --model_type prophet