KrishnaSriIpsitMantri commited on
Commit
b635170
1 Parent(s): 097ec27

Upload BlipForConditionalGeneration

Browse files
Files changed (2) hide show
  1. config.json +7 -2
  2. pytorch_model.bin +2 -2
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "Salesforce/blip-image-captioning-base",
3
  "architectures": [
4
  "BlipForConditionalGeneration"
5
  ],
@@ -10,6 +10,7 @@
10
  "model_type": "blip",
11
  "projection_dim": 512,
12
  "text_config": {
 
13
  "initializer_factor": 1.0,
14
  "model_type": "blip_text_model",
15
  "num_attention_heads": 12
@@ -18,9 +19,13 @@
18
  "transformers_version": "4.32.1",
19
  "vision_config": {
20
  "dropout": 0.0,
 
21
  "initializer_factor": 1.0,
22
  "initializer_range": 0.02,
 
23
  "model_type": "blip_vision_model",
24
- "num_channels": 3
 
 
25
  }
26
  }
 
1
  {
2
+ "_name_or_path": "Salesforce/blip-image-captioning-large",
3
  "architectures": [
4
  "BlipForConditionalGeneration"
5
  ],
 
10
  "model_type": "blip",
11
  "projection_dim": 512,
12
  "text_config": {
13
+ "encoder_hidden_size": 1024,
14
  "initializer_factor": 1.0,
15
  "model_type": "blip_text_model",
16
  "num_attention_heads": 12
 
19
  "transformers_version": "4.32.1",
20
  "vision_config": {
21
  "dropout": 0.0,
22
+ "hidden_size": 1024,
23
  "initializer_factor": 1.0,
24
  "initializer_range": 0.02,
25
+ "intermediate_size": 4096,
26
  "model_type": "blip_vision_model",
27
+ "num_attention_heads": 16,
28
+ "num_channels": 3,
29
+ "num_hidden_layers": 24
30
  }
31
  }
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:be9ef1faa06d99830ca82ec2bb2c752aa9fc7130bbca209c7849255d504fe17f
3
- size 989816429
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:244db7e2500c67acf204735bdd745d6fd6f8e082cf2f46e4b0bba99ed5bf5bf6
3
+ size 1879139501