Instructions to use multimolecule/deltasplice-human with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MultiMolecule
How to use multimolecule/deltasplice-human with MultiMolecule:
pip install multimolecule
from multimolecule import AutoModel, AutoTokenizer tokenizer = AutoTokenizer.from_pretrained("multimolecule/deltasplice-human") model = AutoModel.from_pretrained("multimolecule/deltasplice-human") inputs = tokenizer("UAGCUUAUCAGACUGAUGUUGA", return_tensors="pt") outputs = model(**inputs) embeddings = outputs.last_hidden_state - Notebooks
- Google Colab
- Kaggle
File size: 2,326 Bytes
c16a7a1 | 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 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 | {
"architectures": [
"DeltaSpliceModel"
],
"batch_norm_eps": 1e-05,
"batch_norm_momentum": 0.1,
"bos_token_id": null,
"context": 30000,
"dropout": 0.3,
"dtype": "float32",
"eos_token_id": null,
"head": {
"act": null,
"bias": true,
"dropout": 0.0,
"hidden_size": 64,
"layer_norm_eps": 1e-12,
"loss_weight": null,
"num_labels": 3,
"output_name": null,
"problem_type": "regression",
"transform": null,
"transform_act": "gelu",
"type": null
},
"hidden_act": "relu",
"hidden_size": 64,
"id2label": null,
"label2id": null,
"layers": [
{
"dilation": 1,
"kernel_size": 11
},
{
"dilation": 1,
"kernel_size": 11
},
{
"dilation": 1,
"kernel_size": 11
},
{
"dilation": 1,
"kernel_size": 11
},
{
"dilation": 1,
"kernel_size": 19
},
{
"dilation": 1,
"kernel_size": 19
},
{
"dilation": 1,
"kernel_size": 19
},
{
"dilation": 1,
"kernel_size": 19
},
{
"dilation": 2,
"kernel_size": 25
},
{
"dilation": 2,
"kernel_size": 25
},
{
"dilation": 2,
"kernel_size": 25
},
{
"dilation": 2,
"kernel_size": 25
},
{
"dilation": 8,
"kernel_size": 33
},
{
"dilation": 8,
"kernel_size": 33
},
{
"dilation": 8,
"kernel_size": 33
},
{
"dilation": 8,
"kernel_size": 33
},
{
"dilation": 16,
"kernel_size": 43
},
{
"dilation": 16,
"kernel_size": 43
},
{
"dilation": 16,
"kernel_size": 85
},
{
"dilation": 16,
"kernel_size": 85
},
{
"dilation": 16,
"kernel_size": 85
},
{
"dilation": 16,
"kernel_size": 85
},
{
"dilation": 32,
"kernel_size": 85
},
{
"dilation": 32,
"kernel_size": 85
}
],
"mask_token_id": null,
"model_type": "deltasplice",
"null_token_id": null,
"num_ensemble": 5,
"num_labels": 3,
"output_contexts": false,
"pad_token_id": 4,
"problem_type": "regression",
"tie_word_embeddings": true,
"transformers_version": "5.9.0",
"unk_token_id": 4,
"vocab_size": 4
}
|