63 lines
1.6 KiB
JSON
63 lines
1.6 KiB
JSON
|
|
{
|
||
|
|
"architectures": [
|
||
|
|
"LlavaForConditionalGeneration"
|
||
|
|
],
|
||
|
|
"dtype": "bfloat16",
|
||
|
|
"ignore_index": -100,
|
||
|
|
"image_seq_length": 576,
|
||
|
|
"image_token_index": 32000,
|
||
|
|
"model_type": "llava",
|
||
|
|
"multimodal_projector_bias": true,
|
||
|
|
"pad_token_id": 32001,
|
||
|
|
"projector_hidden_act": "gelu",
|
||
|
|
"text_config": {
|
||
|
|
"_name_or_path": "meta-llama/Llama-2-13b-hf",
|
||
|
|
"architectures": [
|
||
|
|
"LlamaForCausalLM"
|
||
|
|
],
|
||
|
|
"attention_bias": false,
|
||
|
|
"attention_dropout": 0.0,
|
||
|
|
"dtype": "bfloat16",
|
||
|
|
"head_dim": 128,
|
||
|
|
"hidden_act": "silu",
|
||
|
|
"hidden_size": 5120,
|
||
|
|
"initializer_range": 0.02,
|
||
|
|
"intermediate_size": 13824,
|
||
|
|
"max_position_embeddings": 4096,
|
||
|
|
"mlp_bias": false,
|
||
|
|
"model_type": "llama",
|
||
|
|
"num_attention_heads": 40,
|
||
|
|
"num_hidden_layers": 40,
|
||
|
|
"num_key_value_heads": 40,
|
||
|
|
"pretraining_tp": 1,
|
||
|
|
"rms_norm_eps": 1e-05,
|
||
|
|
"rope_scaling": null,
|
||
|
|
"rope_theta": 10000.0,
|
||
|
|
"use_cache": true,
|
||
|
|
"vocab_size": 32064
|
||
|
|
},
|
||
|
|
"tie_word_embeddings": false,
|
||
|
|
"transformers_version": "4.57.3",
|
||
|
|
"vision_config": {
|
||
|
|
"attention_dropout": 0.0,
|
||
|
|
"dtype": "bfloat16",
|
||
|
|
"hidden_act": "quick_gelu",
|
||
|
|
"hidden_size": 1024,
|
||
|
|
"image_size": 336,
|
||
|
|
"initializer_factor": 1.0,
|
||
|
|
"initializer_range": 0.02,
|
||
|
|
"intermediate_size": 4096,
|
||
|
|
"layer_norm_eps": 1e-05,
|
||
|
|
"model_type": "clip_vision_model",
|
||
|
|
"num_attention_heads": 16,
|
||
|
|
"num_channels": 3,
|
||
|
|
"num_hidden_layers": 24,
|
||
|
|
"patch_size": 14,
|
||
|
|
"projection_dim": 768,
|
||
|
|
"vocab_size": 32000
|
||
|
|
},
|
||
|
|
"vision_feature_layer": -2,
|
||
|
|
"vision_feature_select_strategy": "default",
|
||
|
|
"vocab_size": 32064
|
||
|
|
}
|