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