Upload folder using huggingface_hub
Browse files- config.json +3 -12
- generation_config.json +2 -44
- onnx/decoder_model_merged_int8.onnx +2 -2
- onnx/decoder_model_merged_q4.onnx +2 -2
- onnx/encoder_model_int8.onnx +2 -2
- onnx/encoder_model_q4.onnx +2 -2
- preprocessor_config.json +0 -0
- tokenizer.json +0 -0
- tokenizer_config.json +2 -2
- vocab.json +1 -1
config.json
CHANGED
|
@@ -1,8 +1,7 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "whisper-small",
|
| 3 |
"activation_dropout": 0.0,
|
| 4 |
"activation_function": "gelu",
|
| 5 |
-
"apply_spec_augment": false,
|
| 6 |
"architectures": [
|
| 7 |
"WhisperForConditionalGeneration"
|
| 8 |
],
|
|
@@ -12,7 +11,6 @@
|
|
| 12 |
50257
|
| 13 |
],
|
| 14 |
"bos_token_id": 50257,
|
| 15 |
-
"classifier_proj_size": 256,
|
| 16 |
"d_model": 768,
|
| 17 |
"decoder_attention_heads": 12,
|
| 18 |
"decoder_ffn_dim": 3072,
|
|
@@ -41,16 +39,9 @@
|
|
| 41 |
],
|
| 42 |
"init_std": 0.02,
|
| 43 |
"is_encoder_decoder": true,
|
| 44 |
-
"mask_feature_length": 10,
|
| 45 |
-
"mask_feature_min_masks": 0,
|
| 46 |
-
"mask_feature_prob": 0.0,
|
| 47 |
-
"mask_time_length": 10,
|
| 48 |
-
"mask_time_min_masks": 2,
|
| 49 |
-
"mask_time_prob": 0.05,
|
| 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,8 +135,8 @@
|
|
| 144 |
50361,
|
| 145 |
50362
|
| 146 |
],
|
| 147 |
-
"
|
|
|
|
| 148 |
"use_cache": true,
|
| 149 |
-
"use_weighted_layer_sum": false,
|
| 150 |
"vocab_size": 51865
|
| 151 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "openai/whisper-small",
|
| 3 |
"activation_dropout": 0.0,
|
| 4 |
"activation_function": "gelu",
|
|
|
|
| 5 |
"architectures": [
|
| 6 |
"WhisperForConditionalGeneration"
|
| 7 |
],
|
|
|
|
| 11 |
50257
|
| 12 |
],
|
| 13 |
"bos_token_id": 50257,
|
|
|
|
| 14 |
"d_model": 768,
|
| 15 |
"decoder_attention_heads": 12,
|
| 16 |
"decoder_ffn_dim": 3072,
|
|
|
|
| 39 |
],
|
| 40 |
"init_std": 0.02,
|
| 41 |
"is_encoder_decoder": true,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
"max_length": 448,
|
| 43 |
"max_source_positions": 1500,
|
| 44 |
"max_target_positions": 448,
|
|
|
|
| 45 |
"model_type": "whisper",
|
| 46 |
"num_hidden_layers": 12,
|
| 47 |
"num_mel_bins": 80,
|
|
|
|
| 135 |
50361,
|
| 136 |
50362
|
| 137 |
],
|
| 138 |
+
"torch_dtype": "float32",
|
| 139 |
+
"transformers_version": "4.27.0.dev0",
|
| 140 |
"use_cache": true,
|
|
|
|
| 141 |
"vocab_size": 51865
|
| 142 |
}
|
generation_config.json
CHANGED
|
@@ -1,46 +1,4 @@
|
|
| 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,5 +217,5 @@
|
|
| 259 |
"transcribe": 50359,
|
| 260 |
"translate": 50358
|
| 261 |
},
|
| 262 |
-
"transformers_version": "4.
|
| 263 |
-
}
|
|
|
|
| 1 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
"begin_suppress_tokens": [
|
| 3 |
220,
|
| 4 |
50257
|
|
|
|
| 217 |
"transcribe": 50359,
|
| 218 |
"translate": 50358
|
| 219 |
},
|
| 220 |
+
"transformers_version": "4.27.0.dev0"
|
| 221 |
+
}
|
onnx/decoder_model_merged_int8.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:2d1a6607f5e6b01691c8348ece3ea0023ff1c54cc3ed15689272f39e05abfa92
|
| 3 |
+
size 315936901
|
onnx/decoder_model_merged_q4.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:d57631dc210a5797a6202d3b61f2d83aa0e37e2fd4db35004700736b33e68ede
|
| 3 |
+
size 257655207
|
onnx/encoder_model_int8.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:19055f8eb8b6a91c0228c6f38efb88505ecb674a2bd0df5b272115e3de83638b
|
| 3 |
+
size 98406112
|
onnx/encoder_model_q4.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:5556b8bbd304f1fd06b7fd0046f3795b151e3324c7804bea35d3078dac29593a
|
| 3 |
+
size 66103113
|
preprocessor_config.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
CHANGED
|
@@ -9,7 +9,6 @@
|
|
| 9 |
"rstrip": false,
|
| 10 |
"single_word": false
|
| 11 |
},
|
| 12 |
-
"clean_up_tokenization_spaces": true,
|
| 13 |
"eos_token": {
|
| 14 |
"__type": "AddedToken",
|
| 15 |
"content": "<|endoftext|>",
|
|
@@ -20,11 +19,12 @@
|
|
| 20 |
},
|
| 21 |
"errors": "replace",
|
| 22 |
"model_max_length": 1024,
|
|
|
|
| 23 |
"pad_token": null,
|
| 24 |
"processor_class": "WhisperProcessor",
|
| 25 |
"return_attention_mask": false,
|
|
|
|
| 26 |
"tokenizer_class": "WhisperTokenizer",
|
| 27 |
-
"trust_remote_code": false,
|
| 28 |
"unk_token": {
|
| 29 |
"__type": "AddedToken",
|
| 30 |
"content": "<|endoftext|>",
|
|
|
|
| 9 |
"rstrip": false,
|
| 10 |
"single_word": false
|
| 11 |
},
|
|
|
|
| 12 |
"eos_token": {
|
| 13 |
"__type": "AddedToken",
|
| 14 |
"content": "<|endoftext|>",
|
|
|
|
| 19 |
},
|
| 20 |
"errors": "replace",
|
| 21 |
"model_max_length": 1024,
|
| 22 |
+
"name_or_path": "openai/whisper-small",
|
| 23 |
"pad_token": null,
|
| 24 |
"processor_class": "WhisperProcessor",
|
| 25 |
"return_attention_mask": false,
|
| 26 |
+
"special_tokens_map_file": null,
|
| 27 |
"tokenizer_class": "WhisperTokenizer",
|
|
|
|
| 28 |
"unk_token": {
|
| 29 |
"__type": "AddedToken",
|
| 30 |
"content": "<|endoftext|>",
|
vocab.json
CHANGED
|
@@ -1,5 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"": 50256,
|
|
|
|
| 3 |
"!": 0,
|
| 4 |
"!!": 1432,
|
| 5 |
"!!!": 4589,
|
|
@@ -314,7 +315,6 @@
|
|
| 314 |
";;": 35746,
|
| 315 |
"<": 27,
|
| 316 |
"</": 3433,
|
| 317 |
-
"<|endoftext|>": 50257,
|
| 318 |
"=": 28,
|
| 319 |
"=\"": 13114,
|
| 320 |
"=\"#": 34106,
|
|
|
|
| 1 |
{
|
| 2 |
"": 50256,
|
| 3 |
+
"<|endoftext|>": 50257,
|
| 4 |
"!": 0,
|
| 5 |
"!!": 1432,
|
| 6 |
"!!!": 4589,
|
|
|
|
| 315 |
";;": 35746,
|
| 316 |
"<": 27,
|
| 317 |
"</": 3433,
|
|
|
|
| 318 |
"=": 28,
|
| 319 |
"=\"": 13114,
|
| 320 |
"=\"#": 34106,
|