Einae commited on
Commit
e7db51f
·
verified ·
1 Parent(s): 3a75928

Update model - Task: default

Browse files
Files changed (3) hide show
  1. ContextPredMolecularEncoder.pt +3 -0
  2. README.md +75 -0
  3. config.json +544 -0
ContextPredMolecularEncoder.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:049ae32d7459746459344e6361d3cb52c800d2fb96ad52b624798718e6181454
3
+ size 12291614
README.md ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - torch_molecule
4
+ library_name: torch_molecule
5
+ ---
6
+
7
+ # ContextPredMolecularEncoder Model
8
+
9
+ ## Model Description
10
+ - **Model Type**: ContextPredMolecularEncoder
11
+ - **Framework**: torch_molecule
12
+ - **Last Updated**: 2025-04-03
13
+
14
+ ## Task Summary
15
+ | Task | Version | Last Updated | Parameters | Metrics |
16
+ |------|---------|--------------|------------|----------|
17
+ | default | 0.0.1 | 2025-04-03 | 3,034,505 | |
18
+
19
+
20
+ ## Usage
21
+
22
+ ```python
23
+ from torch_molecule import ContextPredMolecularEncoder
24
+
25
+ # Load model for specific task
26
+ model = ContextPredMolecularEncoder()
27
+ model.load(
28
+ "local_model_dir/ContextPredMolecularEncoder.pt",
29
+ repo="Einae/ContextPred"
30
+ )
31
+
32
+ # For predictor: Make predictions
33
+ # predictions = model.predict(smiles_list)
34
+ # For generator: Make generations
35
+ # generations = model.generate(n_samples)
36
+ # For encoder: Make encodings
37
+ # encodings = model.encode(smiles_list)
38
+ ```
39
+
40
+ ## Tasks Details
41
+
42
+
43
+ ### default Task
44
+ - **Current Version**: 0.0.1
45
+ - **Last Updated**: 2025-04-03
46
+ - **Parameters**: 3,034,505
47
+ - **Configuration**:
48
+ ```python
49
+ {
50
+ "mode": "cbow",
51
+ "context_size": 2,
52
+ "neg_samples": 1,
53
+ "encoder_type": "gin-virtual",
54
+ "readout": "sum",
55
+ "num_layer": 3,
56
+ "hidden_size": 300,
57
+ "drop_ratio": 0.5,
58
+ "norm_layer": "batch_norm",
59
+ "batch_size": 128,
60
+ "epochs": 500,
61
+ "learning_rate": 0.001,
62
+ "weight_decay": 0.0,
63
+ "grad_clip_value": null,
64
+ "use_lr_scheduler": false,
65
+ "scheduler_factor": 0.5,
66
+ "scheduler_patience": 5,
67
+ "fitting_epoch": 499,
68
+ "device": {
69
+ "_type": "unknown",
70
+ "repr": "cpu"
71
+ },
72
+ "verbose": false,
73
+ "model_name": "ContextPredMolecularEncoder"
74
+ }
75
+ ```
config.json ADDED
@@ -0,0 +1,544 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_name": "ContextPredMolecularEncoder",
3
+ "framework": "torch_molecule",
4
+ "date_created": "2025-04-03T11:37:21.695061",
5
+ "tasks": {
6
+ "default": {
7
+ "versions": [],
8
+ "current_version": "0.0.1",
9
+ "date_added": "2025-04-03T11:37:21.695422",
10
+ "last_updated": "2025-04-03T11:37:21.695427",
11
+ "num_parameters": 3034505,
12
+ "config": {
13
+ "mode": "cbow",
14
+ "context_size": 2,
15
+ "neg_samples": 1,
16
+ "encoder_type": "gin-virtual",
17
+ "readout": "sum",
18
+ "num_layer": 3,
19
+ "hidden_size": 300,
20
+ "drop_ratio": 0.5,
21
+ "norm_layer": "batch_norm",
22
+ "batch_size": 128,
23
+ "epochs": 500,
24
+ "learning_rate": 0.001,
25
+ "weight_decay": 0.0,
26
+ "grad_clip_value": null,
27
+ "use_lr_scheduler": false,
28
+ "scheduler_factor": 0.5,
29
+ "scheduler_patience": 5,
30
+ "fitting_epoch": 499,
31
+ "fitting_loss": [
32
+ 695.33349609375,
33
+ 701.1332397460938,
34
+ 104.4698486328125,
35
+ 664.3105201721191,
36
+ 2413.4638671875,
37
+ 947.0824584960938,
38
+ 1223.422119140625,
39
+ 2354.8314208984375,
40
+ 113.39541625976562,
41
+ 2354.2880859375,
42
+ 1974.8819580078125,
43
+ 150.185546875,
44
+ 646.0513000488281,
45
+ 2513.808868408203,
46
+ 868.8409729003906,
47
+ 853.511474609375,
48
+ 1327.3272705078125,
49
+ 906.6851806640625,
50
+ 1191.5699462890625,
51
+ 1302.0992431640625,
52
+ 38.97149658203125,
53
+ 1207.7364501953125,
54
+ 1258.1617431640625,
55
+ 544.8922119140625,
56
+ 181.6302490234375,
57
+ 631.497314453125,
58
+ 773.7869110107422,
59
+ 593.0881958007812,
60
+ 1090.4232177734375,
61
+ 1776.0885925292969,
62
+ 151.608154296875,
63
+ 582.4583129882812,
64
+ 1289.836669921875,
65
+ 2948.8223266601562,
66
+ 651.6956176757812,
67
+ 1156.5480651855469,
68
+ 178.97216796875,
69
+ 2736.5772705078125,
70
+ 99.6865234375,
71
+ 2435.345947265625,
72
+ 350.74468994140625,
73
+ 543.263427734375,
74
+ 2751.202880859375,
75
+ 1220.4536743164062,
76
+ 1180.434326171875,
77
+ 649.5865478515625,
78
+ 132.7130126953125,
79
+ 1016.4869079589844,
80
+ 367.555419921875,
81
+ 1215.7749938964844,
82
+ 2004.823486328125,
83
+ 414.04559326171875,
84
+ 665.75,
85
+ 1184.7008972167969,
86
+ 1777.1584167480469,
87
+ 736.2074432373047,
88
+ 3082.1190185546875,
89
+ 615.9573974609375,
90
+ 271.7447509765625,
91
+ 798.3227233886719,
92
+ 1946.93408203125,
93
+ 682.3543090820312,
94
+ 450.80633544921875,
95
+ 688.8493041992188,
96
+ 48.4752197265625,
97
+ 199.34405517578125,
98
+ 2090.1494140625,
99
+ 1182.7130737304688,
100
+ 1701.6661376953125,
101
+ 562.5745239257812,
102
+ 646.4058837890625,
103
+ 293.27337646484375,
104
+ 761.2086791992188,
105
+ 130.2589111328125,
106
+ 331.80401611328125,
107
+ 54.280364990234375,
108
+ 709.249267578125,
109
+ 1457.685791015625,
110
+ 2462.7906494140625,
111
+ 212.798828125,
112
+ 790.3352966308594,
113
+ 447.8760986328125,
114
+ 255.487060546875,
115
+ 1640.6494750976562,
116
+ 1244.9917907714844,
117
+ 802.804443359375,
118
+ 982.9957580566406,
119
+ 1243.7395629882812,
120
+ 197.03363037109375,
121
+ 355.824951171875,
122
+ 334.36859130859375,
123
+ 1094.9291687011719,
124
+ 122.68572998046875,
125
+ 117.5181884765625,
126
+ 197.0908203125,
127
+ 1682.0611572265625,
128
+ 539.2651977539062,
129
+ 360.84837341308594,
130
+ 202.455078125,
131
+ 208.047607421875,
132
+ 98.49627685546875,
133
+ 613.6131286621094,
134
+ 447.67095947265625,
135
+ 912.278564453125,
136
+ 187.5455322265625,
137
+ 262.278076171875,
138
+ 550.58203125,
139
+ 271.0694580078125,
140
+ 1186.3417358398438,
141
+ 571.887939453125,
142
+ 510.4088134765625,
143
+ 953.3364868164062,
144
+ 189.008056640625,
145
+ 759.91552734375,
146
+ 671.0955810546875,
147
+ 92.35186767578125,
148
+ 358.7475280761719,
149
+ 1881.6466369628906,
150
+ 412.3465270996094,
151
+ 358.5677795410156,
152
+ 24.556884765668265,
153
+ 119.1241455078125,
154
+ 1895.047607421875,
155
+ 456.7850341796875,
156
+ 367.560302734375,
157
+ 152.4251708984375,
158
+ 831.99560546875,
159
+ 1088.8323364257812,
160
+ 2345.9530639648438,
161
+ 1836.0530395507812,
162
+ 1575.8587646484375,
163
+ 661.619873046875,
164
+ 51.06658935546875,
165
+ 278.4281005859375,
166
+ 1210.81201171875,
167
+ 770.6082153320312,
168
+ 443.78271484375,
169
+ 499.747802734375,
170
+ 1346.0157470703125,
171
+ 727.7229614257812,
172
+ 689.8275756835938,
173
+ 751.7869873046875,
174
+ 868.9349365234375,
175
+ 357.79144287109375,
176
+ 717.1636962890625,
177
+ 464.12652587890625,
178
+ 2388.911880493164,
179
+ 1330.571044921875,
180
+ 1587.1958618164062,
181
+ 2423.429443359375,
182
+ 426.6121826171875,
183
+ 418.0280456542969,
184
+ 175.9542236328125,
185
+ 892.1773986816406,
186
+ 814.8200073242188,
187
+ 505.3926086425781,
188
+ 167.3175048828125,
189
+ 164.22930908203125,
190
+ 1653.9295654296875,
191
+ 1597.53466796875,
192
+ 103.0244140625,
193
+ 1392.13037109375,
194
+ 1171.2472229003906,
195
+ 1377.17822265625,
196
+ 1873.8779907226562,
197
+ 1206.8672733306885,
198
+ 663.386474609375,
199
+ 974.7568206787109,
200
+ 555.611083984375,
201
+ 2338.02880859375,
202
+ 228.041259765625,
203
+ 1818.7449951171875,
204
+ 361.63037109375,
205
+ 593.551025390625,
206
+ 1405.7685546875,
207
+ 693.230224609375,
208
+ 412.1732177734375,
209
+ 350.10400390625,
210
+ 1354.53173828125,
211
+ 712.4080810546875,
212
+ 564.66162109375,
213
+ 11.71852214280145,
214
+ 314.1154479980469,
215
+ 592.98046875,
216
+ 435.6214294433594,
217
+ 595.5755004882812,
218
+ 146.216796875,
219
+ 415.188720703125,
220
+ 335.4227294921875,
221
+ 2550.8154296875,
222
+ 996.5679931640625,
223
+ 549.9540710449219,
224
+ 1479.0123291015625,
225
+ 714.398681640625,
226
+ 533.48779296875,
227
+ 1112.837158203125,
228
+ 605.9609985351562,
229
+ 114.75555419921875,
230
+ 910.303466796875,
231
+ 550.42919921875,
232
+ 511.6361999511719,
233
+ 311.79498291015625,
234
+ 269.36785888671875,
235
+ 1928.7678833007812,
236
+ 382.02978515625,
237
+ 888.5517578125,
238
+ 1491.4677124023438,
239
+ 76.3802490234375,
240
+ 483.76043701171875,
241
+ 638.639404296875,
242
+ 1573.6767120361328,
243
+ 1079.43798828125,
244
+ 2183.6266479492188,
245
+ 55.30523681640625,
246
+ 449.4619140625,
247
+ 31.37170410156255,
248
+ 66.2159423828125,
249
+ 426.1842041015625,
250
+ 588.027587890625,
251
+ 579.4915771484375,
252
+ 589.0767822265625,
253
+ 408.201171875,
254
+ 318.9112548828125,
255
+ 426.4361877441406,
256
+ 322.449951171875,
257
+ 103.434326171875,
258
+ 2388.403564453125,
259
+ 651.0223388671875,
260
+ 726.4457397460938,
261
+ 1142.7877807617188,
262
+ 543.7880859375,
263
+ 170.8726806640625,
264
+ 1502.1252136230469,
265
+ 3591.181396484375,
266
+ 22.33190918008782,
267
+ 1247.55810546875,
268
+ 843.929931640625,
269
+ 606.2772216796875,
270
+ 882.56103515625,
271
+ 104.99462890625,
272
+ 265.4029541015625,
273
+ 534.576416015625,
274
+ 139.212890625,
275
+ 75.7291259765625,
276
+ 1080.5252685546875,
277
+ 385.647705078125,
278
+ 298.33642578125,
279
+ 1053.3107299804688,
280
+ 431.3824462890625,
281
+ 231.943603515625,
282
+ 72.444580078125,
283
+ 685.7513427734375,
284
+ 382.09130859375,
285
+ 39.2191162109375,
286
+ 8.253206594749336,
287
+ 261.2872314453125,
288
+ 600.8679046630859,
289
+ 503.1373291015625,
290
+ 481.2672119140625,
291
+ 1239.80810546875,
292
+ 178.36221313476562,
293
+ 646.2640380859375,
294
+ 589.84228515625,
295
+ 2563.892822265625,
296
+ 273.7041015625,
297
+ 132.58447265625,
298
+ 1041.7330932617188,
299
+ 151.553955078125,
300
+ 76.8255615234375,
301
+ 333.5403137207031,
302
+ 1373.971435546875,
303
+ 1008.281982421875,
304
+ 123.51177978515625,
305
+ 131.0362548828125,
306
+ 315.9805908203125,
307
+ 313.3033447265625,
308
+ 299.8526611328125,
309
+ 768.7962036132812,
310
+ 151.72772216796875,
311
+ 109.77850341796875,
312
+ 477.3901062011719,
313
+ 356.78302001953125,
314
+ 1239.3946533203125,
315
+ 325.19915771484375,
316
+ 168.710205078125,
317
+ 1020.29833984375,
318
+ 270.17041015625,
319
+ 262.434326171875,
320
+ 287.914794921875,
321
+ 5.375956052127181,
322
+ 420.42852783203125,
323
+ 1434.5406646728516,
324
+ 122.61557006835938,
325
+ 826.239990234375,
326
+ 460.634521484375,
327
+ 60.370697021484375,
328
+ 981.6134643554688,
329
+ 451.723876953125,
330
+ 340.66595458984375,
331
+ 643.0411376953125,
332
+ 1042.0675048828125,
333
+ 37.16412353515625,
334
+ 361.5205078125,
335
+ 1991.8712158203125,
336
+ 7.039475209206994,
337
+ 1666.6066284179688,
338
+ 365.0399169921875,
339
+ 2010.2157287597656,
340
+ 630.8812255859375,
341
+ 479.57940673828125,
342
+ 1574.0533447265625,
343
+ 3263.6944580078125,
344
+ 831.9859008789062,
345
+ 418.430908203125,
346
+ 905.4452514648438,
347
+ 479.1864013671875,
348
+ 50.1192626953125,
349
+ 773.5185546875,
350
+ 520.2859802246094,
351
+ 1994.5494995117188,
352
+ 622.9676208496094,
353
+ 674.9580535888672,
354
+ 785.7353515625,
355
+ 359.50946044921875,
356
+ 802.8912658691406,
357
+ 233.994384765625,
358
+ 515.0560913085938,
359
+ 1660.40869140625,
360
+ 1856.0015258789062,
361
+ 1647.6239929199219,
362
+ 13.224979195841755,
363
+ 397.00811767578125,
364
+ 71.90374755859375,
365
+ 406.1796569824219,
366
+ 296.971435546875,
367
+ 565.0545959472656,
368
+ 786.7633056640625,
369
+ 801.1490478515625,
370
+ 475.6724853515625,
371
+ 330.7742462158203,
372
+ 125.240966796875,
373
+ 790.1909484863281,
374
+ 203.2188720703125,
375
+ 290.0726318359375,
376
+ 1419.0762329101562,
377
+ 794.7244873046875,
378
+ 577.0165710449219,
379
+ 193.1116943359375,
380
+ 598.691650390625,
381
+ 684.355224609375,
382
+ 392.2976379394531,
383
+ 182.029296875,
384
+ 1174.24560546875,
385
+ 487.75262451171875,
386
+ 395.79339599609375,
387
+ 471.22125244140625,
388
+ 1369.3847351074219,
389
+ 1224.1217041015625,
390
+ 383.6397705078125,
391
+ 605.0967407226562,
392
+ 655.9129638671875,
393
+ 317.61968994140625,
394
+ 825.8467102050781,
395
+ 423.1434631347656,
396
+ 442.58447265625,
397
+ 476.79449462890625,
398
+ 1660.161750793457,
399
+ 1394.5670013427734,
400
+ 575.9099731445312,
401
+ 837.0352783203125,
402
+ 395.8232421875,
403
+ 587.15966796875,
404
+ 283.121337890625,
405
+ 330.3846435546875,
406
+ 815.1610107421875,
407
+ 161.90789794921875,
408
+ 306.85736083984375,
409
+ 646.7937927246094,
410
+ 677.8180541992188,
411
+ 228.81869506835938,
412
+ 283.44390869140625,
413
+ 872.6505737304688,
414
+ 194.19915771484375,
415
+ 1469.2533569335938,
416
+ 367.59130859375,
417
+ 615.3190307617188,
418
+ 408.0865783691406,
419
+ 17.07800300627318,
420
+ 274.5824279785156,
421
+ 14.256837223866373,
422
+ 56.83795166015625,
423
+ 371.1610107421875,
424
+ 1117.1156005859375,
425
+ 1187.6358337402344,
426
+ 613.76806640625,
427
+ 403.689453125,
428
+ 1314.6638793945312,
429
+ 940.6288146972656,
430
+ 165.338134765625,
431
+ 1426.4152374267578,
432
+ 171.029052734375,
433
+ 749.6246337890625,
434
+ 877.4424438476562,
435
+ 289.4423828125,
436
+ 1666.7261962890625,
437
+ 78.50753784179688,
438
+ 67.7220458984375,
439
+ 157.6368408203125,
440
+ 478.71502685546875,
441
+ 45.4801025390625,
442
+ 669.0720825195312,
443
+ 2519.8404846191406,
444
+ 505.91473388671875,
445
+ 31.36181640625005,
446
+ 127.25250244140625,
447
+ 646.2020263671875,
448
+ 232.0343017578125,
449
+ 473.123779296875,
450
+ 902.8057250976562,
451
+ 654.6220245361328,
452
+ 781.1866455078125,
453
+ 138.37042236328125,
454
+ 658.7354049682617,
455
+ 241.31112670898438,
456
+ 481.5694274902344,
457
+ 267.1120300292969,
458
+ 166.33746337890625,
459
+ 474.84246826171875,
460
+ 1084.0839233398438,
461
+ 16.570495732688684,
462
+ 1012.0038452148438,
463
+ 528.4002685546875,
464
+ 379.2403564453125,
465
+ 1060.9844970703125,
466
+ 182.03103637695312,
467
+ 1215.7975158691406,
468
+ 103.885498046875,
469
+ 729.330078125,
470
+ 7.765070331560768,
471
+ 85.70367431640625,
472
+ 321.7987365722656,
473
+ 819.1195678710938,
474
+ 115.08251953125,
475
+ 310.33148193359375,
476
+ 921.527587890625,
477
+ 630.0966491699219,
478
+ 562.4039001464844,
479
+ 43.97637939453125,
480
+ 643.141357421875,
481
+ 213.5506591796875,
482
+ 925.005126953125,
483
+ 149.6812744140625,
484
+ 22.88244628929334,
485
+ 694.2764892578125,
486
+ 746.7001953125,
487
+ 1308.3048095703125,
488
+ 752.0492553710938,
489
+ 2498.801727294922,
490
+ 292.78033447265625,
491
+ 263.17593002319336,
492
+ 8.10238203224354,
493
+ 1377.8766479492188,
494
+ 338.97682189941406,
495
+ 904.2523193359375,
496
+ 847.9701080322266,
497
+ 1448.770034790039,
498
+ 657.30517578125,
499
+ 2370.008644104004,
500
+ 45.853485107421875,
501
+ 763.1692657470703,
502
+ 1265.0752258300781,
503
+ 91.00152587890625,
504
+ 1545.9684753417969,
505
+ 376.8902587890625,
506
+ 533.42529296875,
507
+ 119.8289794921875,
508
+ 1131.0692443847656,
509
+ 491.9368896484375,
510
+ 405.494873046875,
511
+ 745.7576904296875,
512
+ 379.03662109375,
513
+ 7.990500061411549,
514
+ 628.171875,
515
+ 943.9608459472656,
516
+ 810.4498901367188,
517
+ 645.7796630859375,
518
+ 160.30865478515625,
519
+ 1454.5720520019531,
520
+ 581.5303039550781,
521
+ 306.8450622558594,
522
+ 619.0582885742188,
523
+ 481.255859375,
524
+ 417.8527526855469,
525
+ 1659.3987426757812,
526
+ 323.57781982421875,
527
+ 230.6405029296875,
528
+ 914.6328735351562,
529
+ 329.7977294921875,
530
+ 1546.2928466796875,
531
+ 199.30255126953125
532
+ ],
533
+ "device": {
534
+ "_type": "unknown",
535
+ "repr": "cpu"
536
+ },
537
+ "verbose": false,
538
+ "model_name": "ContextPredMolecularEncoder"
539
+ },
540
+ "metrics": {}
541
+ }
542
+ },
543
+ "last_updated": "2025-04-03T11:37:21.695430"
544
+ }