Mediocreatmybest
commited on
Commit
•
ca44a38
1
Parent(s):
610d867
Upload InstructBlipForConditionalGeneration
Browse files- config.json +63 -0
- pytorch_model-00001-of-00002.bin +3 -0
- pytorch_model-00002-of-00002.bin +3 -0
- pytorch_model.bin.index.json +0 -0
config.json
ADDED
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "Salesforce/instructblip-flan-t5-xxl",
|
3 |
+
"architectures": [
|
4 |
+
"InstructBlipForConditionalGeneration"
|
5 |
+
],
|
6 |
+
"initializer_factor": 1.0,
|
7 |
+
"initializer_range": 0.02,
|
8 |
+
"is_encoder_decoder": true,
|
9 |
+
"model_type": "instructblip",
|
10 |
+
"num_query_tokens": 32,
|
11 |
+
"qformer_config": {
|
12 |
+
"model_type": "instructblip_qformer",
|
13 |
+
"vocab_size": 30523
|
14 |
+
},
|
15 |
+
"quantization_config": {
|
16 |
+
"bnb_4bit_compute_dtype": "float32",
|
17 |
+
"bnb_4bit_quant_type": "fp4",
|
18 |
+
"bnb_4bit_use_double_quant": false,
|
19 |
+
"llm_int8_enable_fp32_cpu_offload": true,
|
20 |
+
"llm_int8_has_fp16_weight": false,
|
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": [
|
28 |
+
"T5ForConditionalGeneration"
|
29 |
+
],
|
30 |
+
"bos_token_id": 1,
|
31 |
+
"classifier_dropout": 0.0,
|
32 |
+
"d_ff": 10240,
|
33 |
+
"d_kv": 64,
|
34 |
+
"d_model": 4096,
|
35 |
+
"decoder_start_token_id": 0,
|
36 |
+
"dense_act_fn": "gelu",
|
37 |
+
"dropout_rate": 0.1,
|
38 |
+
"eos_token_id": 1,
|
39 |
+
"feed_forward_proj": "gated-gelu",
|
40 |
+
"initializer_factor": 1.0,
|
41 |
+
"is_encoder_decoder": true,
|
42 |
+
"is_gated_act": true,
|
43 |
+
"layer_norm_epsilon": 1e-06,
|
44 |
+
"model_type": "t5",
|
45 |
+
"num_decoder_layers": 24,
|
46 |
+
"num_heads": 64,
|
47 |
+
"num_layers": 24,
|
48 |
+
"output_past": true,
|
49 |
+
"pad_token_id": 0,
|
50 |
+
"relative_attention_max_distance": 128,
|
51 |
+
"relative_attention_num_buckets": 32,
|
52 |
+
"tie_word_embeddings": false,
|
53 |
+
"torch_dtype": "float32",
|
54 |
+
"vocab_size": 32128
|
55 |
+
},
|
56 |
+
"tie_word_embeddings": false,
|
57 |
+
"torch_dtype": "float16",
|
58 |
+
"transformers_version": "4.32.0.dev0",
|
59 |
+
"use_decoder_only_language_model": false,
|
60 |
+
"vision_config": {
|
61 |
+
"model_type": "instructblip_vision_model"
|
62 |
+
}
|
63 |
+
}
|
pytorch_model-00001-of-00002.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cb66a5b07b1532316a4868a6b269d6060b41f50ef0bac227cc4a5d692e5bc137
|
3 |
+
size 9991060315
|
pytorch_model-00002-of-00002.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:20624b3cd9f78becae2066cfdebea38f31a3a69a871c94b10fa10ffa8d2a6636
|
3 |
+
size 8707516351
|
pytorch_model.bin.index.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|