-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathrun.sh
47 lines (40 loc) · 1.11 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
batch_size=8
# for lr in 2e-2
# do
# for epochs in 20
# do
# for lambd in 1e-7
# do
# for momentum in 0.8 0.7 0.6 0.5 0.4 0.3
# do
# for temp_ensem_weight in 0.5 1.0
# do
# python run.py --batch_size ${batch_size} --lr ${lr} --lambd ${lambd} --epochs ${epochs} --add_new_inst 1 --momentum ${momentum} --temp_ensem_weight ${temp_ensem_weight}
# done
# done
# done
# done
# done
for lr in 1e-2
do
for epochs in 30
do
for lambd in 1e-7
do
for sample_num in 5
do
python run.py --batch_size ${batch_size} --lr ${lr} --lambd ${lambd} --epochs ${epochs} --add_new_inst 1 --unmasker_new_model 1 --save_res "update_unmasker" --sample_num ${sample_num}
done
done
done
done
# for lr in 2e-5 #5e-5 1e-5
# do
# for epochs in 20
# do
# for lambd in 1
# do
# python run.py --batch_size ${batch_size} --lr ${lr} --lambd ${lambd} --epochs ${epochs}
# done
# done
# done