lhallee commited on
Commit
8698dfe
·
verified ·
1 Parent(s): 9cdce5f

Upload DPLM2ForMaskedLM

Browse files
Files changed (2) hide show
  1. config.json +43 -0
  2. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "facebook/esm2_t33_650M_UR50D",
3
+ "aa_type": 1,
4
+ "architectures": [
5
+ "DPLM2ForMaskedLM"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.0,
8
+ "attn_backend": "sdpa",
9
+ "auto_map": {
10
+ "AutoConfig": "dplm2.DPLM2Config",
11
+ "AutoModel": "dplm2.DPLM2Model",
12
+ "AutoModelForMaskedLM": "dplm2.DPLM2ForMaskedLM",
13
+ "AutoModelForSequenceClassification": "dplm2.DPLM2ForSequenceClassification",
14
+ "AutoModelForTokenClassification": "dplm2.DPLM2ForTokenClassification"
15
+ },
16
+ "classifier_dropout": null,
17
+ "dplm_type": "dplm2_esm",
18
+ "emb_layer_norm_before": false,
19
+ "esmfold_config": null,
20
+ "hidden_act": "gelu",
21
+ "hidden_dropout_prob": 0.1,
22
+ "hidden_size": 1280,
23
+ "initializer_range": 0.02,
24
+ "intermediate_size": 5120,
25
+ "is_folding_model": false,
26
+ "layer_norm_eps": 1e-05,
27
+ "mask_token_id": 32,
28
+ "max_position_embeddings": 1026,
29
+ "model_type": "dplm2",
30
+ "num_attention_heads": 20,
31
+ "num_hidden_layers": 33,
32
+ "pad_token_id": 1,
33
+ "pad_type": 2,
34
+ "position_embedding_type": "rotary",
35
+ "struct_type": 0,
36
+ "tie_word_embeddings": false,
37
+ "token_dropout": true,
38
+ "torch_dtype": "float32",
39
+ "transformers_version": "4.48.1",
40
+ "use_cache": true,
41
+ "vocab_list": null,
42
+ "vocab_size": 8229
43
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8d0513a06dca00ad19004d9285803b99def257a6ba49d85aefd255def63a05c5
3
+ size 2693624204