Instructions to use airkingbd/dplm_3b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use airkingbd/dplm_3b with Transformers:
# Load model directly from transformers import AutoTokenizer, EsmForDPLM tokenizer = AutoTokenizer.from_pretrained("airkingbd/dplm_3b") model = EsmForDPLM.from_pretrained("airkingbd/dplm_3b", device_map="auto") - Notebooks
- Google Colab
- Kaggle
add "dplm_type" to config
Browse files- config.json +1 -0
config.json
CHANGED
|
@@ -17,6 +17,7 @@
|
|
| 17 |
"mask_token_id": 32,
|
| 18 |
"max_position_embeddings": 1026,
|
| 19 |
"model_type": "esm",
|
|
|
|
| 20 |
"num_attention_heads": 40,
|
| 21 |
"num_hidden_layers": 36,
|
| 22 |
"pad_token_id": 1,
|
|
|
|
| 17 |
"mask_token_id": 32,
|
| 18 |
"max_position_embeddings": 1026,
|
| 19 |
"model_type": "esm",
|
| 20 |
+
"dplm_type": "dplm_esm",
|
| 21 |
"num_attention_heads": 40,
|
| 22 |
"num_hidden_layers": 36,
|
| 23 |
"pad_token_id": 1,
|