Instructions to use Synthyra/DPLM2-150M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Synthyra/DPLM2-150M with Transformers:
# Load model directly from transformers import EsmForDPLM2 model = EsmForDPLM2.from_pretrained("Synthyra/DPLM2-150M", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Upload tokenizer
Browse files- tokenizer_config.json +2 -2
tokenizer_config.json
CHANGED
|
@@ -41,10 +41,10 @@
|
|
| 41 |
"special": true
|
| 42 |
}
|
| 43 |
},
|
| 44 |
-
"
|
| 45 |
"cls_token": "<cls>",
|
| 46 |
"eos_token": "<eos>",
|
| 47 |
-
"
|
| 48 |
"mask_token": "<mask>",
|
| 49 |
"model_max_length": 1000000000000000019884624838656,
|
| 50 |
"pad_token": "<pad>",
|
|
|
|
| 41 |
"special": true
|
| 42 |
}
|
| 43 |
},
|
| 44 |
+
"backend": "custom",
|
| 45 |
"cls_token": "<cls>",
|
| 46 |
"eos_token": "<eos>",
|
| 47 |
+
"is_local": false,
|
| 48 |
"mask_token": "<mask>",
|
| 49 |
"model_max_length": 1000000000000000019884624838656,
|
| 50 |
"pad_token": "<pad>",
|