Upload folder using huggingface_hub
Browse files- config.json +2 -1
- generation_config.json +39 -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
@@ -46,6 +46,7 @@
|
|
46 |
"max_length": 448,
|
47 |
"max_source_positions": 1500,
|
48 |
"max_target_positions": 448,
|
|
|
49 |
"model_type": "whisper",
|
50 |
"num_hidden_layers": 32,
|
51 |
"num_mel_bins": 80,
|
@@ -141,7 +142,7 @@
|
|
141 |
50361,
|
142 |
50362
|
143 |
],
|
144 |
-
"transformers_version": "4.
|
145 |
"use_cache": true,
|
146 |
"use_weighted_layer_sum": false,
|
147 |
"vocab_size": 51865
|
|
|
46 |
"max_length": 448,
|
47 |
"max_source_positions": 1500,
|
48 |
"max_target_positions": 448,
|
49 |
+
"median_filter_width": 7,
|
50 |
"model_type": "whisper",
|
51 |
"num_hidden_layers": 32,
|
52 |
"num_mel_bins": 80,
|
|
|
142 |
50361,
|
143 |
50362
|
144 |
],
|
145 |
+
"transformers_version": "4.33.0.dev0",
|
146 |
"use_cache": true,
|
147 |
"use_weighted_layer_sum": false,
|
148 |
"vocab_size": 51865
|
generation_config.json
CHANGED
@@ -1,5 +1,42 @@
|
|
1 |
{
|
2 |
-
"alignment_heads": [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
"begin_suppress_tokens": [
|
4 |
220,
|
5 |
50257
|
@@ -218,5 +255,5 @@
|
|
218 |
"transcribe": 50359,
|
219 |
"translate": 50358
|
220 |
},
|
221 |
-
"transformers_version": "4.
|
222 |
}
|
|
|
1 |
{
|
2 |
+
"alignment_heads": [
|
3 |
+
[
|
4 |
+
9,
|
5 |
+
19
|
6 |
+
],
|
7 |
+
[
|
8 |
+
11,
|
9 |
+
2
|
10 |
+
],
|
11 |
+
[
|
12 |
+
11,
|
13 |
+
4
|
14 |
+
],
|
15 |
+
[
|
16 |
+
11,
|
17 |
+
17
|
18 |
+
],
|
19 |
+
[
|
20 |
+
22,
|
21 |
+
7
|
22 |
+
],
|
23 |
+
[
|
24 |
+
22,
|
25 |
+
11
|
26 |
+
],
|
27 |
+
[
|
28 |
+
22,
|
29 |
+
17
|
30 |
+
],
|
31 |
+
[
|
32 |
+
23,
|
33 |
+
2
|
34 |
+
],
|
35 |
+
[
|
36 |
+
23,
|
37 |
+
15
|
38 |
+
]
|
39 |
+
],
|
40 |
"begin_suppress_tokens": [
|
41 |
220,
|
42 |
50257
|
|
|
255 |
"transcribe": 50359,
|
256 |
"translate": 50358
|
257 |
},
|
258 |
+
"transformers_version": "4.33.0.dev0"
|
259 |
}
|
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:2427b10399f1bb74e46bee7da0d487273313be00eb2c7c49a3f9fe348869f3d0
|
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:bdca5a90a81f26911b12118c1a54018987ffcd618a299c1b18afc9493c7e84e1
|
3 |
+
size 3151819
|
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:2427b10399f1bb74e46bee7da0d487273313be00eb2c7c49a3f9fe348869f3d0
|
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:10df94b7fba310d85daadedd2289d46d20bfeec1d8a87754cd770964d2c5cc28
|
3 |
+
size 915058299
|
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:4200a2b5cc0ec0e89773b6d8e7a14bad5f91c38aaa03d0183232f79c6e35084e
|
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:6e87c09b9814b3f458ca99a95a49e7ac66224ee052a8c0f47de5755b9010dbd1
|
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:a9ca03d128d8b424f6bdd0aedf3496ec8b4b84c0de7dbf35ab78a6821229d72b
|
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:0f3d9e15a67628e7f17af33c64d0e38afbc407365105a12a8e44e8392665aa28
|
3 |
+
size 645076116
|
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 |
+
"Unsqueeze",
|
8 |
+
"Slice",
|
9 |
+
"MatMul",
|
10 |
+
"Div",
|
11 |
+
"Less",
|
12 |
+
"Sub",
|
13 |
+
"Range",
|
14 |
+
"Pow",
|
15 |
+
"Reshape",
|
16 |
+
"Expand",
|
17 |
+
"Gather",
|
18 |
+
"Cast",
|
19 |
+
"Squeeze",
|
20 |
+
"Concat",
|
21 |
+
"Mul",
|
22 |
+
"Softmax",
|
23 |
+
"Shape",
|
24 |
+
"Add",
|
25 |
+
"Equal",
|
26 |
+
"Sqrt",
|
27 |
+
"Constant",
|
28 |
+
"Erf",
|
29 |
+
"ReduceMean",
|
30 |
+
"Transpose",
|
31 |
+
"ConstantOfShape",
|
32 |
+
"Where"
|
33 |
+
],
|
34 |
+
"weight_type": "QInt8"
|
35 |
+
},
|
36 |
+
"decoder_model_merged": {
|
37 |
+
"op_types": [
|
38 |
+
"Unsqueeze",
|
39 |
+
"Slice",
|
40 |
+
"MatMul",
|
41 |
+
"Div",
|
42 |
+
"Less",
|
43 |
+
"Sub",
|
44 |
+
"Range",
|
45 |
+
"Pow",
|
46 |
+
"Reshape",
|
47 |
+
"Expand",
|
48 |
+
"Gather",
|
49 |
+
"Cast",
|
50 |
+
"Squeeze",
|
51 |
+
"Concat",
|
52 |
+
"Mul",
|
53 |
+
"Softmax",
|
54 |
+
"Shape",
|
55 |
+
"Add",
|
56 |
+
"Equal",
|
57 |
+
"If",
|
58 |
+
"Sqrt",
|
59 |
+
"Constant",
|
60 |
+
"Erf",
|
61 |
+
"ReduceMean",
|
62 |
+
"Transpose",
|
63 |
+
"ConstantOfShape",
|
64 |
+
"Where"
|
65 |
+
],
|
66 |
+
"weight_type": "QInt8"
|
67 |
+
},
|
68 |
+
"decoder_with_past_model": {
|
69 |
+
"op_types": [
|
70 |
+
"Unsqueeze",
|
71 |
+
"Mul",
|
72 |
+
"Slice",
|
73 |
+
"Softmax",
|
74 |
+
"Shape",
|
75 |
+
"Add",
|
76 |
+
"ReduceMean",
|
77 |
+
"Pow",
|
78 |
+
"Reshape",
|
79 |
+
"MatMul",
|
80 |
+
"Div",
|
81 |
+
"Gather",
|
82 |
+
"Transpose",
|
83 |
+
"Sqrt",
|
84 |
+
"Sub",
|
85 |
+
"Constant",
|
86 |
+
"Erf",
|
87 |
+
"Concat"
|
88 |
+
],
|
89 |
+
"weight_type": "QInt8"
|
90 |
+
},
|
91 |
+
"encoder_model": {
|
92 |
+
"op_types": [
|
93 |
+
"Unsqueeze",
|
94 |
+
"Mul",
|
95 |
+
"Softmax",
|
96 |
+
"ReduceMean",
|
97 |
+
"Add",
|
98 |
+
"Pow",
|
99 |
+
"Shape",
|
100 |
+
"MatMul",
|
101 |
+
"Reshape",
|
102 |
+
"Div",
|
103 |
+
"Transpose",
|
104 |
+
"Gather",
|
105 |
+
"Sqrt",
|
106 |
+
"Sub",
|
107 |
+
"Constant",
|
108 |
+
"Erf",
|
109 |
+
"Concat",
|
110 |
+
"Conv"
|
111 |
+
],
|
112 |
+
"weight_type": "QUInt8"
|
113 |
+
}
|
114 |
+
}
|
115 |
+
}
|