cambrian-13b / config.json
craigwu's picture
fix name
1882726 verified
{
"_name_or_path": "lmsys/vicuna-13b-v1.5",
"architectures": [
"CambrianLlamaForCausalLM"
],
"attention_bias": false,
"attention_dropout": 0.0,
"bos_token_id": 1,
"connector_depth": 3,
"connector_only": false,
"eos_token_id": 2,
"freeze_mm_mlp_adapter": false,
"hidden_act": "silu",
"hidden_size": 5120,
"image_aspect_ratio": "pad",
"image_position": 35,
"image_token_len": 576,
"initializer_range": 0.02,
"intermediate_size": 13824,
"max_length": 4096,
"max_position_embeddings": 4096,
"mm_patch_merge_type": "flat",
"mm_projector_lr": null,
"mm_projector_type": "sva",
"mm_use_im_patch_token": false,
"mm_use_im_start_end": false,
"mm_vision_sampler_lr": null,
"mm_vision_select_feature": "patch",
"mm_vision_select_layer": -2,
"mm_vision_tower_aux_list": [
"siglip/CLIP-ViT-SO400M-14-384",
"openai/clip-vit-large-patch14-336",
"facebook/dinov2-giant-res378",
"clip-convnext-XXL-multi-stage"
],
"mm_vision_tower_aux_token_len_list": [
576,
576,
576,
9216
],
"mm_vision_tower_lr": null,
"model_type": "cambrian_llama",
"num_attention_heads": 40,
"num_hidden_layers": 40,
"num_key_value_heads": 40,
"num_of_vision_sampler_layers": 10,
"num_query_group": 1,
"pad_token_id": 0,
"pretraining_tp": 1,
"query_num_list": [
576
],
"rms_norm_eps": 1e-05,
"rope_scaling": null,
"rope_theta": 10000.0,
"spmd_debug": null,
"spmd_fsdp_sharding": null,
"spmd_mesh": null,
"start_of_vision_sampler_layers": 0,
"stride_of_vision_sampler_layers": 4,
"tie_word_embeddings": false,
"tokenizer_model_max_length": 2048,
"tokenizer_padding_side": "right",
"torch_dtype": "float32",
"transformers_version": "4.40.1",
"tune_mm_mlp_adapter": false,
"unfreeze_mm_vision_tower": false,
"use_cache": true,
"use_mm_proj": true,
"vision_hidden_size": 1024,
"vision_tower_aux_token_len_list": [
576,
576,
576,
9216
],
"vocab_size": 32000
}