Upload Blip2ForImageTextRetrieval
Browse files- config.json +2 -6
config.json
CHANGED
@@ -5,19 +5,15 @@
|
|
5 |
"image_text_hidden_size": 256,
|
6 |
"initializer_factor": 1.0,
|
7 |
"initializer_range": 0.02,
|
8 |
-
"model_type": "blip-2",
|
9 |
"num_query_tokens": 32,
|
10 |
"qformer_config": {
|
11 |
"model_type": "blip_2_qformer",
|
12 |
"qformer_text_input": true,
|
13 |
"vocab_size": 30523
|
14 |
},
|
15 |
-
"text_config": {
|
16 |
-
"model_type": "opt"
|
17 |
-
},
|
18 |
"torch_dtype": "float32",
|
19 |
-
"transformers_version": "4.
|
20 |
-
"use_decoder_only_language_model": true,
|
21 |
"vision_config": {
|
22 |
"model_type": "blip_2_vision_model"
|
23 |
}
|
|
|
5 |
"image_text_hidden_size": 256,
|
6 |
"initializer_factor": 1.0,
|
7 |
"initializer_range": 0.02,
|
8 |
+
"model_type": "blip-2-without-lm",
|
9 |
"num_query_tokens": 32,
|
10 |
"qformer_config": {
|
11 |
"model_type": "blip_2_qformer",
|
12 |
"qformer_text_input": true,
|
13 |
"vocab_size": 30523
|
14 |
},
|
|
|
|
|
|
|
15 |
"torch_dtype": "float32",
|
16 |
+
"transformers_version": "4.35.0.dev0",
|
|
|
17 |
"vision_config": {
|
18 |
"model_type": "blip_2_vision_model"
|
19 |
}
|