Instructions to use Synthyra/FastESM2_650 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Synthyra/FastESM2_650 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="Synthyra/FastESM2_650", trust_remote_code=True)# Load model directly from transformers import AutoModelForMaskedLM model = AutoModelForMaskedLM.from_pretrained("Synthyra/FastESM2_650", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
| 4 |
"FastEsmForMaskedLM"
|
| 5 |
],
|
| 6 |
"auto_map": {
|
| 7 |
-
"AutoConfig": "
|
| 8 |
"AutoModel": "modeling_fastesm.FastEsmModel",
|
| 9 |
"AutoModelForMaskedLM": "modeling_fastesm.FastEsmForMaskedLM",
|
| 10 |
"AutoModelForSequenceClassification": "modeling_fastesm.FastEsmForSequenceClassification",
|
|
|
|
| 4 |
"FastEsmForMaskedLM"
|
| 5 |
],
|
| 6 |
"auto_map": {
|
| 7 |
+
"AutoConfig": "modeling_fastesm.FastEsmConfig",
|
| 8 |
"AutoModel": "modeling_fastesm.FastEsmModel",
|
| 9 |
"AutoModelForMaskedLM": "modeling_fastesm.FastEsmForMaskedLM",
|
| 10 |
"AutoModelForSequenceClassification": "modeling_fastesm.FastEsmForSequenceClassification",
|