-
Notifications
You must be signed in to change notification settings - Fork 0
/
run_ptm_baseline_training.sh
executable file
·66 lines (55 loc) · 5.29 KB
/
run_ptm_baseline_training.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
#### MM-DST
# cd simmc2/model/mm_dst
# ./run_train_gpt2.sh "/home/holy/projects/ambiguous-mm-dialogue/save/mm_dst|mm/mm_dst/"
cd simmc2/model/ambiguous_candidates/
pwd
### COREF
# CUDA_VISIBLE_DEVICES=0 python train_coref_model.py \
# --train_file "/home/holy/projects/ambiguous-mm-dialogue/preprocessed_data/coref_candidates|no_mm/simmc2.1_coref_candidates_dstc11_train.json" \
# --dev_file "/home/holy/projects/ambiguous-mm-dialogue/preprocessed_data/coref_candidates|no_mm/simmc2.1_coref_candidates_dstc11_dev.json" \
# --devtest_file "/home/holy/projects/ambiguous-mm-dialogue/preprocessed_data/coref_candidates|no_mm/simmc2.1_coref_candidates_dstc11_devtest.json" \
# --result_save_path "/home/holy/projects/ambiguous-mm-dialogue/results/coref_candidates|no_mm/amb-baseline_gpt2" \
# --visual_feature_path "/home/holy/projects/ambiguous-mm-dialogue/preprocessed_data/visual_features/visual_features_resnet50_simmc2.1.pt" \
# --visual_feature_size 516 \
# --backbone gpt2 --use_gpu --num_epochs 10 --batch_size 16 --max_turns 3
# CUDA_VISIBLE_DEVICES=3 python train_coref_model.py \
# --train_file "/home/holy/projects/ambiguous-mm-dialogue/preprocessed_data/coref_candidates|no_mm/simmc2.1_coref_candidates_dstc11_train.json" \
# --dev_file "/home/holy/projects/ambiguous-mm-dialogue/preprocessed_data/coref_candidates|no_mm/simmc2.1_coref_candidates_dstc11_dev.json" \
# --devtest_file "/home/holy/projects/ambiguous-mm-dialogue/preprocessed_data/coref_candidates|no_mm/simmc2.1_coref_candidates_dstc11_devtest.json" \
# --result_save_path "/home/holy/projects/ambiguous-mm-dialogue/results/coref_candidates|no_mm/amb-baseline_bert" \
# --visual_feature_path "/home/holy/projects/ambiguous-mm-dialogue/preprocessed_data/visual_features/visual_features_resnet50_simmc2.1.pt" \
# --visual_feature_size 516 \
# --backbone bert --use_gpu --num_epochs 10 --batch_size 16 --max_turns 3
# CUDA_VISIBLE_DEVICES=0 python train_coref_model.py \
# --train_file "/home/holy/projects/ambiguous-mm-dialogue/preprocessed_data/coref_candidates|no_mm/simmc2.1_coref_candidates_dstc11_train.json" \
# --dev_file "/home/holy/projects/ambiguous-mm-dialogue/preprocessed_data/coref_candidates|no_mm/simmc2.1_coref_candidates_dstc11_dev.json" \
# --devtest_file "/home/holy/projects/ambiguous-mm-dialogue/preprocessed_data/coref_candidates|no_mm/simmc2.1_coref_candidates_dstc11_devtest.json" \
# --result_save_path "/home/holy/projects/ambiguous-mm-dialogue/results/coref_candidates|no_mm/amb-baseline_gpt2" \
# --visual_feature_path "/home/holy/projects/ambiguous-mm-dialogue/preprocessed_data/visual_features/visual_features_detr.pt" \
# --visual_feature_size 260 \
# --backbone gpt2 --use_gpu --num_epochs 10 --batch_size 16 --max_turns 3
# CUDA_VISIBLE_DEVICES=1 python train_coref_model.py \
# --train_file "/home/holy/projects/ambiguous-mm-dialogue/preprocessed_data/coref_candidates|no_mm/simmc2.1_coref_candidates_dstc11_train.json" \
# --dev_file "/home/holy/projects/ambiguous-mm-dialogue/preprocessed_data/coref_candidates|no_mm/simmc2.1_coref_candidates_dstc11_dev.json" \
# --devtest_file "/home/holy/projects/ambiguous-mm-dialogue/preprocessed_data/coref_candidates|no_mm/simmc2.1_coref_candidates_dstc11_devtest.json" \
# --result_save_path "/home/holy/projects/ambiguous-mm-dialogue/results/coref_candidates|no_mm/amb-baseline_bert" \
# --visual_feature_path "/home/holy/projects/ambiguous-mm-dialogue/preprocessed_data/visual_features/visual_features_detr.pt" \
# --visual_feature_size 260 \
# --backbone bert --use_gpu --num_epochs 10 --batch_size 16 --max_turns 3
#### AMBIGUOUS
CUDA_VISIBLE_DEVICES=0 python train_model.py \
--train_file "/home/holy/projects/ambiguous-mm-dialogue/preprocessed_data/ambiguous_candidates/simmc2.1_ambiguous_candidates_dstc11_train.json" \
--dev_file "/home/holy/projects/ambiguous-mm-dialogue/preprocessed_data/ambiguous_candidates/simmc2.1_ambiguous_candidates_dstc11_dev.json" \
--devtest_file "/home/holy/projects/ambiguous-mm-dialogue/preprocessed_data/ambiguous_candidates/simmc2.1_ambiguous_candidates_dstc11_devtest.json" \
--result_save_path "/home/holy/projects/ambiguous-mm-dialogue/results/ambiguous-candidates/detr_gpt2_no_bbox" \
--visual_feature_path "/home/holy/projects/ambiguous-mm-dialogue/preprocessed_data/visual_features/visual_features_detr_no_bbox.pt" \
--visual_feature_size 256 \
--backbone gpt2 --use_gpu --num_epochs 10 --batch_size 16 --max_turns 3
# CUDA_VISIBLE_DEVICES=1 python train_model.py \
# --train_file "/home/holy/projects/ambiguous-mm-dialogue/preprocessed_data/ambiguous_candidates/simmc2.1_ambiguous_candidates_dstc11_train.json" \
# --dev_file "/home/holy/projects/ambiguous-mm-dialogue/preprocessed_data/ambiguous_candidates/simmc2.1_ambiguous_candidates_dstc11_dev.json" \
# --devtest_file "/home/holy/projects/ambiguous-mm-dialogue/preprocessed_data/ambiguous_candidates/simmc2.1_ambiguous_candidates_dstc11_devtest.json" \
# --result_save_path "/home/holy/projects/ambiguous-mm-dialogue/results/ambiguous-candidates/detr_bert_no_bbox" \
# --visual_feature_path "/home/holy/projects/ambiguous-mm-dialogue/preprocessed_data/visual_features/visual_features_detr_no_bbox.pt" \
# --visual_feature_size 256 \
# --backbone bert --use_gpu --num_epochs 10 --batch_size 16 --max_turns 3