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
| { | |
| "architectures": [ | |
| "ESMplusplusForMaskedLM" | |
| ], | |
| "attn_backend": "sdpa", | |
| "auto_map": { | |
| "AutoConfig": "modeling_esm_plusplus.ESMplusplusConfig", | |
| "AutoModel": "modeling_esm_plusplus.ESMplusplusModel", | |
| "AutoModelForMaskedLM": "modeling_esm_plusplus.ESMplusplusForMaskedLM", | |
| "AutoModelForSequenceClassification": "modeling_esm_plusplus.ESMplusplusForSequenceClassification", | |
| "AutoModelForTokenClassification": "modeling_esm_plusplus.ESMplusplusForTokenClassification" | |
| }, | |
| "dropout": 0.0, | |
| "dtype": "float32", | |
| "hidden_size": 960, | |
| "initializer_range": 0.02, | |
| "model_type": "ESMplusplus", | |
| "num_attention_heads": 15, | |
| "num_hidden_layers": 30, | |
| "tie_word_embeddings": false, | |
| "transformers_version": "5.1.0", | |
| "vocab_size": 64 | |
| } | |