Upload folder using huggingface_hub
Browse files- config.json +2 -1
- generation_config.json +95 -2
- onnx/decoder_model.onnx +2 -2
- onnx/decoder_model.onnx_data +2 -2
- onnx/decoder_model_merged.onnx +2 -2
- onnx/decoder_model_merged.onnx_data +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.onnx_data +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
@@ -50,6 +50,7 @@
|
|
50 |
"max_length": 448,
|
51 |
"max_source_positions": 1500,
|
52 |
"max_target_positions": 448,
|
|
|
53 |
"model_type": "whisper",
|
54 |
"num_hidden_layers": 32,
|
55 |
"num_mel_bins": 80,
|
@@ -145,7 +146,7 @@
|
|
145 |
50361,
|
146 |
50362
|
147 |
],
|
148 |
-
"transformers_version": "4.
|
149 |
"use_cache": true,
|
150 |
"use_weighted_layer_sum": false,
|
151 |
"vocab_size": 51865
|
|
|
50 |
"max_length": 448,
|
51 |
"max_source_positions": 1500,
|
52 |
"max_target_positions": 448,
|
53 |
+
"median_filter_width": 7,
|
54 |
"model_type": "whisper",
|
55 |
"num_hidden_layers": 32,
|
56 |
"num_mel_bins": 80,
|
|
|
146 |
50361,
|
147 |
50362
|
148 |
],
|
149 |
+
"transformers_version": "4.33.0.dev0",
|
150 |
"use_cache": true,
|
151 |
"use_weighted_layer_sum": false,
|
152 |
"vocab_size": 51865
|
generation_config.json
CHANGED
@@ -1,5 +1,98 @@
|
|
1 |
{
|
2 |
-
"alignment_heads": [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
"begin_suppress_tokens": [
|
4 |
220,
|
5 |
50257
|
@@ -218,5 +311,5 @@
|
|
218 |
"transcribe": 50359,
|
219 |
"translate": 50358
|
220 |
},
|
221 |
-
"transformers_version": "4.
|
222 |
}
|
|
|
1 |
{
|
2 |
+
"alignment_heads": [
|
3 |
+
[
|
4 |
+
10,
|
5 |
+
12
|
6 |
+
],
|
7 |
+
[
|
8 |
+
13,
|
9 |
+
17
|
10 |
+
],
|
11 |
+
[
|
12 |
+
16,
|
13 |
+
11
|
14 |
+
],
|
15 |
+
[
|
16 |
+
16,
|
17 |
+
12
|
18 |
+
],
|
19 |
+
[
|
20 |
+
16,
|
21 |
+
13
|
22 |
+
],
|
23 |
+
[
|
24 |
+
17,
|
25 |
+
15
|
26 |
+
],
|
27 |
+
[
|
28 |
+
17,
|
29 |
+
16
|
30 |
+
],
|
31 |
+
[
|
32 |
+
18,
|
33 |
+
4
|
34 |
+
],
|
35 |
+
[
|
36 |
+
18,
|
37 |
+
11
|
38 |
+
],
|
39 |
+
[
|
40 |
+
18,
|
41 |
+
19
|
42 |
+
],
|
43 |
+
[
|
44 |
+
19,
|
45 |
+
11
|
46 |
+
],
|
47 |
+
[
|
48 |
+
21,
|
49 |
+
2
|
50 |
+
],
|
51 |
+
[
|
52 |
+
21,
|
53 |
+
3
|
54 |
+
],
|
55 |
+
[
|
56 |
+
22,
|
57 |
+
3
|
58 |
+
],
|
59 |
+
[
|
60 |
+
22,
|
61 |
+
9
|
62 |
+
],
|
63 |
+
[
|
64 |
+
22,
|
65 |
+
12
|
66 |
+
],
|
67 |
+
[
|
68 |
+
23,
|
69 |
+
5
|
70 |
+
],
|
71 |
+
[
|
72 |
+
23,
|
73 |
+
7
|
74 |
+
],
|
75 |
+
[
|
76 |
+
23,
|
77 |
+
13
|
78 |
+
],
|
79 |
+
[
|
80 |
+
25,
|
81 |
+
5
|
82 |
+
],
|
83 |
+
[
|
84 |
+
26,
|
85 |
+
1
|
86 |
+
],
|
87 |
+
[
|
88 |
+
26,
|
89 |
+
12
|
90 |
+
],
|
91 |
+
[
|
92 |
+
27,
|
93 |
+
15
|
94 |
+
]
|
95 |
+
],
|
96 |
"begin_suppress_tokens": [
|
97 |
220,
|
98 |
50257
|
|
|
311 |
"transcribe": 50359,
|
312 |
"translate": 50358
|
313 |
},
|
314 |
+
"transformers_version": "4.33.0.dev0"
|
315 |
}
|
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:24a162d9454daa1ef7eadfbc5c498aa8da370fa5d6f14b9091acb758f8d4eaa3
|
3 |
+
size 1687965
|
onnx/decoder_model.onnx_data
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:96f75bb114c97f4f08ac9a1a0b64674966aa04349a6dfcf3c5dda3b71e8f6db2
|
3 |
+
size 3626081280
|
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:6dadfd4ffe47b792073118d88b8b7a3af39a437d954e5914b298430272d6442b
|
3 |
+
size 3151837
|
onnx/decoder_model_merged.onnx_data
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:96f75bb114c97f4f08ac9a1a0b64674966aa04349a6dfcf3c5dda3b71e8f6db2
|
3 |
+
size 3626081280
|
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:59fdebf106a3875e3c7e233c958c356ce106a6fd95bc41bb8fd12e3168814b1a
|
3 |
+
size 915058353
|
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:c3731b24953a59d166d38f4461b89d6158016afca9c10f15f88cf4d38905fb55
|
3 |
+
size 912852053
|
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:2fae8c640318528967efdb8711676c66fa3b3d3e847d8fc983cbd249a1182f53
|
3 |
+
size 1493595
|
onnx/decoder_with_past_model.onnx_data
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:d066c0dca9cf33e13d403ccf48fb3308748b5d41c53736c6ce1fe8fc1f2af9d8
|
3 |
+
size 3206487040
|
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:8a20491506a3dee70af49a34066bab3e0c480780aedde4f17adc1752408e9372
|
3 |
+
size 807509283
|
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:c4776407df4e9cfc9450c505613c4f04119d9fd09b847be1a8130a46dce506d8
|
3 |
+
size 676665
|
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:2f919ac9f17ea8e1a53457ee5ae9cd29efd76d12793bff9d258e88ed615032ad
|
3 |
+
size 645076106
|
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 |
+
"Squeeze",
|
8 |
+
"Range",
|
9 |
+
"Softmax",
|
10 |
+
"Equal",
|
11 |
+
"Gather",
|
12 |
+
"Shape",
|
13 |
+
"Unsqueeze",
|
14 |
+
"Sub",
|
15 |
+
"Expand",
|
16 |
+
"Reshape",
|
17 |
+
"ReduceMean",
|
18 |
+
"Cast",
|
19 |
+
"Mul",
|
20 |
+
"Slice",
|
21 |
+
"Concat",
|
22 |
+
"Pow",
|
23 |
+
"Sqrt",
|
24 |
+
"Erf",
|
25 |
+
"Where",
|
26 |
+
"Div",
|
27 |
+
"Transpose",
|
28 |
+
"Constant",
|
29 |
+
"MatMul",
|
30 |
+
"ConstantOfShape",
|
31 |
+
"Add",
|
32 |
+
"Less"
|
33 |
+
],
|
34 |
+
"weight_type": "QInt8"
|
35 |
+
},
|
36 |
+
"decoder_model_merged": {
|
37 |
+
"op_types": [
|
38 |
+
"Squeeze",
|
39 |
+
"Range",
|
40 |
+
"Softmax",
|
41 |
+
"Equal",
|
42 |
+
"Shape",
|
43 |
+
"Gather",
|
44 |
+
"Unsqueeze",
|
45 |
+
"Sub",
|
46 |
+
"Expand",
|
47 |
+
"If",
|
48 |
+
"Reshape",
|
49 |
+
"ReduceMean",
|
50 |
+
"Cast",
|
51 |
+
"Mul",
|
52 |
+
"Slice",
|
53 |
+
"Concat",
|
54 |
+
"Pow",
|
55 |
+
"Sqrt",
|
56 |
+
"Erf",
|
57 |
+
"Where",
|
58 |
+
"Div",
|
59 |
+
"Transpose",
|
60 |
+
"Constant",
|
61 |
+
"MatMul",
|
62 |
+
"ConstantOfShape",
|
63 |
+
"Add",
|
64 |
+
"Less"
|
65 |
+
],
|
66 |
+
"weight_type": "QInt8"
|
67 |
+
},
|
68 |
+
"decoder_with_past_model": {
|
69 |
+
"op_types": [
|
70 |
+
"Pow",
|
71 |
+
"Unsqueeze",
|
72 |
+
"MatMul",
|
73 |
+
"Erf",
|
74 |
+
"Slice",
|
75 |
+
"Sub",
|
76 |
+
"Softmax",
|
77 |
+
"Mul",
|
78 |
+
"Reshape",
|
79 |
+
"Gather",
|
80 |
+
"Shape",
|
81 |
+
"Div",
|
82 |
+
"Add",
|
83 |
+
"ReduceMean",
|
84 |
+
"Transpose",
|
85 |
+
"Constant",
|
86 |
+
"Sqrt",
|
87 |
+
"Concat"
|
88 |
+
],
|
89 |
+
"weight_type": "QInt8"
|
90 |
+
},
|
91 |
+
"encoder_model": {
|
92 |
+
"op_types": [
|
93 |
+
"Pow",
|
94 |
+
"MatMul",
|
95 |
+
"Unsqueeze",
|
96 |
+
"Erf",
|
97 |
+
"Sub",
|
98 |
+
"Softmax",
|
99 |
+
"Reshape",
|
100 |
+
"Shape",
|
101 |
+
"Conv",
|
102 |
+
"Sqrt",
|
103 |
+
"Gather",
|
104 |
+
"Div",
|
105 |
+
"Add",
|
106 |
+
"ReduceMean",
|
107 |
+
"Transpose",
|
108 |
+
"Constant",
|
109 |
+
"Mul",
|
110 |
+
"Concat"
|
111 |
+
],
|
112 |
+
"weight_type": "QUInt8"
|
113 |
+
}
|
114 |
+
}
|
115 |
+
}
|