Instructions to use Synthyra/ESMplusplus_small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Synthyra/ESMplusplus_small with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="Synthyra/ESMplusplus_small", trust_remote_code=True)# Load model directly from transformers import AutoModelForMaskedLM model = AutoModelForMaskedLM.from_pretrained("Synthyra/ESMplusplus_small", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Upload ESMplusplusForMaskedLM
Browse files- config.json +2 -2
config.json
CHANGED
|
@@ -11,13 +11,13 @@
|
|
| 11 |
"AutoModelForTokenClassification": "modeling_esm_plusplus.ESMplusplusForTokenClassification"
|
| 12 |
},
|
| 13 |
"dropout": 0.0,
|
|
|
|
| 14 |
"hidden_size": 960,
|
| 15 |
"initializer_range": 0.02,
|
| 16 |
"model_type": "ESMplusplus",
|
| 17 |
"num_attention_heads": 15,
|
| 18 |
"num_hidden_layers": 30,
|
| 19 |
"tie_word_embeddings": false,
|
| 20 |
-
"
|
| 21 |
-
"transformers_version": "4.48.1",
|
| 22 |
"vocab_size": 64
|
| 23 |
}
|
|
|
|
| 11 |
"AutoModelForTokenClassification": "modeling_esm_plusplus.ESMplusplusForTokenClassification"
|
| 12 |
},
|
| 13 |
"dropout": 0.0,
|
| 14 |
+
"dtype": "float32",
|
| 15 |
"hidden_size": 960,
|
| 16 |
"initializer_range": 0.02,
|
| 17 |
"model_type": "ESMplusplus",
|
| 18 |
"num_attention_heads": 15,
|
| 19 |
"num_hidden_layers": 30,
|
| 20 |
"tie_word_embeddings": false,
|
| 21 |
+
"transformers_version": "5.2.0",
|
|
|
|
| 22 |
"vocab_size": 64
|
| 23 |
}
|