Upload folder using huggingface_hub
Browse files- config.json +2 -1
- generation_config.json +23 -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": 6,
|
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": 6,
|
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,26 @@
|
|
1 |
{
|
2 |
-
"alignment_heads": [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
"begin_suppress_tokens": [
|
4 |
220,
|
5 |
50256
|
@@ -111,5 +132,5 @@
|
|
111 |
50360,
|
112 |
50361
|
113 |
],
|
114 |
-
"transformers_version": "4.
|
115 |
}
|
|
|
1 |
{
|
2 |
+
"alignment_heads": [
|
3 |
+
[
|
4 |
+
3,
|
5 |
+
3
|
6 |
+
],
|
7 |
+
[
|
8 |
+
4,
|
9 |
+
7
|
10 |
+
],
|
11 |
+
[
|
12 |
+
5,
|
13 |
+
1
|
14 |
+
],
|
15 |
+
[
|
16 |
+
5,
|
17 |
+
5
|
18 |
+
],
|
19 |
+
[
|
20 |
+
5,
|
21 |
+
7
|
22 |
+
]
|
23 |
+
],
|
24 |
"begin_suppress_tokens": [
|
25 |
220,
|
26 |
50256
|
|
|
132 |
50360,
|
133 |
50361
|
134 |
],
|
135 |
+
"transformers_version": "4.33.0.dev0"
|
136 |
}
|
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:803d14c05a61b48b3993d2be821e39eb6e4de2205348ec31408776f7cf1cfef9
|
3 |
+
size 208302147
|
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:e2b3d8e71a16e9462c2849ffb79b2966da800997aab299bfb9a754ba3caa54c1
|
3 |
+
size 208558935
|
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:a25afc5858a20aabb7652cb2d555996ebe10691a69bbdb423d5073d52f060325
|
3 |
+
size 53707027
|
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:295b8ae738ab8b39612e7ee1ee8cef31e865733f3ecf33d5d319a11df66bf8d0
|
3 |
+
size 53309365
|
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:9623536c11cf88eff7a7ba8cc96e0a7ed709c8287e5af5d9c98bbdf3c92d76d6
|
3 |
+
size 195668862
|
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:9d57a5d2b6c2e247c2e26818a937fdd9338ac90a961bcc6908eff422b45cf6ef
|
3 |
+
size 50087725
|
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:3af4d8b7515f01f1c313afe0d691768ff084169b8e1ec1cb4d975ce2ac465f6e
|
3 |
+
size 82474863
|
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:d0d4e59e2842617b39787cece73d7e8f76f99b1697d3386c0e682eca2269f4a1
|
3 |
+
size 23200856
|
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 |
+
"Softmax",
|
8 |
+
"Div",
|
9 |
+
"ConstantOfShape",
|
10 |
+
"Reshape",
|
11 |
+
"Squeeze",
|
12 |
+
"Unsqueeze",
|
13 |
+
"Add",
|
14 |
+
"Mul",
|
15 |
+
"Sub",
|
16 |
+
"Pow",
|
17 |
+
"Erf",
|
18 |
+
"Cast",
|
19 |
+
"Less",
|
20 |
+
"Where",
|
21 |
+
"MatMul",
|
22 |
+
"Gather",
|
23 |
+
"Equal",
|
24 |
+
"Concat",
|
25 |
+
"Sqrt",
|
26 |
+
"Expand",
|
27 |
+
"Range",
|
28 |
+
"ReduceMean",
|
29 |
+
"Shape",
|
30 |
+
"Constant",
|
31 |
+
"Transpose",
|
32 |
+
"Slice"
|
33 |
+
],
|
34 |
+
"weight_type": "QInt8"
|
35 |
+
},
|
36 |
+
"decoder_model_merged": {
|
37 |
+
"op_types": [
|
38 |
+
"Softmax",
|
39 |
+
"Div",
|
40 |
+
"ConstantOfShape",
|
41 |
+
"Reshape",
|
42 |
+
"Squeeze",
|
43 |
+
"Unsqueeze",
|
44 |
+
"Add",
|
45 |
+
"Mul",
|
46 |
+
"Sub",
|
47 |
+
"Pow",
|
48 |
+
"Erf",
|
49 |
+
"Cast",
|
50 |
+
"Less",
|
51 |
+
"Where",
|
52 |
+
"MatMul",
|
53 |
+
"Gather",
|
54 |
+
"Equal",
|
55 |
+
"Concat",
|
56 |
+
"Sqrt",
|
57 |
+
"Expand",
|
58 |
+
"Range",
|
59 |
+
"ReduceMean",
|
60 |
+
"If",
|
61 |
+
"Shape",
|
62 |
+
"Constant",
|
63 |
+
"Transpose",
|
64 |
+
"Slice"
|
65 |
+
],
|
66 |
+
"weight_type": "QInt8"
|
67 |
+
},
|
68 |
+
"decoder_with_past_model": {
|
69 |
+
"op_types": [
|
70 |
+
"Mul",
|
71 |
+
"Softmax",
|
72 |
+
"ReduceMean",
|
73 |
+
"Sub",
|
74 |
+
"Sqrt",
|
75 |
+
"MatMul",
|
76 |
+
"Shape",
|
77 |
+
"Gather",
|
78 |
+
"Pow",
|
79 |
+
"Div",
|
80 |
+
"Erf",
|
81 |
+
"Constant",
|
82 |
+
"Reshape",
|
83 |
+
"Concat",
|
84 |
+
"Unsqueeze",
|
85 |
+
"Transpose",
|
86 |
+
"Slice",
|
87 |
+
"Add"
|
88 |
+
],
|
89 |
+
"weight_type": "QInt8"
|
90 |
+
},
|
91 |
+
"encoder_model": {
|
92 |
+
"op_types": [
|
93 |
+
"Mul",
|
94 |
+
"Softmax",
|
95 |
+
"ReduceMean",
|
96 |
+
"Sub",
|
97 |
+
"MatMul",
|
98 |
+
"Unsqueeze",
|
99 |
+
"Div",
|
100 |
+
"Pow",
|
101 |
+
"Shape",
|
102 |
+
"Conv",
|
103 |
+
"Erf",
|
104 |
+
"Constant",
|
105 |
+
"Gather",
|
106 |
+
"Concat",
|
107 |
+
"Reshape",
|
108 |
+
"Sqrt",
|
109 |
+
"Transpose",
|
110 |
+
"Add"
|
111 |
+
],
|
112 |
+
"weight_type": "QUInt8"
|
113 |
+
}
|
114 |
+
}
|
115 |
+
}
|