Mediocreatmybest commited on
Commit
003dc40
1 Parent(s): 11e00ac

Upload InstructBlipForConditionalGeneration

Browse files
config.json ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "bfloat16",
17
+ "bnb_4bit_quant_type": "nf4",
18
+ "bnb_4bit_use_double_quant": true,
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
+ "quant_method": "bitsandbytes"
26
+ },
27
+ "text_config": {
28
+ "architectures": [
29
+ "T5ForConditionalGeneration"
30
+ ],
31
+ "bos_token_id": 1,
32
+ "classifier_dropout": 0.0,
33
+ "d_ff": 10240,
34
+ "d_kv": 64,
35
+ "d_model": 4096,
36
+ "decoder_start_token_id": 0,
37
+ "dense_act_fn": "gelu",
38
+ "dropout_rate": 0.1,
39
+ "eos_token_id": 1,
40
+ "feed_forward_proj": "gated-gelu",
41
+ "initializer_factor": 1.0,
42
+ "is_encoder_decoder": true,
43
+ "is_gated_act": true,
44
+ "layer_norm_epsilon": 1e-06,
45
+ "model_type": "t5",
46
+ "num_decoder_layers": 24,
47
+ "num_heads": 64,
48
+ "num_layers": 24,
49
+ "output_past": true,
50
+ "pad_token_id": 0,
51
+ "relative_attention_max_distance": 128,
52
+ "relative_attention_num_buckets": 32,
53
+ "tie_word_embeddings": false,
54
+ "torch_dtype": "float32",
55
+ "vocab_size": 32128
56
+ },
57
+ "tie_word_embeddings": false,
58
+ "torch_dtype": "float16",
59
+ "transformers_version": "4.32.0.dev0",
60
+ "use_decoder_only_language_model": false,
61
+ "vision_config": {
62
+ "model_type": "instructblip_vision_model"
63
+ }
64
+ }
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