Upload folder using huggingface_hub
Browse files- config.json +40 -0
- onnx/model.onnx +3 -0
- onnx/model_quantized.onnx +3 -0
- quantize_config.json +41 -0
- tokenizer.json +407 -0
config.json
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "AmelieSchreiber/esm2_t6_8M_UR50D_sequence_classifier_v1",
|
3 |
+
"architectures": [
|
4 |
+
"EsmForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"emb_layer_norm_before": false,
|
9 |
+
"esmfold_config": null,
|
10 |
+
"hidden_act": "gelu",
|
11 |
+
"hidden_dropout_prob": 0.0,
|
12 |
+
"hidden_size": 320,
|
13 |
+
"id2label": {
|
14 |
+
"0": "LABEL_0",
|
15 |
+
"1": "LABEL_1",
|
16 |
+
"2": "LABEL_2"
|
17 |
+
},
|
18 |
+
"initializer_range": 0.02,
|
19 |
+
"intermediate_size": 1280,
|
20 |
+
"is_folding_model": false,
|
21 |
+
"label2id": {
|
22 |
+
"LABEL_0": 0,
|
23 |
+
"LABEL_1": 1,
|
24 |
+
"LABEL_2": 2
|
25 |
+
},
|
26 |
+
"layer_norm_eps": 1e-05,
|
27 |
+
"mask_token_id": 32,
|
28 |
+
"max_position_embeddings": 1026,
|
29 |
+
"model_type": "esm",
|
30 |
+
"num_attention_heads": 20,
|
31 |
+
"num_hidden_layers": 6,
|
32 |
+
"pad_token_id": 1,
|
33 |
+
"position_embedding_type": "rotary",
|
34 |
+
"problem_type": "single_label_classification",
|
35 |
+
"token_dropout": true,
|
36 |
+
"transformers_version": "4.36.0.dev0",
|
37 |
+
"use_cache": true,
|
38 |
+
"vocab_list": null,
|
39 |
+
"vocab_size": 33
|
40 |
+
}
|
onnx/model.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8ce278a8aabe5847fa96ef35ee51e248a27e43fc7c4f30fe9a86adbaf6352513
|
3 |
+
size 30298431
|
onnx/model_quantized.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6f6f4897c0f16bf72a17c387c727c15a3fae6af792a346628675e88c92b72c85
|
3 |
+
size 8058035
|
quantize_config.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"per_channel": true,
|
3 |
+
"reduce_range": true,
|
4 |
+
"per_model_config": {
|
5 |
+
"model": {
|
6 |
+
"op_types": [
|
7 |
+
"Concat",
|
8 |
+
"Erf",
|
9 |
+
"Softmax",
|
10 |
+
"ReduceSum",
|
11 |
+
"Sqrt",
|
12 |
+
"Transpose",
|
13 |
+
"Sub",
|
14 |
+
"Einsum",
|
15 |
+
"Reshape",
|
16 |
+
"Equal",
|
17 |
+
"Where",
|
18 |
+
"Add",
|
19 |
+
"Gather",
|
20 |
+
"Slice",
|
21 |
+
"Cos",
|
22 |
+
"Gemm",
|
23 |
+
"Identity",
|
24 |
+
"Neg",
|
25 |
+
"Unsqueeze",
|
26 |
+
"Range",
|
27 |
+
"Constant",
|
28 |
+
"Shape",
|
29 |
+
"Cast",
|
30 |
+
"MatMul",
|
31 |
+
"Pow",
|
32 |
+
"Div",
|
33 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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"version": "1.0",
|
3 |
+
"truncation": null,
|
4 |
+
"padding": null,
|
5 |
+
"added_tokens": [
|
6 |
+
{
|
7 |
+
"id": 0,
|
8 |
+
"content": "<cls>",
|
9 |
+
"single_word": false,
|
10 |
+
"lstrip": false,
|
11 |
+
"rstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"special": true
|
14 |
+
},
|
15 |
+
{
|
16 |
+
"id": 1,
|
17 |
+
"content": "<pad>",
|
18 |
+
"single_word": false,
|
19 |
+
"lstrip": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"normalized": false,
|
22 |
+
"special": true
|
23 |
+
},
|
24 |
+
{
|
25 |
+
"id": 2,
|
26 |
+
"content": "<eos>",
|
27 |
+
"single_word": false,
|
28 |
+
"lstrip": false,
|
29 |
+
"rstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"special": true
|
32 |
+
},
|
33 |
+
{
|
34 |
+
"id": 3,
|
35 |
+
"content": "<unk>",
|
36 |
+
"single_word": false,
|
37 |
+
"lstrip": false,
|
38 |
+
"rstrip": false,
|
39 |
+
"normalized": false,
|
40 |
+
"special": true
|
41 |
+
},
|
42 |
+
{
|
43 |
+
"id": 4,
|
44 |
+
"content": "L",
|
45 |
+
"single_word": false,
|
46 |
+
"lstrip": false,
|
47 |
+
"rstrip": false,
|
48 |
+
"normalized": true,
|
49 |
+
"special": false
|
50 |
+
},
|
51 |
+
{
|
52 |
+
"id": 5,
|
53 |
+
"content": "A",
|
54 |
+
"single_word": false,
|
55 |
+
"lstrip": false,
|
56 |
+
"rstrip": false,
|
57 |
+
"normalized": true,
|
58 |
+
"special": false
|
59 |
+
},
|
60 |
+
{
|
61 |
+
"id": 6,
|
62 |
+
"content": "G",
|
63 |
+
"single_word": false,
|
64 |
+
"lstrip": false,
|
65 |
+
"rstrip": false,
|
66 |
+
"normalized": true,
|
67 |
+
"special": false
|
68 |
+
},
|
69 |
+
{
|
70 |
+
"id": 7,
|
71 |
+
"content": "V",
|
72 |
+
"single_word": false,
|
73 |
+
"lstrip": false,
|
74 |
+
"rstrip": false,
|
75 |
+
"normalized": true,
|
76 |
+
"special": false
|
77 |
+
},
|
78 |
+
{
|
79 |
+
"id": 8,
|
80 |
+
"content": "S",
|
81 |
+
"single_word": false,
|
82 |
+
"lstrip": false,
|
83 |
+
"rstrip": false,
|
84 |
+
"normalized": true,
|
85 |
+
"special": false
|
86 |
+
},
|
87 |
+
{
|
88 |
+
"id": 9,
|
89 |
+
"content": "E",
|
90 |
+
"single_word": false,
|
91 |
+
"lstrip": false,
|
92 |
+
"rstrip": false,
|
93 |
+
"normalized": true,
|
94 |
+
"special": false
|
95 |
+
},
|
96 |
+
{
|
97 |
+
"id": 10,
|
98 |
+
"content": "R",
|
99 |
+
"single_word": false,
|
100 |
+
"lstrip": false,
|
101 |
+
"rstrip": false,
|
102 |
+
"normalized": true,
|
103 |
+
"special": false
|
104 |
+
},
|
105 |
+
{
|
106 |
+
"id": 11,
|
107 |
+
"content": "T",
|
108 |
+
"single_word": false,
|
109 |
+
"lstrip": false,
|
110 |
+
"rstrip": false,
|
111 |
+
"normalized": true,
|
112 |
+
"special": false
|
113 |
+
},
|
114 |
+
{
|
115 |
+
"id": 12,
|
116 |
+
"content": "I",
|
117 |
+
"single_word": false,
|
118 |
+
"lstrip": false,
|
119 |
+
"rstrip": false,
|
120 |
+
"normalized": true,
|
121 |
+
"special": false
|
122 |
+
},
|
123 |
+
{
|
124 |
+
"id": 13,
|
125 |
+
"content": "D",
|
126 |
+
"single_word": false,
|
127 |
+
"lstrip": false,
|
128 |
+
"rstrip": false,
|
129 |
+
"normalized": true,
|
130 |
+
"special": false
|
131 |
+
},
|
132 |
+
{
|
133 |
+
"id": 14,
|
134 |
+
"content": "P",
|
135 |
+
"single_word": false,
|
136 |
+
"lstrip": false,
|
137 |
+
"rstrip": false,
|
138 |
+
"normalized": true,
|
139 |
+
"special": false
|
140 |
+
},
|
141 |
+
{
|
142 |
+
"id": 15,
|
143 |
+
"content": "K",
|
144 |
+
"single_word": false,
|
145 |
+
"lstrip": false,
|
146 |
+
"rstrip": false,
|
147 |
+
"normalized": true,
|
148 |
+
"special": false
|
149 |
+
},
|
150 |
+
{
|
151 |
+
"id": 16,
|
152 |
+
"content": "Q",
|
153 |
+
"single_word": false,
|
154 |
+
"lstrip": false,
|
155 |
+
"rstrip": false,
|
156 |
+
"normalized": true,
|
157 |
+
"special": false
|
158 |
+
},
|
159 |
+
{
|
160 |
+
"id": 17,
|
161 |
+
"content": "N",
|
162 |
+
"single_word": false,
|
163 |
+
"lstrip": false,
|
164 |
+
"rstrip": false,
|
165 |
+
"normalized": true,
|
166 |
+
"special": false
|
167 |
+
},
|
168 |
+
{
|
169 |
+
"id": 18,
|
170 |
+
"content": "F",
|
171 |
+
"single_word": false,
|
172 |
+
"lstrip": false,
|
173 |
+
"rstrip": false,
|
174 |
+
"normalized": true,
|
175 |
+
"special": false
|
176 |
+
},
|
177 |
+
{
|
178 |
+
"id": 19,
|
179 |
+
"content": "Y",
|
180 |
+
"single_word": false,
|
181 |
+
"lstrip": false,
|
182 |
+
"rstrip": false,
|
183 |
+
"normalized": true,
|
184 |
+
"special": false
|
185 |
+
},
|
186 |
+
{
|
187 |
+
"id": 20,
|
188 |
+
"content": "M",
|
189 |
+
"single_word": false,
|
190 |
+
"lstrip": false,
|
191 |
+
"rstrip": false,
|
192 |
+
"normalized": true,
|
193 |
+
"special": false
|
194 |
+
},
|
195 |
+
{
|
196 |
+
"id": 21,
|
197 |
+
"content": "H",
|
198 |
+
"single_word": false,
|
199 |
+
"lstrip": false,
|
200 |
+
"rstrip": false,
|
201 |
+
"normalized": true,
|
202 |
+
"special": false
|
203 |
+
},
|
204 |
+
{
|
205 |
+
"id": 22,
|
206 |
+
"content": "W",
|
207 |
+
"single_word": false,
|
208 |
+
"lstrip": false,
|
209 |
+
"rstrip": false,
|
210 |
+
"normalized": true,
|
211 |
+
"special": false
|
212 |
+
},
|
213 |
+
{
|
214 |
+
"id": 23,
|
215 |
+
"content": "C",
|
216 |
+
"single_word": false,
|
217 |
+
"lstrip": false,
|
218 |
+
"rstrip": false,
|
219 |
+
"normalized": true,
|
220 |
+
"special": false
|
221 |
+
},
|
222 |
+
{
|
223 |
+
"id": 24,
|
224 |
+
"content": "X",
|
225 |
+
"single_word": false,
|
226 |
+
"lstrip": false,
|
227 |
+
"rstrip": false,
|
228 |
+
"normalized": true,
|
229 |
+
"special": false
|
230 |
+
},
|
231 |
+
{
|
232 |
+
"id": 25,
|
233 |
+
"content": "B",
|
234 |
+
"single_word": false,
|
235 |
+
"lstrip": false,
|
236 |
+
"rstrip": false,
|
237 |
+
"normalized": true,
|
238 |
+
"special": false
|
239 |
+
},
|
240 |
+
{
|
241 |
+
"id": 26,
|
242 |
+
"content": "U",
|
243 |
+
"single_word": false,
|
244 |
+
"lstrip": false,
|
245 |
+
"rstrip": false,
|
246 |
+
"normalized": true,
|
247 |
+
"special": false
|
248 |
+
},
|
249 |
+
{
|
250 |
+
"id": 27,
|
251 |
+
"content": "Z",
|
252 |
+
"single_word": false,
|
253 |
+
"lstrip": false,
|
254 |
+
"rstrip": false,
|
255 |
+
"normalized": true,
|
256 |
+
"special": false
|
257 |
+
},
|
258 |
+
{
|
259 |
+
"id": 28,
|
260 |
+
"content": "O",
|
261 |
+
"single_word": false,
|
262 |
+
"lstrip": false,
|
263 |
+
"rstrip": false,
|
264 |
+
"normalized": true,
|
265 |
+
"special": false
|
266 |
+
},
|
267 |
+
{
|
268 |
+
"id": 29,
|
269 |
+
"content": ".",
|
270 |
+
"single_word": false,
|
271 |
+
"lstrip": false,
|
272 |
+
"rstrip": false,
|
273 |
+
"normalized": true,
|
274 |
+
"special": false
|
275 |
+
},
|
276 |
+
{
|
277 |
+
"id": 30,
|
278 |
+
"content": "-",
|
279 |
+
"single_word": false,
|
280 |
+
"lstrip": false,
|
281 |
+
"rstrip": false,
|
282 |
+
"normalized": true,
|
283 |
+
"special": false
|
284 |
+
},
|
285 |
+
{
|
286 |
+
"id": 31,
|
287 |
+
"content": "<null_1>",
|
288 |
+
"single_word": false,
|
289 |
+
"lstrip": false,
|
290 |
+
"rstrip": false,
|
291 |
+
"normalized": true,
|
292 |
+
"special": false
|
293 |
+
},
|
294 |
+
{
|
295 |
+
"id": 32,
|
296 |
+
"content": "<mask>",
|
297 |
+
"single_word": false,
|
298 |
+
"lstrip": false,
|
299 |
+
"rstrip": false,
|
300 |
+
"normalized": true,
|
301 |
+
"special": false
|
302 |
+
}
|
303 |
+
],
|
304 |
+
"normalizer": null,
|
305 |
+
"pre_tokenizer": {
|
306 |
+
"type": "WhitespaceSplit"
|
307 |
+
},
|
308 |
+
"post_processor": {
|
309 |
+
"type": "TemplateProcessing",
|
310 |
+
"single": [
|
311 |
+
{
|
312 |
+
"SpecialToken": {
|
313 |
+
"id": "<cls>",
|
314 |
+
"type_id": 0
|
315 |
+
}
|
316 |
+
},
|
317 |
+
{
|
318 |
+
"Sequence": {
|
319 |
+
"id": "A",
|
320 |
+
"type_id": 0
|
321 |
+
}
|
322 |
+
},
|
323 |
+
{
|
324 |
+
"SpecialToken": {
|
325 |
+
"id": "<eos>",
|
326 |
+
"type_id": 0
|
327 |
+
}
|
328 |
+
}
|
329 |
+
],
|
330 |
+
"pair": [
|
331 |
+
{
|
332 |
+
"Sequence": {
|
333 |
+
"id": "A",
|
334 |
+
"type_id": 0
|
335 |
+
}
|
336 |
+
},
|
337 |
+
{
|
338 |
+
"Sequence": {
|
339 |
+
"id": "B",
|
340 |
+
"type_id": 1
|
341 |
+
}
|
342 |
+
}
|
343 |
+
],
|
344 |
+
"special_tokens": {
|
345 |
+
"<cls>": {
|
346 |
+
"id": "<cls>",
|
347 |
+
"ids": [
|
348 |
+
0
|
349 |
+
],
|
350 |
+
"tokens": [
|
351 |
+
"<cls>"
|
352 |
+
]
|
353 |
+
},
|
354 |
+
"<eos>": {
|
355 |
+
"id": "<eos>",
|
356 |
+
"ids": [
|
357 |
+
2
|
358 |
+
],
|
359 |
+
"tokens": [
|
360 |
+
"<eos>"
|
361 |
+
]
|
362 |
+
}
|
363 |
+
}
|
364 |
+
},
|
365 |
+
"decoder": null,
|
366 |
+
"model": {
|
367 |
+
"type": "WordPiece",
|
368 |
+
"unk_token": "<unk>",
|
369 |
+
"continuing_subword_prefix": "",
|
370 |
+
"max_input_chars_per_word": 10000000000,
|
371 |
+
"vocab": {
|
372 |
+
"<cls>": 0,
|
373 |
+
"<pad>": 1,
|
374 |
+
"<eos>": 2,
|
375 |
+
"<unk>": 3,
|
376 |
+
"L": 4,
|
377 |
+
"A": 5,
|
378 |
+
"G": 6,
|
379 |
+
"V": 7,
|
380 |
+
"S": 8,
|
381 |
+
"E": 9,
|
382 |
+
"R": 10,
|
383 |
+
"T": 11,
|
384 |
+
"I": 12,
|
385 |
+
"D": 13,
|
386 |
+
"P": 14,
|
387 |
+
"K": 15,
|
388 |
+
"Q": 16,
|
389 |
+
"N": 17,
|
390 |
+
"F": 18,
|
391 |
+
"Y": 19,
|
392 |
+
"M": 20,
|
393 |
+
"H": 21,
|
394 |
+
"W": 22,
|
395 |
+
"C": 23,
|
396 |
+
"X": 24,
|
397 |
+
"B": 25,
|
398 |
+
"U": 26,
|
399 |
+
"Z": 27,
|
400 |
+
"O": 28,
|
401 |
+
".": 29,
|
402 |
+
"-": 30,
|
403 |
+
"<null_1>": 31,
|
404 |
+
"<mask>": 32
|
405 |
+
}
|
406 |
+
}
|
407 |
+
}
|