lgq12697
commited on
Commit
•
a0969da
1
Parent(s):
f0a0531
update model
Browse files- config.json +50 -0
- model.safetensors +3 -0
- special_tokens_map.json +30 -0
- tokenizer_config.json +44 -0
- vocab.txt +267 -0
config.json
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "../model/finetune/PlantDna_Mamba_4mer/plant-multi-species-sequence-conservation",
|
3 |
+
"architectures": [
|
4 |
+
"MambaForSequenceClassification"
|
5 |
+
],
|
6 |
+
"bos_token_id": 0,
|
7 |
+
"conv_kernel": 4,
|
8 |
+
"d_inner": 1536,
|
9 |
+
"d_model": 768,
|
10 |
+
"eos_token_id": 0,
|
11 |
+
"expand": 2,
|
12 |
+
"fused_add_norm": true,
|
13 |
+
"hidden_act": "silu",
|
14 |
+
"hidden_size": 768,
|
15 |
+
"id2label": {
|
16 |
+
"0": "Not_conservation",
|
17 |
+
"1": "conservation"
|
18 |
+
},
|
19 |
+
"initializer_range": 0.1,
|
20 |
+
"intermediate_size": 1536,
|
21 |
+
"label2id": {
|
22 |
+
"Not_conservation": 0,
|
23 |
+
"conservation": 1
|
24 |
+
},
|
25 |
+
"layer_norm_epsilon": 1e-05,
|
26 |
+
"model_type": "mamba",
|
27 |
+
"n_layer": 24,
|
28 |
+
"num_hidden_layers": 24,
|
29 |
+
"pad_token_id": 0,
|
30 |
+
"pad_vocab_size_multiple": 8,
|
31 |
+
"problem_type": "single_label_classification",
|
32 |
+
"rescale_prenorm_residual": false,
|
33 |
+
"residual_in_fp32": true,
|
34 |
+
"rms_norm": true,
|
35 |
+
"ssm_cfg": {},
|
36 |
+
"state_size": 16,
|
37 |
+
"time_step_floor": 0.0001,
|
38 |
+
"time_step_init_scheme": "random",
|
39 |
+
"time_step_max": 0.1,
|
40 |
+
"time_step_min": 0.001,
|
41 |
+
"time_step_rank": 48,
|
42 |
+
"time_step_scale": 1.0,
|
43 |
+
"torch_dtype": "float32",
|
44 |
+
"transformers_version": "4.45.0.dev0",
|
45 |
+
"use_bias": false,
|
46 |
+
"use_cache": false,
|
47 |
+
"use_conv_bias": true,
|
48 |
+
"use_mambapy": false,
|
49 |
+
"vocab_size": 267
|
50 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1b5024b1a7201c630b047e2f614a941d54543cd29163fd8cc6577dc53f6f3b4b
|
3 |
+
size 362933784
|
special_tokens_map.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": {
|
3 |
+
"content": "<cls>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"mask_token": {
|
10 |
+
"content": "<mask>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": {
|
17 |
+
"content": "<pad>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"unk_token": {
|
24 |
+
"content": "<unk>",
|
25 |
+
"lstrip": false,
|
26 |
+
"normalized": false,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
}
|
30 |
+
}
|
tokenizer_config.json
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "<unk>",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"1": {
|
12 |
+
"content": "<pad>",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"2": {
|
20 |
+
"content": "<mask>",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"3": {
|
28 |
+
"content": "<cls>",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
}
|
35 |
+
},
|
36 |
+
"clean_up_tokenization_spaces": true,
|
37 |
+
"cls_token": "<cls>",
|
38 |
+
"eos_token": null,
|
39 |
+
"mask_token": "<mask>",
|
40 |
+
"model_max_length": 512,
|
41 |
+
"pad_token": "<pad>",
|
42 |
+
"tokenizer_class": "EsmTokenizer",
|
43 |
+
"unk_token": "<unk>"
|
44 |
+
}
|
vocab.txt
ADDED
@@ -0,0 +1,267 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
TACG
|
81 |
+
TAGA
|
82 |
+
TAGT
|
83 |
+
TAGC
|
84 |
+
TAGG
|
85 |
+
TTAA
|
86 |
+
TTAT
|
87 |
+
TTAC
|
88 |
+
TTAG
|
89 |
+
TTTA
|
90 |
+
TTTT
|
91 |
+
TTTC
|
92 |
+
TTTG
|
93 |
+
TTCA
|
94 |
+
TTCT
|
95 |
+
TTCC
|
96 |
+
TTCG
|
97 |
+
TTGA
|
98 |
+
TTGT
|
99 |
+
TTGC
|
100 |
+
TTGG
|
101 |
+
TCAA
|
102 |
+
TCAT
|
103 |
+
TCAC
|
104 |
+
TCAG
|
105 |
+
TCTA
|
106 |
+
TCTT
|
107 |
+
TCTC
|
108 |
+
TCTG
|
109 |
+
TCCA
|
110 |
+
TCCT
|
111 |
+
TCCC
|
112 |
+
TCCG
|
113 |
+
TCGA
|
114 |
+
TCGT
|
115 |
+
TCGC
|
116 |
+
TCGG
|
117 |
+
TGAA
|
118 |
+
TGAT
|
119 |
+
TGAC
|
120 |
+
TGAG
|
121 |
+
TGTA
|
122 |
+
TGTT
|
123 |
+
TGTC
|
124 |
+
TGTG
|
125 |
+
TGCA
|
126 |
+
TGCT
|
127 |
+
TGCC
|
128 |
+
TGCG
|
129 |
+
TGGA
|
130 |
+
TGGT
|
131 |
+
TGGC
|
132 |
+
TGGG
|
133 |
+
CAAA
|
134 |
+
CAAT
|
135 |
+
CAAC
|
136 |
+
CAAG
|
137 |
+
CATA
|
138 |
+
CATT
|
139 |
+
CATC
|
140 |
+
CATG
|
141 |
+
CACA
|
142 |
+
CACT
|
143 |
+
CACC
|
144 |
+
CACG
|
145 |
+
CAGA
|
146 |
+
CAGT
|
147 |
+
CAGC
|
148 |
+
CAGG
|
149 |
+
CTAA
|
150 |
+
CTAT
|
151 |
+
CTAC
|
152 |
+
CTAG
|
153 |
+
CTTA
|
154 |
+
CTTT
|
155 |
+
CTTC
|
156 |
+
CTTG
|
157 |
+
CTCA
|
158 |
+
CTCT
|
159 |
+
CTCC
|
160 |
+
CTCG
|
161 |
+
CTGA
|
162 |
+
CTGT
|
163 |
+
CTGC
|
164 |
+
CTGG
|
165 |
+
CCAA
|
166 |
+
CCAT
|
167 |
+
CCAC
|
168 |
+
CCAG
|
169 |
+
CCTA
|
170 |
+
CCTT
|
171 |
+
CCTC
|
172 |
+
CCTG
|
173 |
+
CCCA
|
174 |
+
CCCT
|
175 |
+
CCCC
|
176 |
+
CCCG
|
177 |
+
CCGA
|
178 |
+
CCGT
|
179 |
+
CCGC
|
180 |
+
CCGG
|
181 |
+
CGAA
|
182 |
+
CGAT
|
183 |
+
CGAC
|
184 |
+
CGAG
|
185 |
+
CGTA
|
186 |
+
CGTT
|
187 |
+
CGTC
|
188 |
+
CGTG
|
189 |
+
CGCA
|
190 |
+
CGCT
|
191 |
+
CGCC
|
192 |
+
CGCG
|
193 |
+
CGGA
|
194 |
+
CGGT
|
195 |
+
CGGC
|
196 |
+
CGGG
|
197 |
+
GAAA
|
198 |
+
GAAT
|
199 |
+
GAAC
|
200 |
+
GAAG
|
201 |
+
GATA
|
202 |
+
GATT
|
203 |
+
GATC
|
204 |
+
GATG
|
205 |
+
GACA
|
206 |
+
GACT
|
207 |
+
GACC
|
208 |
+
GACG
|
209 |
+
GAGA
|
210 |
+
GAGT
|
211 |
+
GAGC
|
212 |
+
GAGG
|
213 |
+
GTAA
|
214 |
+
GTAT
|
215 |
+
GTAC
|
216 |
+
GTAG
|
217 |
+
GTTA
|
218 |
+
GTTT
|
219 |
+
GTTC
|
220 |
+
GTTG
|
221 |
+
GTCA
|
222 |
+
GTCT
|
223 |
+
GTCC
|
224 |
+
GTCG
|
225 |
+
GTGA
|
226 |
+
GTGT
|
227 |
+
GTGC
|
228 |
+
GTGG
|
229 |
+
GCAA
|
230 |
+
GCAT
|
231 |
+
GCAC
|
232 |
+
GCAG
|
233 |
+
GCTA
|
234 |
+
GCTT
|
235 |
+
GCTC
|
236 |
+
GCTG
|
237 |
+
GCCA
|
238 |
+
GCCT
|
239 |
+
GCCC
|
240 |
+
GCCG
|
241 |
+
GCGA
|
242 |
+
GCGT
|
243 |
+
GCGC
|
244 |
+
GCGG
|
245 |
+
GGAA
|
246 |
+
GGAT
|
247 |
+
GGAC
|
248 |
+
GGAG
|
249 |
+
GGTA
|
250 |
+
GGTT
|
251 |
+
GGTC
|
252 |
+
GGTG
|
253 |
+
GGCA
|
254 |
+
GGCT
|
255 |
+
GGCC
|
256 |
+
GGCG
|
257 |
+
GGGA
|
258 |
+
GGGT
|
259 |
+
GGGC
|
260 |
+
GGGG
|
261 |
+
A
|
262 |
+
T
|
263 |
+
C
|
264 |
+
G
|
265 |
+
N
|
266 |
+
<eos>
|
267 |
+
<bos>
|