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 modeling_esm_plusplus.py with huggingface_hub
Browse files- modeling_esm_plusplus.py +0 -1
modeling_esm_plusplus.py
CHANGED
|
@@ -8,7 +8,6 @@ Modified from https://github.com/evolutionaryscale/esm
|
|
| 8 |
License: https://www.evolutionaryscale.ai/policies/cambrian-non-commercial-license-agreement
|
| 9 |
"""
|
| 10 |
|
| 11 |
-
import entrypoint_setup
|
| 12 |
import math
|
| 13 |
import os
|
| 14 |
import torch
|
|
|
|
| 8 |
License: https://www.evolutionaryscale.ai/policies/cambrian-non-commercial-license-agreement
|
| 9 |
"""
|
| 10 |
|
|
|
|
| 11 |
import math
|
| 12 |
import os
|
| 13 |
import torch
|