tiny-audio-multitask / config.json
mazesmazes's picture
Training in progress, step 1000
c26201f verified
{
"architectures": [
"ASRModel"
],
"attn_implementation": "flash_attention_2",
"audio_config": {
"_name_or_path": "zai-org/GLM-ASR-Nano-2512",
"architectures": [
"GlmAsrForConditionalGeneration"
],
"audio_config": {
"_name_or_path": "",
"architectures": null,
"attention_dropout": 0.0,
"chunk_size_feed_forward": 0,
"dtype": null,
"head_dim": 64,
"hidden_act": "gelu",
"hidden_size": 1280,
"id2label": {
"0": "LABEL_0",
"1": "LABEL_1"
},
"initializer_range": 0.02,
"intermediate_size": 5120,
"is_encoder_decoder": false,
"label2id": {
"LABEL_0": 0,
"LABEL_1": 1
},
"max_position_embeddings": 1500,
"model_type": "glmasr_encoder",
"num_attention_heads": 20,
"num_hidden_layers": 32,
"num_key_value_heads": 20,
"num_mel_bins": 128,
"output_attentions": false,
"output_hidden_states": false,
"partial_rotary_factor": 0.5,
"problem_type": null,
"return_dict": true,
"rope_parameters": {
"partial_rotary_factor": 0.5,
"rope_theta": 10000.0,
"rope_type": "default"
}
},
"audio_token_id": 59260,
"dtype": "bfloat16",
"hidden_size": 2048,
"model_type": "glmasr",
"num_mel_bins": 128,
"projector_hidden_act": "gelu",
"text_config": {
"_name_or_path": "",
"architectures": null,
"attention_bias": false,
"attention_dropout": 0.0,
"bos_token_id": 1,
"chunk_size_feed_forward": 0,
"dtype": null,
"eos_token_id": [
59246,
59253,
59255
],
"head_dim": 128,
"hidden_act": "silu",
"hidden_size": 2048,
"id2label": {
"0": "LABEL_0",
"1": "LABEL_1"
},
"initializer_range": 0.02,
"intermediate_size": 6144,
"is_encoder_decoder": false,
"label2id": {
"LABEL_0": 0,
"LABEL_1": 1
},
"max_position_embeddings": 8192,
"mlp_bias": false,
"model_type": "llama",
"num_attention_heads": 16,
"num_hidden_layers": 28,
"num_key_value_heads": 4,
"output_attentions": false,
"output_hidden_states": false,
"pad_token_id": null,
"pretraining_tp": 1,
"problem_type": null,
"return_dict": true,
"rms_norm_eps": 1e-05,
"rope_parameters": {
"rope_theta": 10000.0,
"rope_type": "default"
},
"tie_word_embeddings": false,
"use_cache": true,
"vocab_size": 59264
},
"vocab_size": 59264
},
"audio_model_id": "zai-org/GLM-ASR-Nano-2512",
"audio_sample_rate": 16000,
"auto_map": {
"AutoConfig": "asr_config.ASRConfig",
"AutoModel": "asr_modeling.ASRModel",
"AutoModelForSpeechSeq2Seq": "asr_modeling.ASRModel",
"AutoProcessor": "asr_processing.ASRProcessor"
},
"custom_pipelines": {
"automatic-speech-recognition": {
"impl": "asr_pipeline.ASRPipeline",
"pt": [
"AutoModelForSpeechSeq2Seq"
],
"tf": [],
"type": "audio"
}
},
"do_sample": true,
"downsample_rate": 5,
"dtype": "bfloat16",
"encoder": {
"_name_or_path": "zai-org/GLM-ASR-Nano-2512",
"architectures": [
"GlmAsrForConditionalGeneration"
],
"audio_config": {
"_name_or_path": "",
"architectures": null,
"attention_dropout": 0.0,
"chunk_size_feed_forward": 0,
"dtype": null,
"head_dim": 64,
"hidden_act": "gelu",
"hidden_size": 1280,
"id2label": {
"0": "LABEL_0",
"1": "LABEL_1"
},
"initializer_range": 0.02,
"intermediate_size": 5120,
"is_encoder_decoder": false,
"label2id": {
"LABEL_0": 0,
"LABEL_1": 1
},
"max_position_embeddings": 1500,
"model_type": "glmasr_encoder",
"num_attention_heads": 20,
"num_hidden_layers": 32,
"num_key_value_heads": 20,
"num_mel_bins": 128,
"output_attentions": false,
"output_hidden_states": false,
"partial_rotary_factor": 0.5,
"problem_type": null,
"return_dict": true,
"rope_parameters": {
"partial_rotary_factor": 0.5,
"rope_theta": 10000.0,
"rope_type": "default"
}
},
"audio_token_id": 59260,
"dtype": "bfloat16",
"hidden_size": 2048,
"model_type": "glmasr",
"num_mel_bins": 128,
"projector_hidden_act": "gelu",
"text_config": {
"_name_or_path": "",
"architectures": null,
"attention_bias": false,
"attention_dropout": 0.0,
"bos_token_id": 1,
"chunk_size_feed_forward": 0,
"dtype": null,
"eos_token_id": [
59246,
59253,
59255
],
"head_dim": 128,
"hidden_act": "silu",
"hidden_size": 2048,
"id2label": {
"0": "LABEL_0",
"1": "LABEL_1"
},
"initializer_range": 0.02,
"intermediate_size": 6144,
"is_encoder_decoder": false,
"label2id": {
"LABEL_0": 0,
"LABEL_1": 1
},
"max_position_embeddings": 8192,
"mlp_bias": false,
"model_type": "llama",
"num_attention_heads": 16,
"num_hidden_layers": 28,
"num_key_value_heads": 4,
"output_attentions": false,
"output_hidden_states": false,
"pad_token_id": null,
"pretraining_tp": 1,
"problem_type": null,
"return_dict": true,
"rms_norm_eps": 1e-05,
"rope_parameters": {
"rope_theta": 10000.0,
"rope_type": "default"
},
"tie_word_embeddings": false,
"use_cache": true,
"vocab_size": 59264
},
"vocab_size": 59264
},
"encoder_conv_layers": [
[
1,
3,
1
],
[
1,
3,
2
]
],
"encoder_dim": 1280,
"freeze_projector": false,
"freq_mask_length": 27,
"inference_warmup_tokens": 10,
"label_smoothing": 0.0,
"length_penalty": 1.0,
"llm_dim": 2048,
"lora_alpha": 32,
"lora_dropout": 0.0,
"lora_rank": 8,
"lora_target_modules": [
"q_proj",
"k_proj",
"v_proj",
"o_proj",
"gate_proj",
"up_proj",
"down_proj"
],
"max_new_tokens": 128,
"min_new_tokens": 0,
"model_dtype": "bfloat16",
"model_type": "asr_model",
"no_repeat_ngram_size": 0,
"num_beams": 1,
"num_experts": 4,
"num_experts_per_tok": 2,
"num_freq_masks": 1,
"num_time_masks": 1,
"pipeline_tag": "automatic-speech-recognition",
"pretrained_model_path": "mazesmazes/tiny-audio-multitask",
"projector_dropout": 0.0,
"projector_hidden_dim": null,
"projector_init_std": 0.02,
"projector_num_layers": 2,
"projector_pool_stride": 4,
"projector_type": "mlp",
"qformer_hidden_size": null,
"qformer_intermediate_size": null,
"qformer_num_heads": 16,
"qformer_num_layers": 2,
"qformer_window_size": 15,
"repetition_penalty": 1.05,
"router_aux_loss_coef": 0.01,
"system_prompt": "",
"temperature": 0.7,
"text_config": {
"_name_or_path": "HuggingFaceTB/SmolLM3-3B",
"architectures": [
"SmolLM3ForCausalLM"
],
"attention_bias": false,
"attention_dropout": 0.0,
"bos_token_id": null,
"dtype": "bfloat16",
"eos_token_id": 128012,
"hidden_act": "silu",
"hidden_size": 2048,
"initializer_range": 0.02,
"intermediate_size": 11008,
"layer_types": [
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention"
],
"max_position_embeddings": 65536,
"max_window_layers": 28,
"mlp_bias": false,
"model_type": "smollm3",
"no_rope_layer_interval": 4,
"no_rope_layers": [
1,
1,
1,
0,
1,
1,
1,
0,
1,
1,
1,
0,
1,
1,
1,
0,
1,
1,
1,
0,
1,
1,
1,
0,
1,
1,
1,
0,
1,
1,
1,
0,
1,
1,
1,
0
],
"num_attention_heads": 16,
"num_hidden_layers": 36,
"num_key_value_heads": 4,
"pad_token_id": 128004,
"pretraining_tp": 2,
"rms_norm_eps": 1e-06,
"rope_parameters": {
"rope_theta": 5000000.0,
"rope_type": "default"
},
"sliding_window": null,
"tie_word_embeddings": true,
"use_cache": false,
"use_sliding_window": false,
"vocab_size": 128257
},
"text_model_id": "HuggingFaceTB/SmolLM3-3B",
"time_mask_length": 100,
"top_k": null,
"top_p": null,
"transformers_version": "5.0.0.dev0",
"use_cache": false,
"use_lora": false,
"use_specaugment": true,
"vocab_size": 128257
}