braintacles
commited on
Commit
•
4398c11
1
Parent(s):
e9281d7
Upload BlipForConditionalGeneration
Browse files- config.json +32 -32
- generation_config.json +7 -7
- model.safetensors +1 -1
config.json
CHANGED
@@ -1,32 +1,32 @@
|
|
1 |
-
{
|
2 |
-
"_name_or_path": "unography/blip-large-long-cap-sam-llava",
|
3 |
-
"architectures": [
|
4 |
-
"BlipForConditionalGeneration"
|
5 |
-
],
|
6 |
-
"image_text_hidden_size": 256,
|
7 |
-
"initializer_factor": 1.0,
|
8 |
-
"initializer_range": 0.02,
|
9 |
-
"label_smoothing": 0.0,
|
10 |
-
"logit_scale_init_value": 2.6592,
|
11 |
-
"model_type": "blip",
|
12 |
-
"projection_dim": 512,
|
13 |
-
"text_config": {
|
14 |
-
"encoder_hidden_size": 1024,
|
15 |
-
"initializer_factor": 1.0,
|
16 |
-
"model_type": "blip_text_model",
|
17 |
-
"num_attention_heads": 12
|
18 |
-
},
|
19 |
-
"torch_dtype": "float32",
|
20 |
-
"transformers_version": "4.37.2",
|
21 |
-
"vision_config": {
|
22 |
-
"dropout": 0.0,
|
23 |
-
"hidden_size": 1024,
|
24 |
-
"initializer_factor": 1.0,
|
25 |
-
"initializer_range": 0.02,
|
26 |
-
"intermediate_size": 4096,
|
27 |
-
"model_type": "blip_vision_model",
|
28 |
-
"num_attention_heads": 16,
|
29 |
-
"num_channels": 3,
|
30 |
-
"num_hidden_layers": 24
|
31 |
-
}
|
32 |
-
}
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "unography/blip-large-long-cap-sam-llava",
|
3 |
+
"architectures": [
|
4 |
+
"BlipForConditionalGeneration"
|
5 |
+
],
|
6 |
+
"image_text_hidden_size": 256,
|
7 |
+
"initializer_factor": 1.0,
|
8 |
+
"initializer_range": 0.02,
|
9 |
+
"label_smoothing": 0.0,
|
10 |
+
"logit_scale_init_value": 2.6592,
|
11 |
+
"model_type": "blip",
|
12 |
+
"projection_dim": 512,
|
13 |
+
"text_config": {
|
14 |
+
"encoder_hidden_size": 1024,
|
15 |
+
"initializer_factor": 1.0,
|
16 |
+
"model_type": "blip_text_model",
|
17 |
+
"num_attention_heads": 12
|
18 |
+
},
|
19 |
+
"torch_dtype": "float32",
|
20 |
+
"transformers_version": "4.37.2",
|
21 |
+
"vision_config": {
|
22 |
+
"dropout": 0.0,
|
23 |
+
"hidden_size": 1024,
|
24 |
+
"initializer_factor": 1.0,
|
25 |
+
"initializer_range": 0.02,
|
26 |
+
"intermediate_size": 4096,
|
27 |
+
"model_type": "blip_vision_model",
|
28 |
+
"num_attention_heads": 16,
|
29 |
+
"num_channels": 3,
|
30 |
+
"num_hidden_layers": 24
|
31 |
+
}
|
32 |
+
}
|
generation_config.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
-
{
|
2 |
-
"_from_model_config": true,
|
3 |
-
"bos_token_id": 30522,
|
4 |
-
"eos_token_id": 2,
|
5 |
-
"pad_token_id": 0,
|
6 |
-
"transformers_version": "4.37.2"
|
7 |
-
}
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 30522,
|
4 |
+
"eos_token_id": 2,
|
5 |
+
"pad_token_id": 0,
|
6 |
+
"transformers_version": "4.37.2"
|
7 |
+
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 1879010480
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3f29369fb80f856d3497e4d501078367f80efb1bad371507d2be95a7e01403a1
|
3 |
size 1879010480
|