luodian's picture
Model save
187326e verified
{
"_name_or_path": "google/gemma-2b-it",
"architectures": [
"LlavaGemmaForCausalLM"
],
"attention_bias": false,
"attention_dropout": 0.0,
"bos_token_id": 2,
"eos_token_id": 1,
"head_dim": 256,
"hidden_act": "gelu",
"hidden_size": 2048,
"image_aspect_ratio": "anyres",
"image_crop_resolution": 224,
"image_grid_pinpoints": [
[
384,
768
],
[
768,
384
],
[
768,
768
],
[
1152,
384
],
[
384,
1152
]
],
"image_split_resolution": 224,
"initializer_range": 0.02,
"intermediate_size": 16384,
"max_position_embeddings": 8192,
"mm_hidden_size": 1152,
"mm_patch_merge_type": "spatial_unpad",
"mm_projector_lr": null,
"mm_projector_type": "mlp2x_gelu",
"mm_resampler_type": null,
"mm_tunable_parts": "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": "google/siglip-so400m-patch14-384",
"mm_vision_tower_lr": null,
"model_type": "llava_gemma",
"num_attention_heads": 8,
"num_hidden_layers": 18,
"num_key_value_heads": 1,
"pad_token_id": 0,
"rms_norm_eps": 1e-06,
"rope_scaling": null,
"rope_theta": 10000.0,
"tokenizer_model_max_length": 8192,
"tokenizer_padding_side": "right",
"torch_dtype": "bfloat16",
"transformers_version": "4.39.0.dev0",
"use_cache": true,
"use_mm_proj": true,
"vision_tower_pretrained": null,
"vocab_size": 256000
}