unography commited on
Commit
037cb75
·
verified ·
1 Parent(s): 16cc6f5

Upload BlipForConditionalGeneration

Browse files
Files changed (4) hide show
  1. README.md +7 -10
  2. config.json +2 -2
  3. generation_config.json +1 -1
  4. model.safetensors +1 -1
README.md CHANGED
@@ -1,22 +1,19 @@
1
  ---
2
- pipeline_tag: image-to-text
3
  tags:
4
  - image-captioning
 
 
 
5
  languages:
6
  - en
7
- license: bsd-3-clause
8
  widget:
9
- - src: >-
10
- https://huggingface.co/datasets/mishig/sample_images/resolve/main/savanna.jpg
11
  example_title: Savanna
12
- - src: >-
13
- https://huggingface.co/datasets/mishig/sample_images/resolve/main/football-match.jpg
14
  example_title: Football Match
15
- - src: >-
16
- https://huggingface.co/datasets/mishig/sample_images/resolve/main/airport.jpg
17
  example_title: Airport
18
- datasets:
19
- - unography/laion-14k-GPT4V-LIVIS-Captions
20
  inference:
21
  parameters:
22
  max_length: 300
 
1
  ---
2
+ license: bsd-3-clause
3
  tags:
4
  - image-captioning
5
+ datasets:
6
+ - unography/laion-14k-GPT4V-LIVIS-Captions
7
+ pipeline_tag: image-to-text
8
  languages:
9
  - en
 
10
  widget:
11
+ - src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/savanna.jpg
 
12
  example_title: Savanna
13
+ - src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/football-match.jpg
 
14
  example_title: Football Match
15
+ - src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/airport.jpg
 
16
  example_title: Airport
 
 
17
  inference:
18
  parameters:
19
  max_length: 300
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "Salesforce/blip-image-captioning-large",
3
  "architectures": [
4
  "BlipForConditionalGeneration"
5
  ],
@@ -17,7 +17,7 @@
17
  "num_attention_heads": 12
18
  },
19
  "torch_dtype": "float32",
20
- "transformers_version": "4.40.0",
21
  "vision_config": {
22
  "dropout": 0.0,
23
  "hidden_size": 1024,
 
1
  {
2
+ "_name_or_path": "unography/blip-large-long-cap",
3
  "architectures": [
4
  "BlipForConditionalGeneration"
5
  ],
 
17
  "num_attention_heads": 12
18
  },
19
  "torch_dtype": "float32",
20
+ "transformers_version": "4.40.1",
21
  "vision_config": {
22
  "dropout": 0.0,
23
  "hidden_size": 1024,
generation_config.json CHANGED
@@ -3,5 +3,5 @@
3
  "bos_token_id": 30522,
4
  "eos_token_id": 2,
5
  "pad_token_id": 0,
6
- "transformers_version": "4.40.0"
7
  }
 
3
  "bos_token_id": 30522,
4
  "eos_token_id": 2,
5
  "pad_token_id": 0,
6
+ "transformers_version": "4.40.1"
7
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:252dbdd8eebd5297072b653f7bf7f5582222ea5763670d6b2f8b80e3a7c695db
3
  size 1879010480
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:08751d62cf395820b3a2b32eea251f9931a6456f5e6d4bb2f015b8173d4d9e02
3
  size 1879010480