Instructions to use monsoon-nlp/dna-blockdiff with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use monsoon-nlp/dna-blockdiff with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="monsoon-nlp/dna-blockdiff", trust_remote_code=True)# Load model directly from transformers import AutoModelForMaskedLM model = AutoModelForMaskedLM.from_pretrained("monsoon-nlp/dna-blockdiff", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
File size: 734 Bytes
1babd63 0a77499 1babd63 0a77499 1babd63 0a77499 1babd63 | 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 | {
"_name_or_path": "monsoon-nlp/dna-blockdiff",
"adaln": true,
"architectures": [
"BD3LM"
],
"attn_backend": "sdpa",
"auto_map": {
"AutoConfig": "monsoon-nlp/dna-blockdiff--configuration_bd3lm.BD3LMConfig",
"AutoModelForMaskedLM": "monsoon-nlp/dna-blockdiff--modeling_bd3lm.BD3LM"
},
"block_size": 1024,
"causal": false,
"cond_dim": 128,
"cross_attn": false,
"dropout": 0.1,
"hidden_dim": 768,
"model_length": 1024,
"model_type": "bd3lm",
"n_blocks": 12,
"n_heads": 12,
"return_dict": false,
"sampling_eps_max": 0.999,
"sampling_eps_min": 0.001,
"time_conditioning": false,
"torch_dtype": "float32",
"transformers_version": "4.49.0",
"var_min": true,
"vocab_size": 4107
}
|