Instructions to use Synthyra/DPLM-3B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Synthyra/DPLM-3B with Transformers:
# Load model directly from transformers import EsmForDPLM model = EsmForDPLM.from_pretrained("Synthyra/DPLM-3B", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "architectures": [ | |
| "EsmForDPLM" | |
| ], | |
| "attention_probs_dropout_prob": 0.0, | |
| "attn_backend": "sdpa", | |
| "auto_map": { | |
| "AutoConfig": "modeling_fastplms.DPLMConfig", | |
| "AutoModel": "modeling_fastplms.DPLMModel", | |
| "AutoModelForMaskedLM": "modeling_fastplms.DPLMForMaskedLM", | |
| "AutoModelForSequenceClassification": "modeling_fastplms.DPLMForSequenceClassification", | |
| "AutoModelForTokenClassification": "modeling_fastplms.DPLMForTokenClassification" | |
| }, | |
| "classifier_dropout": null, | |
| "dplm_type": "dplm_esm", | |
| "dtype": "float32", | |
| "emb_layer_norm_before": false, | |
| "esmfold_config": null, | |
| "fastplms_checkpoint_hash": "d958f7a163adb14b346109191fa0de785fb8c6251075d59676967d8ab6231f6e", | |
| "fastplms_checkpoint_repo_id": "Synthyra/DPLM-3B", | |
| "fastplms_checkpoint_revision": "7d764dd3d70ecf1ac0e64693de64a0064aacac65", | |
| "fastplms_model_id": "dplm_3b", | |
| "fastplms_release_tool_revision": "e6dd397a9ad368c998d714f6bd64d40b533d1ed1", | |
| "fastplms_release_tool_sha256": "6d335c05aa49a232086a816deb25d248d1490529e5783acc3355b9bc6f03e0c2", | |
| "fastplms_runtime_bundle_sha256": "09e101fa439b48bd098f51549708eca52ea4cb88caac3ca6f5e76c262b461609", | |
| "fastplms_runtime_revision": "e6dd397a9ad368c998d714f6bd64d40b533d1ed1", | |
| "fastplms_source_tree_sha256": "f9df112acdca8cc2a723bbc0c7f7f62dfcade27602ed0afee0aa7bb3a9291073", | |
| "fastplms_weights_revision": "7d764dd3d70ecf1ac0e64693de64a0064aacac65", | |
| "hidden_act": "gelu", | |
| "hidden_dropout_prob": 0.2, | |
| "hidden_size": 2560, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 10240, | |
| "is_folding_model": false, | |
| "layer_norm_eps": 1e-05, | |
| "mask_token_id": 32, | |
| "max_position_embeddings": 1026, | |
| "model_type": "dplm", | |
| "num_attention_heads": 40, | |
| "num_hidden_layers": 36, | |
| "pad_token_id": 1, | |
| "position_embedding_type": "rotary", | |
| "tie_word_embeddings": false, | |
| "token_dropout": true, | |
| "transformers_version": "4.57.6", | |
| "use_cache": true, | |
| "vocab_list": null, | |
| "vocab_size": 33 | |
| } | |