tobiaslee commited on
Commit
d6c66b5
1 Parent(s): d2f6674
config.json ADDED
@@ -0,0 +1,249 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_commit_hash": null,
3
+ "_name_or_path": "/home/lilei/ziya13b-stage1-laion400m-unfreeze-qformer-bsz256-singlenode/checkpoint-310000",
4
+ "architectures": [
5
+ "VLM"
6
+ ],
7
+ "initializer_factor": 1.0,
8
+ "initializer_range": 0.02,
9
+ "model_type": "blip-2",
10
+ "num_query_tokens": 32,
11
+ "qformer_config": {
12
+ "_name_or_path": "",
13
+ "add_cross_attention": false,
14
+ "architectures": null,
15
+ "attention_probs_dropout_prob": 0.1,
16
+ "bad_words_ids": null,
17
+ "begin_suppress_tokens": null,
18
+ "bos_token_id": null,
19
+ "chunk_size_feed_forward": 0,
20
+ "classifier_dropout": null,
21
+ "cross_attention_frequency": 2,
22
+ "cross_attention_hidden_size": null,
23
+ "decoder_start_token_id": null,
24
+ "diversity_penalty": 0.0,
25
+ "do_sample": false,
26
+ "early_stopping": false,
27
+ "encoder_hidden_size": 1408,
28
+ "encoder_no_repeat_ngram_size": 0,
29
+ "eos_token_id": null,
30
+ "exponential_decay_length_penalty": null,
31
+ "finetuning_task": null,
32
+ "forced_bos_token_id": null,
33
+ "forced_eos_token_id": null,
34
+ "hidden_act": "gelu",
35
+ "hidden_dropout_prob": 0.1,
36
+ "hidden_size": 768,
37
+ "id2label": {
38
+ "0": "LABEL_0",
39
+ "1": "LABEL_1"
40
+ },
41
+ "initializer_range": 0.02,
42
+ "intermediate_size": 3072,
43
+ "is_decoder": false,
44
+ "is_encoder_decoder": false,
45
+ "label2id": {
46
+ "LABEL_0": 0,
47
+ "LABEL_1": 1
48
+ },
49
+ "layer_norm_eps": 1e-12,
50
+ "length_penalty": 1.0,
51
+ "max_length": 20,
52
+ "max_position_embeddings": 512,
53
+ "min_length": 0,
54
+ "model_type": "blip_2_qformer",
55
+ "no_repeat_ngram_size": 0,
56
+ "num_attention_heads": 12,
57
+ "num_beam_groups": 1,
58
+ "num_beams": 1,
59
+ "num_hidden_layers": 12,
60
+ "num_return_sequences": 1,
61
+ "output_attentions": false,
62
+ "output_hidden_states": false,
63
+ "output_scores": false,
64
+ "pad_token_id": 0,
65
+ "position_embedding_type": "absolute",
66
+ "prefix": null,
67
+ "problem_type": null,
68
+ "pruned_heads": {},
69
+ "remove_invalid_values": false,
70
+ "repetition_penalty": 1.0,
71
+ "return_dict": true,
72
+ "return_dict_in_generate": false,
73
+ "sep_token_id": null,
74
+ "suppress_tokens": null,
75
+ "task_specific_params": null,
76
+ "temperature": 1.0,
77
+ "tf_legacy_loss": false,
78
+ "tie_encoder_decoder": false,
79
+ "tie_word_embeddings": true,
80
+ "tokenizer_class": null,
81
+ "top_k": 50,
82
+ "top_p": 1.0,
83
+ "torch_dtype": null,
84
+ "torchscript": false,
85
+ "transformers_version": "4.28.0",
86
+ "typical_p": 1.0,
87
+ "use_bfloat16": false,
88
+ "vocab_size": 30522
89
+ },
90
+ "text_config": {
91
+ "_name_or_path": "/home/lilei/Ziya-LLaMA-13B-v1",
92
+ "add_cross_attention": false,
93
+ "architectures": [
94
+ "LlamaForCausalLM"
95
+ ],
96
+ "bad_words_ids": null,
97
+ "begin_suppress_tokens": null,
98
+ "bos_token_id": 1,
99
+ "chunk_size_feed_forward": 0,
100
+ "cross_attention_hidden_size": null,
101
+ "decoder_start_token_id": null,
102
+ "diversity_penalty": 0.0,
103
+ "do_sample": false,
104
+ "early_stopping": false,
105
+ "encoder_no_repeat_ngram_size": 0,
106
+ "eos_token_id": 2,
107
+ "exponential_decay_length_penalty": null,
108
+ "finetuning_task": null,
109
+ "forced_bos_token_id": null,
110
+ "forced_eos_token_id": null,
111
+ "hidden_act": "silu",
112
+ "hidden_size": 5120,
113
+ "id2label": {
114
+ "0": "LABEL_0",
115
+ "1": "LABEL_1"
116
+ },
117
+ "initializer_range": 0.02,
118
+ "intermediate_size": 13824,
119
+ "is_decoder": false,
120
+ "is_encoder_decoder": false,
121
+ "label2id": {
122
+ "LABEL_0": 0,
123
+ "LABEL_1": 1
124
+ },
125
+ "length_penalty": 1.0,
126
+ "max_length": 20,
127
+ "max_position_embeddings": 2048,
128
+ "min_length": 0,
129
+ "model_type": "llama",
130
+ "no_repeat_ngram_size": 0,
131
+ "num_attention_heads": 40,
132
+ "num_beam_groups": 1,
133
+ "num_beams": 1,
134
+ "num_hidden_layers": 40,
135
+ "num_return_sequences": 1,
136
+ "output_attentions": false,
137
+ "output_hidden_states": false,
138
+ "output_scores": false,
139
+ "pad_token_id": 0,
140
+ "prefix": null,
141
+ "problem_type": null,
142
+ "pruned_heads": {},
143
+ "remove_invalid_values": false,
144
+ "repetition_penalty": 1.0,
145
+ "return_dict": true,
146
+ "return_dict_in_generate": false,
147
+ "rms_norm_eps": 1e-06,
148
+ "sep_token_id": null,
149
+ "suppress_tokens": null,
150
+ "task_specific_params": null,
151
+ "temperature": 1.0,
152
+ "tf_legacy_loss": false,
153
+ "tie_encoder_decoder": false,
154
+ "tie_word_embeddings": false,
155
+ "tokenizer_class": null,
156
+ "top_k": 50,
157
+ "top_p": 1.0,
158
+ "torch_dtype": "float16",
159
+ "torchscript": false,
160
+ "transformers_version": "4.28.0",
161
+ "typical_p": 1.0,
162
+ "use_bfloat16": false,
163
+ "use_cache": true,
164
+ "vocab_size": 39424
165
+ },
166
+ "tie_word_embeddings": false,
167
+ "torch_dtype": "bfloat16",
168
+ "transformers_version": null,
169
+ "use_decoder_only_language_model": true,
170
+ "vision_config": {
171
+ "_name_or_path": "",
172
+ "add_cross_attention": false,
173
+ "architectures": null,
174
+ "attention_dropout": 0.0,
175
+ "bad_words_ids": null,
176
+ "begin_suppress_tokens": null,
177
+ "bos_token_id": null,
178
+ "chunk_size_feed_forward": 0,
179
+ "cross_attention_hidden_size": null,
180
+ "decoder_start_token_id": null,
181
+ "diversity_penalty": 0.0,
182
+ "do_sample": false,
183
+ "dropout": 0.0,
184
+ "early_stopping": false,
185
+ "encoder_no_repeat_ngram_size": 0,
186
+ "eos_token_id": null,
187
+ "exponential_decay_length_penalty": null,
188
+ "finetuning_task": null,
189
+ "forced_bos_token_id": null,
190
+ "forced_eos_token_id": null,
191
+ "hidden_act": "gelu",
192
+ "hidden_size": 1408,
193
+ "id2label": {
194
+ "0": "LABEL_0",
195
+ "1": "LABEL_1"
196
+ },
197
+ "image_size": 224,
198
+ "initializer_factor": 1.0,
199
+ "initializer_range": 1e-10,
200
+ "intermediate_size": 6144,
201
+ "is_decoder": false,
202
+ "is_encoder_decoder": false,
203
+ "label2id": {
204
+ "LABEL_0": 0,
205
+ "LABEL_1": 1
206
+ },
207
+ "layer_norm_eps": 1e-05,
208
+ "length_penalty": 1.0,
209
+ "max_length": 20,
210
+ "min_length": 0,
211
+ "model_type": "blip_2_vision_model",
212
+ "no_repeat_ngram_size": 0,
213
+ "num_attention_heads": 16,
214
+ "num_beam_groups": 1,
215
+ "num_beams": 1,
216
+ "num_channels": 3,
217
+ "num_hidden_layers": 39,
218
+ "num_return_sequences": 1,
219
+ "output_attentions": false,
220
+ "output_hidden_states": false,
221
+ "output_scores": false,
222
+ "pad_token_id": null,
223
+ "patch_size": 14,
224
+ "prefix": null,
225
+ "problem_type": null,
226
+ "projection_dim": 512,
227
+ "pruned_heads": {},
228
+ "qkv_bias": true,
229
+ "remove_invalid_values": false,
230
+ "repetition_penalty": 1.0,
231
+ "return_dict": true,
232
+ "return_dict_in_generate": false,
233
+ "sep_token_id": null,
234
+ "suppress_tokens": null,
235
+ "task_specific_params": null,
236
+ "temperature": 1.0,
237
+ "tf_legacy_loss": false,
238
+ "tie_encoder_decoder": false,
239
+ "tie_word_embeddings": true,
240
+ "tokenizer_class": null,
241
+ "top_k": 50,
242
+ "top_p": 1.0,
243
+ "torch_dtype": null,
244
+ "torchscript": false,
245
+ "transformers_version": "4.28.0",
246
+ "typical_p": 1.0,
247
+ "use_bfloat16": false
248
+ }
249
+ }
pytorch_model-00001-of-00003.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:80160e737ebfd43a21fe346ab4628813b3b371f1e94209bd7f71da20da48ac20
3
+ size 12859844943
pytorch_model-00002-of-00003.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7b74ff22cf2a73fab2a3a06879a6b68398980aa2a5756a3f7aae1a3e36a8889b
3
+ size 12691391801
pytorch_model-00003-of-00003.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8e309b836dd4442f88d96b813ca44b6a96e3aa9ce5688a57df4c3e2788008c77
3
+ size 11647998357
pytorch_model.bin.index.json ADDED
The diff for this file is too large to render. See raw diff