Upload folder using huggingface_hub
Browse files- README.md +7 -4
- adapter_config.json +2 -2
- adapter_model.safetensors +1 -1
- config.json +43 -0
- pytorch_model.bin +3 -0
README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
---
|
2 |
-
|
3 |
-
|
4 |
---
|
5 |
|
6 |
# Model Card for Model ID
|
@@ -15,7 +15,7 @@ tags: []
|
|
15 |
|
16 |
<!-- Provide a longer summary of what this model is. -->
|
17 |
|
18 |
-
|
19 |
|
20 |
- **Developed by:** [More Information Needed]
|
21 |
- **Funded by [optional]:** [More Information Needed]
|
@@ -196,4 +196,7 @@ Carbon emissions can be estimated using the [Machine Learning Impact calculator]
|
|
196 |
|
197 |
## Model Card Contact
|
198 |
|
199 |
-
[More Information Needed]
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
base_model: ybelkada/blip2-opt-2.7b-fp16-sharded
|
3 |
+
library_name: peft
|
4 |
---
|
5 |
|
6 |
# Model Card for Model ID
|
|
|
15 |
|
16 |
<!-- Provide a longer summary of what this model is. -->
|
17 |
|
18 |
+
|
19 |
|
20 |
- **Developed by:** [More Information Needed]
|
21 |
- **Funded by [optional]:** [More Information Needed]
|
|
|
196 |
|
197 |
## Model Card Contact
|
198 |
|
199 |
+
[More Information Needed]
|
200 |
+
### Framework versions
|
201 |
+
|
202 |
+
- PEFT 0.12.1.dev0
|
adapter_config.json
CHANGED
@@ -23,8 +23,8 @@
|
|
23 |
"rank_pattern": {},
|
24 |
"revision": null,
|
25 |
"target_modules": [
|
26 |
-
"
|
27 |
-
"
|
28 |
],
|
29 |
"task_type": null,
|
30 |
"use_dora": false,
|
|
|
23 |
"rank_pattern": {},
|
24 |
"revision": null,
|
25 |
"target_modules": [
|
26 |
+
"q_proj",
|
27 |
+
"k_proj"
|
28 |
],
|
29 |
"task_type": null,
|
30 |
"use_dora": false,
|
adapter_model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 20991608
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c37fe4a021465d0c262c344b04f1434c4b1f79d0e3193fd6014c039831c0cf20
|
3 |
size 20991608
|
config.json
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "ybelkada/blip2-opt-2.7b-fp16-sharded",
|
3 |
+
"architectures": [
|
4 |
+
"Blip2ForConditionalGeneration"
|
5 |
+
],
|
6 |
+
"image_text_hidden_size": 256,
|
7 |
+
"image_token_index": null,
|
8 |
+
"initializer_factor": 1.0,
|
9 |
+
"initializer_range": 0.02,
|
10 |
+
"model_type": "blip-2",
|
11 |
+
"num_query_tokens": 32,
|
12 |
+
"qformer_config": {
|
13 |
+
"classifier_dropout": null,
|
14 |
+
"model_type": "blip_2_qformer"
|
15 |
+
},
|
16 |
+
"text_config": {
|
17 |
+
"_name_or_path": "facebook/opt-2.7b",
|
18 |
+
"activation_dropout": 0.0,
|
19 |
+
"architectures": [
|
20 |
+
"OPTForCausalLM"
|
21 |
+
],
|
22 |
+
"eos_token_id": 50118,
|
23 |
+
"ffn_dim": 10240,
|
24 |
+
"hidden_size": 2560,
|
25 |
+
"model_type": "opt",
|
26 |
+
"num_attention_heads": 32,
|
27 |
+
"num_hidden_layers": 32,
|
28 |
+
"prefix": "</s>",
|
29 |
+
"torch_dtype": "float16",
|
30 |
+
"word_embed_proj_dim": 2560
|
31 |
+
},
|
32 |
+
"torch_dtype": "float16",
|
33 |
+
"transformers_version": "4.45.0.dev0",
|
34 |
+
"use_decoder_only_language_model": true,
|
35 |
+
"vision_config": {
|
36 |
+
"dropout": 0.0,
|
37 |
+
"initializer_factor": 1.0,
|
38 |
+
"layer_norm_eps": 1e-05,
|
39 |
+
"model_type": "blip_2_vision_model",
|
40 |
+
"num_channels": 3,
|
41 |
+
"projection_dim": 512
|
42 |
+
}
|
43 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:06b96eb9f7d56601c39d84de1a086850d7b8aaf97896c5a439347686551e5936
|
3 |
+
size 3909183583
|