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 +1 -1
config.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
"architectures": [
|
| 3 |
"ESMplusplusForMaskedLM"
|
| 4 |
],
|
| 5 |
-
"attn_backend": "
|
| 6 |
"auto_map": {
|
| 7 |
"AutoConfig": "modeling_esm_plusplus.ESMplusplusConfig",
|
| 8 |
"AutoModel": "modeling_esm_plusplus.ESMplusplusModel",
|
|
|
|
| 2 |
"architectures": [
|
| 3 |
"ESMplusplusForMaskedLM"
|
| 4 |
],
|
| 5 |
+
"attn_backend": "sdpa",
|
| 6 |
"auto_map": {
|
| 7 |
"AutoConfig": "modeling_esm_plusplus.ESMplusplusConfig",
|
| 8 |
"AutoModel": "modeling_esm_plusplus.ESMplusplusModel",
|