Instructions to use Synthyra/DPLM2-3B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Synthyra/DPLM2-3B with Transformers:
# Load model directly from transformers import AutoTokenizer, EsmForDPLM2 tokenizer = AutoTokenizer.from_pretrained("Synthyra/DPLM2-3B", trust_remote_code=True) model = EsmForDPLM2.from_pretrained("Synthyra/DPLM2-3B", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 2,045 Bytes
c3e0129 f7f0262 c3e0129 310c859 c3e0129 f7f0262 c3e0129 f7f0262 056184e f7f0262 c3e0129 f7f0262 c3e0129 f7f0262 c3e0129 f7f0262 c3e0129 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | {
"_name_or_path": "airkingbd/dplm_3b",
"add_cross_attention": false,
"architectures": [
"EsmForDPLM2"
],
"attention_probs_dropout_prob": 0.0,
"auto_map": {
"AutoConfig": "modeling_fastplms.DPLM2Config",
"AutoModel": "modeling_fastplms.DPLM2Model",
"AutoModelForMaskedLM": "modeling_fastplms.DPLM2ForMaskedLM",
"AutoModelForSequenceClassification": "modeling_fastplms.DPLM2ForSequenceClassification",
"AutoModelForTokenClassification": "modeling_fastplms.DPLM2ForTokenClassification"
},
"classifier_dropout": null,
"dplm_type": "dplm_esm",
"emb_layer_norm_before": false,
"esmfold_config": null,
"fastplms_checkpoint_hash": "0d75207bde9d43202f2a27d2cfbd34bcf1229bb8b84c40bee24f6062a531d2fe",
"fastplms_checkpoint_repo_id": "airkingbd/dplm2_3b",
"fastplms_checkpoint_revision": "9e77567926f98d1b997ea9131a8eeb035b9bf827",
"fastplms_model_id": "dplm2_3b",
"fastplms_release_tool_revision": "e6dd397a9ad368c998d714f6bd64d40b533d1ed1",
"fastplms_release_tool_sha256": "6d335c05aa49a232086a816deb25d248d1490529e5783acc3355b9bc6f03e0c2",
"fastplms_runtime_bundle_sha256": "7effb403b3097f204a36cf67caabcb4807a5124189c0bbfefd432f4ca7533ed6",
"fastplms_runtime_revision": "e6dd397a9ad368c998d714f6bd64d40b533d1ed1",
"fastplms_source_tree_sha256": "ff487b8e5f222a1bfd091b0a736122673333708cd06e3589b4e04183ec20fd45",
"fastplms_weights_revision": "9e77567926f98d1b997ea9131a8eeb035b9bf827",
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 2560,
"initializer_range": 0.02,
"intermediate_size": 10240,
"is_decoder": false,
"is_folding_model": false,
"layer_norm_eps": 1e-05,
"mask_token_id": 32,
"max_position_embeddings": 1026,
"model_type": "esm",
"num_attention_heads": 40,
"num_hidden_layers": 36,
"pad_token_id": 1,
"position_embedding_type": "rotary",
"tie_word_embeddings": false,
"token_dropout": true,
"torch_dtype": "float32",
"transformers_version": "4.39.2",
"use_cache": false,
"vocab_list": null,
"vocab_size": 8229
}
|