-
Notifications
You must be signed in to change notification settings - Fork 1
/
ranking.sh
54 lines (45 loc) · 1.08 KB
/
ranking.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
# Training
# baseline: use only entity name
python3 main.py \
--dataset data_bundle_new_lp.pkl \
--ptm clip \
--gpu 1 \
--save_path ./ckps/ \
--batch_size 16 \
--do_train \
--method onlyent \
--task ranking
# COG with Concept Integration, using all concepts by default
# python3 main.py \
# --dataset data_bundle_new_lp.pkl \
# --ptm clip \
# --gpu 1 \
# --con_type all \
# --con_loss \
# --save_path ./ckps/ \
# --batch_size 16 \
# --do_train \
# --method CI \
# --task ranking
# Evaluation
# baseline: use only entity name
# python3 main.py \
# --dataset data_bundle_new_lp.pkl \
# --ptm clip \
# --gpu 1 \
# --load_path "" \
# --batch_size 16 \
# --do_eval \
# --method onlyent \
# --task ranking \
# COG with Concept Integration, using all concepts by default
# python3 main.py \
# --dataset data_bundle_new_lp.pkl \
# --ptm clip \
# --gpu 1 \
# --load_path "" \
# --batch_size 16 \
# --do_eval \
# --con_type all \
# --method CI \
# --task ranking \