darrenjhsu commited on
Commit
966268e
1 Parent(s): 18b2f76

Initial commit of the model weights

Browse files
Files changed (5) hide show
  1. .gitattributes +2 -0
  2. config.json +500 -0
  3. pytorch_model.bin +3 -0
  4. trainer_state.json +3 -0
  5. training_args.bin +3 -0
.gitattributes CHANGED
@@ -32,3 +32,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
32
  *.zip filter=lfs diff=lfs merge=lfs -text
33
  *.zst filter=lfs diff=lfs merge=lfs -text
34
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
32
  *.zip filter=lfs diff=lfs merge=lfs -text
33
  *.zst filter=lfs diff=lfs merge=lfs -text
34
  *tfevents* filter=lfs diff=lfs merge=lfs -text
35
+ trainer_state.json filter=lfs diff=lfs merge=lfs -text
36
+ pytorch_model.bin filter=lfs diff=lfs merge=lfs -text
config.json ADDED
@@ -0,0 +1,500 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "StructurePrediction"
4
+ ],
5
+ "depth_resnet": 5,
6
+ "enable_cross": true,
7
+ "hidden_size": 1024,
8
+ "key_chunk_size_seq": 1024,
9
+ "key_chunk_size_smiles": 1024,
10
+ "linear_mem_attn": true,
11
+ "model_type": "bert",
12
+ "n_cross_attention": 3,
13
+ "num_atoms": 14,
14
+ "num_embeddings": 30,
15
+ "num_ipa_layers": 8,
16
+ "num_rigid_groups": 8,
17
+ "query_chunk_size_seq": 512,
18
+ "query_chunk_size_smiles": 512,
19
+ "seq_config": {
20
+ "_name_or_path": "",
21
+ "add_cross_attention": false,
22
+ "architectures": [
23
+ "BertForMaskedLM"
24
+ ],
25
+ "attention_probs_dropout_prob": 0.0,
26
+ "bad_words_ids": null,
27
+ "bos_token_id": null,
28
+ "chunk_size_feed_forward": 0,
29
+ "classifier_dropout": null,
30
+ "cross_attention_hidden_size": null,
31
+ "decoder_start_token_id": null,
32
+ "diversity_penalty": 0.0,
33
+ "do_sample": false,
34
+ "early_stopping": false,
35
+ "encoder_no_repeat_ngram_size": 0,
36
+ "eos_token_id": null,
37
+ "exponential_decay_length_penalty": null,
38
+ "finetuning_task": null,
39
+ "forced_bos_token_id": null,
40
+ "forced_eos_token_id": null,
41
+ "hidden_act": "gelu",
42
+ "hidden_dropout_prob": 0.0,
43
+ "hidden_size": 1024,
44
+ "id2label": {
45
+ "0": "LABEL_0",
46
+ "1": "LABEL_1"
47
+ },
48
+ "initializer_range": 0.02,
49
+ "intermediate_size": 4096,
50
+ "is_decoder": false,
51
+ "is_encoder_decoder": false,
52
+ "label2id": {
53
+ "LABEL_0": 0,
54
+ "LABEL_1": 1
55
+ },
56
+ "layer_norm_eps": 1e-12,
57
+ "length_penalty": 1.0,
58
+ "max_length": 20,
59
+ "max_position_embeddings": 40000,
60
+ "min_length": 0,
61
+ "model_type": "bert",
62
+ "no_repeat_ngram_size": 0,
63
+ "num_attention_heads": 16,
64
+ "num_beam_groups": 1,
65
+ "num_beams": 1,
66
+ "num_hidden_layers": 30,
67
+ "num_return_sequences": 1,
68
+ "output_attentions": false,
69
+ "output_hidden_states": false,
70
+ "output_scores": false,
71
+ "pad_token_id": 0,
72
+ "position_embedding_type": "absolute",
73
+ "prefix": null,
74
+ "problem_type": null,
75
+ "pruned_heads": {},
76
+ "remove_invalid_values": false,
77
+ "repetition_penalty": 1.0,
78
+ "return_dict": true,
79
+ "return_dict_in_generate": false,
80
+ "sep_token_id": null,
81
+ "task_specific_params": null,
82
+ "temperature": 1.0,
83
+ "tie_encoder_decoder": false,
84
+ "tie_word_embeddings": true,
85
+ "tokenizer_class": null,
86
+ "top_k": 50,
87
+ "top_p": 1.0,
88
+ "torch_dtype": null,
89
+ "torchscript": false,
90
+ "transformers_version": "4.21.0.dev0",
91
+ "type_vocab_size": 2,
92
+ "typical_p": 1.0,
93
+ "use_bfloat16": false,
94
+ "use_cache": true,
95
+ "vocab_size": 30
96
+ },
97
+ "seq_ipa_config": {
98
+ "_name_or_path": "",
99
+ "add_cross_attention": false,
100
+ "architectures": null,
101
+ "bad_words_ids": null,
102
+ "bert_config": {
103
+ "_name_or_path": "",
104
+ "add_cross_attention": false,
105
+ "architectures": [
106
+ "BertForMaskedLM"
107
+ ],
108
+ "attention_probs_dropout_prob": 0.0,
109
+ "bad_words_ids": null,
110
+ "bos_token_id": null,
111
+ "chunk_size_feed_forward": 0,
112
+ "classifier_dropout": null,
113
+ "cross_attention_hidden_size": null,
114
+ "decoder_start_token_id": null,
115
+ "diversity_penalty": 0.0,
116
+ "do_sample": false,
117
+ "early_stopping": false,
118
+ "encoder_no_repeat_ngram_size": 0,
119
+ "eos_token_id": null,
120
+ "exponential_decay_length_penalty": null,
121
+ "finetuning_task": null,
122
+ "forced_bos_token_id": null,
123
+ "forced_eos_token_id": null,
124
+ "hidden_act": "gelu",
125
+ "hidden_dropout_prob": 0.0,
126
+ "hidden_size": 1024,
127
+ "id2label": {
128
+ "0": "LABEL_0",
129
+ "1": "LABEL_1"
130
+ },
131
+ "initializer_range": 0.02,
132
+ "intermediate_size": 4096,
133
+ "is_decoder": false,
134
+ "is_encoder_decoder": false,
135
+ "label2id": {
136
+ "LABEL_0": 0,
137
+ "LABEL_1": 1
138
+ },
139
+ "layer_norm_eps": 1e-12,
140
+ "length_penalty": 1.0,
141
+ "max_length": 20,
142
+ "max_position_embeddings": 40000,
143
+ "min_length": 0,
144
+ "model_type": "bert",
145
+ "no_repeat_ngram_size": 0,
146
+ "num_attention_heads": 16,
147
+ "num_beam_groups": 1,
148
+ "num_beams": 1,
149
+ "num_hidden_layers": 30,
150
+ "num_return_sequences": 1,
151
+ "output_attentions": false,
152
+ "output_hidden_states": false,
153
+ "output_scores": false,
154
+ "pad_token_id": 0,
155
+ "position_embedding_type": "absolute",
156
+ "prefix": null,
157
+ "problem_type": null,
158
+ "pruned_heads": {},
159
+ "remove_invalid_values": false,
160
+ "repetition_penalty": 1.0,
161
+ "return_dict": true,
162
+ "return_dict_in_generate": false,
163
+ "sep_token_id": null,
164
+ "task_specific_params": null,
165
+ "temperature": 1.0,
166
+ "tie_encoder_decoder": false,
167
+ "tie_word_embeddings": true,
168
+ "tokenizer_class": null,
169
+ "top_k": 50,
170
+ "top_p": 1.0,
171
+ "torch_dtype": null,
172
+ "torchscript": false,
173
+ "transformers_version": "4.21.0.dev0",
174
+ "type_vocab_size": 2,
175
+ "typical_p": 1.0,
176
+ "use_bfloat16": false,
177
+ "use_cache": true,
178
+ "vocab_size": 30
179
+ },
180
+ "bos_token_id": null,
181
+ "chunk_size_feed_forward": 0,
182
+ "cross_attention_hidden_size": null,
183
+ "decoder_start_token_id": null,
184
+ "diversity_penalty": 0.0,
185
+ "do_sample": false,
186
+ "early_stopping": false,
187
+ "encoder_no_repeat_ngram_size": 0,
188
+ "eos_token_id": null,
189
+ "exponential_decay_length_penalty": null,
190
+ "finetuning_task": null,
191
+ "forced_bos_token_id": null,
192
+ "forced_eos_token_id": null,
193
+ "id2label": {
194
+ "0": "LABEL_0",
195
+ "1": "LABEL_1"
196
+ },
197
+ "is_decoder": false,
198
+ "is_encoder_decoder": false,
199
+ "key_chunk_size": 1024,
200
+ "label2id": {
201
+ "LABEL_0": 0,
202
+ "LABEL_1": 1
203
+ },
204
+ "length_penalty": 1.0,
205
+ "max_length": 20,
206
+ "min_length": 0,
207
+ "model_type": "",
208
+ "no_repeat_ngram_size": 0,
209
+ "num_beam_groups": 1,
210
+ "num_beams": 1,
211
+ "num_intermediate_layers": 3,
212
+ "num_ipa_heads": 16,
213
+ "num_points": 8,
214
+ "num_return_sequences": 1,
215
+ "output_attentions": false,
216
+ "output_hidden_states": false,
217
+ "output_scores": false,
218
+ "pad_token_id": null,
219
+ "prefix": null,
220
+ "problem_type": null,
221
+ "pruned_heads": {},
222
+ "query_chunk_size": 512,
223
+ "remove_invalid_values": false,
224
+ "repetition_penalty": 1.0,
225
+ "return_dict": true,
226
+ "return_dict_in_generate": false,
227
+ "sep_token_id": null,
228
+ "task_specific_params": null,
229
+ "temperature": 1.0,
230
+ "tie_encoder_decoder": false,
231
+ "tie_word_embeddings": true,
232
+ "tokenizer_class": null,
233
+ "top_k": 50,
234
+ "top_p": 1.0,
235
+ "torch_dtype": null,
236
+ "torchscript": false,
237
+ "transformers_version": "4.21.0.dev0",
238
+ "typical_p": 1.0,
239
+ "use_bfloat16": false
240
+ },
241
+ "seq_vocab": {
242
+ "A": 6,
243
+ "B": 27,
244
+ "C": 23,
245
+ "D": 14,
246
+ "E": 9,
247
+ "F": 19,
248
+ "G": 7,
249
+ "H": 22,
250
+ "I": 11,
251
+ "K": 12,
252
+ "L": 5,
253
+ "M": 21,
254
+ "N": 17,
255
+ "O": 29,
256
+ "P": 16,
257
+ "Q": 18,
258
+ "R": 13,
259
+ "S": 10,
260
+ "T": 15,
261
+ "U": 26,
262
+ "V": 8,
263
+ "W": 24,
264
+ "X": 25,
265
+ "Y": 20,
266
+ "Z": 28,
267
+ "[CLS]": 2,
268
+ "[MASK]": 4,
269
+ "[PAD]": 0,
270
+ "[SEP]": 3,
271
+ "[UNK]": 1
272
+ },
273
+ "smiles_config": {
274
+ "_name_or_path": "",
275
+ "add_cross_attention": false,
276
+ "architectures": [
277
+ "BertForMaskedLM"
278
+ ],
279
+ "attention_probs_dropout_prob": 0.1,
280
+ "bad_words_ids": null,
281
+ "bos_token_id": null,
282
+ "chunk_size_feed_forward": 0,
283
+ "classifier_dropout": null,
284
+ "cross_attention_hidden_size": null,
285
+ "decoder_start_token_id": null,
286
+ "diversity_penalty": 0.0,
287
+ "do_sample": false,
288
+ "early_stopping": false,
289
+ "encoder_no_repeat_ngram_size": 0,
290
+ "eos_token_id": null,
291
+ "exponential_decay_length_penalty": null,
292
+ "finetuning_task": null,
293
+ "forced_bos_token_id": null,
294
+ "forced_eos_token_id": null,
295
+ "gradient_checkpointing": false,
296
+ "hidden_act": "gelu",
297
+ "hidden_dropout_prob": 0.1,
298
+ "hidden_size": 768,
299
+ "id2label": {
300
+ "0": "LABEL_0",
301
+ "1": "LABEL_1"
302
+ },
303
+ "initializer_range": 0.02,
304
+ "intermediate_size": 3072,
305
+ "is_decoder": false,
306
+ "is_encoder_decoder": false,
307
+ "label2id": {
308
+ "LABEL_0": 0,
309
+ "LABEL_1": 1
310
+ },
311
+ "layer_norm_eps": 1e-12,
312
+ "length_penalty": 1.0,
313
+ "max_length": 20,
314
+ "max_position_embeddings": 512,
315
+ "min_length": 0,
316
+ "model_type": "bert",
317
+ "no_repeat_ngram_size": 0,
318
+ "num_attention_heads": 12,
319
+ "num_beam_groups": 1,
320
+ "num_beams": 1,
321
+ "num_hidden_layers": 12,
322
+ "num_return_sequences": 1,
323
+ "output_attentions": false,
324
+ "output_hidden_states": false,
325
+ "output_scores": false,
326
+ "pad_token_id": 0,
327
+ "position_embedding_type": "absolute",
328
+ "prefix": null,
329
+ "problem_type": null,
330
+ "pruned_heads": {},
331
+ "remove_invalid_values": false,
332
+ "repetition_penalty": 1.0,
333
+ "return_dict": true,
334
+ "return_dict_in_generate": false,
335
+ "sep_token_id": null,
336
+ "task_specific_params": null,
337
+ "temperature": 1.0,
338
+ "tie_encoder_decoder": false,
339
+ "tie_word_embeddings": true,
340
+ "tokenizer_class": null,
341
+ "top_k": 50,
342
+ "top_p": 1.0,
343
+ "torch_dtype": null,
344
+ "torchscript": false,
345
+ "transformers_version": "4.21.0.dev0",
346
+ "type_vocab_size": 2,
347
+ "typical_p": 1.0,
348
+ "use_bfloat16": false,
349
+ "use_cache": true,
350
+ "vocab_size": 30000
351
+ },
352
+ "smiles_ipa_config": {
353
+ "_name_or_path": "",
354
+ "add_cross_attention": false,
355
+ "architectures": null,
356
+ "bad_words_ids": null,
357
+ "bert_config": {
358
+ "_name_or_path": "",
359
+ "add_cross_attention": false,
360
+ "architectures": [
361
+ "BertForMaskedLM"
362
+ ],
363
+ "attention_probs_dropout_prob": 0.1,
364
+ "bad_words_ids": null,
365
+ "bos_token_id": null,
366
+ "chunk_size_feed_forward": 0,
367
+ "classifier_dropout": null,
368
+ "cross_attention_hidden_size": null,
369
+ "decoder_start_token_id": null,
370
+ "diversity_penalty": 0.0,
371
+ "do_sample": false,
372
+ "early_stopping": false,
373
+ "encoder_no_repeat_ngram_size": 0,
374
+ "eos_token_id": null,
375
+ "exponential_decay_length_penalty": null,
376
+ "finetuning_task": null,
377
+ "forced_bos_token_id": null,
378
+ "forced_eos_token_id": null,
379
+ "gradient_checkpointing": false,
380
+ "hidden_act": "gelu",
381
+ "hidden_dropout_prob": 0.1,
382
+ "hidden_size": 768,
383
+ "id2label": {
384
+ "0": "LABEL_0",
385
+ "1": "LABEL_1"
386
+ },
387
+ "initializer_range": 0.02,
388
+ "intermediate_size": 3072,
389
+ "is_decoder": false,
390
+ "is_encoder_decoder": false,
391
+ "label2id": {
392
+ "LABEL_0": 0,
393
+ "LABEL_1": 1
394
+ },
395
+ "layer_norm_eps": 1e-12,
396
+ "length_penalty": 1.0,
397
+ "max_length": 20,
398
+ "max_position_embeddings": 512,
399
+ "min_length": 0,
400
+ "model_type": "bert",
401
+ "no_repeat_ngram_size": 0,
402
+ "num_attention_heads": 12,
403
+ "num_beam_groups": 1,
404
+ "num_beams": 1,
405
+ "num_hidden_layers": 12,
406
+ "num_return_sequences": 1,
407
+ "output_attentions": false,
408
+ "output_hidden_states": false,
409
+ "output_scores": false,
410
+ "pad_token_id": 0,
411
+ "position_embedding_type": "absolute",
412
+ "prefix": null,
413
+ "problem_type": null,
414
+ "pruned_heads": {},
415
+ "remove_invalid_values": false,
416
+ "repetition_penalty": 1.0,
417
+ "return_dict": true,
418
+ "return_dict_in_generate": false,
419
+ "sep_token_id": null,
420
+ "task_specific_params": null,
421
+ "temperature": 1.0,
422
+ "tie_encoder_decoder": false,
423
+ "tie_word_embeddings": true,
424
+ "tokenizer_class": null,
425
+ "top_k": 50,
426
+ "top_p": 1.0,
427
+ "torch_dtype": null,
428
+ "torchscript": false,
429
+ "transformers_version": "4.21.0.dev0",
430
+ "type_vocab_size": 2,
431
+ "typical_p": 1.0,
432
+ "use_bfloat16": false,
433
+ "use_cache": true,
434
+ "vocab_size": 30000
435
+ },
436
+ "bos_token_id": null,
437
+ "chunk_size_feed_forward": 0,
438
+ "cross_attention_hidden_size": null,
439
+ "decoder_start_token_id": null,
440
+ "diversity_penalty": 0.0,
441
+ "do_sample": false,
442
+ "early_stopping": false,
443
+ "encoder_no_repeat_ngram_size": 0,
444
+ "eos_token_id": null,
445
+ "exponential_decay_length_penalty": null,
446
+ "finetuning_task": null,
447
+ "forced_bos_token_id": null,
448
+ "forced_eos_token_id": null,
449
+ "id2label": {
450
+ "0": "LABEL_0",
451
+ "1": "LABEL_1"
452
+ },
453
+ "is_decoder": false,
454
+ "is_encoder_decoder": false,
455
+ "key_chunk_size": 1024,
456
+ "label2id": {
457
+ "LABEL_0": 0,
458
+ "LABEL_1": 1
459
+ },
460
+ "length_penalty": 1.0,
461
+ "max_length": 20,
462
+ "min_length": 0,
463
+ "model_type": "",
464
+ "no_repeat_ngram_size": 0,
465
+ "num_beam_groups": 1,
466
+ "num_beams": 1,
467
+ "num_intermediate_layers": 3,
468
+ "num_ipa_heads": 12,
469
+ "num_points": 8,
470
+ "num_return_sequences": 1,
471
+ "output_attentions": false,
472
+ "output_hidden_states": false,
473
+ "output_scores": false,
474
+ "pad_token_id": null,
475
+ "prefix": null,
476
+ "problem_type": null,
477
+ "pruned_heads": {},
478
+ "query_chunk_size": 512,
479
+ "remove_invalid_values": false,
480
+ "repetition_penalty": 1.0,
481
+ "return_dict": true,
482
+ "return_dict_in_generate": false,
483
+ "sep_token_id": null,
484
+ "task_specific_params": null,
485
+ "temperature": 1.0,
486
+ "tie_encoder_decoder": false,
487
+ "tie_word_embeddings": true,
488
+ "tokenizer_class": null,
489
+ "top_k": 50,
490
+ "top_p": 1.0,
491
+ "torch_dtype": null,
492
+ "torchscript": false,
493
+ "transformers_version": "4.21.0.dev0",
494
+ "typical_p": 1.0,
495
+ "use_bfloat16": false
496
+ },
497
+ "torch_dtype": "float32",
498
+ "transformers_version": "4.21.0.dev0",
499
+ "width_resnet": 128
500
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b4bfd5023db7eb3a98e05ea22ac5c4341f362480d157deed127b96374b000c13
3
+ size 3529051201
trainer_state.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:64310947a93d4e43267c048126728b105ca13982f82b4a65c83a32e2fa89dcb7
3
+ size 11683999
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7f200d009bcc50283e0321414ebb120804542717b49b4034c1f2ec4f9e202855
3
+ size 3503