| { |
| "architectures": [ |
| "InternVLChatModel" |
| ], |
| "auto_map": { |
| "AutoConfig": "configuration_internvl_chat.InternVLChatConfig", |
| "AutoModel": "modeling_internvl_chat.InternVLChatModel", |
| "AutoModelForCausalLM": "modeling_internvl_chat.InternVLChatModel" |
| }, |
| "downsample_ratio": 0.5, |
| "dtype": "bfloat16", |
| "dynamic_image_size": true, |
| "eos_token_id": 151645, |
| "force_image_size": 448, |
| "hidden_size": 8192, |
| "image_fold": null, |
| "llm_config": { |
| "_name_or_path": "./pretrained/Qwen2.5-32B-Instruct", |
| "architectures": [ |
| "Qwen2ForCausalLM" |
| ], |
| "attention_dropout": 0.0, |
| "bos_token_id": 151643, |
| "dtype": "bfloat16", |
| "eos_token_id": 151643, |
| "hidden_act": "silu", |
| "hidden_size": 8192, |
| "initializer_range": 0.02, |
| "intermediate_size": 29568, |
| "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", |
| "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", |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention" |
| ], |
| "max_position_embeddings": 32768, |
| "max_window_layers": 70, |
| "model_type": "qwen2", |
| "moe_config": null, |
| "num_attention_heads": 64, |
| "num_hidden_layers": 80, |
| "num_key_value_heads": 8, |
| "rms_norm_eps": 1e-06, |
| "rope_scaling": { |
| "factor": 2.0, |
| "rope_type": "dynamic", |
| "type": "dynamic" |
| }, |
| "rope_theta": 1000000.0, |
| "sliding_window": null, |
| "use_bfloat16": true, |
| "use_cache": false, |
| "use_sliding_window": false, |
| "vocab_size": 151674 |
| }, |
| "max_dynamic_patch": 12, |
| "min_dynamic_patch": 1, |
| "model_type": "internvl_chat", |
| "output_attentions": false, |
| "pad2square": false, |
| "pad_token_id": 151643, |
| "ps_version": "v2", |
| "select_layer": -1, |
| "system_message": null, |
| "template": "internvl2_5", |
| "tie_word_embeddings": false, |
| "transformers_version": null, |
| "use_backbone_lora": 0, |
| "use_llm_lora": 0, |
| "use_thumbnail": true, |
| "vision_config": { |
| "_name_or_path": "OpenGVLab/InternViT-6B-448px-V1-5", |
| "architectures": [ |
| "InternVisionModel" |
| ], |
| "attention_dropout": 0.0, |
| "auto_map": { |
| "AutoConfig": "configuration_intern_vit.InternVisionConfig", |
| "AutoModel": "modeling_intern_vit.InternVisionModel" |
| }, |
| "capacity_factor": 1.2, |
| "drop_path_rate": 0.4, |
| "dropout": 0.0, |
| "dtype": "bfloat16", |
| "eval_capacity_factor": 1.4, |
| "hidden_act": "gelu", |
| "hidden_size": 3200, |
| "image_size": 448, |
| "initializer_factor": 0.1, |
| "initializer_range": 1e-10, |
| "intermediate_size": 12800, |
| "laux_allreduce": "all_nodes", |
| "layer_norm_eps": 1e-06, |
| "model_type": "intern_vit_6b", |
| "moe_coeff_ratio": 0.5, |
| "moe_intermediate_size": 3200, |
| "moe_output_scale": 4.0, |
| "noisy_gate_policy": "RSample_before", |
| "norm_type": "rms_norm", |
| "num_attention_heads": 25, |
| "num_channels": 3, |
| "num_experts": 8, |
| "num_hidden_layers": 45, |
| "num_routed_experts": 4, |
| "num_shared_experts": 4, |
| "patch_size": 14, |
| "qk_normalization": true, |
| "qkv_bias": false, |
| "shared_expert_intermediate_size": 12800, |
| "use_bfloat16": true, |
| "use_flash_attn": true, |
| "use_moe": false, |
| "use_residual": true, |
| "use_rts": false, |
| "use_weighted_residual": false |
| } |
| } |
|
|