|
{ |
|
"_name_or_path": "models/internlm/internlm2_5-7b-chat", |
|
"architectures": ["LlavaInternlm2ForCausalLM"], |
|
"attn_implementation": "flash_attention_2", |
|
"auto_map": { |
|
"AutoConfig": "configuration_internlm2.InternLM2Config", |
|
"AutoModel": "modeling_internlm2.InternLM2ForCausalLM", |
|
"AutoModelForCausalLM": "llava_internlm2.LlavaInternlm2ForCausalLM" |
|
}, |
|
"bias": false, |
|
"bos_token_id": 1, |
|
"datatype_loss": false, |
|
"eos_token_id": 2, |
|
"hidden_act": "silu", |
|
"hidden_size": 4096, |
|
"image_aspect_ratio": "anyres", |
|
"image_crop_resolution": null, |
|
"image_grid_pinpoints": "[(336, 672), (672, 336), (672, 672), (1008, 336), (336, 1008)]", |
|
"image_split_resolution": null, |
|
"initializer_range": 0.02, |
|
"intermediate_size": 14336, |
|
"max_position_embeddings": 32768, |
|
"mm_hidden_size": 1024, |
|
"mm_patch_merge_type": "spatial_unpad", |
|
"mm_projector_lr": null, |
|
"mm_projector_type": "mlp2x_gelu", |
|
"mm_tunable_parts": "mm_vision_tower,mm_mlp_adapter,mm_language_model", |
|
"mm_use_im_patch_token": false, |
|
"mm_use_im_start_end": false, |
|
"mm_vision_select_feature": "patch", |
|
"mm_vision_select_layer": -2, |
|
"mm_vision_tower": "/fs-computility/mllm1/shared/hub/models--openai--clip-vit-large-patch14-336/snapshots/ce19dc912ca5cd21c8a653c79e251e808ccabcd1", |
|
"mm_vision_tower_lr": 2e-6, |
|
"model_type": "internlm2", |
|
"num_attention_heads": 32, |
|
"num_hidden_layers": 32, |
|
"num_key_value_heads": 8, |
|
"pad_token_id": 2, |
|
"pretraining_tp": 1, |
|
"rms_norm_eps": 1e-5, |
|
"rope_scaling": { |
|
"factor": 2.0, |
|
"type": "dynamic" |
|
}, |
|
"rope_theta": 1000000, |
|
"tie_word_embeddings": false, |
|
"tokenizer_model_max_length": 32768, |
|
"tokenizer_padding_side": "right", |
|
"torch_dtype": "bfloat16", |
|
"transformers_version": "4.37.2", |
|
"use_cache": true, |
|
"use_mm_proj": true, |
|
"vocab_size": 92544 |
|
} |
|
|