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
|
@@ -12,7 +12,6 @@
|
|
| 12 |
"AutoModelForTokenClassification": "modeling_esm_plusplus.ESMplusplusForTokenClassification"
|
| 13 |
},
|
| 14 |
"dropout": 0.0,
|
| 15 |
-
"dtype": "float32",
|
| 16 |
"flex_block_size": 128,
|
| 17 |
"hidden_size": 960,
|
| 18 |
"initializer_range": 0.02,
|
|
@@ -20,6 +19,7 @@
|
|
| 20 |
"num_attention_heads": 15,
|
| 21 |
"num_hidden_layers": 30,
|
| 22 |
"tie_word_embeddings": false,
|
| 23 |
-
"
|
|
|
|
| 24 |
"vocab_size": 64
|
| 25 |
}
|
|
|
|
| 12 |
"AutoModelForTokenClassification": "modeling_esm_plusplus.ESMplusplusForTokenClassification"
|
| 13 |
},
|
| 14 |
"dropout": 0.0,
|
|
|
|
| 15 |
"flex_block_size": 128,
|
| 16 |
"hidden_size": 960,
|
| 17 |
"initializer_range": 0.02,
|
|
|
|
| 19 |
"num_attention_heads": 15,
|
| 20 |
"num_hidden_layers": 30,
|
| 21 |
"tie_word_embeddings": false,
|
| 22 |
+
"torch_dtype": "float32",
|
| 23 |
+
"transformers_version": "4.48.1",
|
| 24 |
"vocab_size": 64
|
| 25 |
}
|