Griffon-G-gemma2-9b / config.json
JefferyZhan's picture
Upload 11 files
1c888d8 verified
{
"_name_or_path": "checkpoints/Griffon-G-gemma2-9b",
"architectures": [
"GriffonGemma2ForCausalLM"
],
"attention_bias": false,
"attention_dropout": 0.0,
"attn_logit_softcapping": 50.0,
"bos_token_id": 2,
"cache_implementation": "hybrid",
"eos_token_id": 1,
"final_logit_softcapping": 30.0,
"freeze_llm": false,
"freeze_mm_mlp_adapter": false,
"head_dim": 256,
"hidden_act": "gelu_pytorch_tanh",
"hidden_activation": "gelu_pytorch_tanh",
"hidden_size": 3584,
"image_aspect_ratio": "square",
"initializer_range": 0.02,
"intermediate_size": 14336,
"max_position_embeddings": 8192,
"mm_hidden_size": 1024,
"mm_projector_lr": null,
"mm_projector_type": "conv_reduce",
"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": "checkpoints/clip-vit-large-patch14-336_to_1022",
"model_type": "gemma2_Griffon",
"num_attention_heads": 16,
"num_hidden_layers": 42,
"num_key_value_heads": 8,
"pad_token_id": 0,
"query_pre_attn_scalar": 256,
"rms_norm_eps": 1e-06,
"rope_theta": 10000.0,
"single_num": false,
"sliding_window": 4096,
"sliding_window_size": 4096,
"tokenizer_model_max_length": 4096,
"tokenizer_padding_side": "left",
"torch_dtype": "bfloat16",
"transformers_version": "4.44.2",
"tune_mm_mlp_adapter": false,
"unshared_visual_encoder": true,
"use_cache": true,
"use_mm_proj": true,
"vocab_size": 256000
}