|
{ |
|
"architectures": [ |
|
"InternVLChatModel" |
|
], |
|
"auto_map": { |
|
"AutoConfig": "configuration_internvl_chat.InternVLChatConfig", |
|
"AutoModel": "modeling_internvl_chat.InternVLChatModel", |
|
"AutoModelForCausalLM": "modeling_internvl_chat.InternVLChatModel" |
|
}, |
|
"downsample_ratio": 0.5, |
|
"dynamic_image_size": true, |
|
"force_image_size": 448, |
|
"llm_config": { |
|
"_name_or_path": "/mnt/shared-storage-user/intern7shared/internvl_a4s/checkpoints/gpt-oss-20b", |
|
"architectures": [ |
|
"GptOssForCausalLM" |
|
], |
|
"attention_bias": true, |
|
"attention_dropout": 0.0, |
|
"eos_token_id": 200002, |
|
"experts_per_token": 4, |
|
"head_dim": 64, |
|
"hidden_act": "silu", |
|
"hidden_size": 2880, |
|
"initial_context_length": 4096, |
|
"initializer_range": 0.02, |
|
"intermediate_size": 2880, |
|
"layer_types": [ |
|
"sliding_attention", |
|
"full_attention", |
|
"sliding_attention", |
|
"full_attention", |
|
"sliding_attention", |
|
"full_attention", |
|
"sliding_attention", |
|
"full_attention", |
|
"sliding_attention", |
|
"full_attention", |
|
"sliding_attention", |
|
"full_attention", |
|
"sliding_attention", |
|
"full_attention", |
|
"sliding_attention", |
|
"full_attention", |
|
"sliding_attention", |
|
"full_attention", |
|
"sliding_attention", |
|
"full_attention", |
|
"sliding_attention", |
|
"full_attention", |
|
"sliding_attention", |
|
"full_attention" |
|
], |
|
"max_position_embeddings": 131072, |
|
"model_type": "gpt_oss", |
|
"num_attention_heads": 64, |
|
"num_experts_per_tok": 4, |
|
"num_hidden_layers": 24, |
|
"num_key_value_heads": 8, |
|
"num_local_experts": 32, |
|
"output_router_logits": false, |
|
"pad_token_id": 199999, |
|
"rms_norm_eps": 1e-05, |
|
"rope_scaling": { |
|
"beta_fast": 32.0, |
|
"beta_slow": 1.0, |
|
"factor": 32.0, |
|
"original_max_position_embeddings": 4096, |
|
"rope_type": "yarn", |
|
"truncate": false |
|
}, |
|
"rope_theta": 150000, |
|
"router_aux_loss_coef": 0.9, |
|
"sliding_window": 128, |
|
"swiglu_limit": 7.0, |
|
"use_cache": false, |
|
"vocab_size": 200028 |
|
}, |
|
"max_dynamic_patch": 12, |
|
"min_dynamic_patch": 1, |
|
"model_type": "internvl_chat", |
|
"output_attentions": false, |
|
"output_router_logits": false, |
|
"pad2square": false, |
|
"ps_version": "v2", |
|
"router_aux_loss_coef": 0.9, |
|
"select_layer": -1, |
|
"template": "internvl3_5_gpt_oss", |
|
"tie_word_embeddings": false, |
|
"torch_dtype": "bfloat16", |
|
"transformers_version": null, |
|
"use_backbone_lora": 0, |
|
"use_llm_lora": 0, |
|
"use_thumbnail": true, |
|
"vision_config": { |
|
"architectures": [ |
|
"InternVisionModel" |
|
], |
|
"attention_dropout": 0.0, |
|
"auto_map": { |
|
"AutoConfig": "configuration_intern_vit.InternVisionConfig", |
|
"AutoModel": "modeling_intern_vit.InternVisionModel" |
|
}, |
|
"drop_path_rate": 0.1, |
|
"dropout": 0.0, |
|
"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, |
|
"torch_dtype": "bfloat16", |
|
"use_flash_attn": true |
|
} |
|
} |