Create config.json
Browse files- config.json +33 -0
config.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"MolformerForMaskedLM"
|
| 4 |
+
],
|
| 5 |
+
"auto_map": {
|
| 6 |
+
"AutoConfig": "configuration_molformer.MolformerConfig",
|
| 7 |
+
"AutoModel": "modeling_molformer.MolformerModel",
|
| 8 |
+
"AutoModelForMaskedLM": "modeling_molformer.MolformerForMaskedLM",
|
| 9 |
+
"AutoModelForSequenceClassification": "modeling_molformer.MolformerForSequenceClassification"
|
| 10 |
+
},
|
| 11 |
+
"classifier_dropout_prob": null,
|
| 12 |
+
"classifier_skip_connection": true,
|
| 13 |
+
"deterministic_eval": false,
|
| 14 |
+
"embedding_dropout_prob": 0.2,
|
| 15 |
+
"feature_map_kernel": "relu",
|
| 16 |
+
"hidden_act": "gelu",
|
| 17 |
+
"hidden_dropout_prob": 0.1,
|
| 18 |
+
"hidden_size": 768,
|
| 19 |
+
"initializer_range": 0.02,
|
| 20 |
+
"intermediate_size": 768,
|
| 21 |
+
"layer_norm_eps": 1e-12,
|
| 22 |
+
"linear_attention_eps": 1e-06,
|
| 23 |
+
"max_position_embeddings": 202,
|
| 24 |
+
"model_type": "molformer",
|
| 25 |
+
"num_attention_heads": 12,
|
| 26 |
+
"num_hidden_layers": 12,
|
| 27 |
+
"num_random_features": 32,
|
| 28 |
+
"pad_token_id": 2,
|
| 29 |
+
"tie_word_embeddings": false,
|
| 30 |
+
"torch_dtype": "float32",
|
| 31 |
+
"transformers_version": "4.35.0.dev0",
|
| 32 |
+
"vocab_size": 2362
|
| 33 |
+
}
|