-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathclassification.sh
116 lines (98 loc) · 2.47 KB
/
classification.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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
# Training
# baseline: use only entity name
python3 main.py \
--dataset data_bundle_new.pkl \
--ptm clip \
--batch_size 128 \
--gpu 0 \
--save_path ./ckps/ \
--con_loss \
--do_train \
--method onlyent \
--threshold 0.5 \
--task classification \
--epoch 10
# COG with Concept Integration, using all concepts by default
# python3 main.py \
# --dataset data_bundle_new.pkl \
# --ptm clip \
# --gpu 0 \
# --save_path ./ckps/ \
# --con_loss \
# --do_train \
# --method CI \
# --con_type all \
# --threshold 0.5 \
# --task classification \
# --epoch 10
# COG with Concept Integration and Evidence Fusion, using all concepts by default
# python3 main.py \
# --dataset data_bundle_new.pkl \
# --ptm clip \
# --gpu 0 \
# --save_path ./ckps/ \
# --con_loss \
# --do_train \
# --method CI_EF \
# --con_type all \
# --threshold 0.5 \
# --task classification \
# --epoch 10
# Ablation: COG with Concept Integration, using blc concepts
# python3 main.py \
# --dataset data_bundle_new.pkl \
# --ptm clip \
# --gpu 0 \
# --save_path ./ckps/ \
# --con_loss \
# --do_train \
# --method CI \
# --con_type blc \
# --threshold 0.5 \
# --task classification \
# --epoch 10
# Evaluation
# baseline: use only entity name
# python3 main.py \
# --dataset data_bundle_new.pkl \
# --ptm clip \
# --gpu 0 \
# --load_path "" \
# --do_eval \
# --method onlyent \
# --threshold 0.5 \
# --task classification
# COG with Concept Integration, using all concepts by default
# python3 main.py \
# --dataset data_bundle_new.pkl \
# --ptm clip \
# --gpu 0 \
# --load_path "" \
# --do_eval \
# --method CI \
# --con_type all \
# --threshold 0.5 \
# --task classification
# COG with Concept Integration and Evidence Fusion, using all concepts by default
# python3 main.py \
# --dataset data_bundle_new.pkl \
# --ptm clip \
# --gpu 1 \
# --load_path "" \
# --do_eval \
# --method CI_EF \
# --con_type all \
# --threshold 0.5 \
# --task classification \
# --save_evidence
# Ablation: COG with Concept Integration, using blc concepts
# python3 main.py \
# --dataset data_bundle_new.pkl \
# --ptm clip \
# --gpu 0 \
# --load_path "" \
# --do_eval \
# --method CI \
# --con_type blc \
# --threshold 0.5 \
# --task classification