Yukang commited on
Commit
ab6447b
·
verified ·
1 Parent(s): 8321181

Upload config_vila_style.json

Browse files
Files changed (1) hide show
  1. config_vila_style.json +289 -0
config_vila_style.json ADDED
@@ -0,0 +1,289 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "./LongVILA-R1-7B",
4
+ "architectures": [
5
+ "LlavaLlamaModel"
6
+ ],
7
+ "chat_template": null,
8
+ "drop_path_rate": 0.0,
9
+ "fps": 0.0,
10
+ "hidden_size": 3584,
11
+ "image_aspect_ratio": "resize",
12
+ "image_encoder": {
13
+ "_target_": "llava.model.encoders.BasicImageEncoder"
14
+ },
15
+ "interpolate_mode": "linear",
16
+ "llm_cfg": {
17
+ "_attn_implementation_autoset": false,
18
+ "_name_or_path": "./LongVILA-R1-7B/llm",
19
+ "add_cross_attention": false,
20
+ "architectures": [
21
+ "Qwen2ForCausalLM"
22
+ ],
23
+ "attention_dropout": 0.0,
24
+ "bad_words_ids": null,
25
+ "begin_suppress_tokens": null,
26
+ "bos_token_id": 151643,
27
+ "chunk_size_feed_forward": 0,
28
+ "cross_attention_hidden_size": null,
29
+ "decoder_start_token_id": null,
30
+ "diversity_penalty": 0.0,
31
+ "do_sample": false,
32
+ "early_stopping": false,
33
+ "encoder_no_repeat_ngram_size": 0,
34
+ "eos_token_id": 151645,
35
+ "exponential_decay_length_penalty": null,
36
+ "finetuning_task": null,
37
+ "forced_bos_token_id": null,
38
+ "forced_eos_token_id": null,
39
+ "hidden_act": "silu",
40
+ "hidden_size": 3584,
41
+ "id2label": {
42
+ "0": "LABEL_0",
43
+ "1": "LABEL_1"
44
+ },
45
+ "initializer_range": 0.02,
46
+ "intermediate_size": 18944,
47
+ "is_decoder": false,
48
+ "is_encoder_decoder": false,
49
+ "label2id": {
50
+ "LABEL_0": 0,
51
+ "LABEL_1": 1
52
+ },
53
+ "length_penalty": 1.0,
54
+ "max_length": 20,
55
+ "max_position_embeddings": 32768,
56
+ "max_window_layers": 28,
57
+ "min_length": 0,
58
+ "model_max_length": 32768,
59
+ "model_type": "qwen2",
60
+ "no_repeat_ngram_size": 0,
61
+ "num_attention_heads": 28,
62
+ "num_beam_groups": 1,
63
+ "num_beams": 1,
64
+ "num_hidden_layers": 28,
65
+ "num_key_value_heads": 4,
66
+ "num_return_sequences": 1,
67
+ "output_attentions": false,
68
+ "output_hidden_states": false,
69
+ "output_scores": false,
70
+ "pad_token_id": null,
71
+ "prefix": null,
72
+ "problem_type": null,
73
+ "pruned_heads": {},
74
+ "remove_invalid_values": false,
75
+ "repetition_penalty": 1.0,
76
+ "return_dict": true,
77
+ "return_dict_in_generate": false,
78
+ "rms_norm_eps": 1e-06,
79
+ "rope_scaling": null,
80
+ "rope_theta": 1000000.0,
81
+ "sep_token_id": null,
82
+ "sliding_window": null,
83
+ "suppress_tokens": null,
84
+ "task_specific_params": null,
85
+ "temperature": 1.0,
86
+ "tf_legacy_loss": false,
87
+ "tie_encoder_decoder": false,
88
+ "tie_word_embeddings": false,
89
+ "tokenizer_class": null,
90
+ "tokenizer_model_max_length": 4096,
91
+ "tokenizer_padding_side": "right",
92
+ "top_k": 50,
93
+ "top_p": 1.0,
94
+ "torch_dtype": "bfloat16",
95
+ "torchscript": false,
96
+ "typical_p": 1.0,
97
+ "use_bfloat16": false,
98
+ "use_cache": false,
99
+ "use_sliding_window": false,
100
+ "vocab_size": 151651
101
+ },
102
+ "mm_hidden_size": 1152,
103
+ "mm_projector": "mlp_downsample_2x2_fix",
104
+ "mm_projector_cfg": {
105
+ "_attn_implementation_autoset": false,
106
+ "_name_or_path": "./LongVILA-R1-7B/mm_projector",
107
+ "add_cross_attention": false,
108
+ "architectures": [
109
+ "MultimodalProjector"
110
+ ],
111
+ "bad_words_ids": null,
112
+ "begin_suppress_tokens": null,
113
+ "bos_token_id": null,
114
+ "chunk_size_feed_forward": 0,
115
+ "cross_attention_hidden_size": null,
116
+ "decoder_start_token_id": null,
117
+ "diversity_penalty": 0.0,
118
+ "do_sample": false,
119
+ "early_stopping": false,
120
+ "encoder_no_repeat_ngram_size": 0,
121
+ "eos_token_id": null,
122
+ "exponential_decay_length_penalty": null,
123
+ "finetuning_task": null,
124
+ "forced_bos_token_id": null,
125
+ "forced_eos_token_id": null,
126
+ "id2label": {
127
+ "0": "LABEL_0",
128
+ "1": "LABEL_1"
129
+ },
130
+ "is_decoder": false,
131
+ "is_encoder_decoder": false,
132
+ "label2id": {
133
+ "LABEL_0": 0,
134
+ "LABEL_1": 1
135
+ },
136
+ "length_penalty": 1.0,
137
+ "max_length": 20,
138
+ "min_length": 0,
139
+ "mm_projector_type": "mlp_downsample_2x2_fix",
140
+ "model_type": "v2l_projector",
141
+ "no_repeat_ngram_size": 0,
142
+ "num_beam_groups": 1,
143
+ "num_beams": 1,
144
+ "num_return_sequences": 1,
145
+ "output_attentions": false,
146
+ "output_hidden_states": false,
147
+ "output_scores": false,
148
+ "pad_token_id": null,
149
+ "prefix": null,
150
+ "problem_type": null,
151
+ "pruned_heads": {},
152
+ "remove_invalid_values": false,
153
+ "repetition_penalty": 1.0,
154
+ "return_dict": true,
155
+ "return_dict_in_generate": false,
156
+ "sep_token_id": null,
157
+ "suppress_tokens": null,
158
+ "task_specific_params": null,
159
+ "temperature": 1.0,
160
+ "tf_legacy_loss": false,
161
+ "tie_encoder_decoder": false,
162
+ "tie_word_embeddings": true,
163
+ "tokenizer_class": null,
164
+ "top_k": 50,
165
+ "top_p": 1.0,
166
+ "torch_dtype": "bfloat16",
167
+ "torchscript": false,
168
+ "typical_p": 1.0,
169
+ "use_bfloat16": false
170
+ },
171
+ "mm_projector_lr": null,
172
+ "mm_use_im_patch_token": false,
173
+ "mm_use_im_start_end": false,
174
+ "mm_vision_select_feature": "cls_patch",
175
+ "mm_vision_select_layer": -2,
176
+ "model_dtype": "torch.bfloat16",
177
+ "model_name_or_path": "./LongVILA-R1-7B",
178
+ "model_type": "llava_llama",
179
+ "num_time_tokens": 0,
180
+ "num_video_frames": 512,
181
+ "resume_path": "./LongVILA-R1-7B",
182
+ "s2": false,
183
+ "s2_max_split_size": 336,
184
+ "s2_scales": "336,672,1008",
185
+ "soft_ce_std": 1.0,
186
+ "time_token_format": "<t{t}>",
187
+ "time_token_ids": [],
188
+ "transformers_version": "4.46.2",
189
+ "tune_language_model": true,
190
+ "tune_mm_projector": true,
191
+ "tune_vision_tower": true,
192
+ "version": "auto",
193
+ "video_encoder": {
194
+ "_target_": "llava.model.encoders.TSPVideoEncoder",
195
+ "pool_sizes": [
196
+ [
197
+ 8,
198
+ 1,
199
+ 1
200
+ ]
201
+ ]
202
+ },
203
+ "video_max_tiles": 1,
204
+ "vision_resolution": -1,
205
+ "vision_tower": "Efficient-Large-Model/paligemma-siglip-so400m-patch14-448",
206
+ "vision_tower_cfg": {
207
+ "_attn_implementation_autoset": false,
208
+ "_name_or_path": "./LongVILA-R1-7B/vision_tower",
209
+ "add_cross_attention": false,
210
+ "architectures": [
211
+ "SiglipVisionModel"
212
+ ],
213
+ "attention_dropout": 0.0,
214
+ "bad_words_ids": null,
215
+ "begin_suppress_tokens": null,
216
+ "bos_token_id": null,
217
+ "chunk_size_feed_forward": 0,
218
+ "cross_attention_hidden_size": null,
219
+ "decoder_start_token_id": null,
220
+ "diversity_penalty": 0.0,
221
+ "do_sample": false,
222
+ "early_stopping": false,
223
+ "encoder_no_repeat_ngram_size": 0,
224
+ "eos_token_id": null,
225
+ "exponential_decay_length_penalty": null,
226
+ "finetuning_task": null,
227
+ "forced_bos_token_id": null,
228
+ "forced_eos_token_id": null,
229
+ "hidden_act": "gelu_pytorch_tanh",
230
+ "hidden_size": 1152,
231
+ "id2label": {
232
+ "0": "LABEL_0",
233
+ "1": "LABEL_1"
234
+ },
235
+ "image_size": 448,
236
+ "intermediate_size": 4304,
237
+ "is_decoder": false,
238
+ "is_encoder_decoder": false,
239
+ "label2id": {
240
+ "LABEL_0": 0,
241
+ "LABEL_1": 1
242
+ },
243
+ "layer_norm_eps": 1e-06,
244
+ "length_penalty": 1.0,
245
+ "max_length": 20,
246
+ "min_length": 0,
247
+ "model_type": "siglip_vision_model",
248
+ "no_repeat_ngram_size": 0,
249
+ "num_attention_heads": 16,
250
+ "num_beam_groups": 1,
251
+ "num_beams": 1,
252
+ "num_channels": 3,
253
+ "num_hidden_layers": 27,
254
+ "num_image_tokens": 256,
255
+ "num_return_sequences": 1,
256
+ "output_attentions": false,
257
+ "output_hidden_states": false,
258
+ "output_scores": false,
259
+ "pad_token_id": null,
260
+ "patch_size": 14,
261
+ "prefix": null,
262
+ "problem_type": null,
263
+ "projection_dim": 2048,
264
+ "projector_hidden_act": "gelu_fast",
265
+ "pruned_heads": {},
266
+ "remove_invalid_values": false,
267
+ "repetition_penalty": 1.0,
268
+ "return_dict": true,
269
+ "return_dict_in_generate": false,
270
+ "sep_token_id": null,
271
+ "suppress_tokens": null,
272
+ "task_specific_params": null,
273
+ "temperature": 1.0,
274
+ "tf_legacy_loss": false,
275
+ "tie_encoder_decoder": false,
276
+ "tie_word_embeddings": true,
277
+ "tokenizer_class": null,
278
+ "top_k": 50,
279
+ "top_p": 1.0,
280
+ "torch_dtype": "bfloat16",
281
+ "torchscript": false,
282
+ "typical_p": 1.0,
283
+ "use_bfloat16": false,
284
+ "vision_use_head": false
285
+ },
286
+ "vision_tower_lr": null,
287
+ "weight_memory_efficient": true,
288
+ "xvila_mode": false
289
+ }