owl10 commited on
Commit
aa7fb08
·
verified ·
1 Parent(s): 7aee881

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
added_tokens.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "</think>": 151668,
3
+ "</tool_call>": 151658,
4
+ "</tool_response>": 151666,
5
+ "<think>": 151667,
6
+ "<tool_call>": 151657,
7
+ "<tool_response>": 151665,
8
+ "<|box_end|>": 151649,
9
+ "<|box_start|>": 151648,
10
+ "<|endoftext|>": 151643,
11
+ "<|file_sep|>": 151664,
12
+ "<|fim_middle|>": 151660,
13
+ "<|fim_pad|>": 151662,
14
+ "<|fim_prefix|>": 151659,
15
+ "<|fim_suffix|>": 151661,
16
+ "<|im_end|>": 151645,
17
+ "<|im_start|>": 151644,
18
+ "<|image_pad|>": 151655,
19
+ "<|object_ref_end|>": 151647,
20
+ "<|object_ref_start|>": 151646,
21
+ "<|quad_end|>": 151651,
22
+ "<|quad_start|>": 151650,
23
+ "<|repo_name|>": 151663,
24
+ "<|video_pad|>": 151656,
25
+ "<|vision_end|>": 151653,
26
+ "<|vision_pad|>": 151654,
27
+ "<|vision_start|>": 151652
28
+ }
args.json ADDED
@@ -0,0 +1,742 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "use_ray": false,
3
+ "ray_exp_name": null,
4
+ "device_groups": null,
5
+ "model": "/high_perf_store3/world-model/zhuzhenxin/ckpts/Qwen3-VL-2B-Instruct/",
6
+ "model_type": "qwen3_vl",
7
+ "model_revision": null,
8
+ "task_type": "causal_lm",
9
+ "torch_dtype": "bfloat16",
10
+ "attn_impl": null,
11
+ "new_special_tokens": [
12
+ "<FRONT_VIEW>",
13
+ "<FRONT_LEFT_VIEW>",
14
+ "<FRONT_RIGHT_VIEW>",
15
+ "<BACK_LEFT_VIEW>",
16
+ "<BACK_RIGHT_VIEW>",
17
+ "<BACK_VIEW>"
18
+ ],
19
+ "num_labels": null,
20
+ "problem_type": null,
21
+ "rope_scaling": {
22
+ "mrope_interleaved": true,
23
+ "mrope_section": [
24
+ 24,
25
+ 20,
26
+ 20
27
+ ],
28
+ "rope_type": "default"
29
+ },
30
+ "device_map": null,
31
+ "max_memory": {},
32
+ "max_model_len": null,
33
+ "local_repo_path": null,
34
+ "init_strategy": null,
35
+ "template": "qwen3_vl",
36
+ "system": "Generalist Autonomous Driving Agent\nRole: You are an advanced, multimodal AI brain for an autonomous vehicle, capable of Perception, Reasoning, and Planning. Your goal is to drive safely, follow instructions, and deeply understand the dynamic world around you.\n\nContext & Coordinate System\n- Ego-Centric View: You are at the origin (0,0). The X-axis represents the lateral distance (perpendicular), and the Y-axis represents the longitudinal distance (forward).\n- Inputs: You receive multi-view visual observations (<FRONT_VIEW>, <BACK_VIEW>, etc.), historical ego-motion, and vehicle states (velocity, acceleration).\n\nCore Capabilities\n1. **Driving & Planning**:\n - Objective: Generate a safe, comfortable, and feasible 3-second trajectory (6 waypoints, 0.5s interval).\n - Constraints: Strictly adhere to traffic rules, avoid collisions, and respect kinematic limits.\n - Output Format: A sequence of coordinates [(x1,y1), ..., (x6,y6)].\n\n2. **Reasoning & VQA** (Chain-of-Thought):\n - Tasks: Analyze traffic scenes, explain causal logic (e.g., \"Why stop?\"), identify hazards, and answer queries about the environment (weather, road layout, traffic lights).\n - Reasoning: Break down complex scenarios into step-by-step logic, grounding your answers in visual evidence.\n\n3. **Instruction Following & Grounding**:\n - Tasks: Execute navigation commands (e.g., \"Park behind the red truck\") and ground textual descriptions to specific visual regions or objects.\n\n4. **Perception & World Modeling** (Future & Current State):\n - Tasks: Detect and track objects, predict their future motion, and estimate 3D occupancy or scene geometry (Gaussian Splatting/Occ).\n - Understanding: Map semantic elements (lanes, crossings) and dynamic agents into a coherent world model.\n\nInstructions\n- For **Planning** tasks: Output the \"Trajectory\".\n- For **QA/Reasoning** tasks: Provide a clear, logical, and helpful text response.\n- For **Perception** tasks: Output structured descriptions or specific formats as requested.\n\nAlways prioritize safety and clarity in your responses.\n",
37
+ "max_length": 16384,
38
+ "truncation_strategy": "delete",
39
+ "max_pixels": null,
40
+ "agent_template": null,
41
+ "norm_bbox": null,
42
+ "use_chat_template": true,
43
+ "padding_side": "right",
44
+ "padding_free": true,
45
+ "loss_scale": "default",
46
+ "sequence_parallel_size": 1,
47
+ "template_backend": "swift",
48
+ "response_prefix": null,
49
+ "enable_thinking": null,
50
+ "add_non_thinking_prefix": true,
51
+ "dataset": [
52
+ "/high_perf_store3/world-model/yongkangli/UniDriveVLA/nuscenes_planning_qa_train_only_command_his_traj.jsonl#28130",
53
+ "/high_perf_store3/world-model/yongkangli/Dataset_vqa/NuInstruct/qa_dataset_scored_clean_fixed_updated_token_fixed.jsonl#57317",
54
+ "/high_perf_store3/world-model/yongkangli/Dataset_vqa/CODA-LM/output_coda_lm_updated_processed_clean.jsonl#20318",
55
+ "/high_perf_store3/world-model/yongkangli/Dataset_vqa/drivegpt4/output_scored_clean_fixed.jsonl#26319",
56
+ "/high_perf_store3/world-model/yongkangli/Dataset_vqa/Drama/drama_qa_scored_original_conversation_batched_retry_score_retry_clean_filter.jsonl#16401",
57
+ "/high_perf_store3/world-model/yongkangli/Dataset_vqa/LingoQA/qa_dataset_lingoqa_clean.jsonl#26824",
58
+ "/high_perf_store3/world-model/yongkangli/Dataset_vqa/sutd/qa_dataset_rewritten_explained_scored_video_clean.jsonl#9916",
59
+ "/high_perf_store3/world-model/yongkangli/Dataset_vqa/talk2car/talk2car_internvl_normalized_cleaned_updated.jsonl#8079",
60
+ "/high_perf_store3/world-model/yongkangli/Dataset_vqa/NuScenes-QA/qa_dataset_clean_updated_token_fixed.jsonl#24988",
61
+ "/high_perf_store3/world-model/yongkangli/Dataset_vqa/Omnidrive/qa_dataset_scored_omnidrive_clean_updated_token_fixed_no_system.jsonl#28009",
62
+ "/high_perf_store3/world-model/yongkangli/Dataset_vqa/Senna/senna_final_reordered_updated_token_fixed.jsonl#27885",
63
+ "/high_perf_store3/world-model/yongkangli/Dataset_vqa/maplm/qa_dataset_rewritten_explained_scored_maplm_new_clean_token_fixed.jsonl#10612",
64
+ "/high_perf_store3/world-model/yongkangli/finevision_subset_cleaned.jsonl#641439"
65
+ ],
66
+ "val_dataset": [
67
+ "/high_perf_store3/world-model/yongkangli/UniDriveVLA/nuscenes_planning_qa_val_only_command_his_traj.jsonl"
68
+ ],
69
+ "cached_dataset": [],
70
+ "cached_val_dataset": [],
71
+ "split_dataset_ratio": 0.0,
72
+ "data_seed": 42,
73
+ "dataset_num_proc": 32,
74
+ "load_from_cache_file": true,
75
+ "dataset_shuffle": true,
76
+ "val_dataset_shuffle": false,
77
+ "streaming": false,
78
+ "interleave_prob": null,
79
+ "stopping_strategy": "first_exhausted",
80
+ "shuffle_buffer_size": 1000,
81
+ "download_mode": "reuse_dataset_if_exists",
82
+ "columns": {},
83
+ "strict": false,
84
+ "remove_unused_columns": true,
85
+ "model_name": null,
86
+ "model_author": null,
87
+ "custom_dataset_info": [],
88
+ "quant_method": null,
89
+ "quant_bits": null,
90
+ "hqq_axis": null,
91
+ "bnb_4bit_compute_dtype": "bfloat16",
92
+ "bnb_4bit_quant_type": "nf4",
93
+ "bnb_4bit_use_double_quant": true,
94
+ "bnb_4bit_quant_storage": null,
95
+ "max_new_tokens": null,
96
+ "temperature": 0.9,
97
+ "top_k": 50,
98
+ "top_p": 0.9,
99
+ "repetition_penalty": 1.0,
100
+ "num_beams": 1,
101
+ "stream": false,
102
+ "stop_words": [],
103
+ "logprobs": false,
104
+ "top_logprobs": null,
105
+ "structured_outputs_regex": null,
106
+ "ckpt_dir": null,
107
+ "lora_modules": [],
108
+ "tuner_backend": "peft",
109
+ "train_type": "full",
110
+ "adapters": [],
111
+ "external_plugins": [],
112
+ "seed": 42,
113
+ "model_kwargs": {},
114
+ "load_args": false,
115
+ "load_data_args": false,
116
+ "packing": true,
117
+ "packing_length": 16384,
118
+ "packing_num_proc": 1,
119
+ "lazy_tokenize": false,
120
+ "custom_register_path": [],
121
+ "use_hf": false,
122
+ "hub_token": null,
123
+ "ddp_timeout": 18000000,
124
+ "ddp_backend": null,
125
+ "ignore_args_error": false,
126
+ "use_swift_lora": false,
127
+ "freeze_llm": false,
128
+ "freeze_vit": false,
129
+ "freeze_aligner": false,
130
+ "freeze_parameters": [],
131
+ "freeze_parameters_regex": null,
132
+ "freeze_parameters_ratio": 0.0,
133
+ "trainable_parameters": [],
134
+ "trainable_parameters_regex": null,
135
+ "adapter_load": null,
136
+ "target_modules": [
137
+ "all-linear"
138
+ ],
139
+ "target_regex": null,
140
+ "modules_to_save": [],
141
+ "lora_rank": 8,
142
+ "lora_alpha": 32,
143
+ "lora_dropout": 0.05,
144
+ "lora_bias": "none",
145
+ "lora_dtype": null,
146
+ "use_rslora": false,
147
+ "rlhf_type": null,
148
+ "ref_load": null,
149
+ "ref_adapter_load": null,
150
+ "beta": null,
151
+ "rpo_alpha": null,
152
+ "reference_free": false,
153
+ "label_smoothing": 0.0,
154
+ "f_divergence_type": "reverse_kl",
155
+ "loss_type": null,
156
+ "desirable_weight": 1.0,
157
+ "undesirable_weight": 1.0,
158
+ "calculate_KL": null,
159
+ "center_rewards_coefficient": null,
160
+ "teacher_model": null,
161
+ "teacher_model_type": null,
162
+ "teacher_model_revision": null,
163
+ "lmbda": 0.5,
164
+ "seq_kd": false,
165
+ "offload_teacher_model": false,
166
+ "sft_alpha": 0.0,
167
+ "generation_batch_size": null,
168
+ "steps_per_generation": null,
169
+ "num_generations": 8,
170
+ "num_generations_eval": null,
171
+ "max_completion_length": 512,
172
+ "importance_sampling_level": "token",
173
+ "tau_pos": 1.0,
174
+ "tau_neg": 1.05,
175
+ "epsilon": 0.2,
176
+ "epsilon_high": null,
177
+ "delta": null,
178
+ "use_vllm": true,
179
+ "vllm_mode": null,
180
+ "vllm_enable_prefix_caching": true,
181
+ "vllm_gpu_memory_utilization": 0.9,
182
+ "vllm_tensor_parallel_size": 1,
183
+ "vllm_max_model_len": null,
184
+ "vllm_enforce_eager": false,
185
+ "vllm_limit_mm_per_prompt": null,
186
+ "vllm_disable_cascade_attn": false,
187
+ "vllm_max_num_seqs": null,
188
+ "vllm_mm_processor_cache_gb": null,
189
+ "vllm_engine_kwargs": null,
190
+ "sleep_level": 0,
191
+ "offload_optimizer": false,
192
+ "offload_model": false,
193
+ "offload_bridge": false,
194
+ "vllm_server_base_url": null,
195
+ "vllm_server_host": null,
196
+ "vllm_server_port": [
197
+ 8000
198
+ ],
199
+ "vllm_server_timeout": 240.0,
200
+ "vllm_server_group_port": null,
201
+ "reward_funcs": [],
202
+ "reward_weights": null,
203
+ "cosine_min_len_value_wrong": -0.5,
204
+ "cosine_max_len_value_wrong": 0.0,
205
+ "cosine_min_len_value_correct": 1.0,
206
+ "cosine_max_len_value_correct": 0.5,
207
+ "cosine_max_len": null,
208
+ "repetition_n_grams": 3,
209
+ "repetition_max_penalty": -1.0,
210
+ "soft_max_length": null,
211
+ "soft_cache_length": null,
212
+ "dynamic_sample": false,
213
+ "max_resample_times": 3,
214
+ "overlong_filter": false,
215
+ "scale_rewards": "group",
216
+ "advantage_estimator": "grpo",
217
+ "kl_in_reward": false,
218
+ "wandb_log_unique_prompts": null,
219
+ "log_completions": false,
220
+ "rollout_importance_sampling_mode": null,
221
+ "rollout_importance_sampling_threshold": 2.0,
222
+ "log_rollout_offpolicy_metrics": false,
223
+ "off_policy_sequence_mask_delta": null,
224
+ "log_entropy": false,
225
+ "top_entropy_quantile": 1.0,
226
+ "reward_model": null,
227
+ "reward_model_plugin": null,
228
+ "sync_ref_model": false,
229
+ "ref_model_sync_steps": 512,
230
+ "ref_model_mixup_alpha": 0.6,
231
+ "async_generate": false,
232
+ "move_model_batches": null,
233
+ "multi_turn_scheduler": null,
234
+ "max_turns": null,
235
+ "completion_length_limit_scope": "per_round",
236
+ "vllm_server_pass_dataset": false,
237
+ "num_iterations": 1,
238
+ "check_model": true,
239
+ "padded_vocab_size": 151936,
240
+ "initialize_embedding": false,
241
+ "mlp_padding_free": false,
242
+ "load_safetensors": true,
243
+ "save_safetensors": true,
244
+ "ref_model": null,
245
+ "ref_adapters": [],
246
+ "merge_lora": true,
247
+ "max_shard_size": "5GB",
248
+ "train_dataloader_shuffle": true,
249
+ "dataloader_pin_memory": true,
250
+ "dataloader_persistent_workers": true,
251
+ "dataloader_prefetch_factor": 2,
252
+ "group_by_length": false,
253
+ "architectures": "Qwen3VLForConditionalGeneration",
254
+ "llm_architectures": "Qwen3VLForConditionalGeneration",
255
+ "max_epochs": 3,
256
+ "enable_dft_loss": false,
257
+ "enable_channel_loss": false,
258
+ "save_strategy": "steps",
259
+ "original_max_position_embeddings": null,
260
+ "partial_rotary_factor": null,
261
+ "use_shared_expert_gate": false,
262
+ "report_to": null,
263
+ "vit_gradient_checkpointing": true,
264
+ "vit_lr": null,
265
+ "aligner_lr": null,
266
+ "gradient_checkpointing_kwargs": null,
267
+ "linear_num_value_heads": null,
268
+ "linear_num_key_heads": null,
269
+ "linear_key_head_dim": null,
270
+ "linear_value_head_dim": null,
271
+ "linear_conv_kernel_dim": null,
272
+ "layer_types": null,
273
+ "mrope_interleaved": true,
274
+ "micro_batch_size": 1,
275
+ "global_batch_size": 128,
276
+ "recompute_granularity": "selective",
277
+ "recompute_method": null,
278
+ "recompute_num_layers": null,
279
+ "recompute_modules": [
280
+ "core_attn"
281
+ ],
282
+ "use_cpu_initialization": false,
283
+ "deterministic_mode": false,
284
+ "train_iters": null,
285
+ "log_interval": 5,
286
+ "tensorboard_dir": "/high_perf_store3/world-model/yongkangli/ms-swift-main/megatron_output/Qwen3-VL-2B-Instruct-3-7-with-his/v0-20260209-025409/runs",
287
+ "no_masked_softmax_fusion": false,
288
+ "no_bias_dropout_fusion": false,
289
+ "no_bias_swiglu_fusion": false,
290
+ "no_rope_fusion": false,
291
+ "no_gradient_accumulation_fusion": false,
292
+ "cross_entropy_loss_fusion": true,
293
+ "cross_entropy_fusion_impl": "native",
294
+ "calculate_per_token_loss": true,
295
+ "use_flash_attn": false,
296
+ "attention_backend": "flash",
297
+ "optimizer": "adam",
298
+ "optimizer_cpu_offload": false,
299
+ "optimizer_offload_fraction": 1.0,
300
+ "use_precision_aware_optimizer": false,
301
+ "main_grads_dtype": "fp32",
302
+ "main_params_dtype": "fp32",
303
+ "exp_avg_dtype": "fp32",
304
+ "exp_avg_sq_dtype": "fp32",
305
+ "dataloader_type": "cyclic",
306
+ "manual_gc": false,
307
+ "manual_gc_interval": 0,
308
+ "lr": 4e-05,
309
+ "lr_decay_style": "cosine",
310
+ "lr_decay_iters": null,
311
+ "lr_warmup_iters": 0,
312
+ "lr_warmup_fraction": 0.05,
313
+ "min_lr": 1e-06,
314
+ "weight_decay": 0.1,
315
+ "clip_grad": 1.0,
316
+ "adam_beta1": 0.9,
317
+ "adam_beta2": 0.95,
318
+ "adam_eps": 1e-08,
319
+ "sgd_momentum": 0.9,
320
+ "save": "/high_perf_store3/world-model/yongkangli/ms-swift-main/megatron_output/Qwen3-VL-2B-Instruct-3-7-with-his/v0-20260209-025409",
321
+ "save_interval": 500,
322
+ "save_retain_interval": null,
323
+ "no_save_optim": true,
324
+ "no_save_rng": true,
325
+ "load": null,
326
+ "no_load_optim": false,
327
+ "no_load_rng": false,
328
+ "finetune": true,
329
+ "ckpt_format": "torch_dist",
330
+ "no_initialization": true,
331
+ "auto_detect_ckpt_format": true,
332
+ "exit_on_missing_checkpoint": true,
333
+ "async_save": false,
334
+ "use_persistent_ckpt_worker": false,
335
+ "ckpt_fully_parallel_load": false,
336
+ "ckpt_assume_constant_structure": false,
337
+ "distributed_backend": "nccl",
338
+ "local_rank": 0,
339
+ "use_distributed_optimizer": true,
340
+ "tensor_model_parallel_size": 1,
341
+ "pipeline_model_parallel_size": 1,
342
+ "decoder_first_pipeline_num_layers": null,
343
+ "decoder_last_pipeline_num_layers": null,
344
+ "account_for_embedding_in_pipeline_split": false,
345
+ "account_for_loss_in_pipeline_split": false,
346
+ "sequence_parallel": true,
347
+ "context_parallel_size": 1,
348
+ "tp_comm_overlap": false,
349
+ "overlap_grad_reduce": false,
350
+ "overlap_param_gather": false,
351
+ "distributed_timeout_minutes": 300000,
352
+ "num_layers_per_virtual_pipeline_stage": null,
353
+ "num_virtual_stages_per_pipeline_rank": null,
354
+ "microbatch_group_size_per_virtual_pipeline_stage": null,
355
+ "pipeline_model_parallel_layout": null,
356
+ "num_layers": 28,
357
+ "hidden_size": 2048,
358
+ "ffn_hidden_size": 6144,
359
+ "num_attention_heads": 16,
360
+ "group_query_attention": true,
361
+ "num_query_groups": 8,
362
+ "softmax_type": "vanilla",
363
+ "window_size": null,
364
+ "window_attn_skip_freq": null,
365
+ "max_position_embeddings": 262144,
366
+ "position_embedding_type": "mrope",
367
+ "mrope_section": [
368
+ 24,
369
+ 20,
370
+ 20
371
+ ],
372
+ "rotary_base": 5000000,
373
+ "rotary_percent": 1.0,
374
+ "rotary_interleaved": false,
375
+ "normalization": "RMSNorm",
376
+ "norm_epsilon": 1e-06,
377
+ "swiglu": true,
378
+ "quick_geglu": false,
379
+ "activation_func_clamp_value": null,
380
+ "glu_linear_offset": 0.0,
381
+ "untie_embeddings_and_output_weights": false,
382
+ "disable_bias_linear": true,
383
+ "add_qkv_bias": false,
384
+ "attention_dropout": 0.0,
385
+ "hidden_dropout": 0.0,
386
+ "kv_channels": 128,
387
+ "qk_layernorm": true,
388
+ "qk_l2_norm": null,
389
+ "no_rope_freq": null,
390
+ "moe_apply_probs_on_input": null,
391
+ "transformer_impl": "transformer_engine",
392
+ "num_experts": null,
393
+ "moe_layer_freq": 1,
394
+ "moe_ffn_hidden_size": null,
395
+ "moe_shared_expert_intermediate_size": null,
396
+ "moe_router_topk": 2,
397
+ "moe_router_num_groups": null,
398
+ "moe_router_group_topk": null,
399
+ "moe_router_pre_softmax": false,
400
+ "moe_router_dtype": "fp32",
401
+ "moe_router_score_function": "softmax",
402
+ "moe_router_bias_update_rate": null,
403
+ "moe_router_enable_expert_bias": false,
404
+ "moe_router_topk_scaling_factor": null,
405
+ "moe_router_load_balancing_type": "aux_loss",
406
+ "expert_model_parallel_size": 1,
407
+ "expert_tensor_parallel_size": 1,
408
+ "moe_token_dispatcher_type": null,
409
+ "moe_enable_deepep": false,
410
+ "moe_grouped_gemm": true,
411
+ "moe_permute_fusion": false,
412
+ "moe_aux_loss_coeff": 0.0,
413
+ "moe_z_loss_coeff": null,
414
+ "moe_shared_expert_overlap": false,
415
+ "moe_layer_recompute": false,
416
+ "moe_expert_capacity_factor": null,
417
+ "moe_pad_expert_input_to_capacity": false,
418
+ "moe_token_drop_policy": null,
419
+ "multi_latent_attention": false,
420
+ "q_lora_rank": null,
421
+ "kv_lora_rank": 32,
422
+ "qk_head_dim": 128,
423
+ "qk_pos_emb_head_dim": 64,
424
+ "mtp_num_layers": null,
425
+ "mtp_loss_scaling_factor": 0.1,
426
+ "fp8_format": null,
427
+ "fp8_recipe": "delayed",
428
+ "fp8_amax_history_len": 1024,
429
+ "fp8_amax_compute_algo": "max",
430
+ "fp8_param_gather": false,
431
+ "fp16": false,
432
+ "bf16": true,
433
+ "apply_query_key_layer_scaling": false,
434
+ "attention_softmax_in_fp32": true,
435
+ "log_params_norm": false,
436
+ "log_throughput": false,
437
+ "tensorboard_log_interval": 1,
438
+ "tensorboard_queue_size": 50,
439
+ "log_timers_to_tensorboard": true,
440
+ "no_log_learning_rate_to_tensorboard": false,
441
+ "log_validation_ppl_to_tensorboard": true,
442
+ "log_memory_to_tensorboard": true,
443
+ "logging_level": null,
444
+ "wandb_project": "megatron-swift",
445
+ "wandb_exp_name": "/high_perf_store3/world-model/yongkangli/ms-swift-main/megatron_output/Qwen3-VL-2B-Instruct-3-7-with-his/v0-20260209-025409",
446
+ "wandb_save_dir": null,
447
+ "eval_iters": -1,
448
+ "eval_interval": 500,
449
+ "seq_length": 16384,
450
+ "num_workers": 32,
451
+ "no_data_sharding": false,
452
+ "megatron_extra_kwargs": {},
453
+ "add_version": true,
454
+ "rank": 0,
455
+ "global_world_size": 32,
456
+ "local_world_size": 8,
457
+ "model_suffix": "Qwen3-VL-2B-Instruct",
458
+ "model_info": "ModelInfo(model_type='qwen3_vl', model_dir='/high_perf_store3/world-model/zhuzhenxin/ckpts/Qwen3-VL-2B-Instruct', torch_dtype=torch.bfloat16, max_model_len=262144, quant_method=None, quant_bits=None, rope_scaling={'mrope_interleaved': True, 'mrope_section': [24, 20, 20], 'rope_type': 'default'}, is_moe_model=False, is_multimodal=True, config=None, task_type='causal_lm', num_labels=None)",
459
+ "model_meta": "ModelMeta(model_type='qwen3_vl', model_groups=[ModelGroup(models=[Model(ms_model_id='Qwen/Qwen3-VL-2B-Instruct', hf_model_id='Qwen/Qwen3-VL-2B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-2B-Thinking', hf_model_id='Qwen/Qwen3-VL-2B-Thinking', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-2B-Instruct-FP8', hf_model_id='Qwen/Qwen3-VL-2B-Instruct-FP8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-2B-Thinking-FP8', hf_model_id='Qwen/Qwen3-VL-2B-Thinking-FP8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-4B-Instruct', hf_model_id='Qwen/Qwen3-VL-4B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-4B-Thinking', hf_model_id='Qwen/Qwen3-VL-4B-Thinking', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-4B-Instruct-FP8', hf_model_id='Qwen/Qwen3-VL-4B-Instruct-FP8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-4B-Thinking-FP8', hf_model_id='Qwen/Qwen3-VL-4B-Thinking-FP8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-8B-Instruct', hf_model_id='Qwen/Qwen3-VL-8B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-8B-Thinking', hf_model_id='Qwen/Qwen3-VL-8B-Thinking', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-8B-Instruct-FP8', hf_model_id='Qwen/Qwen3-VL-8B-Instruct-FP8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-8B-Thinking-FP8', hf_model_id='Qwen/Qwen3-VL-8B-Thinking-FP8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-32B-Instruct', hf_model_id='Qwen/Qwen3-VL-32B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-32B-Thinking', hf_model_id='Qwen/Qwen3-VL-32B-Thinking', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-32B-Instruct-FP8', hf_model_id='Qwen/Qwen3-VL-32B-Instruct-FP8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-VL-32B-Thinking-FP8', hf_model_id='Qwen/Qwen3-VL-32B-Thinking-FP8', model_path=None, ms_revision=None, hf_revision=None)], ignore_patterns=None, requires=None, tags=[])], template='qwen3_vl', get_function=<function get_model_tokenizer_qwen3_vl at 0x7f0d2db23240>, model_arch=MultiModelKeys(arch_name='qwen3_vl', embedding=None, module_list=None, lm_head=None, q_proj=None, k_proj=None, v_proj=None, o_proj=None, attention=None, mlp=None, down_proj=None, qkv_proj=None, qk_proj=None, qa_proj=None, qb_proj=None, kv_proj=None, kva_proj=None, kvb_proj=None, language_model=['model.language_model', 'lm_head'], aligner=['model.visual.merger', 'model.visual.deepstack_merger_list'], vision_tower=['model.visual'], generator=[]), architectures=['Qwen3VLForConditionalGeneration'], additional_saved_files=[], torch_dtype=None, is_multimodal=True, is_reward=False, is_reranker=False, task_type=None, ignore_patterns=None, requires=['transformers>=4.57', 'qwen_vl_utils>=0.0.14', 'decord'], tags=['vision', 'video'])",
460
+ "model_dir": "/high_perf_store3/world-model/zhuzhenxin/ckpts/Qwen3-VL-2B-Instruct",
461
+ "_val_dataset_exists": [
462
+ "/high_perf_store3/world-model/yongkangli/UniDriveVLA/nuscenes_planning_qa_val_only_command_his_traj.jsonl"
463
+ ],
464
+ "hub": "<class 'swift.hub.hub.MSHub'>",
465
+ "megatron_model_meta": "MegatronModelMeta(megatron_model_type='qwen3_vl', model_types=['qwen3_vl', 'qwen3_moe_vl'], is_multimodal=True, bridge_cls=<class 'swift.megatron.model.gpt_bridge.MultimodalGPTBridge'>, model_cls=<class 'swift.megatron.model.mm_gpt.qwen3_vl.Qwen3VLGPTModel'>, get_transformer_layer_spec=None, model_provider=<function model_provider at 0x7f0c6b7d6b60>, visual_cls=<class 'swift.megatron.model.mm_gpt.qwen3_vl.Qwen3VL_Vit'>, get_mtp_block_spec=None, extra_args_provider=None)",
466
+ "extra_args": {
467
+ "model_dir": "/high_perf_store3/world-model/zhuzhenxin/ckpts/Qwen3-VL-2B-Instruct",
468
+ "is_multimodal": true,
469
+ "hf_model_type": "qwen3_vl",
470
+ "use_ray": false,
471
+ "ray_exp_name": null,
472
+ "device_groups": null,
473
+ "model": "/high_perf_store3/world-model/zhuzhenxin/ckpts/Qwen3-VL-2B-Instruct/",
474
+ "model_type": "qwen3_vl",
475
+ "model_revision": null,
476
+ "task_type": "causal_lm",
477
+ "torch_dtype": "bfloat16",
478
+ "attn_impl": null,
479
+ "new_special_tokens": [
480
+ "<FRONT_VIEW>",
481
+ "<FRONT_LEFT_VIEW>",
482
+ "<FRONT_RIGHT_VIEW>",
483
+ "<BACK_LEFT_VIEW>",
484
+ "<BACK_RIGHT_VIEW>",
485
+ "<BACK_VIEW>"
486
+ ],
487
+ "num_labels": null,
488
+ "problem_type": null,
489
+ "rope_scaling": {
490
+ "mrope_interleaved": true,
491
+ "mrope_section": [
492
+ 24,
493
+ 20,
494
+ 20
495
+ ],
496
+ "rope_type": "default"
497
+ },
498
+ "device_map": null,
499
+ "max_memory": {},
500
+ "max_model_len": null,
501
+ "local_repo_path": null,
502
+ "init_strategy": null,
503
+ "template": "qwen3_vl",
504
+ "system": "Generalist Autonomous Driving Agent\nRole: You are an advanced, multimodal AI brain for an autonomous vehicle, capable of Perception, Reasoning, and Planning. Your goal is to drive safely, follow instructions, and deeply understand the dynamic world around you.\n\nContext & Coordinate System\n- Ego-Centric View: You are at the origin (0,0). The X-axis represents the lateral distance (perpendicular), and the Y-axis represents the longitudinal distance (forward).\n- Inputs: You receive multi-view visual observations (<FRONT_VIEW>, <BACK_VIEW>, etc.), historical ego-motion, and vehicle states (velocity, acceleration).\n\nCore Capabilities\n1. **Driving & Planning**:\n - Objective: Generate a safe, comfortable, and feasible 3-second trajectory (6 waypoints, 0.5s interval).\n - Constraints: Strictly adhere to traffic rules, avoid collisions, and respect kinematic limits.\n - Output Format: A sequence of coordinates [(x1,y1), ..., (x6,y6)].\n\n2. **Reasoning & VQA** (Chain-of-Thought):\n - Tasks: Analyze traffic scenes, explain causal logic (e.g., \"Why stop?\"), identify hazards, and answer queries about the environment (weather, road layout, traffic lights).\n - Reasoning: Break down complex scenarios into step-by-step logic, grounding your answers in visual evidence.\n\n3. **Instruction Following & Grounding**:\n - Tasks: Execute navigation commands (e.g., \"Park behind the red truck\") and ground textual descriptions to specific visual regions or objects.\n\n4. **Perception & World Modeling** (Future & Current State):\n - Tasks: Detect and track objects, predict their future motion, and estimate 3D occupancy or scene geometry (Gaussian Splatting/Occ).\n - Understanding: Map semantic elements (lanes, crossings) and dynamic agents into a coherent world model.\n\nInstructions\n- For **Planning** tasks: Output the \"Trajectory\".\n- For **QA/Reasoning** tasks: Provide a clear, logical, and helpful text response.\n- For **Perception** tasks: Output structured descriptions or specific formats as requested.\n\nAlways prioritize safety and clarity in your responses.\n",
505
+ "max_length": 16384,
506
+ "truncation_strategy": "delete",
507
+ "max_pixels": null,
508
+ "agent_template": null,
509
+ "norm_bbox": null,
510
+ "use_chat_template": true,
511
+ "padding_side": "right",
512
+ "padding_free": true,
513
+ "sequence_parallel_size": 1,
514
+ "template_backend": "swift",
515
+ "response_prefix": null,
516
+ "enable_thinking": null,
517
+ "add_non_thinking_prefix": true,
518
+ "dataset": [
519
+ "/high_perf_store3/world-model/yongkangli/UniDriveVLA/nuscenes_planning_qa_train_only_command_his_traj.jsonl#28130",
520
+ "/high_perf_store3/world-model/yongkangli/Dataset_vqa/NuInstruct/qa_dataset_scored_clean_fixed_updated_token_fixed.jsonl#57317",
521
+ "/high_perf_store3/world-model/yongkangli/Dataset_vqa/CODA-LM/output_coda_lm_updated_processed_clean.jsonl#20318",
522
+ "/high_perf_store3/world-model/yongkangli/Dataset_vqa/drivegpt4/output_scored_clean_fixed.jsonl#26319",
523
+ "/high_perf_store3/world-model/yongkangli/Dataset_vqa/Drama/drama_qa_scored_original_conversation_batched_retry_score_retry_clean_filter.jsonl#16401",
524
+ "/high_perf_store3/world-model/yongkangli/Dataset_vqa/LingoQA/qa_dataset_lingoqa_clean.jsonl#26824",
525
+ "/high_perf_store3/world-model/yongkangli/Dataset_vqa/sutd/qa_dataset_rewritten_explained_scored_video_clean.jsonl#9916",
526
+ "/high_perf_store3/world-model/yongkangli/Dataset_vqa/talk2car/talk2car_internvl_normalized_cleaned_updated.jsonl#8079",
527
+ "/high_perf_store3/world-model/yongkangli/Dataset_vqa/NuScenes-QA/qa_dataset_clean_updated_token_fixed.jsonl#24988",
528
+ "/high_perf_store3/world-model/yongkangli/Dataset_vqa/Omnidrive/qa_dataset_scored_omnidrive_clean_updated_token_fixed_no_system.jsonl#28009",
529
+ "/high_perf_store3/world-model/yongkangli/Dataset_vqa/Senna/senna_final_reordered_updated_token_fixed.jsonl#27885",
530
+ "/high_perf_store3/world-model/yongkangli/Dataset_vqa/maplm/qa_dataset_rewritten_explained_scored_maplm_new_clean_token_fixed.jsonl#10612",
531
+ "/high_perf_store3/world-model/yongkangli/finevision_subset_cleaned.jsonl#641439"
532
+ ],
533
+ "val_dataset": [
534
+ "/high_perf_store3/world-model/yongkangli/UniDriveVLA/nuscenes_planning_qa_val_only_command_his_traj.jsonl"
535
+ ],
536
+ "cached_dataset": [],
537
+ "cached_val_dataset": [],
538
+ "split_dataset_ratio": 0.0,
539
+ "data_seed": 42,
540
+ "dataset_num_proc": 32,
541
+ "load_from_cache_file": true,
542
+ "dataset_shuffle": true,
543
+ "val_dataset_shuffle": false,
544
+ "streaming": false,
545
+ "interleave_prob": null,
546
+ "stopping_strategy": "first_exhausted",
547
+ "shuffle_buffer_size": 1000,
548
+ "download_mode": "reuse_dataset_if_exists",
549
+ "columns": {},
550
+ "strict": false,
551
+ "remove_unused_columns": true,
552
+ "model_name": null,
553
+ "model_author": null,
554
+ "custom_dataset_info": [],
555
+ "quant_method": null,
556
+ "quant_bits": null,
557
+ "hqq_axis": null,
558
+ "bnb_4bit_compute_dtype": "bfloat16",
559
+ "bnb_4bit_quant_type": "nf4",
560
+ "bnb_4bit_use_double_quant": true,
561
+ "bnb_4bit_quant_storage": null,
562
+ "max_new_tokens": null,
563
+ "temperature": 0.9,
564
+ "top_k": 50,
565
+ "top_p": 0.9,
566
+ "repetition_penalty": 1.0,
567
+ "num_beams": 1,
568
+ "stream": false,
569
+ "stop_words": [],
570
+ "logprobs": false,
571
+ "top_logprobs": null,
572
+ "structured_outputs_regex": null,
573
+ "ckpt_dir": null,
574
+ "lora_modules": [],
575
+ "tuner_backend": "peft",
576
+ "train_type": "full",
577
+ "adapters": [],
578
+ "external_plugins": [],
579
+ "model_kwargs": {},
580
+ "load_args": false,
581
+ "load_data_args": false,
582
+ "packing": true,
583
+ "packing_length": 16384,
584
+ "packing_num_proc": 1,
585
+ "lazy_tokenize": false,
586
+ "custom_register_path": [],
587
+ "use_hf": false,
588
+ "hub_token": null,
589
+ "ddp_timeout": 18000000,
590
+ "ddp_backend": null,
591
+ "ignore_args_error": false,
592
+ "use_swift_lora": false,
593
+ "freeze_llm": false,
594
+ "freeze_vit": false,
595
+ "freeze_aligner": false,
596
+ "freeze_parameters": [],
597
+ "freeze_parameters_regex": null,
598
+ "freeze_parameters_ratio": 0.0,
599
+ "trainable_parameters": [],
600
+ "trainable_parameters_regex": null,
601
+ "adapter_load": null,
602
+ "target_modules": [
603
+ "all-linear"
604
+ ],
605
+ "target_regex": null,
606
+ "modules_to_save": [],
607
+ "lora_rank": 8,
608
+ "lora_alpha": 32,
609
+ "lora_dropout": 0.05,
610
+ "lora_bias": "none",
611
+ "lora_dtype": null,
612
+ "use_rslora": false,
613
+ "rlhf_type": null,
614
+ "ref_load": null,
615
+ "ref_adapter_load": null,
616
+ "beta": null,
617
+ "rpo_alpha": null,
618
+ "reference_free": false,
619
+ "label_smoothing": 0.0,
620
+ "f_divergence_type": "reverse_kl",
621
+ "loss_type": null,
622
+ "desirable_weight": 1.0,
623
+ "undesirable_weight": 1.0,
624
+ "calculate_KL": null,
625
+ "center_rewards_coefficient": null,
626
+ "teacher_model": null,
627
+ "teacher_model_type": null,
628
+ "teacher_model_revision": null,
629
+ "lmbda": 0.5,
630
+ "seq_kd": false,
631
+ "offload_teacher_model": false,
632
+ "sft_alpha": 0.0,
633
+ "generation_batch_size": null,
634
+ "steps_per_generation": null,
635
+ "num_generations": 8,
636
+ "num_generations_eval": null,
637
+ "max_completion_length": 512,
638
+ "importance_sampling_level": "token",
639
+ "tau_pos": 1.0,
640
+ "tau_neg": 1.05,
641
+ "epsilon": 0.2,
642
+ "epsilon_high": null,
643
+ "delta": null,
644
+ "use_vllm": true,
645
+ "vllm_mode": null,
646
+ "vllm_enable_prefix_caching": true,
647
+ "vllm_gpu_memory_utilization": 0.9,
648
+ "vllm_tensor_parallel_size": 1,
649
+ "vllm_max_model_len": null,
650
+ "vllm_enforce_eager": false,
651
+ "vllm_limit_mm_per_prompt": null,
652
+ "vllm_disable_cascade_attn": false,
653
+ "vllm_max_num_seqs": null,
654
+ "vllm_mm_processor_cache_gb": null,
655
+ "vllm_engine_kwargs": null,
656
+ "sleep_level": 0,
657
+ "offload_optimizer": false,
658
+ "offload_model": false,
659
+ "offload_bridge": false,
660
+ "vllm_server_base_url": null,
661
+ "vllm_server_host": null,
662
+ "vllm_server_port": [
663
+ 8000
664
+ ],
665
+ "vllm_server_timeout": 240.0,
666
+ "vllm_server_group_port": null,
667
+ "reward_funcs": [],
668
+ "reward_weights": null,
669
+ "cosine_min_len_value_wrong": -0.5,
670
+ "cosine_max_len_value_wrong": 0.0,
671
+ "cosine_min_len_value_correct": 1.0,
672
+ "cosine_max_len_value_correct": 0.5,
673
+ "cosine_max_len": null,
674
+ "repetition_n_grams": 3,
675
+ "repetition_max_penalty": -1.0,
676
+ "soft_max_length": null,
677
+ "soft_cache_length": null,
678
+ "dynamic_sample": false,
679
+ "max_resample_times": 3,
680
+ "overlong_filter": false,
681
+ "scale_rewards": "group",
682
+ "advantage_estimator": "grpo",
683
+ "kl_in_reward": false,
684
+ "wandb_log_unique_prompts": null,
685
+ "log_completions": false,
686
+ "rollout_importance_sampling_mode": null,
687
+ "rollout_importance_sampling_threshold": 2.0,
688
+ "log_rollout_offpolicy_metrics": false,
689
+ "off_policy_sequence_mask_delta": null,
690
+ "log_entropy": false,
691
+ "top_entropy_quantile": 1.0,
692
+ "reward_model": null,
693
+ "reward_model_plugin": null,
694
+ "sync_ref_model": false,
695
+ "ref_model_sync_steps": 512,
696
+ "ref_model_mixup_alpha": 0.6,
697
+ "async_generate": false,
698
+ "move_model_batches": null,
699
+ "multi_turn_scheduler": null,
700
+ "max_turns": null,
701
+ "completion_length_limit_scope": "per_round",
702
+ "vllm_server_pass_dataset": false,
703
+ "num_iterations": 1,
704
+ "check_model": true,
705
+ "padded_vocab_size": 151936,
706
+ "initialize_embedding": false,
707
+ "mlp_padding_free": false,
708
+ "load_safetensors": true,
709
+ "save_safetensors": true,
710
+ "ref_model": null,
711
+ "ref_adapters": [],
712
+ "merge_lora": true,
713
+ "max_shard_size": "5GB",
714
+ "train_dataloader_shuffle": true,
715
+ "dataloader_pin_memory": true,
716
+ "dataloader_persistent_workers": true,
717
+ "dataloader_prefetch_factor": 2,
718
+ "group_by_length": false,
719
+ "architectures": "Qwen3VLForConditionalGeneration",
720
+ "llm_architectures": "Qwen3VLForConditionalGeneration",
721
+ "max_epochs": 3,
722
+ "enable_dft_loss": false,
723
+ "enable_channel_loss": false,
724
+ "save_strategy": "steps",
725
+ "original_max_position_embeddings": null,
726
+ "partial_rotary_factor": null,
727
+ "use_shared_expert_gate": false,
728
+ "report_to": null,
729
+ "vit_gradient_checkpointing": true,
730
+ "vit_lr": null,
731
+ "aligner_lr": null,
732
+ "gradient_checkpointing_kwargs": null,
733
+ "linear_num_value_heads": null,
734
+ "linear_num_key_heads": null,
735
+ "linear_key_head_dim": null,
736
+ "linear_value_head_dim": null,
737
+ "linear_conv_kernel_dim": null,
738
+ "layer_types": null,
739
+ "mrope_interleaved": true,
740
+ "add_version": true
741
+ }
742
+ }
chat_template.jinja ADDED
@@ -0,0 +1,120 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- if tools %}
2
+ {{- '<|im_start|>system\n' }}
3
+ {%- if messages[0].role == 'system' %}
4
+ {%- if messages[0].content is string %}
5
+ {{- messages[0].content }}
6
+ {%- else %}
7
+ {%- for content in messages[0].content %}
8
+ {%- if 'text' in content %}
9
+ {{- content.text }}
10
+ {%- endif %}
11
+ {%- endfor %}
12
+ {%- endif %}
13
+ {{- '\n\n' }}
14
+ {%- endif %}
15
+ {{- "# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
16
+ {%- for tool in tools %}
17
+ {{- "\n" }}
18
+ {{- tool | tojson }}
19
+ {%- endfor %}
20
+ {{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
21
+ {%- else %}
22
+ {%- if messages[0].role == 'system' %}
23
+ {{- '<|im_start|>system\n' }}
24
+ {%- if messages[0].content is string %}
25
+ {{- messages[0].content }}
26
+ {%- else %}
27
+ {%- for content in messages[0].content %}
28
+ {%- if 'text' in content %}
29
+ {{- content.text }}
30
+ {%- endif %}
31
+ {%- endfor %}
32
+ {%- endif %}
33
+ {{- '<|im_end|>\n' }}
34
+ {%- endif %}
35
+ {%- endif %}
36
+ {%- set image_count = namespace(value=0) %}
37
+ {%- set video_count = namespace(value=0) %}
38
+ {%- for message in messages %}
39
+ {%- if message.role == "user" %}
40
+ {{- '<|im_start|>' + message.role + '\n' }}
41
+ {%- if message.content is string %}
42
+ {{- message.content }}
43
+ {%- else %}
44
+ {%- for content in message.content %}
45
+ {%- if content.type == 'image' or 'image' in content or 'image_url' in content %}
46
+ {%- set image_count.value = image_count.value + 1 %}
47
+ {%- if add_vision_id %}Picture {{ image_count.value }}: {% endif -%}
48
+ <|vision_start|><|image_pad|><|vision_end|>
49
+ {%- elif content.type == 'video' or 'video' in content %}
50
+ {%- set video_count.value = video_count.value + 1 %}
51
+ {%- if add_vision_id %}Video {{ video_count.value }}: {% endif -%}
52
+ <|vision_start|><|video_pad|><|vision_end|>
53
+ {%- elif 'text' in content %}
54
+ {{- content.text }}
55
+ {%- endif %}
56
+ {%- endfor %}
57
+ {%- endif %}
58
+ {{- '<|im_end|>\n' }}
59
+ {%- elif message.role == "assistant" %}
60
+ {{- '<|im_start|>' + message.role + '\n' }}
61
+ {%- if message.content is string %}
62
+ {{- message.content }}
63
+ {%- else %}
64
+ {%- for content_item in message.content %}
65
+ {%- if 'text' in content_item %}
66
+ {{- content_item.text }}
67
+ {%- endif %}
68
+ {%- endfor %}
69
+ {%- endif %}
70
+ {%- if message.tool_calls %}
71
+ {%- for tool_call in message.tool_calls %}
72
+ {%- if (loop.first and message.content) or (not loop.first) %}
73
+ {{- '\n' }}
74
+ {%- endif %}
75
+ {%- if tool_call.function %}
76
+ {%- set tool_call = tool_call.function %}
77
+ {%- endif %}
78
+ {{- '<tool_call>\n{"name": "' }}
79
+ {{- tool_call.name }}
80
+ {{- '", "arguments": ' }}
81
+ {%- if tool_call.arguments is string %}
82
+ {{- tool_call.arguments }}
83
+ {%- else %}
84
+ {{- tool_call.arguments | tojson }}
85
+ {%- endif %}
86
+ {{- '}\n</tool_call>' }}
87
+ {%- endfor %}
88
+ {%- endif %}
89
+ {{- '<|im_end|>\n' }}
90
+ {%- elif message.role == "tool" %}
91
+ {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
92
+ {{- '<|im_start|>user' }}
93
+ {%- endif %}
94
+ {{- '\n<tool_response>\n' }}
95
+ {%- if message.content is string %}
96
+ {{- message.content }}
97
+ {%- else %}
98
+ {%- for content in message.content %}
99
+ {%- if content.type == 'image' or 'image' in content or 'image_url' in content %}
100
+ {%- set image_count.value = image_count.value + 1 %}
101
+ {%- if add_vision_id %}Picture {{ image_count.value }}: {% endif -%}
102
+ <|vision_start|><|image_pad|><|vision_end|>
103
+ {%- elif content.type == 'video' or 'video' in content %}
104
+ {%- set video_count.value = video_count.value + 1 %}
105
+ {%- if add_vision_id %}Video {{ video_count.value }}: {% endif -%}
106
+ <|vision_start|><|video_pad|><|vision_end|>
107
+ {%- elif 'text' in content %}
108
+ {{- content.text }}
109
+ {%- endif %}
110
+ {%- endfor %}
111
+ {%- endif %}
112
+ {{- '\n</tool_response>' }}
113
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
114
+ {{- '<|im_end|>\n' }}
115
+ {%- endif %}
116
+ {%- endif %}
117
+ {%- endfor %}
118
+ {%- if add_generation_prompt %}
119
+ {{- '<|im_start|>assistant\n' }}
120
+ {%- endif %}
config.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Qwen3VLForConditionalGeneration"
4
+ ],
5
+ "dtype": "bfloat16",
6
+ "hidden_size": 2048,
7
+ "image_token_id": 151655,
8
+ "model_type": "qwen3_vl",
9
+ "pad_token_id": 151643,
10
+ "text_config": {
11
+ "attention_bias": false,
12
+ "attention_dropout": 0.0,
13
+ "bos_token_id": 151643,
14
+ "dtype": "bfloat16",
15
+ "eos_token_id": 151645,
16
+ "head_dim": 128,
17
+ "hidden_act": "silu",
18
+ "hidden_size": 2048,
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 6144,
21
+ "max_position_embeddings": 262144,
22
+ "model_type": "qwen3_vl_text",
23
+ "num_attention_heads": 16,
24
+ "num_hidden_layers": 28,
25
+ "num_key_value_heads": 8,
26
+ "pad_token_id": 151643,
27
+ "rms_norm_eps": 1e-06,
28
+ "rope_scaling": {
29
+ "mrope_interleaved": true,
30
+ "mrope_section": [
31
+ 24,
32
+ 20,
33
+ 20
34
+ ],
35
+ "rope_type": "default"
36
+ },
37
+ "rope_theta": 5000000,
38
+ "tie_word_embeddings": true,
39
+ "use_cache": true,
40
+ "vocab_size": 151936
41
+ },
42
+ "tie_word_embeddings": true,
43
+ "transformers_version": "4.57.6",
44
+ "video_token_id": 151656,
45
+ "vision_config": {
46
+ "deepstack_visual_indexes": [
47
+ 5,
48
+ 11,
49
+ 17
50
+ ],
51
+ "depth": 24,
52
+ "dtype": "bfloat16",
53
+ "hidden_act": "gelu_pytorch_tanh",
54
+ "hidden_size": 1024,
55
+ "in_channels": 3,
56
+ "initializer_range": 0.02,
57
+ "intermediate_size": 4096,
58
+ "model_type": "qwen3_vl",
59
+ "num_heads": 16,
60
+ "num_position_embeddings": 2304,
61
+ "out_hidden_size": 2048,
62
+ "pad_token_id": 151643,
63
+ "patch_size": 16,
64
+ "spatial_merge_size": 2,
65
+ "temporal_patch_size": 2
66
+ },
67
+ "vision_end_token_id": 151653,
68
+ "vision_start_token_id": 151652,
69
+ "vocab_size": 151936
70
+ }
latest_checkpointed_iteration.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ 3072
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b811d2a8e4528d10d9d98d1fa414e4873b8f9b8bed07877177e2f8b994d365e7
3
+ size 4255140280
preprocessor_config.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "size": {
3
+ "longest_edge": 16777216,
4
+ "shortest_edge": 65536
5
+ },
6
+ "patch_size": 16,
7
+ "temporal_patch_size": 2,
8
+ "merge_size": 2,
9
+ "image_mean": [
10
+ 0.5,
11
+ 0.5,
12
+ 0.5
13
+ ],
14
+ "image_std": [
15
+ 0.5,
16
+ 0.5,
17
+ 0.5
18
+ ],
19
+ "processor_class": "Qwen3VLProcessor",
20
+ "image_processor_type": "Qwen2VLImageProcessorFast"
21
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|im_start|>",
4
+ "<|im_end|>",
5
+ "<|object_ref_start|>",
6
+ "<|object_ref_end|>",
7
+ "<|box_start|>",
8
+ "<|box_end|>",
9
+ "<|quad_start|>",
10
+ "<|quad_end|>",
11
+ "<|vision_start|>",
12
+ "<|vision_end|>",
13
+ "<|vision_pad|>",
14
+ "<|image_pad|>",
15
+ "<|video_pad|>"
16
+ ],
17
+ "eos_token": {
18
+ "content": "<|im_end|>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ },
24
+ "pad_token": {
25
+ "content": "<|endoftext|>",
26
+ "lstrip": false,
27
+ "normalized": false,
28
+ "rstrip": false,
29
+ "single_word": false
30
+ }
31
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aeb13307a71acd8fe81861d94ad54ab689df773318809eed3cbe794b4492dae4
3
+ size 11422654
tokenizer_config.json ADDED
@@ -0,0 +1,240 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_prefix_space": false,
4
+ "added_tokens_decoder": {
5
+ "151643": {
6
+ "content": "<|endoftext|>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "151644": {
14
+ "content": "<|im_start|>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "151645": {
22
+ "content": "<|im_end|>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "151646": {
30
+ "content": "<|object_ref_start|>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ },
37
+ "151647": {
38
+ "content": "<|object_ref_end|>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": true
44
+ },
45
+ "151648": {
46
+ "content": "<|box_start|>",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": false,
50
+ "single_word": false,
51
+ "special": true
52
+ },
53
+ "151649": {
54
+ "content": "<|box_end|>",
55
+ "lstrip": false,
56
+ "normalized": false,
57
+ "rstrip": false,
58
+ "single_word": false,
59
+ "special": true
60
+ },
61
+ "151650": {
62
+ "content": "<|quad_start|>",
63
+ "lstrip": false,
64
+ "normalized": false,
65
+ "rstrip": false,
66
+ "single_word": false,
67
+ "special": true
68
+ },
69
+ "151651": {
70
+ "content": "<|quad_end|>",
71
+ "lstrip": false,
72
+ "normalized": false,
73
+ "rstrip": false,
74
+ "single_word": false,
75
+ "special": true
76
+ },
77
+ "151652": {
78
+ "content": "<|vision_start|>",
79
+ "lstrip": false,
80
+ "normalized": false,
81
+ "rstrip": false,
82
+ "single_word": false,
83
+ "special": true
84
+ },
85
+ "151653": {
86
+ "content": "<|vision_end|>",
87
+ "lstrip": false,
88
+ "normalized": false,
89
+ "rstrip": false,
90
+ "single_word": false,
91
+ "special": true
92
+ },
93
+ "151654": {
94
+ "content": "<|vision_pad|>",
95
+ "lstrip": false,
96
+ "normalized": false,
97
+ "rstrip": false,
98
+ "single_word": false,
99
+ "special": true
100
+ },
101
+ "151655": {
102
+ "content": "<|image_pad|>",
103
+ "lstrip": false,
104
+ "normalized": false,
105
+ "rstrip": false,
106
+ "single_word": false,
107
+ "special": true
108
+ },
109
+ "151656": {
110
+ "content": "<|video_pad|>",
111
+ "lstrip": false,
112
+ "normalized": false,
113
+ "rstrip": false,
114
+ "single_word": false,
115
+ "special": true
116
+ },
117
+ "151657": {
118
+ "content": "<tool_call>",
119
+ "lstrip": false,
120
+ "normalized": false,
121
+ "rstrip": false,
122
+ "single_word": false,
123
+ "special": false
124
+ },
125
+ "151658": {
126
+ "content": "</tool_call>",
127
+ "lstrip": false,
128
+ "normalized": false,
129
+ "rstrip": false,
130
+ "single_word": false,
131
+ "special": false
132
+ },
133
+ "151659": {
134
+ "content": "<|fim_prefix|>",
135
+ "lstrip": false,
136
+ "normalized": false,
137
+ "rstrip": false,
138
+ "single_word": false,
139
+ "special": false
140
+ },
141
+ "151660": {
142
+ "content": "<|fim_middle|>",
143
+ "lstrip": false,
144
+ "normalized": false,
145
+ "rstrip": false,
146
+ "single_word": false,
147
+ "special": false
148
+ },
149
+ "151661": {
150
+ "content": "<|fim_suffix|>",
151
+ "lstrip": false,
152
+ "normalized": false,
153
+ "rstrip": false,
154
+ "single_word": false,
155
+ "special": false
156
+ },
157
+ "151662": {
158
+ "content": "<|fim_pad|>",
159
+ "lstrip": false,
160
+ "normalized": false,
161
+ "rstrip": false,
162
+ "single_word": false,
163
+ "special": false
164
+ },
165
+ "151663": {
166
+ "content": "<|repo_name|>",
167
+ "lstrip": false,
168
+ "normalized": false,
169
+ "rstrip": false,
170
+ "single_word": false,
171
+ "special": false
172
+ },
173
+ "151664": {
174
+ "content": "<|file_sep|>",
175
+ "lstrip": false,
176
+ "normalized": false,
177
+ "rstrip": false,
178
+ "single_word": false,
179
+ "special": false
180
+ },
181
+ "151665": {
182
+ "content": "<tool_response>",
183
+ "lstrip": false,
184
+ "normalized": false,
185
+ "rstrip": false,
186
+ "single_word": false,
187
+ "special": false
188
+ },
189
+ "151666": {
190
+ "content": "</tool_response>",
191
+ "lstrip": false,
192
+ "normalized": false,
193
+ "rstrip": false,
194
+ "single_word": false,
195
+ "special": false
196
+ },
197
+ "151667": {
198
+ "content": "<think>",
199
+ "lstrip": false,
200
+ "normalized": false,
201
+ "rstrip": false,
202
+ "single_word": false,
203
+ "special": false
204
+ },
205
+ "151668": {
206
+ "content": "</think>",
207
+ "lstrip": false,
208
+ "normalized": false,
209
+ "rstrip": false,
210
+ "single_word": false,
211
+ "special": false
212
+ }
213
+ },
214
+ "additional_special_tokens": [
215
+ "<|im_start|>",
216
+ "<|im_end|>",
217
+ "<|object_ref_start|>",
218
+ "<|object_ref_end|>",
219
+ "<|box_start|>",
220
+ "<|box_end|>",
221
+ "<|quad_start|>",
222
+ "<|quad_end|>",
223
+ "<|vision_start|>",
224
+ "<|vision_end|>",
225
+ "<|vision_pad|>",
226
+ "<|image_pad|>",
227
+ "<|video_pad|>"
228
+ ],
229
+ "bos_token": null,
230
+ "clean_up_tokenization_spaces": false,
231
+ "eos_token": "<|im_end|>",
232
+ "errors": "replace",
233
+ "extra_special_tokens": {},
234
+ "model_max_length": 262144,
235
+ "pad_token": "<|endoftext|>",
236
+ "processor_class": "Qwen3VLProcessor",
237
+ "split_special_tokens": false,
238
+ "tokenizer_class": "Qwen2Tokenizer",
239
+ "unk_token": null
240
+ }
video_preprocessor_config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": null,
3
+ "data_format": "channels_first",
4
+ "default_to_square": true,
5
+ "device": null,
6
+ "do_center_crop": null,
7
+ "do_convert_rgb": true,
8
+ "do_normalize": true,
9
+ "do_rescale": true,
10
+ "do_resize": true,
11
+ "do_sample_frames": true,
12
+ "fps": 2,
13
+ "image_mean": [
14
+ 0.5,
15
+ 0.5,
16
+ 0.5
17
+ ],
18
+ "image_std": [
19
+ 0.5,
20
+ 0.5,
21
+ 0.5
22
+ ],
23
+ "input_data_format": null,
24
+ "max_frames": 768,
25
+ "merge_size": 2,
26
+ "min_frames": 4,
27
+ "num_frames": null,
28
+ "pad_size": null,
29
+ "patch_size": 16,
30
+ "processor_class": "Qwen3VLProcessor",
31
+ "resample": 3,
32
+ "rescale_factor": 0.00392156862745098,
33
+ "return_metadata": false,
34
+ "size": {
35
+ "longest_edge": 25165824,
36
+ "shortest_edge": 4096
37
+ },
38
+ "temporal_patch_size": 2,
39
+ "video_metadata": null,
40
+ "video_processor_type": "Qwen3VLVideoProcessor"
41
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff