-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnohup_gold-materials_alinet.txt
286 lines (274 loc) · 13.1 KB
/
nohup_gold-materials_alinet.txt
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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
load arguments: {'training_data': '../../datasets/', 'output': '../../output/results/Paper/eCommerceData/', 'dataset_division': '721_5fold', 'embedding_module': 'AliNet', 'alignment_module': 'mapping', 'search_module': 'greedy', 'layer_dims': [500, 400, 300], 'init': 'xavier', 'ent_l2_norm': True, 'rel_l2_norm': True, 'learning_rate': 0.001, 'optimizer': 'Adam', 'max_epoch': 2000, 'batch_size': 3000, 'neg_margin': 1.5, 'neg_margin_balance': 0.1, 'dropout': 0.0, 'neg_sampling': 'truncated', 'neg_triple_num': 10, 'truncated_epsilon': 0.98, 'truncated_freq': 10, 'batch_threads_num': 2, 'test_threads_num': 4, 'ordered': True, 'start_valid': 10, 'eval_freq': 10, 'stop_metric': 'hits1', 'eval_metric': 'inner', 'csls': 10, 'top_k': [1, 5, 10, 50], 'is_save': False, 'eval_norm': False, 'min_rel_win': 50, 'start_augment': 2, 'rel_param': 0.01, 'num_features_nonzero': 0, 'sim_th': 0.0, 'k': 20}
AliNet
<openea.modules.args.args_hander.ARGs object at 0x7f0afe393748>
read relation triples: ../../datasets/Ontologies/Paper/eCommerceData/Gold-Materials/rel_triples_1
read relation triples: ../../datasets/Ontologies/Paper/eCommerceData/Gold-Materials/rel_triples_2
read attribute triples: ../../datasets/Ontologies/Paper/eCommerceData/Gold-Materials/attr_triples_1
read attribute triples: ../../datasets/Ontologies/Paper/eCommerceData/Gold-Materials/attr_triples_2
read links: ../../datasets/Ontologies/Paper/eCommerceData/Gold-Materials/721_5fold/1/train_links
read links: ../../datasets/Ontologies/Paper/eCommerceData/Gold-Materials/721_5fold/1/valid_links
read links: ../../datasets/Ontologies/Paper/eCommerceData/Gold-Materials/721_5fold/1/test_links
Number of rt_dict: 24753
Number of hr_dict: 23821
entity relations dict: 24753
Number of av_dict: 5328
entity attributes dict: 5328
KG statistics:
Number of entities: 24759
Number of relations: 7
Number of attributes: 8
Number of relation triples: 85585
Number of attribute triples: 10081
Number of local relation triples: 85585
Number of local attribute triples: 10081
Number of rt_dict: 21833
Number of hr_dict: 2410
entity relations dict: 21833
Number of av_dict: 2408
entity attributes dict: 2408
KG statistics:
Number of entities: 21835
Number of relations: 2
Number of attributes: 2
Number of relation triples: 41258
Number of attribute triples: 4815
Number of local relation triples: 41258
Number of local attribute triples: 4815
Number of rt_dict: 24753
Number of hr_dict: 23821
entity relations dict: 24753
Number of av_dict: 5328
entity attributes dict: 5328
KG statistics:
Number of entities: 24759
Number of relations: 7
Number of attributes: 8
Number of relation triples: 85585
Number of attribute triples: 10081
Number of local relation triples: 85585
Number of local attribute triples: 10081
Number of rt_dict: 21833
Number of hr_dict: 2410
entity relations dict: 21833
Number of av_dict: 2408
entity attributes dict: 2408
KG statistics:
Number of entities: 21835
Number of relations: 2
Number of attributes: 2
Number of relation triples: 41258
Number of attribute triples: 4815
Number of local relation triples: 41258
Number of local attribute triples: 4815
../../output/results/Paper/eCommerceData/ ../../datasets/Ontologies/Paper/eCommerceData/Gold-Materials/ ['..', '..', 'datasets', 'Ontologies', 'Paper', 'eCommerceData', 'Gold-Materials'] 721_5fold/1/ AliNet
results output folder: ../../output/results/Paper/eCommerceData/AliNet/Gold-Materials/721_5fold/1/20231018094250/
triples num 85585
head ent num 24753
total ent num 24759
ave outs: 3
additional triples: 39429
triples num 41258
head ent num 21833
total ent num 21835
ave outs: 1
additional triples: 19425
before enhanced: 85585 41258
after enhanced: 0 0
before removing unlinked triples: 126843
after removing unlinked triples: 38850
generating one-adj costs time: 1.5519s
before removing unlinked triples: 85585
after removing unlinked triples: 19425
total 2-hop neighbors: 0
total 2-hop relation patterns: 0
selected relation patterns: 0
selected 2-hop neighbors: 0
before removing unlinked triples: 41258
after removing unlinked triples: 19425
total 2-hop neighbors: 0
total 2-hop relation patterns: 0
selected relation patterns: 0
selected 2-hop neighbors: 0
generating one-adj costs time: 0.0461s
save adj data to ../../datasets/Ontologies/Paper/eCommerceData/Gold-Materials/721_5fold/1/alinet_saved_data.pkl
Getting AliNet model...
epoch 1, loss: 13737.8135, cost time: 94.5290s
epoch 2, loss: 7862.9016, cost time: 80.5180s
epoch 3, loss: 4966.3528, cost time: 82.5343s
epoch 4, loss: 3346.0101, cost time: 75.4875s
epoch 5, loss: 2254.6956, cost time: 73.1451s
epoch 6, loss: 1590.1049, cost time: 74.1530s
epoch 7, loss: 1131.3852, cost time: 74.2225s
epoch 8, loss: 852.1387, cost time: 70.0376s
epoch 9, loss: 660.5861, cost time: 70.0474s
epoch 10, loss: 522.9422, cost time: 73.9692s
quick results: hits@[1, 5, 10, 50] = [23.993 60.027 78.984 94.734]%, time = 9.211 s
neighbors num 436
finding neighbors for sampling costs time: 85.9388s
epoch 11, loss: 2261.8906, cost time: 77.7694s
epoch 12, loss: 1297.1435, cost time: 73.3022s
epoch 13, loss: 1129.5995, cost time: 76.9929s
epoch 14, loss: 1030.4977, cost time: 73.0278s
epoch 15, loss: 967.0867, cost time: 71.0325s
epoch 16, loss: 891.6066, cost time: 69.7511s
epoch 17, loss: 823.2672, cost time: 68.6684s
epoch 18, loss: 765.2521, cost time: 76.8408s
epoch 19, loss: 721.1375, cost time: 67.5948s
epoch 20, loss: 669.1078, cost time: 75.3418s
quick results: hits@[1, 5, 10, 50] = [22.894 60.119 80.266 94.093]%, time = 10.151 s
neighbors num 436
finding neighbors for sampling costs time: 87.2946s
epoch 21, loss: 674.6517, cost time: 72.3475s
epoch 22, loss: 628.2870, cost time: 71.8192s
epoch 23, loss: 577.4793, cost time: 64.9094s
epoch 24, loss: 560.7742, cost time: 66.2768s
epoch 25, loss: 526.3730, cost time: 64.3146s
epoch 26, loss: 513.6275, cost time: 68.7701s
epoch 27, loss: 481.6831, cost time: 69.8384s
epoch 28, loss: 466.2612, cost time: 69.1322s
epoch 29, loss: 442.2818, cost time: 67.8469s
epoch 30, loss: 429.0455, cost time: 71.2219s
quick results: hits@[1, 5, 10, 50] = [24.634 60.348 79.029 89.56 ]%, time = 10.822 s
neighbors num 436
finding neighbors for sampling costs time: 81.2414s
epoch 31, loss: 418.8987, cost time: 69.1587s
epoch 32, loss: 397.9280, cost time: 66.6241s
epoch 33, loss: 388.3115, cost time: 69.0888s
epoch 34, loss: 370.9569, cost time: 67.4085s
epoch 35, loss: 368.1311, cost time: 67.7455s
epoch 36, loss: 348.8053, cost time: 69.8285s
epoch 37, loss: 340.5385, cost time: 70.7508s
epoch 38, loss: 322.5875, cost time: 72.5913s
epoch 39, loss: 324.7736, cost time: 69.5851s
epoch 40, loss: 320.7826, cost time: 68.6720s
quick results: hits@[1, 5, 10, 50] = [24.634 59.341 76.282 85.668]%, time = 13.792 s
neighbors num 436
finding neighbors for sampling costs time: 81.2266s
epoch 41, loss: 320.7391, cost time: 66.9408s
epoch 42, loss: 307.9734, cost time: 66.7607s
epoch 43, loss: 314.2058, cost time: 76.0508s
epoch 44, loss: 317.5099, cost time: 61.4408s
epoch 45, loss: 313.4139, cost time: 59.3948s
epoch 46, loss: 315.3903, cost time: 59.5883s
epoch 47, loss: 309.1863, cost time: 57.2503s
epoch 48, loss: 311.4486, cost time: 58.9119s
epoch 49, loss: 308.6450, cost time: 51.7096s
epoch 50, loss: 313.3752, cost time: 42.4444s
quick results: hits@[1, 5, 10, 50] = [24.771 60.531 77.015 88.507]%, time = 5.761 s
neighbors num 436
finding neighbors for sampling costs time: 44.9959s
epoch 51, loss: 304.5535, cost time: 46.0530s
epoch 52, loss: 307.2383, cost time: 47.0250s
epoch 53, loss: 309.0123, cost time: 50.8322s
epoch 54, loss: 301.1168, cost time: 51.1218s
epoch 55, loss: 300.4136, cost time: 53.8515s
epoch 56, loss: 294.3848, cost time: 50.0834s
epoch 57, loss: 296.0124, cost time: 46.9139s
epoch 58, loss: 287.2486, cost time: 44.7393s
epoch 59, loss: 283.1187, cost time: 44.4028s
epoch 60, loss: 290.0424, cost time: 45.1182s
quick results: hits@[1, 5, 10, 50] = [25.549 61.035 78.342 90.43 ]%, time = 6.279 s
neighbors num 436
finding neighbors for sampling costs time: 52.2433s
epoch 61, loss: 280.6622, cost time: 49.7698s
epoch 62, loss: 277.5189, cost time: 48.9853s
epoch 63, loss: 277.9099, cost time: 50.4163s
epoch 64, loss: 278.3898, cost time: 49.8218s
epoch 65, loss: 268.9958, cost time: 45.6970s
epoch 66, loss: 264.8651, cost time: 45.6846s
epoch 67, loss: 262.4238, cost time: 46.2567s
epoch 68, loss: 260.7150, cost time: 44.9194s
epoch 69, loss: 265.4629, cost time: 67.4668s
epoch 70, loss: 261.3106, cost time: 96.5720s
quick results: hits@[1, 5, 10, 50] = [25.595 62.088 79.075 91.621]%, time = 8.688 s
neighbors num 436
finding neighbors for sampling costs time: 104.0471s
epoch 71, loss: 259.0277, cost time: 90.1263s
epoch 72, loss: 254.9852, cost time: 98.7485s
epoch 73, loss: 251.4058, cost time: 90.0634s
epoch 74, loss: 246.9042, cost time: 94.9567s
epoch 75, loss: 247.4383, cost time: 95.0600s
epoch 76, loss: 249.9715, cost time: 92.2020s
epoch 77, loss: 245.0426, cost time: 94.1038s
epoch 78, loss: 247.8302, cost time: 92.5986s
epoch 79, loss: 239.7399, cost time: 90.3578s
epoch 80, loss: 243.3195, cost time: 88.0776s
quick results: hits@[1, 5, 10, 50] = [24.588 61.813 79.487 92.445]%, time = 9.061 s
neighbors num 436
finding neighbors for sampling costs time: 89.3254s
epoch 81, loss: 239.5926, cost time: 94.0598s
epoch 82, loss: 236.4999, cost time: 89.0308s
epoch 83, loss: 236.9214, cost time: 86.6774s
epoch 84, loss: 227.3309, cost time: 87.7194s
epoch 85, loss: 231.8094, cost time: 85.3039s
epoch 86, loss: 231.9360, cost time: 87.7787s
epoch 87, loss: 225.1360, cost time: 89.2643s
epoch 88, loss: 228.4337, cost time: 88.4675s
epoch 89, loss: 232.1059, cost time: 85.5237s
epoch 90, loss: 220.8626, cost time: 86.5873s
quick results: hits@[1, 5, 10, 50] = [26.053 61.584 79.762 92.857]%, time = 11.042 s
neighbors num 436
finding neighbors for sampling costs time: 91.3194s
epoch 91, loss: 223.2954, cost time: 85.9451s
epoch 92, loss: 220.2009, cost time: 84.5454s
epoch 93, loss: 223.8641, cost time: 86.0504s
epoch 94, loss: 221.0734, cost time: 83.3312s
epoch 95, loss: 215.4347, cost time: 79.7483s
epoch 96, loss: 215.8265, cost time: 84.9238s
epoch 97, loss: 217.0164, cost time: 84.0597s
epoch 98, loss: 220.2491, cost time: 85.8418s
epoch 99, loss: 214.8262, cost time: 88.6401s
epoch 100, loss: 216.1743, cost time: 86.4373s
quick results: hits@[1, 5, 10, 50] = [24.679 61.767 79.945 92.766]%, time = 12.328 s
neighbors num 436
finding neighbors for sampling costs time: 92.5119s
epoch 101, loss: 211.3120, cost time: 81.6387s
epoch 102, loss: 213.1352, cost time: 76.9145s
epoch 103, loss: 213.4946, cost time: 81.3474s
epoch 104, loss: 213.8839, cost time: 79.5013s
epoch 105, loss: 208.8836, cost time: 79.0901s
epoch 106, loss: 204.0949, cost time: 79.0634s
epoch 107, loss: 210.2610, cost time: 83.1053s
epoch 108, loss: 208.3184, cost time: 80.3196s
epoch 109, loss: 208.0194, cost time: 82.1527s
epoch 110, loss: 207.9452, cost time: 79.0034s
quick results: hits@[1, 5, 10, 50] = [25.778 61.676 79.579 92.903]%, time = 10.674 s
neighbors num 436
finding neighbors for sampling costs time: 77.2604s
epoch 111, loss: 201.7826, cost time: 73.0598s
epoch 112, loss: 207.2801, cost time: 74.3133s
epoch 113, loss: 202.7275, cost time: 71.9051s
epoch 114, loss: 200.2500, cost time: 74.8747s
epoch 115, loss: 205.0217, cost time: 72.5893s
epoch 116, loss: 202.6146, cost time: 75.8802s
epoch 117, loss: 194.6824, cost time: 73.8300s
epoch 118, loss: 196.8358, cost time: 72.6059s
epoch 119, loss: 193.1401, cost time: 74.3703s
epoch 120, loss: 196.4764, cost time: 72.2108s
quick results: hits@[1, 5, 10, 50] = [25.687 61.493 80.403 93.04 ]%, time = 9.684 s
neighbors num 436
finding neighbors for sampling costs time: 75.7617s
epoch 121, loss: 198.1279, cost time: 71.7388s
epoch 122, loss: 196.1668, cost time: 78.8881s
epoch 123, loss: 194.2506, cost time: 72.7295s
epoch 124, loss: 193.7374, cost time: 75.6641s
epoch 125, loss: 191.0025, cost time: 73.5266s
epoch 126, loss: 195.8099, cost time: 71.3877s
epoch 127, loss: 186.1458, cost time: 71.6508s
epoch 128, loss: 195.6294, cost time: 69.7863s
epoch 129, loss: 194.5502, cost time: 73.5415s
epoch 130, loss: 194.4470, cost time: 75.7002s
quick results: hits@[1, 5, 10, 50] = [25.641 60.897 80.678 93.727]%, time = 9.998 s
== should early stop ==
== training stop ==
accurate results: hits@[1, 5, 10, 50] = [29.005 68.625 84.152 94.515]%, mr = 140.286, mrr = 0.458680, time = 18.745 s
accurate results with csls: csls=10, hits@[1, 5, 10, 50] = [29.051 69.289 85.022 95.935]%, mr = 50.509, mrr = 0.461531, time = 31.451 s
Results saved!
../../output/results/Paper/eCommerceData/AliNet/Gold-Materials/721_5fold/1/20231018094250/kg1_ent_ids saved.
../../output/results/Paper/eCommerceData/AliNet/Gold-Materials/721_5fold/1/20231018094250/kg2_ent_ids saved.
../../output/results/Paper/eCommerceData/AliNet/Gold-Materials/721_5fold/1/20231018094250/kg1_rel_ids saved.
../../output/results/Paper/eCommerceData/AliNet/Gold-Materials/721_5fold/1/20231018094250/kg2_rel_ids saved.
../../output/results/Paper/eCommerceData/AliNet/Gold-Materials/721_5fold/1/20231018094250/kg1_attr_ids saved.
../../output/results/Paper/eCommerceData/AliNet/Gold-Materials/721_5fold/1/20231018094250/kg2_attr_ids saved.
Embeddings saved!
Total run time = 11313.838 s.