-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun_table1.sh
More file actions
56 lines (50 loc) · 1.84 KB
/
run_table1.sh
File metadata and controls
56 lines (50 loc) · 1.84 KB
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
# 3 * 12 = 36 Results
# PCE(LSTM), PCE(Glove), PCE(Word2vec)
args="--data data/ --test verb_physics_test_5 --reverse true --train verb_physics_train_5 --zero False --majority False --poleSensitivity False --poleWord1 slow --poleWord2 speedy"
for rel in " --test_relation big" " --test_relation heavy" " --test_relation rigid" " --test_relation strong" " --test_relation fast" " --test_relation all"
do
for emb in " --embtype lstm --embeddingSize 1024" " --embtype glove --embeddingSize 300" " --embtype word2vec --embeddingSize 300"
do
echo $rel
echo $emb
argswithRelation="$args$rel$emb"
for i in {1..10}
do
python script.py $argswithRelation
done
done
done
# 1 * 6 = 6 Results
# PCE(no reverse)
args1="--data data/ --embtype lstm --embeddingSize 1024 --test verb_physics_test_5 --reverse false --train verb_physics_train_5 --zero False"
echo $args1
for rel in " --test_relation big" " --test_relation heavy" " --test_relation rigid" " --test_relation strong" " --test_relation fast" " --test_relation all"
do
echo $rel
argswithRelation="$args1$rel"
for i in {1..10}
do
python script.py $argswithRelation
done
done
# 1 * 6 = 6 Results
# PCE(one pole)
args1="--data data/ --embtype lstm --embeddingSize 1024 --test verb_physics_test_5 --onepole true --reverse true --train verb_physics_train_5 --zero False"
echo $args1
for rel in " --test_relation big" " --test_relation heavy" " --test_relation rigid" " --test_relation strong" " --test_relation fast" " --test_relation all"
do
echo $rel
argswithRelation="$args1$rel"
for i in {1..10}
do
python script.py $argswithRelation
done
done
# Majority Baseline
for rel in " --test_relation big" " --test_relation heavy" " --test_relation rigid" " --test_relation strong" " --test_relation fast" " --test_relation all"
do
# for i in {1..10}
# do
python majority.py $rel
# done
done