Upload Blip2ForImageTextRetrieval
Browse files- config.json +25 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"Blip2ForImageTextRetrieval"
|
4 |
+
],
|
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.33.0.dev0",
|
20 |
+
"use_decoder_only_language_model": true,
|
21 |
+
"vision_config": {
|
22 |
+
"image_size": 364,
|
23 |
+
"model_type": "blip_2_vision_model"
|
24 |
+
}
|
25 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e2a1696f11b18400dcfb98c896f9864b47dd3fc3dd1e28676eefc4b7c80e43f2
|
3 |
+
size 4787035285
|