Upload folder using huggingface_hub
Browse files- config.json +2 -1
- generation_config.json +79 -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
- onnx/encoder_model.onnx +2 -2
- onnx/encoder_model_quantized.onnx +2 -2
- quantize_config.json +115 -0
config.json
CHANGED
@@ -42,6 +42,7 @@
|
|
42 |
"max_length": 448,
|
43 |
"max_source_positions": 1500,
|
44 |
"max_target_positions": 448,
|
|
|
45 |
"model_type": "whisper",
|
46 |
"num_hidden_layers": 12,
|
47 |
"num_mel_bins": 80,
|
@@ -139,7 +140,7 @@
|
|
139 |
50360,
|
140 |
50361
|
141 |
],
|
142 |
-
"transformers_version": "4.
|
143 |
"use_cache": true,
|
144 |
"use_weighted_layer_sum": false,
|
145 |
"vocab_size": 51864
|
|
|
42 |
"max_length": 448,
|
43 |
"max_source_positions": 1500,
|
44 |
"max_target_positions": 448,
|
45 |
+
"median_filter_width": 7,
|
46 |
"model_type": "whisper",
|
47 |
"num_hidden_layers": 12,
|
48 |
"num_mel_bins": 80,
|
|
|
140 |
50360,
|
141 |
50361
|
142 |
],
|
143 |
+
"transformers_version": "4.33.0.dev0",
|
144 |
"use_cache": true,
|
145 |
"use_weighted_layer_sum": false,
|
146 |
"vocab_size": 51864
|
generation_config.json
CHANGED
@@ -1,5 +1,82 @@
|
|
1 |
{
|
2 |
-
"alignment_heads": [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
"begin_suppress_tokens": [
|
4 |
220,
|
5 |
50256
|
@@ -110,5 +187,5 @@
|
|
110 |
50360,
|
111 |
50361
|
112 |
],
|
113 |
-
"transformers_version": "4.
|
114 |
}
|
|
|
1 |
{
|
2 |
+
"alignment_heads": [
|
3 |
+
[
|
4 |
+
6,
|
5 |
+
6
|
6 |
+
],
|
7 |
+
[
|
8 |
+
7,
|
9 |
+
0
|
10 |
+
],
|
11 |
+
[
|
12 |
+
7,
|
13 |
+
3
|
14 |
+
],
|
15 |
+
[
|
16 |
+
7,
|
17 |
+
8
|
18 |
+
],
|
19 |
+
[
|
20 |
+
8,
|
21 |
+
2
|
22 |
+
],
|
23 |
+
[
|
24 |
+
8,
|
25 |
+
5
|
26 |
+
],
|
27 |
+
[
|
28 |
+
8,
|
29 |
+
7
|
30 |
+
],
|
31 |
+
[
|
32 |
+
9,
|
33 |
+
0
|
34 |
+
],
|
35 |
+
[
|
36 |
+
9,
|
37 |
+
4
|
38 |
+
],
|
39 |
+
[
|
40 |
+
9,
|
41 |
+
8
|
42 |
+
],
|
43 |
+
[
|
44 |
+
9,
|
45 |
+
10
|
46 |
+
],
|
47 |
+
[
|
48 |
+
10,
|
49 |
+
0
|
50 |
+
],
|
51 |
+
[
|
52 |
+
10,
|
53 |
+
1
|
54 |
+
],
|
55 |
+
[
|
56 |
+
10,
|
57 |
+
2
|
58 |
+
],
|
59 |
+
[
|
60 |
+
10,
|
61 |
+
3
|
62 |
+
],
|
63 |
+
[
|
64 |
+
10,
|
65 |
+
6
|
66 |
+
],
|
67 |
+
[
|
68 |
+
10,
|
69 |
+
11
|
70 |
+
],
|
71 |
+
[
|
72 |
+
11,
|
73 |
+
2
|
74 |
+
],
|
75 |
+
[
|
76 |
+
11,
|
77 |
+
4
|
78 |
+
]
|
79 |
+
],
|
80 |
"begin_suppress_tokens": [
|
81 |
220,
|
82 |
50256
|
|
|
187 |
50360,
|
188 |
50361
|
189 |
],
|
190 |
+
"transformers_version": "4.33.0.dev0"
|
191 |
}
|
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:ea5d821f98329d78cd0c8387476633bd195bb9df897b5248d8711b6cefa4ca1f
|
3 |
+
size 614892481
|
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:680e293ef4fb01f2e6a636ab574eb6ee1da697ce9f492066904917406a446c1e
|
3 |
+
size 615402140
|
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:7cff5df61a1809654a5e62d89cbb99e8231b229f41412ab626a1d8fff77397ab
|
3 |
+
size 156780181
|
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:60095134fb8e35617495b117d2c780f606d39f28e631c876f4c2bd898bcb3873
|
3 |
+
size 155990510
|
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:d4186916df15a6ae504cad0c7e3c854715661e5fb2dcb35cbf941f60a92c981c
|
3 |
+
size 558162062
|
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:95f5e8f13c480b2141a94c8e8a9e89831b7ad0cc4518feac27b19c0afc714bca
|
3 |
+
size 141678688
|
onnx/encoder_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:3032ccbfd40346a2552bfe08d66d6070d8f1cd37602053fccab8694adf57d329
|
3 |
+
size 352839389
|
onnx/encoder_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:dd37efa07dad7619592ef849a40317dcfd182a2e632275a53a023f02f685cfa7
|
3 |
+
size 92324819
|
quantize_config.json
ADDED
@@ -0,0 +1,115 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"per_channel": false,
|
3 |
+
"reduce_range": false,
|
4 |
+
"per_model_config": {
|
5 |
+
"decoder_model": {
|
6 |
+
"op_types": [
|
7 |
+
"Slice",
|
8 |
+
"Range",
|
9 |
+
"Constant",
|
10 |
+
"Pow",
|
11 |
+
"Gather",
|
12 |
+
"Concat",
|
13 |
+
"Div",
|
14 |
+
"Unsqueeze",
|
15 |
+
"Expand",
|
16 |
+
"Equal",
|
17 |
+
"Erf",
|
18 |
+
"ReduceMean",
|
19 |
+
"ConstantOfShape",
|
20 |
+
"Sqrt",
|
21 |
+
"Sub",
|
22 |
+
"Where",
|
23 |
+
"Transpose",
|
24 |
+
"Mul",
|
25 |
+
"MatMul",
|
26 |
+
"Cast",
|
27 |
+
"Squeeze",
|
28 |
+
"Reshape",
|
29 |
+
"Less",
|
30 |
+
"Add",
|
31 |
+
"Softmax",
|
32 |
+
"Shape"
|
33 |
+
],
|
34 |
+
"weight_type": "QInt8"
|
35 |
+
},
|
36 |
+
"decoder_model_merged": {
|
37 |
+
"op_types": [
|
38 |
+
"Slice",
|
39 |
+
"Range",
|
40 |
+
"Constant",
|
41 |
+
"Pow",
|
42 |
+
"Gather",
|
43 |
+
"Concat",
|
44 |
+
"Div",
|
45 |
+
"Unsqueeze",
|
46 |
+
"Expand",
|
47 |
+
"Equal",
|
48 |
+
"Erf",
|
49 |
+
"ReduceMean",
|
50 |
+
"ConstantOfShape",
|
51 |
+
"Sqrt",
|
52 |
+
"Sub",
|
53 |
+
"Where",
|
54 |
+
"Transpose",
|
55 |
+
"Mul",
|
56 |
+
"If",
|
57 |
+
"MatMul",
|
58 |
+
"Cast",
|
59 |
+
"Squeeze",
|
60 |
+
"Reshape",
|
61 |
+
"Less",
|
62 |
+
"Add",
|
63 |
+
"Softmax",
|
64 |
+
"Shape"
|
65 |
+
],
|
66 |
+
"weight_type": "QInt8"
|
67 |
+
},
|
68 |
+
"decoder_with_past_model": {
|
69 |
+
"op_types": [
|
70 |
+
"Sqrt",
|
71 |
+
"Slice",
|
72 |
+
"Softmax",
|
73 |
+
"Reshape",
|
74 |
+
"Constant",
|
75 |
+
"Sub",
|
76 |
+
"Div",
|
77 |
+
"Pow",
|
78 |
+
"Erf",
|
79 |
+
"Transpose",
|
80 |
+
"Gather",
|
81 |
+
"Mul",
|
82 |
+
"MatMul",
|
83 |
+
"Concat",
|
84 |
+
"Add",
|
85 |
+
"ReduceMean",
|
86 |
+
"Unsqueeze",
|
87 |
+
"Shape"
|
88 |
+
],
|
89 |
+
"weight_type": "QInt8"
|
90 |
+
},
|
91 |
+
"encoder_model": {
|
92 |
+
"op_types": [
|
93 |
+
"Sqrt",
|
94 |
+
"Softmax",
|
95 |
+
"Reshape",
|
96 |
+
"Constant",
|
97 |
+
"Sub",
|
98 |
+
"Erf",
|
99 |
+
"Pow",
|
100 |
+
"Transpose",
|
101 |
+
"Shape",
|
102 |
+
"Gather",
|
103 |
+
"Mul",
|
104 |
+
"MatMul",
|
105 |
+
"Conv",
|
106 |
+
"Concat",
|
107 |
+
"Add",
|
108 |
+
"Div",
|
109 |
+
"Unsqueeze",
|
110 |
+
"ReduceMean"
|
111 |
+
],
|
112 |
+
"weight_type": "QUInt8"
|
113 |
+
}
|
114 |
+
}
|
115 |
+
}
|