Instructions to use Synthyra/ESMplusplus_large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Synthyra/ESMplusplus_large with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="Synthyra/ESMplusplus_large", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForMaskedLM model = AutoModelForMaskedLM.from_pretrained("Synthyra/ESMplusplus_large", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from Synthyra/ESMplusplus_large: direct link, hf CLI and curl.
- Browser
- Download file 747 Bytes
-
https://huggingface.co/Synthyra/ESMplusplus_large/resolve/8a87932a0a6aa29bdd6767495c8b376c8455a970/config.json
- Command line
-
hf download hf://Synthyra/ESMplusplus_large@8a87932a0a6aa29bdd6767495c8b376c8455a970/config.json
-
curl -L -o config.json https://huggingface.co/Synthyra/ESMplusplus_large/resolve/8a87932a0a6aa29bdd6767495c8b376c8455a970/config.json
747 Bytes
| { | |
| "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, | |
| "hidden_size": 1152, | |
| "initializer_range": 0.02, | |
| "model_type": "ESMplusplus", | |
| "num_attention_heads": 18, | |
| "num_hidden_layers": 36, | |
| "tie_word_embeddings": false, | |
| "transformers_version": "4.57.6", | |
| "vocab_size": 64 | |
| } | |