Commit
·
e54823e
1
Parent(s):
c9f557a
Upload InstructBlipForConditionalGeneration
Browse files- config.json +3 -2
- generation_config.json +8 -0
- model-00001-of-00004.safetensors +3 -0
- model-00002-of-00004.safetensors +3 -0
- model-00003-of-00004.safetensors +3 -0
- model-00004-of-00004.safetensors +3 -0
- model.safetensors.index.json +0 -0
config.json
CHANGED
@@ -21,7 +21,8 @@
|
|
21 |
"llm_int8_skip_modules": null,
|
22 |
"llm_int8_threshold": 6.0,
|
23 |
"load_in_4bit": false,
|
24 |
-
"load_in_8bit": true
|
|
|
25 |
},
|
26 |
"text_config": {
|
27 |
"architectures": [
|
@@ -55,7 +56,7 @@
|
|
55 |
},
|
56 |
"tie_word_embeddings": false,
|
57 |
"torch_dtype": "float16",
|
58 |
-
"transformers_version": "4.
|
59 |
"use_decoder_only_language_model": false,
|
60 |
"vision_config": {
|
61 |
"model_type": "instructblip_vision_model"
|
|
|
21 |
"llm_int8_skip_modules": null,
|
22 |
"llm_int8_threshold": 6.0,
|
23 |
"load_in_4bit": false,
|
24 |
+
"load_in_8bit": true,
|
25 |
+
"quant_method": "bitsandbytes"
|
26 |
},
|
27 |
"text_config": {
|
28 |
"architectures": [
|
|
|
56 |
},
|
57 |
"tie_word_embeddings": false,
|
58 |
"torch_dtype": "float16",
|
59 |
+
"transformers_version": "4.36.0.dev0",
|
60 |
"use_decoder_only_language_model": false,
|
61 |
"vision_config": {
|
62 |
"model_type": "instructblip_vision_model"
|
generation_config.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 1,
|
4 |
+
"decoder_start_token_id": 0,
|
5 |
+
"eos_token_id": 1,
|
6 |
+
"pad_token_id": 0,
|
7 |
+
"transformers_version": "4.36.0.dev0"
|
8 |
+
}
|
model-00001-of-00004.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6c16014ca9d7ba91ac89f4a04236cc8240f44b2afd26884526b800316fa15815
|
3 |
+
size 4991842600
|
model-00002-of-00004.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2985a1d7cca85edef8b0e2b43636d73fdd59e4dc47c8d216a7ac119eeba21587
|
3 |
+
size 4985558712
|
model-00003-of-00004.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2f1f5f12f21c45a26b3dd045d3e4592a5ac3ab131577e8cc49c00c93b13a34e7
|
3 |
+
size 4985922184
|
model-00004-of-00004.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:16533b60a1b39c2e7b278077b42afccde97ce1d621b9be1eced24f07afb41b33
|
3 |
+
size 3687870576
|
model.safetensors.index.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|