Upload model
Browse files- config.json +33 -28
- model-00001-of-00002.safetensors +3 -0
- model-00002-of-00002.safetensors +3 -0
- model.safetensors.index.json +0 -0
config.json
CHANGED
@@ -1,35 +1,40 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
-
"
|
5 |
],
|
6 |
-
"
|
7 |
-
"classifier_dropout": null,
|
8 |
-
"embedding_dropout_prob": 0,
|
9 |
-
"embedding_size": 128,
|
10 |
-
"hidden_act": "gelu",
|
11 |
-
"hidden_dropout_prob": 0,
|
12 |
-
"hidden_size": 1024,
|
13 |
-
"id2label": {
|
14 |
-
"0": "LABEL_0"
|
15 |
-
},
|
16 |
"initializer_range": 0.02,
|
17 |
-
"
|
18 |
-
"
|
19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
},
|
21 |
-
"
|
22 |
-
"max_position_embeddings": 512,
|
23 |
-
"model_type": "bleurt",
|
24 |
-
"num_attention_heads": 16,
|
25 |
-
"num_hidden_layers": 12,
|
26 |
-
"output_embedding_size": 2048,
|
27 |
-
"pad_token_id": 0,
|
28 |
-
"position_embedding_type": "absolute",
|
29 |
-
"tie_word_embeddings": false,
|
30 |
-
"torch_dtype": "float32",
|
31 |
"transformers_version": "4.41.0.dev0",
|
32 |
-
"
|
33 |
-
"
|
34 |
-
|
|
|
|
|
|
|
|
|
|
|
35 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "Salesforce/blip2-opt-2.7b",
|
3 |
"architectures": [
|
4 |
+
"Blip2Model"
|
5 |
],
|
6 |
+
"initializer_factor": 1.0,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
"initializer_range": 0.02,
|
8 |
+
"model_type": "blip-2",
|
9 |
+
"num_query_tokens": 32,
|
10 |
+
"qformer_config": {
|
11 |
+
"classifier_dropout": null,
|
12 |
+
"model_type": "blip_2_qformer"
|
13 |
+
},
|
14 |
+
"text_config": {
|
15 |
+
"_name_or_path": "facebook/opt-2.7b",
|
16 |
+
"activation_dropout": 0.0,
|
17 |
+
"architectures": [
|
18 |
+
"OPTForCausalLM"
|
19 |
+
],
|
20 |
+
"eos_token_id": 50118,
|
21 |
+
"ffn_dim": 10240,
|
22 |
+
"hidden_size": 2560,
|
23 |
+
"model_type": "opt",
|
24 |
+
"num_attention_heads": 32,
|
25 |
+
"num_hidden_layers": 32,
|
26 |
+
"prefix": "</s>",
|
27 |
+
"torch_dtype": "float16",
|
28 |
+
"word_embed_proj_dim": 2560
|
29 |
},
|
30 |
+
"torch_dtype": "float16",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
"transformers_version": "4.41.0.dev0",
|
32 |
+
"use_decoder_only_language_model": true,
|
33 |
+
"vision_config": {
|
34 |
+
"dropout": 0.0,
|
35 |
+
"initializer_factor": 1.0,
|
36 |
+
"model_type": "blip_2_vision_model",
|
37 |
+
"num_channels": 3,
|
38 |
+
"projection_dim": 512
|
39 |
+
}
|
40 |
}
|
model-00001-of-00002.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d184f54302f398070731f36b8e766ee52b0e2093a21deb45a4dc28f1932ff49f
|
3 |
+
size 4998063192
|
model-00002-of-00002.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:823b904aefee04a1e5111f75cfbd039f9b1c3fad33a4cedda69933d07ab70d7c
|
3 |
+
size 2491456200
|
model.safetensors.index.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|