forked from MiuLab/DDQ
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Bash_figure_5.sh
53 lines (49 loc) · 2.52 KB
/
Bash_figure_5.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
#Below is the script used for figure 5
##DQN 10, upper bound
for ((i=1; i<= 5; i++));do
let "seed=$i*100"
python run.py --agt 9 \
--usr 1 --max_turn 40 --movie_kb_path ./deep_dialog/data/movie_kb.1k.p --dqn_hidden_size 80 \
--experience_replay_pool_size 5000 --episodes 500 --simulation_epoch_size 100 \
--run_mode 3 --act_level 0 --slot_err_prob 0.0 --intent_err_prob 0.00 --batch_size 16 \
--goal_file_path ./deep_dialog/data/user_goals_first_turn_template.part.movie.v1.p \
--warm_start 1 --warm_start_epochs 100 \
--write_model_dir ./deep_dialog/checkpoints/DQN_k10_run$i \
--planning_steps 9 --torch_seed $seed --grounded 1 --boosted 1 --train_world_model 1
done
##DDQ 10
for ((i=1; i<= 5; i++));do
let "seed=$i*100"
python run.py --agt 9 \
--usr 1 --max_turn 40 --movie_kb_path ./deep_dialog/data/movie_kb.1k.p --dqn_hidden_size 80 \
--experience_replay_pool_size 5000 --episodes 500 --simulation_epoch_size 100 \
--run_mode 3 --act_level 0 --slot_err_prob 0.0 --intent_err_prob 0.00 --batch_size 16 \
--goal_file_path ./deep_dialog/data/user_goals_first_turn_template.part.movie.v1.p \
--warm_start 1 --warm_start_epochs 100 \
--write_model_dir ./deep_dialog/checkpoints/DDQ_k10_run$i \
--planning_steps 9 --torch_seed $seed --grounded 0 --boosted 1 --train_world_model 1
done
##DDQ 10 rand-init
for ((i=1; i<= 5; i++));do
let "seed=$i*100"
python run.py --agt 9 \
--usr 1 --max_turn 40 --movie_kb_path ./deep_dialog/data/movie_kb.1k.p --dqn_hidden_size 80 \
--experience_replay_pool_size 5000 --episodes 500 --simulation_epoch_size 100 \
--run_mode 3 --act_level 0 --slot_err_prob 0.0 --intent_err_prob 0.00 --batch_size 16 \
--goal_file_path ./deep_dialog/data/user_goals_first_turn_template.part.movie.v1.p \
--warm_start 1 --warm_start_epochs 100 \
--write_model_dir ./deep_dialog/checkpoints/DDQ_k10_rand_run$i \
--planning_steps 9 --torch_seed $seed --grounded 0 --boosted 0 --train_world_model 1
done
##DDQ 10 fixed, run 5 or 10 to smooth the results
for ((i=1; i<= 5; i++));do
let "seed=$i*100"
python run.py --agt 9 \
--usr 1 --max_turn 40 --movie_kb_path ./deep_dialog/data/movie_kb.1k.p --dqn_hidden_size 80 \
--experience_replay_pool_size 5000 --episodes 500 --simulation_epoch_size 100 \
--run_mode 3 --act_level 0 --slot_err_prob 0.0 --intent_err_prob 0.00 --batch_size 16 \
--goal_file_path ./deep_dialog/data/user_goals_first_turn_template.part.movie.v1.p \
--warm_start 1 --warm_start_epochs 100 \
--write_model_dir ./deep_dialog/checkpoints/DDQ_k10_fixed_run$i \
--planning_steps 9 --torch_seed $seed --grounded 0 --boosted 1 --train_world_model 0
done