MM-LLaMA-7B-projector / config.json
PahaII's picture
Upload folder using huggingface_hub
0ba5896
raw
history blame
949 Bytes
{
"_name_or_path": "/data/bingchen_zhao/weights/llama/converted/llama-7b/",
"architectures": [
"LLaMAForCausalLM"
],
"bos_token_id": 0,
"eos_token_id": 1,
"freeze_mm_mlp_adapter": false,
"hidden_act": "silu",
"hidden_size": 4096,
"image_aspect_ratio": "square",
"image_grid_pinpoints": null,
"initializer_range": 0.02,
"intermediate_size": 11008,
"max_sequence_length": 2048,
"mm_hidden_size": 1024,
"mm_use_im_patch_token": true,
"mm_use_im_start_end": true,
"mm_vision_select_feature": "patch",
"mm_vision_select_layer": -2,
"mm_vision_tower": "openai/clip-vit-large-patch14",
"model_type": "llava",
"num_attention_heads": 32,
"num_hidden_layers": 32,
"pad_token_id": -1,
"rms_norm_eps": 1e-06,
"tie_word_embeddings": false,
"torch_dtype": "float16",
"transformers_version": "4.28.0.dev0",
"tune_mm_mlp_adapter": true,
"use_cache": true,
"use_mm_proj": true,
"vocab_size": 32004
}