wangphoebe commited on
Commit
5d23a89
1 Parent(s): f7f0cf2

upload config

Browse files
Files changed (2) hide show
  1. config.json +263 -0
  2. pytorch_model.bin.index.json +0 -0
config.json ADDED
@@ -0,0 +1,263 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_commit_hash": null,
3
+ "_name_or_path": "./checkpoints/stage1to2/xxl_drop_both_zero1_fromstage1GPTv02/checkpoint-48000",
4
+ "architectures": [
5
+ "InstructBlipForConditionalGeneration"
6
+ ],
7
+ "initializer_factor": 1.0,
8
+ "initializer_range": 0.02,
9
+ "is_encoder_decoder": true,
10
+ "model_type": "instructblip",
11
+ "num_query_tokens": 32,
12
+ "qformer_config": {
13
+ "_name_or_path": "",
14
+ "add_cross_attention": false,
15
+ "architectures": null,
16
+ "attention_probs_dropout_prob": 0.1,
17
+ "bad_words_ids": null,
18
+ "begin_suppress_tokens": null,
19
+ "bos_token_id": null,
20
+ "both_condition": false,
21
+ "chunk_size_feed_forward": 0,
22
+ "classifier_dropout": null,
23
+ "cross_attention_frequency": 2,
24
+ "cross_attention_hidden_size": null,
25
+ "decoder_start_token_id": null,
26
+ "diversity_penalty": 0.0,
27
+ "do_sample": false,
28
+ "early_stopping": false,
29
+ "encoder_hidden_size": 1408,
30
+ "encoder_no_repeat_ngram_size": 0,
31
+ "eos_token_id": null,
32
+ "exponential_decay_length_penalty": null,
33
+ "finetuning_task": null,
34
+ "forced_bos_token_id": null,
35
+ "forced_eos_token_id": null,
36
+ "global_calculation": "add",
37
+ "hidden_act": "gelu",
38
+ "hidden_dropout_prob": 0.1,
39
+ "hidden_size": 768,
40
+ "id2label": {
41
+ "0": "LABEL_0",
42
+ "1": "LABEL_1"
43
+ },
44
+ "initializer_range": 0.02,
45
+ "intermediate_size": 3072,
46
+ "is_decoder": false,
47
+ "is_encoder_decoder": false,
48
+ "label2id": {
49
+ "LABEL_0": 0,
50
+ "LABEL_1": 1
51
+ },
52
+ "layer_norm_eps": 1e-12,
53
+ "length_penalty": 1.0,
54
+ "max_length": 20,
55
+ "max_position_embeddings": 512,
56
+ "min_length": 0,
57
+ "model_type": "instructblip_qformer",
58
+ "no_repeat_ngram_size": 0,
59
+ "num_attention_heads": 12,
60
+ "num_beam_groups": 1,
61
+ "num_beams": 1,
62
+ "num_hidden_layers": 12,
63
+ "num_return_sequences": 1,
64
+ "output_attentions": false,
65
+ "output_hidden_states": false,
66
+ "output_scores": false,
67
+ "pad_token_id": 0,
68
+ "position_embedding_type": "absolute",
69
+ "prefix": null,
70
+ "problem_type": null,
71
+ "proj_in_dim": 4096,
72
+ "pruned_heads": {},
73
+ "remove_invalid_values": false,
74
+ "repetition_penalty": 1.0,
75
+ "return_dict": true,
76
+ "return_dict_in_generate": false,
77
+ "send_condition_to_llm": false,
78
+ "sep_token_id": null,
79
+ "suppress_tokens": null,
80
+ "task_specific_params": null,
81
+ "temperature": 1.0,
82
+ "tf_legacy_loss": false,
83
+ "tie_encoder_decoder": false,
84
+ "tie_word_embeddings": true,
85
+ "tokenizer_class": null,
86
+ "top_k": 50,
87
+ "top_p": 1.0,
88
+ "torch_dtype": null,
89
+ "torchscript": false,
90
+ "transformers_version": "4.28.1",
91
+ "typical_p": 1.0,
92
+ "use_bfloat16": false,
93
+ "vocab_size": 30623
94
+ },
95
+ "text_config": {
96
+ "_from_model_config": false,
97
+ "_name_or_path": "",
98
+ "add_cross_attention": false,
99
+ "architectures": [
100
+ "T5ForConditionalGeneration"
101
+ ],
102
+ "bad_words_ids": null,
103
+ "begin_suppress_tokens": null,
104
+ "bos_token_id": 1,
105
+ "chunk_size_feed_forward": 0,
106
+ "cross_attention_hidden_size": null,
107
+ "d_ff": 10240,
108
+ "d_kv": 64,
109
+ "d_model": 4096,
110
+ "decoder_start_token_id": 0,
111
+ "dense_act_fn": "gelu",
112
+ "diversity_penalty": 0.0,
113
+ "do_sample": false,
114
+ "dropout_rate": 0.1,
115
+ "early_stopping": false,
116
+ "encoder_no_repeat_ngram_size": 0,
117
+ "eos_token_id": 1,
118
+ "exponential_decay_length_penalty": null,
119
+ "feed_forward_proj": "gated-gelu",
120
+ "finetuning_task": null,
121
+ "forced_bos_token_id": null,
122
+ "forced_eos_token_id": null,
123
+ "id2label": {
124
+ "0": "LABEL_0",
125
+ "1": "LABEL_1"
126
+ },
127
+ "initializer_factor": 1.0,
128
+ "is_decoder": false,
129
+ "is_encoder_decoder": true,
130
+ "is_gated_act": true,
131
+ "label2id": {
132
+ "LABEL_0": 0,
133
+ "LABEL_1": 1
134
+ },
135
+ "layer_norm_epsilon": 1e-06,
136
+ "length_penalty": 1.0,
137
+ "max_length": 20,
138
+ "max_sequence_length": 512,
139
+ "min_length": 0,
140
+ "model_type": "t5",
141
+ "no_repeat_ngram_size": 0,
142
+ "num_beam_groups": 1,
143
+ "num_beams": 1,
144
+ "num_decoder_layers": 24,
145
+ "num_heads": 64,
146
+ "num_layers": 24,
147
+ "num_return_sequences": 1,
148
+ "output_attentions": false,
149
+ "output_hidden_states": false,
150
+ "output_past": true,
151
+ "output_scores": false,
152
+ "pad_token_id": 0,
153
+ "prefix": null,
154
+ "problem_type": null,
155
+ "pruned_heads": {},
156
+ "relative_attention_max_distance": 128,
157
+ "relative_attention_num_buckets": 32,
158
+ "remove_invalid_values": false,
159
+ "repetition_penalty": 1.0,
160
+ "return_dict": true,
161
+ "return_dict_in_generate": false,
162
+ "sep_token_id": null,
163
+ "suppress_tokens": null,
164
+ "task_specific_params": null,
165
+ "temperature": 1.0,
166
+ "tf_legacy_loss": false,
167
+ "tie_encoder_decoder": false,
168
+ "tie_word_embeddings": false,
169
+ "tokenizer_class": null,
170
+ "top_k": 50,
171
+ "top_p": 1.0,
172
+ "torch_dtype": "float32",
173
+ "torchscript": false,
174
+ "transformers_version": "4.28.1",
175
+ "typical_p": 1.0,
176
+ "use_bfloat16": false,
177
+ "use_cache": true,
178
+ "vocab_size": 32128
179
+ },
180
+ "tie_word_embeddings": false,
181
+ "torch_dtype": "bfloat16",
182
+ "transformers_version": null,
183
+ "use_decoder_only_language_model": false,
184
+ "vision_config": {
185
+ "_name_or_path": "",
186
+ "add_cross_attention": false,
187
+ "architectures": null,
188
+ "attention_dropout": 0.0,
189
+ "bad_words_ids": null,
190
+ "begin_suppress_tokens": null,
191
+ "bos_token_id": null,
192
+ "chunk_size_feed_forward": 0,
193
+ "cross_attention_hidden_size": null,
194
+ "decoder_start_token_id": null,
195
+ "diversity_penalty": 0.0,
196
+ "do_sample": false,
197
+ "dropout": 0.0,
198
+ "early_stopping": false,
199
+ "encoder_no_repeat_ngram_size": 0,
200
+ "eos_token_id": null,
201
+ "exponential_decay_length_penalty": null,
202
+ "finetuning_task": null,
203
+ "forced_bos_token_id": null,
204
+ "forced_eos_token_id": null,
205
+ "hidden_act": "gelu",
206
+ "hidden_size": 1408,
207
+ "id2label": {
208
+ "0": "LABEL_0",
209
+ "1": "LABEL_1"
210
+ },
211
+ "image_size": 224,
212
+ "initializer_factor": 1.0,
213
+ "initializer_range": 1e-10,
214
+ "intermediate_size": 6144,
215
+ "is_decoder": false,
216
+ "is_encoder_decoder": false,
217
+ "label2id": {
218
+ "LABEL_0": 0,
219
+ "LABEL_1": 1
220
+ },
221
+ "layer_norm_eps": 1e-05,
222
+ "length_penalty": 1.0,
223
+ "max_length": 20,
224
+ "min_length": 0,
225
+ "model_type": "instructblip_vision_model",
226
+ "no_repeat_ngram_size": 0,
227
+ "num_attention_heads": 16,
228
+ "num_beam_groups": 1,
229
+ "num_beams": 1,
230
+ "num_channels": 3,
231
+ "num_hidden_layers": 39,
232
+ "num_return_sequences": 1,
233
+ "output_attentions": false,
234
+ "output_hidden_states": false,
235
+ "output_scores": false,
236
+ "pad_token_id": null,
237
+ "patch_size": 14,
238
+ "prefix": null,
239
+ "problem_type": null,
240
+ "projection_dim": 512,
241
+ "pruned_heads": {},
242
+ "qkv_bias": true,
243
+ "remove_invalid_values": false,
244
+ "repetition_penalty": 1.0,
245
+ "return_dict": true,
246
+ "return_dict_in_generate": false,
247
+ "sep_token_id": null,
248
+ "suppress_tokens": null,
249
+ "task_specific_params": null,
250
+ "temperature": 1.0,
251
+ "tf_legacy_loss": false,
252
+ "tie_encoder_decoder": false,
253
+ "tie_word_embeddings": true,
254
+ "tokenizer_class": null,
255
+ "top_k": 50,
256
+ "top_p": 1.0,
257
+ "torch_dtype": null,
258
+ "torchscript": false,
259
+ "transformers_version": "4.28.1",
260
+ "typical_p": 1.0,
261
+ "use_bfloat16": false
262
+ }
263
+ }
pytorch_model.bin.index.json ADDED
The diff for this file is too large to render. See raw diff