| { |
| "_name_or_path": "/cpfs01/shared/gmai/xtuner_lite_workspace/xtuner/work_dir/internlm2_5-llava_caption_pretrain_image-encoder+projector/20240909213053/hf-13490-of-13490/", |
| "architectures": [ |
| "LlavaForConditionalGeneration" |
| ], |
| "auto_map": { |
| "AutoConfig": "configuration_llava.EnhancedLlavaConfig", |
| "AutoModel": "modeling_llava.LlavaForConditionalGeneration" |
| }, |
| "ignore_index": -100, |
| "image_token_index": 92550, |
| "model_type": "enhanced_llava", |
| "projector_hidden_act": "gelu", |
| "text_config": { |
| "_name_or_path": "internlm/internlm2_5-7b-chat", |
| "architectures": [ |
| "InternLM2ForCausalLM" |
| ], |
| "attn_implementation": "flash_attention_2", |
| "auto_map": { |
| "AutoConfig": "configuration_internlm2.InternLM2Config", |
| "AutoModel": "modeling_internlm2.InternLM2ForCausalLM", |
| "AutoModelForCausalLM": "modeling_internlm2.InternLM2ForCausalLM" |
| }, |
| "bias": false, |
| "intermediate_size": 14336, |
| "max_position_embeddings": 32768, |
| "model_type": "internlm2", |
| "num_key_value_heads": 8, |
| "pad_token_id": 2, |
| "rms_norm_eps": 1e-05, |
| "rope_scaling": { |
| "factor": 2.0, |
| "type": "dynamic" |
| }, |
| "rope_theta": 1000000, |
| "torch_dtype": "bfloat16", |
| "use_cache": false, |
| "vocab_size": 92551 |
| }, |
| "tie_word_embeddings": false, |
| "torch_dtype": "bfloat16", |
| "transformers_version": "4.44.0", |
| "vision_config": { |
| "_name_or_path": "/cpfs01/shared/gmai/xtuner_workspace/openai/clip-vit-large-patch14-336", |
| "dropout": 0.0, |
| "hidden_size": 1024, |
| "image_size": 336, |
| "intermediate_size": 4096, |
| "model_type": "clip_vision_model", |
| "num_attention_heads": 16, |
| "num_hidden_layers": 24, |
| "patch_size": 14, |
| "projection_dim": 768 |
| }, |
| "vision_feature_layer": -2, |
| "vision_feature_select_strategy": "default" |
| } |
|
|