{
"model_id": "qwen2_5vl",
"img_context_token_id": 151655,
"video_token_id": 151656,
"vision_start_token_id": 151652,
"image_encoder": {
"vision_encoder": {
"model_id": "qwen2vit",
"num_layers": 32,
"pipeline_num_layers": [32, 0, 0, 0, 0, 0, 0, 0],
"hidden_size": 1280,
"ffn_hidden_size": 3456,
"intermediate_size": 3456,
"num_attention_heads": 16,
"gated_linear_unit": true,
"hidden_dropout": 0.0,
"attention_dropout": 0.0,
"in_channels": 3,
"patch_size": 14,
"spatial_merge_size": 2,
"temporal_patch_size": 2,
"layernorm_epsilon": 1e-06,
"tokens_per_second": 2,
"window_attn_size": 112,
"fullatt_block_indexes": [
7,
15,
23,
31
],
"fp16": false,
"bf16": true,
"params_dtype": "bf16",
"activation_func": "silu",
"normalization": "RMSNorm",
"use_fused_rotary_pos_emb": true,
"post_layer_norm": false,
"attention_mask_type": "general",
"freeze": true
},
"vision_projector": {
"model_id": "lnmlp",
"num_layers": 1,
"gated_linear_unit": false,
"bias_activation_fusion": false,
"add_bias_linear": true,
"input_size": 1280,
"hidden_size": 5120,
"ffn_hidden_size": 5120,
"activation_func": "gelu",
"bf16": true,
"params_dtype": "bf16",
"layernorm_epsilon": 1e-06,
"normalization": "RMSNorm",
"freeze": true
}
},
"text_decoder": {
"model_id": "qwen2_5_lm",
"num_layers": 64,
"pipeline_num_layers": [1, 9, 9, 9, 9, 9, 9, 9],
"hidden_size": 5120,
"ffn_hidden_size": 27648,
"num_attention_heads": 40,
"group_query_attention": true,
"num_query_groups": 8,
"position_embedding_type": "mrope",
"mrope_section": [16, 24, 24],
"use_fused_rotary_pos_emb": true,
"rope_scaling": null,
"normalization": "RMSNorm",
"layernorm_epsilon": 1e-06,
"activation_func": "silu",
"gated_linear_unit": true,
"add_bias_linear":false,
"add_qkv_bias": true,
"disable_bias_linear": true,
"attention_softmax_in_fp32": true,
"untie_embeddings_and_output_weights": true,
"attention_dropout": 0.0,
"init_method_std": 0.01,
"hidden_dropout": 0.0,
"seq_length": 1024,
"max_position_embeddings": 128000,
"vocab_size": 152064,
"rope_theta": 1000000.0,
"params_dtype": "bf16",
"bf16": true,
"parallel_output": true
},
"text_encoder": null,
"video_encoder": null
}