Upload folder using huggingface_hub
Browse files- config.json +2 -3
- generation_config.json +1 -1
- onnx/decoder_model.onnx +3 -0
- onnx/decoder_model_merged.onnx +3 -0
- onnx/decoder_model_merged_quantized.onnx +3 -0
- onnx/decoder_model_quantized.onnx +3 -0
- onnx/decoder_with_past_model.onnx +3 -0
- onnx/decoder_with_past_model_quantized.onnx +3 -0
- onnx/encoder_model.onnx +3 -0
- onnx/encoder_model_quantized.onnx +3 -0
- quantize_config.json +115 -0
- tokenizer.json +0 -0
- tokenizer_config.json +33 -4
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"activation_dropout": 0.0,
|
4 |
"activation_function": "gelu",
|
5 |
"apply_spec_augment": false,
|
@@ -53,8 +53,7 @@
|
|
53 |
"num_mel_bins": 80,
|
54 |
"pad_token_id": 50257,
|
55 |
"scale_embedding": false,
|
56 |
-
"
|
57 |
-
"transformers_version": "4.45.1",
|
58 |
"use_cache": true,
|
59 |
"use_weighted_layer_sum": false,
|
60 |
"vocab_size": 51865
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "ihanif/whisper-test",
|
3 |
"activation_dropout": 0.0,
|
4 |
"activation_function": "gelu",
|
5 |
"apply_spec_augment": false,
|
|
|
53 |
"num_mel_bins": 80,
|
54 |
"pad_token_id": 50257,
|
55 |
"scale_embedding": false,
|
56 |
+
"transformers_version": "4.33.2",
|
|
|
57 |
"use_cache": true,
|
58 |
"use_weighted_layer_sum": false,
|
59 |
"vocab_size": 51865
|
generation_config.json
CHANGED
@@ -250,5 +250,5 @@
|
|
250 |
"transcribe": 50359,
|
251 |
"translate": 50358
|
252 |
},
|
253 |
-
"transformers_version": "4.
|
254 |
}
|
|
|
250 |
"transcribe": 50359,
|
251 |
"translate": 50358
|
252 |
},
|
253 |
+
"transformers_version": "4.33.2"
|
254 |
}
|
onnx/decoder_model.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e9dea2ab4df6f44eaf13d1290361380f9f49266e7ea9433e7875c4b368fb4111
|
3 |
+
size 614830372
|
onnx/decoder_model_merged.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:217f8b7a5d931f9b09572f876a5e08d05bfb6be5952f740f1c387fb0c12f08c7
|
3 |
+
size 615265438
|
onnx/decoder_model_merged_quantized.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:248d45be5696943e3008fef1931d9e4f764483bf5b09f3056155fcf980eb560e
|
3 |
+
size 156599474
|
onnx/decoder_model_quantized.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:51c0b607829e4e829908ffa2422334b3511550b78f12600e0ac1affc828ebe03
|
3 |
+
size 155906420
|
onnx/decoder_with_past_model.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:78d1b835dcc5b15bc86f46581cb51aa2158639b84f94de52f5f16b0d2a8c628f
|
3 |
+
size 558093683
|
onnx/decoder_with_past_model_quantized.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5f0008775a9863bc6ca2e705473c6bb1fc69c8b9f0e677585f7a4ad8a1729989
|
3 |
+
size 141586018
|
onnx/encoder_model.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cdf6b994039cb8c3438013ee45dcdc5a8e1c4e3c1b7937e17cb30e442eb59f8d
|
3 |
+
size 352812844
|
onnx/encoder_model_quantized.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bb9050e7bd292739561587e286b861ec49ee29b18c59a4d60e255d1089da1dcb
|
3 |
+
size 92289694
|
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 |
+
"Reshape",
|
9 |
+
"Transpose",
|
10 |
+
"Unsqueeze",
|
11 |
+
"Softmax",
|
12 |
+
"Less",
|
13 |
+
"Expand",
|
14 |
+
"Equal",
|
15 |
+
"Shape",
|
16 |
+
"Sub",
|
17 |
+
"Pow",
|
18 |
+
"Constant",
|
19 |
+
"Sqrt",
|
20 |
+
"ConstantOfShape",
|
21 |
+
"Slice",
|
22 |
+
"Mul",
|
23 |
+
"ReduceMean",
|
24 |
+
"Div",
|
25 |
+
"Concat",
|
26 |
+
"Where",
|
27 |
+
"Cast",
|
28 |
+
"Erf",
|
29 |
+
"Gather",
|
30 |
+
"Add",
|
31 |
+
"MatMul",
|
32 |
+
"Range"
|
33 |
+
],
|
34 |
+
"weight_type": "QInt8"
|
35 |
+
},
|
36 |
+
"decoder_model_merged": {
|
37 |
+
"op_types": [
|
38 |
+
"Squeeze",
|
39 |
+
"Reshape",
|
40 |
+
"Transpose",
|
41 |
+
"If",
|
42 |
+
"Unsqueeze",
|
43 |
+
"Softmax",
|
44 |
+
"Less",
|
45 |
+
"Expand",
|
46 |
+
"Equal",
|
47 |
+
"Shape",
|
48 |
+
"Sub",
|
49 |
+
"Pow",
|
50 |
+
"Constant",
|
51 |
+
"Sqrt",
|
52 |
+
"ConstantOfShape",
|
53 |
+
"Slice",
|
54 |
+
"Mul",
|
55 |
+
"ReduceMean",
|
56 |
+
"Div",
|
57 |
+
"Concat",
|
58 |
+
"Where",
|
59 |
+
"Cast",
|
60 |
+
"Erf",
|
61 |
+
"Gather",
|
62 |
+
"Add",
|
63 |
+
"MatMul",
|
64 |
+
"Range"
|
65 |
+
],
|
66 |
+
"weight_type": "QInt8"
|
67 |
+
},
|
68 |
+
"decoder_with_past_model": {
|
69 |
+
"op_types": [
|
70 |
+
"Unsqueeze",
|
71 |
+
"Softmax",
|
72 |
+
"Slice",
|
73 |
+
"Reshape",
|
74 |
+
"Mul",
|
75 |
+
"Transpose",
|
76 |
+
"ReduceMean",
|
77 |
+
"Div",
|
78 |
+
"Erf",
|
79 |
+
"Gather",
|
80 |
+
"Add",
|
81 |
+
"Shape",
|
82 |
+
"Sub",
|
83 |
+
"Concat",
|
84 |
+
"Pow",
|
85 |
+
"Constant",
|
86 |
+
"Sqrt",
|
87 |
+
"MatMul"
|
88 |
+
],
|
89 |
+
"weight_type": "QInt8"
|
90 |
+
},
|
91 |
+
"encoder_model": {
|
92 |
+
"op_types": [
|
93 |
+
"Unsqueeze",
|
94 |
+
"Concat",
|
95 |
+
"Softmax",
|
96 |
+
"Reshape",
|
97 |
+
"Mul",
|
98 |
+
"Transpose",
|
99 |
+
"Conv",
|
100 |
+
"ReduceMean",
|
101 |
+
"Div",
|
102 |
+
"Erf",
|
103 |
+
"Gather",
|
104 |
+
"Add",
|
105 |
+
"Sub",
|
106 |
+
"Shape",
|
107 |
+
"MatMul",
|
108 |
+
"Pow",
|
109 |
+
"Constant",
|
110 |
+
"Sqrt"
|
111 |
+
],
|
112 |
+
"weight_type": "QUInt8"
|
113 |
+
}
|
114 |
+
}
|
115 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
CHANGED
@@ -12976,14 +12976,43 @@
|
|
12976 |
"<|nocaptions|>",
|
12977 |
"<|notimestamps|>"
|
12978 |
],
|
12979 |
-
"bos_token":
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12980 |
"clean_up_tokenization_spaces": true,
|
12981 |
-
"eos_token":
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12982 |
"errors": "replace",
|
12983 |
"model_max_length": 1024,
|
12984 |
-
"pad_token":
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12985 |
"processor_class": "WhisperProcessor",
|
12986 |
"return_attention_mask": false,
|
12987 |
"tokenizer_class": "WhisperTokenizer",
|
12988 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12989 |
}
|
|
|
12976 |
"<|nocaptions|>",
|
12977 |
"<|notimestamps|>"
|
12978 |
],
|
12979 |
+
"bos_token": {
|
12980 |
+
"__type": "AddedToken",
|
12981 |
+
"content": "<|endoftext|>",
|
12982 |
+
"lstrip": false,
|
12983 |
+
"normalized": true,
|
12984 |
+
"rstrip": false,
|
12985 |
+
"single_word": false
|
12986 |
+
},
|
12987 |
"clean_up_tokenization_spaces": true,
|
12988 |
+
"eos_token": {
|
12989 |
+
"__type": "AddedToken",
|
12990 |
+
"content": "<|endoftext|>",
|
12991 |
+
"lstrip": false,
|
12992 |
+
"normalized": true,
|
12993 |
+
"rstrip": false,
|
12994 |
+
"single_word": false
|
12995 |
+
},
|
12996 |
"errors": "replace",
|
12997 |
"model_max_length": 1024,
|
12998 |
+
"pad_token": {
|
12999 |
+
"__type": "AddedToken",
|
13000 |
+
"content": "<|endoftext|>",
|
13001 |
+
"lstrip": false,
|
13002 |
+
"normalized": true,
|
13003 |
+
"rstrip": false,
|
13004 |
+
"single_word": false
|
13005 |
+
},
|
13006 |
"processor_class": "WhisperProcessor",
|
13007 |
"return_attention_mask": false,
|
13008 |
"tokenizer_class": "WhisperTokenizer",
|
13009 |
+
"trust_remote_code": false,
|
13010 |
+
"unk_token": {
|
13011 |
+
"__type": "AddedToken",
|
13012 |
+
"content": "<|endoftext|>",
|
13013 |
+
"lstrip": false,
|
13014 |
+
"normalized": true,
|
13015 |
+
"rstrip": false,
|
13016 |
+
"single_word": false
|
13017 |
+
}
|
13018 |
}
|