-
Notifications
You must be signed in to change notification settings - Fork 1
/
inference_all.sh
9 lines (9 loc) · 2.89 KB
/
inference_all.sh
1
2
3
4
5
6
7
8
9
#!/usr/bin/env bash
python translate.py -model experiments/transformer_base/model_25000.pt -src experiments/raw_data/test.ja.tokenized.txt -tgt experiments/raw_data/test.en.tokenized.txt -gpu 0 -max_length 600 -output experiments/transformer_base/transformer_base.pred.txt -log_file experiments/transformer_base/transformer_base_predlog -seed 42 -report_time
python translate.py -model experiments/transformer_cross_comb/model_25000.pt -src experiments/raw_data/test.ja.tokenized.txt -tgt experiments/raw_data/test.en.tokenized.txt -gpu 0 -max_length 600 -output experiments/transformer_cross_comb/transformer_cross_comb.pred.txt -log_file experiments/transformer_cross_comb/transformer_cross_comb_predlog -seed 42 -report_time
python translate.py -model experiments/transformer_overlap_comb/model_25000.pt -src experiments/raw_data/test.ja.tokenized.txt -tgt experiments/raw_data/test.en.tokenized.txt -gpu 0 -max_length 600 -output experiments/transformer_overlap_comb/transformer_overlap_comb.pred.txt -log_file experiments/transformer_overlap_comb/transformer_overlap_comb_predlog -seed 42 -report_time
python translate.py -model experiments/transformer_regular_comb/model_25000.pt -src experiments/raw_data/test.ja.tokenized.txt -tgt experiments/raw_data/test.en.tokenized.txt -gpu 0 -max_length 600 -output experiments/transformer_regular_comb/transformer_regular_comb.pred.txt -log_file experiments/transformer_regular_comb/transformer_regular_comb_predlog -seed 42 -report_time
python translate.py -model experiments/transformer_skip_comb/model_25000.pt -src experiments/raw_data/test.ja.tokenized.txt -tgt experiments/raw_data/test.en.tokenized.txt -gpu 0 -max_length 600 -output experiments/transformer_skip_comb/transformer_skip_comb.pred.txt -log_file experiments/transformer_skip_comb/transformer_skip_comb_predlog -seed 42 -report_time
python translate.py -model experiments/transformer_skip_middle/model_25000.pt -src experiments/raw_data/test.ja.tokenized.txt -tgt experiments/raw_data/test.en.tokenized.txt -gpu 0 -max_length 600 -output experiments/transformer_skip_middle/transformer_skip_middle.pred.txt -log_file experiments/transformer_skip_middle/transformer_skip_middle_predlog -seed 42 -report_time
python translate.py -model experiments/transformer_skip_pkd/model_25000.pt -src experiments/raw_data/test.ja.tokenized.txt -tgt experiments/raw_data/test.en.tokenized.txt -gpu 0 -max_length 600 -output experiments/transformer_skip_pkd/transformer_skip_pkd.pred.txt -log_file experiments/transformer_skip_pkd/transformer_skip_pkd_predlog -seed 42 -report_time
python translate.py -model experiments/transformer_rkd/model_25000.pt -src experiments/raw_data/test.ja.tokenized.txt -tgt experiments/raw_data/test.en.tokenized.txt -gpu 0 -max_length 600 -output experiments/transformer_rkd/transformer_rkd.pred.txt -log_file experiments/transformer_rkd/transformer_rkd_predlog -seed 42 -report_time