Upload folder using huggingface_hub
Browse files- config.json +42 -0
config.json
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "Salesforce/blip2-opt-2.7b",
|
3 |
+
"architectures": [
|
4 |
+
"Blip2ForConditionalGeneration"
|
5 |
+
],
|
6 |
+
"image_text_hidden_size": 256,
|
7 |
+
"image_token_index": null,
|
8 |
+
"initializer_factor": 1.0,
|
9 |
+
"initializer_range": 0.02,
|
10 |
+
"model_type": "blip-2",
|
11 |
+
"num_query_tokens": 32,
|
12 |
+
"qformer_config": {
|
13 |
+
"classifier_dropout": null,
|
14 |
+
"model_type": "blip_2_qformer"
|
15 |
+
},
|
16 |
+
"text_config": {
|
17 |
+
"_name_or_path": "facebook/opt-2.7b",
|
18 |
+
"activation_dropout": 0.0,
|
19 |
+
"architectures": [
|
20 |
+
"OPTForCausalLM"
|
21 |
+
],
|
22 |
+
"eos_token_id": 50118,
|
23 |
+
"ffn_dim": 10240,
|
24 |
+
"hidden_size": 2560,
|
25 |
+
"model_type": "opt",
|
26 |
+
"num_attention_heads": 32,
|
27 |
+
"num_hidden_layers": 32,
|
28 |
+
"prefix": "</s>",
|
29 |
+
"torch_dtype": "float16",
|
30 |
+
"word_embed_proj_dim": 2560
|
31 |
+
},
|
32 |
+
"torch_dtype": "float32",
|
33 |
+
"transformers_version": "4.45.0.dev0",
|
34 |
+
"use_decoder_only_language_model": true,
|
35 |
+
"vision_config": {
|
36 |
+
"dropout": 0.0,
|
37 |
+
"initializer_factor": 1.0,
|
38 |
+
"model_type": "blip_2_vision_model",
|
39 |
+
"num_channels": 3,
|
40 |
+
"projection_dim": 512
|
41 |
+
}
|
42 |
+
}
|