GLaMM-stage2 / config.json
ccccai239's picture
Upload folder using huggingface_hub
58d78c3 verified
{
"_name_or_path": "/root/autodl-tmp/GLaMM-FullScope",
"architectures": [
"GLaMMForCausalLM"
],
"bbox_token_idx": 32002,
"bos_token_id": 1,
"eos_token_id": 2,
"freeze_mlp_adapter": true,
"freeze_mm_mlp_adapter": false,
"freeze_mm_vision_resampler": false,
"hidden_act": "silu",
"hidden_size": 4096,
"image_aspect": "square",
"image_aspect_ratio": "square",
"image_grid_pinpoints": null,
"image_grid_points": null,
"initializer_range": 0.02,
"intermediate_size": 11008,
"max_length": 4096,
"max_position_embeddings": 4096,
"mm_hidden_size": 1024,
"mm_projector_type": "mlp2x_gelu",
"mm_resampler_type": null,
"mm_use_im_patch_token": false,
"mm_use_im_start_end": true,
"mm_use_image_start_end": true,
"mm_vision_module": "openai/clip-vit-large-patch14-336",
"mm_vision_select_feature": "patch",
"mm_vision_select_layer": -2,
"mm_vision_tower": "/root/autodl-tmp/clip-vit-large-patch14-336",
"model_type": "llava",
"num_attention_heads": 32,
"num_hidden_layers": 32,
"num_key_value_heads": 32,
"num_level_reg_features": 4,
"num_reg_features": 4,
"out_dim": 256,
"pad_token_id": 0,
"pretrain_mm_mlp_adapter": null,
"pretraining_tp": 1,
"rms_norm_eps": 1e-05,
"rope_scaling": null,
"select_feature_type": "patch",
"tie_word_embeddings": false,
"torch_dtype": "bfloat16",
"train_mask_decoder": true,
"transformers_version": "4.31.0",
"tune_mlp_adapter": false,
"tune_mm_mlp_adapter": false,
"tune_mm_vision_resampler": false,
"unfreeze_mm_vision_tower": false,
"use_cache": false,
"use_image_patch_token": false,
"use_mm_proj": true,
"vision_module": "openai/clip-vit-large-patch14-336",
"vision_tower": "/root/autodl-tmp/clip-vit-large-patch14-336",
"vocab_size": 32007,
"with_region": true
}