Jais-ASR / config.json
EvanD's picture amine-khelif's picture guokan-shang's picture
Squash history
1323995
Raw History Blame Contribute Delete
2.99 kB
{
"architectures": [
"JaisASRForConditionalGeneration"
],
"audio_config": {
"activation_dropout": 0,
"activation_function": "gelu",
"attention_dropout": 0,
"conv_chunksize": 500,
"d_model": 1280,
"downsample_hidden_size": 480,
"dropout": 0,
"dtype": "bfloat16",
"encoder_attention_heads": 20,
"encoder_ffn_dim": 5120,
"encoder_layers": 32,
"initializer_range": 0.02,
"max_source_positions": 1500,
"model_type": "qwen3_omni_moe_audio_encoder",
"n_window": 50,
"n_window_infer": 800,
"num_mel_bins": 128,
"output_dim": 2048,
"scale_embedding": false,
"tie_word_embeddings": true,
"torch_dtype": "bfloat16"
},
"audio_end_token_id": 250036,
"audio_start_token_id": 250035,
"audio_token_id": 250062,
"auto_map": {
"AutoConfig": "configuration_jais_asr.JaisASRConfig",
"AutoModel": "modeling_jais_asr.JaisASRModel",
"AutoModelForCausalLM": "modeling_jais_asr.JaisASRForConditionalGeneration",
"AutoProcessor": "processing_jais_asr.JaisASRProcessor"
},
"bos_token_id": 0,
"custom_pipelines": {
"automatic-speech-recognition": {
"impl": "pipeline_jais_asr.JaisASRTranscriptionPipeline",
"pt": [
"AutoModelForCausalLM"
],
"tf": []
}
},
"dtype": "bfloat16",
"eos_token_id": 1,
"model_type": "jais_asr",
"pad_token_id": 0,
"projector_hidden_act": "gelu",
"text_config": {
"attention_bias": false,
"attention_dropout": 0.0,
"bos_token_id": 0,
"dtype": "bfloat16",
"eos_token_id": 1,
"head_dim": 128,
"hidden_act": "silu",
"hidden_size": 2560,
"initializer_range": 0.02,
"intermediate_size": 10240,
"layernorm_num_groups": 2,
"max_position_embeddings": 524288,
"model_type": "k2_horizon",
"num_attention_heads": 32,
"num_hidden_layers": 36,
"num_key_value_heads": 8,
"pad_token_id": 0,
"query_key_norm": false,
"rms_norm_eps": 1e-06,
"rope_head_dim": 128,
"rope_parameters": {
"rope_theta": 10000000.0,
"rope_type": "default"
},
"rope_theta": 10000000.0,
"sliding_window": null,
"tie_word_embeddings": false,
"torch_dtype": "bfloat16",
"use_cache": true,
"use_sliding_window": false,
"vocab_size": 250624,
"num_experts": 0,
"num_experts_per_tok": 0,
"num_shared_experts": 0,
"mova_num_experts": 0,
"mova_num_experts_per_tok": 0,
"moe_intermediate_size": 0,
"attention_gate_func": null,
"mlp_only_layers": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
35
]
},
"tie_word_embeddings": false,
"torch_dtype": "bfloat16",
"transformers_version": "5.5.4"
}