Upload folder using huggingface_hub
Browse files- config.json +1 -1
- generation_config.json +2 -2
- onnx/decoder_model.onnx +2 -2
- onnx/decoder_model_merged.onnx +2 -2
- onnx/decoder_model_merged_quantized.onnx +2 -2
- onnx/decoder_model_quantized.onnx +2 -2
- onnx/decoder_with_past_model.onnx +2 -2
- onnx/decoder_with_past_model_quantized.onnx +2 -2
- quantize_config.json +75 -75
- tokenizer.json +0 -0
config.json
CHANGED
@@ -54,7 +54,7 @@
|
|
54 |
"scale_embedding": true,
|
55 |
"share_encoder_decoder_embeddings": true,
|
56 |
"static_position_embeddings": true,
|
57 |
-
"transformers_version": "4.
|
58 |
"use_cache": true,
|
59 |
"vocab_size": 37745
|
60 |
}
|
|
|
54 |
"scale_embedding": true,
|
55 |
"share_encoder_decoder_embeddings": true,
|
56 |
"static_position_embeddings": true,
|
57 |
+
"transformers_version": "4.34.0.dev0",
|
58 |
"use_cache": true,
|
59 |
"vocab_size": 37745
|
60 |
}
|
generation_config.json
CHANGED
@@ -1,5 +1,4 @@
|
|
1 |
{
|
2 |
-
"_from_model_config": true,
|
3 |
"bad_words_ids": [
|
4 |
[
|
5 |
37744
|
@@ -12,5 +11,6 @@
|
|
12 |
"max_length": 512,
|
13 |
"num_beams": 4,
|
14 |
"pad_token_id": 37744,
|
15 |
-
"
|
|
|
16 |
}
|
|
|
1 |
{
|
|
|
2 |
"bad_words_ids": [
|
3 |
[
|
4 |
37744
|
|
|
11 |
"max_length": 512,
|
12 |
"num_beams": 4,
|
13 |
"pad_token_id": 37744,
|
14 |
+
"renormalize_logits": true,
|
15 |
+
"transformers_version": "4.34.0.dev0"
|
16 |
}
|
onnx/decoder_model.onnx
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:99750cd9e5c6a6c6f492a03bf08532932fe2d8f00fe42297bb3dedf1935180e4
|
3 |
+
size 179674357
|
onnx/decoder_model_merged.onnx
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:410f1cbcef22d8214b6bebf61f939d5bdf2f607e9ddb91ef9e1763af02e2a2b2
|
3 |
+
size 179909924
|
onnx/decoder_model_merged_quantized.onnx
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3c0291f2524b6c9843e32bc843f6a5f07db89ccb781caf15b325e5a25302e7ef
|
3 |
+
size 46148708
|
onnx/decoder_model_quantized.onnx
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fe92f12d8b5733d0913d8ab1865d1dd0ca376c9ba9f4bd5ef37d725562e3288a
|
3 |
+
size 45778006
|
onnx/decoder_with_past_model.onnx
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9c681aab60969591cf1c4df987e650ab8bd0bab8d7e3a2c0adce1e4bb3f26009
|
3 |
+
size 167023848
|
onnx/decoder_with_past_model_quantized.onnx
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:38aee00bba12e88fd8a3712649ad6e9117dba4b804b3f6263abbab8c2340ca80
|
3 |
+
size 42506542
|
quantize_config.json
CHANGED
@@ -4,120 +4,120 @@
|
|
4 |
"per_model_config": {
|
5 |
"encoder_model": {
|
6 |
"op_types": [
|
7 |
-
"
|
8 |
-
"Shape",
|
9 |
"Mul",
|
10 |
-
"
|
11 |
-
"Range",
|
12 |
"Constant",
|
13 |
-
"
|
14 |
-
"
|
15 |
-
"Div",
|
16 |
-
"Gather",
|
17 |
-
"Where",
|
18 |
-
"Sigmoid",
|
19 |
"ConstantOfShape",
|
20 |
-
"
|
21 |
-
"
|
22 |
-
"Unsqueeze",
|
23 |
"Transpose",
|
24 |
"Expand",
|
25 |
-
"
|
26 |
-
"
|
27 |
-
"
|
|
|
|
|
|
|
28 |
"Reshape",
|
29 |
-
"
|
|
|
|
|
|
|
|
|
30 |
],
|
31 |
"weight_type": "QInt8"
|
32 |
},
|
33 |
"decoder_with_past_model": {
|
34 |
"op_types": [
|
35 |
-
"
|
36 |
-
"Shape",
|
37 |
"Mul",
|
38 |
-
"
|
39 |
-
"Range",
|
40 |
"Constant",
|
41 |
-
"
|
42 |
-
"
|
43 |
-
"Div",
|
44 |
-
"Gather",
|
45 |
-
"Where",
|
46 |
-
"Sigmoid",
|
47 |
"ConstantOfShape",
|
48 |
-
"
|
49 |
-
"
|
50 |
-
"Unsqueeze",
|
51 |
"Transpose",
|
52 |
"Expand",
|
53 |
-
"
|
54 |
-
"
|
55 |
-
"
|
|
|
|
|
|
|
56 |
"Reshape",
|
57 |
-
"
|
|
|
|
|
|
|
|
|
58 |
],
|
59 |
"weight_type": "QInt8"
|
60 |
},
|
61 |
-
"
|
62 |
"op_types": [
|
63 |
-
"
|
64 |
-
"Shape",
|
65 |
"Mul",
|
66 |
-
"
|
67 |
-
"Range",
|
68 |
-
"Slice",
|
69 |
"Constant",
|
70 |
-
"
|
71 |
-
"
|
72 |
-
"Div",
|
73 |
-
"Gather",
|
74 |
-
"Where",
|
75 |
-
"Sigmoid",
|
76 |
"ConstantOfShape",
|
77 |
-
"
|
|
|
78 |
"Less",
|
79 |
-
"
|
80 |
-
"Unsqueeze",
|
81 |
"Transpose",
|
82 |
-
"Squeeze",
|
83 |
"Expand",
|
84 |
-
"
|
85 |
-
"
|
86 |
-
"
|
|
|
|
|
|
|
87 |
"Reshape",
|
88 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
89 |
],
|
90 |
"weight_type": "QInt8"
|
91 |
},
|
92 |
-
"
|
93 |
"op_types": [
|
94 |
-
"
|
95 |
-
"Shape",
|
96 |
"Mul",
|
97 |
-
"
|
98 |
-
"Range",
|
99 |
-
"Slice",
|
100 |
"Constant",
|
101 |
-
"
|
102 |
-
"
|
103 |
-
"Div",
|
104 |
-
"Gather",
|
105 |
-
"Where",
|
106 |
-
"Sigmoid",
|
107 |
"ConstantOfShape",
|
108 |
-
"
|
|
|
109 |
"Less",
|
110 |
-
"
|
111 |
-
"Unsqueeze",
|
112 |
"Transpose",
|
113 |
-
"Squeeze",
|
114 |
"Expand",
|
115 |
-
"
|
116 |
-
"
|
117 |
-
"
|
118 |
-
"
|
|
|
|
|
119 |
"Reshape",
|
120 |
-
"
|
|
|
|
|
|
|
|
|
|
|
121 |
],
|
122 |
"weight_type": "QInt8"
|
123 |
}
|
|
|
4 |
"per_model_config": {
|
5 |
"encoder_model": {
|
6 |
"op_types": [
|
7 |
+
"Concat",
|
|
|
8 |
"Mul",
|
9 |
+
"Shape",
|
|
|
10 |
"Constant",
|
11 |
+
"Softmax",
|
12 |
+
"Equal",
|
|
|
|
|
|
|
|
|
13 |
"ConstantOfShape",
|
14 |
+
"Pow",
|
15 |
+
"Where",
|
|
|
16 |
"Transpose",
|
17 |
"Expand",
|
18 |
+
"Sqrt",
|
19 |
+
"Gather",
|
20 |
+
"Div",
|
21 |
+
"Cast",
|
22 |
+
"Sigmoid",
|
23 |
+
"Range",
|
24 |
"Reshape",
|
25 |
+
"Unsqueeze",
|
26 |
+
"Add",
|
27 |
+
"ReduceMean",
|
28 |
+
"MatMul",
|
29 |
+
"Sub"
|
30 |
],
|
31 |
"weight_type": "QInt8"
|
32 |
},
|
33 |
"decoder_with_past_model": {
|
34 |
"op_types": [
|
35 |
+
"Concat",
|
|
|
36 |
"Mul",
|
37 |
+
"Shape",
|
|
|
38 |
"Constant",
|
39 |
+
"Softmax",
|
40 |
+
"Equal",
|
|
|
|
|
|
|
|
|
41 |
"ConstantOfShape",
|
42 |
+
"Pow",
|
43 |
+
"Where",
|
|
|
44 |
"Transpose",
|
45 |
"Expand",
|
46 |
+
"Sqrt",
|
47 |
+
"Gather",
|
48 |
+
"Div",
|
49 |
+
"Cast",
|
50 |
+
"Sigmoid",
|
51 |
+
"Range",
|
52 |
"Reshape",
|
53 |
+
"Unsqueeze",
|
54 |
+
"Add",
|
55 |
+
"ReduceMean",
|
56 |
+
"MatMul",
|
57 |
+
"Sub"
|
58 |
],
|
59 |
"weight_type": "QInt8"
|
60 |
},
|
61 |
+
"decoder_model_merged": {
|
62 |
"op_types": [
|
63 |
+
"Concat",
|
|
|
64 |
"Mul",
|
65 |
+
"Shape",
|
|
|
|
|
66 |
"Constant",
|
67 |
+
"Softmax",
|
68 |
+
"Equal",
|
|
|
|
|
|
|
|
|
69 |
"ConstantOfShape",
|
70 |
+
"Squeeze",
|
71 |
+
"Pow",
|
72 |
"Less",
|
73 |
+
"Where",
|
|
|
74 |
"Transpose",
|
|
|
75 |
"Expand",
|
76 |
+
"Sqrt",
|
77 |
+
"Gather",
|
78 |
+
"Div",
|
79 |
+
"Cast",
|
80 |
+
"Sigmoid",
|
81 |
+
"Range",
|
82 |
"Reshape",
|
83 |
+
"Unsqueeze",
|
84 |
+
"Add",
|
85 |
+
"If",
|
86 |
+
"ReduceMean",
|
87 |
+
"MatMul",
|
88 |
+
"Slice",
|
89 |
+
"Sub"
|
90 |
],
|
91 |
"weight_type": "QInt8"
|
92 |
},
|
93 |
+
"decoder_model": {
|
94 |
"op_types": [
|
95 |
+
"Concat",
|
|
|
96 |
"Mul",
|
97 |
+
"Shape",
|
|
|
|
|
98 |
"Constant",
|
99 |
+
"Softmax",
|
100 |
+
"Equal",
|
|
|
|
|
|
|
|
|
101 |
"ConstantOfShape",
|
102 |
+
"Squeeze",
|
103 |
+
"Pow",
|
104 |
"Less",
|
105 |
+
"Where",
|
|
|
106 |
"Transpose",
|
|
|
107 |
"Expand",
|
108 |
+
"Sqrt",
|
109 |
+
"Gather",
|
110 |
+
"Div",
|
111 |
+
"Cast",
|
112 |
+
"Sigmoid",
|
113 |
+
"Range",
|
114 |
"Reshape",
|
115 |
+
"Unsqueeze",
|
116 |
+
"Add",
|
117 |
+
"ReduceMean",
|
118 |
+
"MatMul",
|
119 |
+
"Slice",
|
120 |
+
"Sub"
|
121 |
],
|
122 |
"weight_type": "QInt8"
|
123 |
}
|
tokenizer.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|