Blip2-Typhoon1.5-COCO / config.json
MagiBoss's picture
Upload Blip2ForConditionalGeneration
8c13b5d verified
{
"_name_or_path": "MagiBoss/Blip2-Typhoon1.5-COCO",
"architectures": [
"Blip2ForConditionalGeneration"
],
"image_text_hidden_size": 256,
"image_token_index": null,
"initializer_factor": 1.0,
"initializer_range": 0.02,
"model_type": "blip-2",
"num_query_tokens": 32,
"pretraining_tp": 1,
"qformer_config": {
"classifier_dropout": null,
"model_type": "blip_2_qformer"
},
"text_config": {
"_name_or_path": "scb10x/llama-3-typhoon-v1.5-8b",
"architectures": [
"LlamaForCausalLM"
],
"attention_bias": false,
"bos_token_id": 128000,
"eos_token_id": 128001,
"head_dim": 128,
"hidden_act": "silu",
"hidden_size": 4096,
"initializer_range": 0.02,
"intermediate_size": 14336,
"max_position_embeddings": 8192,
"mlp_bias": false,
"model_type": "llama",
"num_attention_heads": 32,
"num_hidden_layers": 32,
"num_key_value_heads": 8,
"pad_token_id": null,
"pretraining_tp": 1,
"rms_norm_eps": 1e-05,
"rope_scaling": null,
"rope_theta": 500000.0,
"tie_word_embeddings": false,
"torch_dtype": "bfloat16",
"vocab_size": 128256
},
"tie_word_embeddings": false,
"torch_dtype": "bfloat16",
"transformers_version": "4.45.0",
"use_cache": false,
"use_decoder_only_language_model": true,
"vision_config": {
"dropout": 0.0,
"image_size": 364,
"initializer_factor": 1.0,
"model_type": "blip_2_vision_model",
"num_channels": 3,
"projection_dim": 512
}
}