ColonGPT-v1 / config.json
JingyiLiu's picture
Upload 12 files
405d580 verified
raw
history blame
1.32 kB
{
"_name_or_path": "ai4colonoscopy/ColonGPT-v1",
"architectures": [
"ColongptPhiForCausalLM"
],
"attention_dropout": 0.0,
"auto_map": {
"AutoConfig": "configuration_colongpt_phi.ColongptPhiConfig",
"AutoModelForCausalLM": "modeling_colongpt_phi.ColongptPhiForCausalLM"
},
"bos_token_id": 50256,
"embd_pdrop": 0.0,
"eos_token_id": 50256,
"freeze_mm_mlp_adapter": false,
"hidden_act": "gelu_new",
"hidden_size": 2048,
"image_aspect_ratio": "pad",
"initializer_range": 0.02,
"intermediate_size": 8192,
"layer_norm_eps": 1e-05,
"max_position_embeddings": 2048,
"mm_hidden_size": 1152,
"mm_projector_lr": null,
"mm_projector_type": "ppc_14_7_1",
"mm_vision_tower": "google/siglip-so400m-patch14-384",
"model_type": "colongpt-phi",
"num_attention_heads": 32,
"num_hidden_layers": 24,
"num_key_value_heads": 32,
"partial_rotary_factor": 0.5,
"qk_layernorm": false,
"resid_pdrop": 0.0,
"rope_scaling": null,
"rope_theta": 10000.0,
"tie_word_embeddings": false,
"tokenizer_model_max_length": 2048,
"tokenizer_padding_side": "right",
"torch_dtype": "bfloat16",
"transformers_version": "4.42.3",
"tune_mm_mlp_adapter": true,
"unfreeze_vision_tower": false,
"use_cache": true,
"use_mm_proj": true,
"use_s2": false,
"vocab_size": 50295
}