{ "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, "force_image_size": 448, "hidden_size": 896, "img_context_token_id": 151667, "llm_config": { "_name_or_path": "Qwen/Qwen2.5-0.5B-Instruct", "add_cross_attention": false, "architectures": [ "Qwen2ForCausalLM" ], "attention_dropout": 0.0, "bos_token_id": 151643, "cross_attention_hidden_size": null, "decoder_start_token_id": null, "dtype": "bfloat16", "eos_token_id": 151645, "finetuning_task": null, "hidden_act": "silu", "hidden_size": 896, "initializer_range": 0.02, "intermediate_size": 4864, "is_decoder": false, "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" ], "max_position_embeddings": 32768, "max_window_layers": 21, "model_type": "qwen2", "num_attention_heads": 14, "num_hidden_layers": 24, "num_key_value_heads": 2, "pad_token_id": null, "prefix": null, "pruned_heads": {}, "rms_norm_eps": 1e-06, "rope_parameters": { "rope_theta": 1000000.0, "rope_type": "default" }, "sep_token_id": null, "sliding_window": null, "tactile_token_id": 151676, "task_specific_params": null, "tf_legacy_loss": false, "tie_encoder_decoder": false, "tie_word_embeddings": false, "tokenizer_class": null, "torchscript": false, "use_bfloat16": true, "use_cache": true, "use_sliding_window": false, "vocab_size": 151677 }, "max_dynamic_patch": 12, "min_dynamic_patch": 1, "model_type": "internvl_chat", "output_attentions": false, "ps_version": "v2", "select_layer": -1, "tactile_token_id": 151676, "template": "internvl2_5", "tie_word_embeddings": false, "transformers_version": null, "use_backbone_lora": 0, "use_cache": false, "use_llm_lora": 0, "use_thumbnail": true, "vision_config": { "architectures": [ "InternVisionModel" ], "attention_dropout": 0.0, "drop_path_rate": 0.0, "dropout": 0.0, "dtype": "bfloat16", "hidden_act": "gelu", "hidden_size": 1024, "image_size": 448, "initializer_factor": 1.0, "initializer_range": 0.02, "intermediate_size": 4096, "layer_norm_eps": 1e-06, "model_type": "intern_vit_6b", "norm_type": "layer_norm", "num_attention_heads": 16, "num_channels": 3, "num_hidden_layers": 24, "patch_size": 14, "qk_normalization": false, "qkv_bias": true, "use_bfloat16": true, "use_flash_attn": false } }