shuowangmark commited on
Commit
79c341c
·
verified ·
1 Parent(s): 37e057d

Upload model.config.json

Browse files
Files changed (1) hide show
  1. model.config.json +384 -0
model.config.json ADDED
@@ -0,0 +1,384 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "__config_type__": "robo_orchard_lab.models.monodream.model:MonoDreamConfig",
3
+ "class_type": "robo_orchard_lab.models.monodream.model:MonoDream",
4
+ "llava_llama_config": {
5
+ "Ubit": 100,
6
+ "_attn_implementation_autoset": true,
7
+ "architectures": [
8
+ "LlavaLlamaModel"
9
+ ],
10
+ "babit": "E5M2",
11
+ "bobit": "E5M2",
12
+ "bwbit": "E5M2",
13
+ "chat_template": null,
14
+ "col_blocksize": -1,
15
+ "col_blocksize_optimizer": 128,
16
+ "draw_distribution_backward": false,
17
+ "draw_distribution_forward": false,
18
+ "drop_path_rate": 0.0,
19
+ "dynamic_s2": false,
20
+ "epsilon": 1e-10,
21
+ "epsilon_optimizer": 1e-15,
22
+ "fabit": "E4M3",
23
+ "first_order_bit": null,
24
+ "first_order_quant_type": null,
25
+ "fobit": "E4M3",
26
+ "fps": 0.0,
27
+ "fwbit": "E4M3",
28
+ "group_size": -1,
29
+ "hidden_size": 1536,
30
+ "image_aspect_ratio": "dynamic",
31
+ "image_encoder": {
32
+ "_target_": "llava.model.encoders.BasicImageEncoder"
33
+ },
34
+ "interpolate_mode": "linear",
35
+ "llm_cfg": {
36
+ "_attn_implementation_autoset": false,
37
+ "add_cross_attention": false,
38
+ "architectures": [
39
+ "Qwen2ForCausalLM"
40
+ ],
41
+ "attention_dropout": 0.0,
42
+ "bad_words_ids": null,
43
+ "begin_suppress_tokens": null,
44
+ "bos_token_id": 151643,
45
+ "chunk_size_feed_forward": 0,
46
+ "cross_attention_hidden_size": null,
47
+ "decoder_start_token_id": null,
48
+ "diversity_penalty": 0.0,
49
+ "do_sample": false,
50
+ "early_stopping": false,
51
+ "encoder_no_repeat_ngram_size": 0,
52
+ "eos_token_id": 151645,
53
+ "exponential_decay_length_penalty": null,
54
+ "finetuning_task": null,
55
+ "forced_bos_token_id": null,
56
+ "forced_eos_token_id": null,
57
+ "hidden_act": "silu",
58
+ "hidden_size": 1536,
59
+ "id2label": {
60
+ "0": "LABEL_0",
61
+ "1": "LABEL_1"
62
+ },
63
+ "initializer_range": 0.02,
64
+ "intermediate_size": 8960,
65
+ "is_decoder": false,
66
+ "is_encoder_decoder": false,
67
+ "label2id": {
68
+ "LABEL_0": 0,
69
+ "LABEL_1": 1
70
+ },
71
+ "length_penalty": 1.0,
72
+ "max_length": 20,
73
+ "max_position_embeddings": 32768,
74
+ "max_window_layers": 28,
75
+ "min_length": 0,
76
+ "model_max_length": 4096,
77
+ "model_type": "qwen2",
78
+ "no_repeat_ngram_size": 0,
79
+ "num_attention_heads": 12,
80
+ "num_beam_groups": 1,
81
+ "num_beams": 1,
82
+ "num_hidden_layers": 28,
83
+ "num_key_value_heads": 2,
84
+ "num_return_sequences": 1,
85
+ "output_attentions": false,
86
+ "output_hidden_states": false,
87
+ "output_scores": false,
88
+ "pad_token_id": null,
89
+ "prefix": null,
90
+ "problem_type": null,
91
+ "pruned_heads": {},
92
+ "remove_invalid_values": false,
93
+ "repetition_penalty": 1.0,
94
+ "return_dict": true,
95
+ "return_dict_in_generate": false,
96
+ "rms_norm_eps": 1e-6,
97
+ "rope_scaling": null,
98
+ "rope_theta": 1000000.0,
99
+ "sep_token_id": null,
100
+ "sliding_window": null,
101
+ "suppress_tokens": null,
102
+ "task_specific_params": null,
103
+ "temperature": 1.0,
104
+ "tf_legacy_loss": false,
105
+ "tie_encoder_decoder": false,
106
+ "tie_word_embeddings": true,
107
+ "tokenizer_class": null,
108
+ "tokenizer_model_max_length": 4096,
109
+ "tokenizer_padding_side": "right",
110
+ "top_k": 50,
111
+ "top_p": 1.0,
112
+ "torch_dtype": "bfloat16",
113
+ "torchscript": false,
114
+ "typical_p": 1.0,
115
+ "use_bfloat16": false,
116
+ "use_cache": false,
117
+ "use_sliding_window": false,
118
+ "vocab_size": 151651
119
+ },
120
+ "max_tiles": 12,
121
+ "min_blockunit_col": 4,
122
+ "min_blockunit_row": 4,
123
+ "min_tiles": 1,
124
+ "mlp_path": null,
125
+ "mm_hidden_size": 1152,
126
+ "mm_projector": "mlp_downsample_3x3_fix",
127
+ "mm_projector_cfg": {
128
+ "_attn_implementation_autoset": false,
129
+ "add_cross_attention": false,
130
+ "architectures": [
131
+ "MultimodalProjector"
132
+ ],
133
+ "bad_words_ids": null,
134
+ "begin_suppress_tokens": null,
135
+ "bos_token_id": null,
136
+ "chunk_size_feed_forward": 0,
137
+ "cross_attention_hidden_size": null,
138
+ "decoder_start_token_id": null,
139
+ "diversity_penalty": 0.0,
140
+ "do_sample": false,
141
+ "early_stopping": false,
142
+ "encoder_no_repeat_ngram_size": 0,
143
+ "eos_token_id": null,
144
+ "exponential_decay_length_penalty": null,
145
+ "finetuning_task": null,
146
+ "forced_bos_token_id": null,
147
+ "forced_eos_token_id": null,
148
+ "id2label": {
149
+ "0": "LABEL_0",
150
+ "1": "LABEL_1"
151
+ },
152
+ "is_decoder": false,
153
+ "is_encoder_decoder": false,
154
+ "label2id": {
155
+ "LABEL_0": 0,
156
+ "LABEL_1": 1
157
+ },
158
+ "length_penalty": 1.0,
159
+ "max_length": 20,
160
+ "min_length": 0,
161
+ "mm_projector_type": "mlp_downsample_3x3_fix",
162
+ "model_type": "v2l_projector",
163
+ "no_repeat_ngram_size": 0,
164
+ "num_beam_groups": 1,
165
+ "num_beams": 1,
166
+ "num_return_sequences": 1,
167
+ "output_attentions": false,
168
+ "output_hidden_states": false,
169
+ "output_scores": false,
170
+ "pad_token_id": null,
171
+ "prefix": null,
172
+ "problem_type": null,
173
+ "pruned_heads": {},
174
+ "remove_invalid_values": false,
175
+ "repetition_penalty": 1.0,
176
+ "return_dict": true,
177
+ "return_dict_in_generate": false,
178
+ "sep_token_id": null,
179
+ "suppress_tokens": null,
180
+ "task_specific_params": null,
181
+ "temperature": 1.0,
182
+ "tf_legacy_loss": false,
183
+ "tie_encoder_decoder": false,
184
+ "tie_word_embeddings": true,
185
+ "tokenizer_class": null,
186
+ "top_k": 50,
187
+ "top_p": 1.0,
188
+ "torch_dtype": "bfloat16",
189
+ "torchscript": false,
190
+ "typical_p": 1.0,
191
+ "use_bfloat16": false
192
+ },
193
+ "mm_projector_lr": null,
194
+ "mm_use_im_patch_token": false,
195
+ "mm_use_im_start_end": false,
196
+ "mm_vision_select_feature": "cls_patch",
197
+ "mm_vision_select_layer": -2,
198
+ "model_dtype": "torch.bfloat16",
199
+ "model_type": "llava_llama",
200
+ "num_time_tokens": 0,
201
+ "num_video_frames": 8,
202
+ "pad_block": false,
203
+ "pad_to_multiple_of": 0,
204
+ "qchoice": "none",
205
+ "quantize_model": false,
206
+ "refine_attn_blocksize": false,
207
+ "refine_col_blocksize": 4,
208
+ "refine_ln_blocksize": false,
209
+ "refine_ln_blocksize_but_only_backward": false,
210
+ "refine_ln_blocksize_but_only_forward": false,
211
+ "refine_ln_pertoken": false,
212
+ "refine_mlp_blocksize": false,
213
+ "refine_residual_fp": false,
214
+ "refine_row_blocksize": 4,
215
+ "row_blocksize": -1,
216
+ "row_blocksize_optimizer": 1,
217
+ "s2": false,
218
+ "s2_max_split_size": 336,
219
+ "s2_resize_output_to_scale_idx": 0,
220
+ "s2_scales": "336,672,1008",
221
+ "second_order_bit": null,
222
+ "second_order_quant_type": null,
223
+ "soft_ce_std": 1.0,
224
+ "symm": true,
225
+ "time_token_format": "<t{t}>",
226
+ "time_token_ids": [],
227
+ "transformers_version": "4.46.0",
228
+ "tune_language_model": true,
229
+ "tune_mm_projector": true,
230
+ "tune_vision_tower": true,
231
+ "use_quantize_optimizer": false,
232
+ "version": "auto",
233
+ "video_encoder": {
234
+ "_target_": "llava.model.encoders.BasicVideoEncoder"
235
+ },
236
+ "vision_resolution": -1,
237
+ "vision_tower": "Efficient-Large-Model/paligemma-siglip-so400m-patch14-448",
238
+ "vision_tower_cfg": {
239
+ "_attn_implementation_autoset": false,
240
+ "add_cross_attention": false,
241
+ "architectures": [
242
+ "SiglipVisionModel"
243
+ ],
244
+ "attention_dropout": 0.0,
245
+ "bad_words_ids": null,
246
+ "begin_suppress_tokens": null,
247
+ "bos_token_id": null,
248
+ "chunk_size_feed_forward": 0,
249
+ "cross_attention_hidden_size": null,
250
+ "decoder_start_token_id": null,
251
+ "diversity_penalty": 0.0,
252
+ "do_sample": false,
253
+ "early_stopping": false,
254
+ "encoder_no_repeat_ngram_size": 0,
255
+ "eos_token_id": null,
256
+ "exponential_decay_length_penalty": null,
257
+ "finetuning_task": null,
258
+ "forced_bos_token_id": null,
259
+ "forced_eos_token_id": null,
260
+ "hidden_act": "gelu_pytorch_tanh",
261
+ "hidden_size": 1152,
262
+ "id2label": {
263
+ "0": "LABEL_0",
264
+ "1": "LABEL_1"
265
+ },
266
+ "image_size": 448,
267
+ "intermediate_size": 4304,
268
+ "is_decoder": false,
269
+ "is_encoder_decoder": false,
270
+ "label2id": {
271
+ "LABEL_0": 0,
272
+ "LABEL_1": 1
273
+ },
274
+ "layer_norm_eps": 1e-6,
275
+ "length_penalty": 1.0,
276
+ "max_length": 20,
277
+ "min_length": 0,
278
+ "model_type": "siglip_vision_model",
279
+ "no_repeat_ngram_size": 0,
280
+ "num_attention_heads": 16,
281
+ "num_beam_groups": 1,
282
+ "num_beams": 1,
283
+ "num_channels": 3,
284
+ "num_hidden_layers": 27,
285
+ "num_image_tokens": 256,
286
+ "num_return_sequences": 1,
287
+ "output_attentions": false,
288
+ "output_hidden_states": false,
289
+ "output_scores": false,
290
+ "pad_token_id": null,
291
+ "patch_size": 14,
292
+ "prefix": null,
293
+ "problem_type": null,
294
+ "projection_dim": 2048,
295
+ "projector_hidden_act": "gelu_fast",
296
+ "pruned_heads": {},
297
+ "remove_invalid_values": false,
298
+ "repetition_penalty": 1.0,
299
+ "return_dict": true,
300
+ "return_dict_in_generate": false,
301
+ "sep_token_id": null,
302
+ "suppress_tokens": null,
303
+ "task_specific_params": null,
304
+ "temperature": 1.0,
305
+ "tf_legacy_loss": false,
306
+ "tie_encoder_decoder": false,
307
+ "tie_word_embeddings": true,
308
+ "tokenizer_class": null,
309
+ "top_k": 50,
310
+ "top_p": 1.0,
311
+ "torch_dtype": "bfloat16",
312
+ "torchscript": false,
313
+ "typical_p": 1.0,
314
+ "use_bfloat16": false,
315
+ "vision_use_head": false
316
+ },
317
+ "vision_tower_lr": null,
318
+ "weight_memory_efficient": true
319
+ },
320
+ "projector_config": {
321
+ "architectures": [
322
+ "MultimodalProjector"
323
+ ],
324
+ "mm_projector_type": "mlp_downsample_3x3_fix",
325
+ "model_type": "v2l_projector",
326
+ "torch_dtype": "bfloat16",
327
+ "transformers_version": "4.46.0"
328
+ },
329
+ "vision_config": {
330
+ "architectures": [
331
+ "SiglipVisionModel"
332
+ ],
333
+ "attention_dropout": 0.0,
334
+ "hidden_act": "gelu_pytorch_tanh",
335
+ "hidden_size": 1152,
336
+ "image_size": 448,
337
+ "intermediate_size": 4304,
338
+ "layer_norm_eps": 1e-6,
339
+ "model_type": "siglip_vision_model",
340
+ "num_attention_heads": 16,
341
+ "num_channels": 3,
342
+ "num_hidden_layers": 27,
343
+ "num_image_tokens": 256,
344
+ "patch_size": 14,
345
+ "projection_dim": 2048,
346
+ "projector_hidden_act": "gelu_fast",
347
+ "torch_dtype": "bfloat16",
348
+ "transformers_version": "4.46.0",
349
+ "vision_use_head": false
350
+ },
351
+ "llm_config": {
352
+ "architectures": [
353
+ "Qwen2ForCausalLM"
354
+ ],
355
+ "attention_dropout": 0.0,
356
+ "bos_token_id": 151643,
357
+ "eos_token_id": 151645,
358
+ "hidden_act": "silu",
359
+ "hidden_size": 1536,
360
+ "initializer_range": 0.02,
361
+ "intermediate_size": 8960,
362
+ "max_position_embeddings": 32768,
363
+ "max_window_layers": 28,
364
+ "model_max_length": 4096,
365
+ "model_type": "qwen2",
366
+ "num_attention_heads": 12,
367
+ "num_hidden_layers": 28,
368
+ "num_key_value_heads": 2,
369
+ "rms_norm_eps": 1e-6,
370
+ "rope_scaling": null,
371
+ "rope_theta": 1000000.0,
372
+ "sliding_window": null,
373
+ "tie_word_embeddings": true,
374
+ "tokenizer_model_max_length": 4096,
375
+ "tokenizer_padding_side": "right",
376
+ "torch_dtype": "bfloat16",
377
+ "transformers_version": "4.46.0",
378
+ "use_cache": false,
379
+ "use_sliding_window": false,
380
+ "vocab_size": 151651
381
+ },
382
+ "tokenizer_path": "/mnt/data3/shuo03.wang/model/aux_think_2B/llm",
383
+ "image_processor_path": "/mnt/data3/shuo03.wang/model/aux_think_2B/vision_tower/preprocessor_config.json"
384
+ }