HuatuoGPT-Vision-7B-hf / config.json
Isotr0py's picture
Upload LlavaForConditionalGeneration
240e19c verified
{
"architectures": [
"LlavaForConditionalGeneration"
],
"ignore_index": -100,
"image_token_index": 151646,
"model_type": "llava",
"projector_hidden_act": "gelu",
"text_config": {
"_name_or_path": "Qwen/Qwen2-7B",
"architectures": [
"Qwen2ForCausalLM"
],
"bos_token_id": 151643,
"eos_token_id": 151643,
"hidden_size": 3584,
"intermediate_size": 18944,
"max_position_embeddings": 131072,
"max_window_layers": 28,
"model_type": "qwen2",
"num_attention_heads": 28,
"num_hidden_layers": 28,
"num_key_value_heads": 4,
"rope_theta": 1000000.0,
"sliding_window": null,
"torch_dtype": "bfloat16",
"use_sliding_window": false,
"vocab_size": 152128
},
"torch_dtype": "bfloat16",
"transformers_version": "4.44.2",
"vision_config": {
"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,
"vocab_size": 32000
},
"vision_feature_layer": -2,
"vision_feature_select_strategy": "default"
}