Upload folder using huggingface_hub
Browse files- config.json +29 -0
- onnx/model.onnx +3 -0
- onnx/model_quantized.onnx +3 -0
- quantize_config.json +39 -0
- special_tokens_map.json +7 -0
- tokenizer_config.json +5 -0
- vocab.txt +33 -0
config.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "facebook/esm2_t6_8M_UR50D",
|
3 |
+
"architectures": [
|
4 |
+
"EsmForMaskedLM"
|
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 |
+
"initializer_range": 0.02,
|
14 |
+
"intermediate_size": 1280,
|
15 |
+
"is_folding_model": false,
|
16 |
+
"layer_norm_eps": 1e-05,
|
17 |
+
"mask_token_id": 32,
|
18 |
+
"max_position_embeddings": 1026,
|
19 |
+
"model_type": "esm",
|
20 |
+
"num_attention_heads": 20,
|
21 |
+
"num_hidden_layers": 6,
|
22 |
+
"pad_token_id": 1,
|
23 |
+
"position_embedding_type": "rotary",
|
24 |
+
"token_dropout": true,
|
25 |
+
"transformers_version": "4.33.2",
|
26 |
+
"use_cache": true,
|
27 |
+
"vocab_list": null,
|
28 |
+
"vocab_size": 33
|
29 |
+
}
|
onnx/model.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:40e5889977eeeb737a270329e081543e2885ac403216859cde898aa35f971adb
|
3 |
+
size 30299345
|
onnx/model_quantized.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:39af2299897a0a320bcb7cc8e805eb40e900bbd6c83b3b73f5745fdd3994033d
|
3 |
+
size 8061966
|
quantize_config.json
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"per_channel": true,
|
3 |
+
"reduce_range": true,
|
4 |
+
"per_model_config": {
|
5 |
+
"model": {
|
6 |
+
"op_types": [
|
7 |
+
"Sub",
|
8 |
+
"Where",
|
9 |
+
"Gather",
|
10 |
+
"Slice",
|
11 |
+
"Erf",
|
12 |
+
"Add",
|
13 |
+
"Reshape",
|
14 |
+
"Concat",
|
15 |
+
"Einsum",
|
16 |
+
"Softmax",
|
17 |
+
"Transpose",
|
18 |
+
"Range",
|
19 |
+
"Sin",
|
20 |
+
"Div",
|
21 |
+
"Shape",
|
22 |
+
"MatMul",
|
23 |
+
"Identity",
|
24 |
+
"Mul",
|
25 |
+
"Neg",
|
26 |
+
"Pow",
|
27 |
+
"Constant",
|
28 |
+
"Cos",
|
29 |
+
"Equal",
|
30 |
+
"ReduceMean",
|
31 |
+
"Cast",
|
32 |
+
"Sqrt",
|
33 |
+
"ReduceSum",
|
34 |
+
"Unsqueeze"
|
35 |
+
],
|
36 |
+
"weight_type": "QInt8"
|
37 |
+
}
|
38 |
+
}
|
39 |
+
}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": "<cls>",
|
3 |
+
"eos_token": "<eos>",
|
4 |
+
"mask_token": "<mask>",
|
5 |
+
"pad_token": "<pad>",
|
6 |
+
"unk_token": "<unk>"
|
7 |
+
}
|
tokenizer_config.json
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"clean_up_tokenization_spaces": true,
|
3 |
+
"model_max_length": 1024,
|
4 |
+
"tokenizer_class": "EsmTokenizer"
|
5 |
+
}
|
vocab.txt
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<cls>
|
2 |
+
<pad>
|
3 |
+
<eos>
|
4 |
+
<unk>
|
5 |
+
L
|
6 |
+
A
|
7 |
+
G
|
8 |
+
V
|
9 |
+
S
|
10 |
+
E
|
11 |
+
R
|
12 |
+
T
|
13 |
+
I
|
14 |
+
D
|
15 |
+
P
|
16 |
+
K
|
17 |
+
Q
|
18 |
+
N
|
19 |
+
F
|
20 |
+
Y
|
21 |
+
M
|
22 |
+
H
|
23 |
+
W
|
24 |
+
C
|
25 |
+
X
|
26 |
+
B
|
27 |
+
U
|
28 |
+
Z
|
29 |
+
O
|
30 |
+
.
|
31 |
+
-
|
32 |
+
<null_1>
|
33 |
+
<mask>
|