-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathrun_TransR.sh
executable file
·66 lines (65 loc) · 3.5 KB
/
run_TransR.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
#!/bin/sh
cd ..
# output/zh_en_transe_test_forR_20200412-0745
# output/ja_en_transe_test_forR_20200412-0755
# output/fr_en_transe_test_20200420-0731
# CUDA_VISIBLE_DEVICES=0 python3 run.py --log transr \
# --data_dir "data/DBP15K/zh_en" \
# --pre "output/zh_en_transe_test_forR_20200412-0745" \
# --rate 0.3 \
# --epoch 200 \
# --check 10 \
# --update 10 \
# --train_batch_size 5000 \
# --share \
# --encoder "" \
# --hiddens "100" \
# --decoder "TransR" \
# --sampling "T" \
# --k "5" \
# --margin "0.5" \
# --alpha "1" \
# --feat_drop 0.0 \
# --lr 0.01 \
# --train_dist "euclidean" \
# --test_dist "euclidean"
# CUDA_VISIBLE_DEVICES=0 python3 run.py --log transr \
# --data_dir "data/DBP15K/ja_en" \
# --pre "output/ja_en_transe_test_forR_20200412-0755" \
# --rate 0.3 \
# --epoch 200 \
# --check 10 \
# --update 10 \
# --train_batch_size 5000 \
# --share \
# --encoder "" \
# --hiddens "100" \
# --decoder "TransR" \
# --sampling "T" \
# --k "5" \
# --margin "0.5" \
# --alpha "1" \
# --feat_drop 0.0 \
# --lr 0.01 \
# --train_dist "euclidean" \
# --test_dist "euclidean"
# CUDA_VISIBLE_DEVICES=0 python3 run.py --log transr \
# --data_dir "data/DBP15K/fr_en" \
# --pre "output/fr_en_transe_test_20200420-0731" \
# --rate 0.3 \
# --epoch 200 \
# --check 10 \
# --update 10 \
# --train_batch_size 5000 \
# --share \
# --encoder "" \
# --hiddens "100" \
# --decoder "TransR" \
# --sampling "T" \
# --k "5" \
# --margin "0.5" \
# --alpha "1" \
# --feat_drop 0.0 \
# --lr 0.01 \
# --train_dist "euclidean" \
# --test_dist "euclidean"