Jingya's picture
Jingya HF Staff
Upload encoder/config.json with huggingface_hub
4223430 verified
{
"_attn_implementation_autoset": true,
"_name_or_path": "openai/whisper-tiny",
"activation_dropout": 0.0,
"activation_function": "gelu",
"apply_spec_augment": false,
"architectures": [
"WhisperForConditionalGeneration"
],
"attention_dropout": 0.0,
"begin_suppress_tokens": [
220,
50257
],
"bos_token_id": 50257,
"classifier_proj_size": 256,
"d_model": 384,
"decoder_attention_heads": 6,
"decoder_ffn_dim": 1536,
"decoder_layerdrop": 0.0,
"decoder_layers": 4,
"decoder_start_token_id": 50258,
"dropout": 0.0,
"encoder_attention_heads": 6,
"encoder_ffn_dim": 1536,
"encoder_layerdrop": 0.0,
"encoder_layers": 4,
"eos_token_id": 50257,
"forced_decoder_ids": [
[
1,
50259
],
[
2,
50359
],
[
3,
50363
]
],
"init_std": 0.02,
"is_encoder_decoder": true,
"mask_feature_length": 10,
"mask_feature_min_masks": 0,
"mask_feature_prob": 0.0,
"mask_time_length": 10,
"mask_time_min_masks": 2,
"mask_time_prob": 0.05,
"max_length": 448,
"max_source_positions": 1500,
"max_target_positions": 448,
"median_filter_width": 7,
"model_type": "whisper",
"neuron": {
"auto_cast": "all",
"auto_cast_type": "bf16",
"compiler_type": "neuronx-cc",
"compiler_version": "2.16.372.0+4a9b2326",
"disable_fallback": false,
"disable_fast_relayout": false,
"dynamic_batch_size": false,
"inline_weights_to_neff": false,
"input_names": [
"input_features",
"decoder_input_ids"
],
"model_type": "whisper-encoder",
"optlevel": "2",
"output_attentions": false,
"output_hidden_states": false,
"output_names": [
"lm_logits",
"encoder_last_hidden_state"
],
"static_batch_size": 1,
"static_nb_max_frames": 3000,
"static_sequence_length": 128,
"tensor_parallel_size": 1
},
"num_hidden_layers": 4,
"num_mel_bins": 80,
"pad_token_id": 50257,
"scale_embedding": false,
"stride": [
1,
2
],
"suppress_tokens": [
1,
2,
7,
8,
9,
10,
14,
25,
26,
27,
28,
29,
31,
58,
59,
60,
61,
62,
63,
90,
91,
92,
93,
359,
503,
522,
542,
873,
893,
902,
918,
922,
931,
1350,
1853,
1982,
2460,
2627,
3246,
3253,
3268,
3536,
3846,
3961,
4183,
4667,
6585,
6647,
7273,
9061,
9383,
10428,
10929,
11938,
12033,
12331,
12562,
13793,
14157,
14635,
15265,
15618,
16553,
16604,
18362,
18956,
20075,
21675,
22520,
26130,
26161,
26435,
28279,
29464,
31650,
32302,
32470,
36865,
42863,
47425,
49870,
50254,
50258,
50358,
50359,
50360,
50361,
50362
],
"task": "automatic-speech-recognition",
"torch_dtype": "float32",
"torchscript": true,
"transformers_version": "4.49.0",
"use_cache": true,
"use_weighted_layer_sum": false,
"vocab_size": 51865
}