|
{ |
|
"_name_or_path": "Salesforce/blip2-opt-2.7b-coco", |
|
"architectures": [ |
|
"Blip2ForConditionalGeneration" |
|
], |
|
"initializer_factor": 1.0, |
|
"initializer_range": 0.02, |
|
"model_type": "blip-2", |
|
"num_query_tokens": 32, |
|
"qformer_config": { |
|
"classifier_dropout": null, |
|
"model_type": "blip_2_qformer" |
|
}, |
|
"text_config": { |
|
"_name_or_path": "Qwen/Qwen2-1.5B", |
|
"architectures": [ |
|
"Qwen2ForCausalLM" |
|
], |
|
"bos_token_id": 151643, |
|
"eos_token_id": 151643, |
|
"hidden_act": "silu", |
|
"hidden_size": 1536, |
|
"initializer_range": 0.02, |
|
"intermediate_size": 8960, |
|
"max_position_embeddings": 131072, |
|
"max_window_layers": 28, |
|
"model_type": "qwen2", |
|
"num_attention_heads": 12, |
|
"num_hidden_layers": 28, |
|
"num_key_value_heads": 2, |
|
"pad_token_id": null, |
|
"rms_norm_eps": 1e-06, |
|
"rope_theta": 1000000.0, |
|
"sliding_window": 131072, |
|
"tie_word_embeddings": true, |
|
"torch_dtype": "bfloat16", |
|
"use_sliding_window": false, |
|
"vocab_size": 151936 |
|
}, |
|
"torch_dtype": "float32", |
|
"transformers_version": "4.42.4", |
|
"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 |
|
} |
|
} |
|
|