tiny-minicpm-v-4_5 / config.json
snake7gun's picture
Upload folder using huggingface_hub
5129c6a verified
{
"architectures": [
"MiniCPMV"
],
"attention_bias": false,
"attention_dropout": 0.0,
"auto_map": {
"AutoConfig": "openbmb/MiniCPM-V-4_5--configuration_minicpm.MiniCPMVConfig",
"AutoModel": "openbmb/MiniCPM-V-4_5--modeling_minicpmv.MiniCPMV",
"AutoModelForCausalLM": "openbmb/MiniCPM-V-4_5--modeling_minicpmv.MiniCPMV"
},
"batch_3d_resampler": true,
"batch_vision_input": true,
"bos_token_id": 151643,
"drop_vision_last_layer": false,
"eos_token_id": 151645,
"head_dim": 32,
"hidden_act": "silu",
"hidden_size": 128,
"image_size": 448,
"initializer_range": 0.02,
"intermediate_size": 128,
"layer_types": [
"full_attention",
"full_attention"
],
"max_position_embeddings": 40960,
"max_window_layers": 36,
"model_type": "minicpmv",
"num_attention_heads": 2,
"num_hidden_layers": 2,
"num_key_value_heads": 1,
"patch_size": 14,
"query_num": 64,
"rms_norm_eps": 1e-06,
"rope_scaling": null,
"rope_theta": 1000000,
"slice_config": {
"max_slice_nums": 9,
"model_type": "minicpmv",
"patch_size": 14,
"scale_resolution": 448
},
"slice_mode": true,
"sliding_window": null,
"tie_word_embeddings": true,
"torch_dtype": "bfloat16",
"transformers_version": "4.56.0.dev0",
"use_cache": true,
"use_image_id": true,
"use_sliding_window": false,
"version": 4.5,
"vision_batch_size": 16,
"vision_config": {
"attention_dropout": 0.0,
"hidden_act": "gelu_pytorch_tanh",
"hidden_size": 64,
"image_size": 980,
"intermediate_size": 128,
"layer_norm_eps": 1e-06,
"model_type": "siglip_vision_model",
"num_attention_heads": 2,
"num_channels": 3,
"num_hidden_layers": 2,
"patch_size": 14
},
"vocab_size": 151748
}