Upload folder using huggingface_hub
Browse files
whisper-med-both-quantized/config.json
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "onnx_model_both",
|
| 3 |
+
"activation_dropout": 0.0,
|
| 4 |
+
"activation_function": "gelu",
|
| 5 |
+
"apply_spec_augment": false,
|
| 6 |
+
"architectures": [
|
| 7 |
+
"WhisperForConditionalGeneration"
|
| 8 |
+
],
|
| 9 |
+
"attention_dropout": 0.0,
|
| 10 |
+
"begin_suppress_tokens": null,
|
| 11 |
+
"bos_token_id": 50257,
|
| 12 |
+
"classifier_proj_size": 256,
|
| 13 |
+
"d_model": 1024,
|
| 14 |
+
"decoder_attention_heads": 16,
|
| 15 |
+
"decoder_ffn_dim": 4096,
|
| 16 |
+
"decoder_layerdrop": 0.0,
|
| 17 |
+
"decoder_layers": 24,
|
| 18 |
+
"decoder_start_token_id": 50258,
|
| 19 |
+
"dropout": 0.0,
|
| 20 |
+
"encoder_attention_heads": 16,
|
| 21 |
+
"encoder_ffn_dim": 4096,
|
| 22 |
+
"encoder_layerdrop": 0.0,
|
| 23 |
+
"encoder_layers": 24,
|
| 24 |
+
"eos_token_id": 50257,
|
| 25 |
+
"forced_decoder_ids": [
|
| 26 |
+
[
|
| 27 |
+
1,
|
| 28 |
+
50259
|
| 29 |
+
],
|
| 30 |
+
[
|
| 31 |
+
2,
|
| 32 |
+
50359
|
| 33 |
+
],
|
| 34 |
+
[
|
| 35 |
+
3,
|
| 36 |
+
50363
|
| 37 |
+
]
|
| 38 |
+
],
|
| 39 |
+
"init_std": 0.02,
|
| 40 |
+
"is_encoder_decoder": true,
|
| 41 |
+
"mask_feature_length": 10,
|
| 42 |
+
"mask_feature_min_masks": 0,
|
| 43 |
+
"mask_feature_prob": 0.0,
|
| 44 |
+
"mask_time_length": 10,
|
| 45 |
+
"mask_time_min_masks": 2,
|
| 46 |
+
"mask_time_prob": 0.05,
|
| 47 |
+
"max_length": null,
|
| 48 |
+
"max_source_positions": 1500,
|
| 49 |
+
"max_target_positions": 448,
|
| 50 |
+
"median_filter_width": 7,
|
| 51 |
+
"model_type": "whisper",
|
| 52 |
+
"num_hidden_layers": 24,
|
| 53 |
+
"num_mel_bins": 80,
|
| 54 |
+
"pad_token_id": 50257,
|
| 55 |
+
"scale_embedding": false,
|
| 56 |
+
"torch_dtype": "float32",
|
| 57 |
+
"transformers_version": "4.46.3",
|
| 58 |
+
"use_cache": true,
|
| 59 |
+
"use_weighted_layer_sum": false,
|
| 60 |
+
"vocab_size": 51865
|
| 61 |
+
}
|
whisper-med-both-quantized/decoder_model_quantized.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:91875f2a7d200b03c0eb6e2b17478b3c16995d98673ae335fc1a12a304daa4cf
|
| 3 |
+
size 512558775
|
whisper-med-both-quantized/decoder_with_past_model_quantized.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b280532099ea040a0094057b193fe96c9e4b404415c91e98aac56c2285828f84
|
| 3 |
+
size 461980235
|
whisper-med-both-quantized/encoder_model_quantized.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1845615d86c1e2fd885ac8442807e329a55dbcc274b1a9f3a2f00ad39a8b6beb
|
| 3 |
+
size 323567438
|
whisper-med-both-quantized/ort_config.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"one_external_file": true,
|
| 3 |
+
"opset": null,
|
| 4 |
+
"optimization": {},
|
| 5 |
+
"quantization": {
|
| 6 |
+
"activations_dtype": "QUInt8",
|
| 7 |
+
"activations_symmetric": false,
|
| 8 |
+
"format": "QOperator",
|
| 9 |
+
"is_static": false,
|
| 10 |
+
"mode": "IntegerOps",
|
| 11 |
+
"nodes_to_exclude": [
|
| 12 |
+
"/conv1/Conv",
|
| 13 |
+
"/conv2/Conv"
|
| 14 |
+
],
|
| 15 |
+
"nodes_to_quantize": [],
|
| 16 |
+
"operators_to_quantize": [
|
| 17 |
+
"Conv",
|
| 18 |
+
"MatMul",
|
| 19 |
+
"Attention",
|
| 20 |
+
"LSTM",
|
| 21 |
+
"Gather",
|
| 22 |
+
"Transpose",
|
| 23 |
+
"EmbedLayerNormalization"
|
| 24 |
+
],
|
| 25 |
+
"per_channel": false,
|
| 26 |
+
"qdq_add_pair_to_weight": false,
|
| 27 |
+
"qdq_dedicated_pair": false,
|
| 28 |
+
"qdq_op_type_per_channel_support_to_axis": {
|
| 29 |
+
"MatMul": 1
|
| 30 |
+
},
|
| 31 |
+
"reduce_range": false,
|
| 32 |
+
"weights_dtype": "QInt8",
|
| 33 |
+
"weights_symmetric": true
|
| 34 |
+
},
|
| 35 |
+
"use_external_data_format": false
|
| 36 |
+
}
|