xiaomoguhzz commited on
Commit
6b1b87a
·
verified ·
1 Parent(s): e61b75a

Upload folder using huggingface_hub

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +2 -0
  2. video_mllm_swift/s2_image_only_10pct/v0-20260316-082051/args.json +376 -0
  3. video_mllm_swift/s2_image_only_10pct/v0-20260316-082051/logging.jsonl +1 -0
  4. video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/args.json +376 -0
  5. video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-300/args.json +376 -0
  6. video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-300/chat_template.jinja +89 -0
  7. video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-300/config.json +248 -0
  8. video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-300/generation_config.json +12 -0
  9. video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-300/global_step300/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt +3 -0
  10. video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-300/global_step300/bf16_zero_pp_rank_1_mp_rank_00_optim_states.pt +3 -0
  11. video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-300/global_step300/bf16_zero_pp_rank_2_mp_rank_00_optim_states.pt +3 -0
  12. video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-300/global_step300/bf16_zero_pp_rank_3_mp_rank_00_optim_states.pt +3 -0
  13. video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-300/global_step300/bf16_zero_pp_rank_4_mp_rank_00_optim_states.pt +3 -0
  14. video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-300/global_step300/bf16_zero_pp_rank_5_mp_rank_00_optim_states.pt +3 -0
  15. video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-300/global_step300/bf16_zero_pp_rank_6_mp_rank_00_optim_states.pt +3 -0
  16. video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-300/global_step300/bf16_zero_pp_rank_7_mp_rank_00_optim_states.pt +3 -0
  17. video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-300/global_step300/mp_rank_00_model_states.pt +3 -0
  18. video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-300/latest +1 -0
  19. video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-300/model.safetensors +3 -0
  20. video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-300/processor_config.json +206 -0
  21. video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-300/rng_state_0.pth +3 -0
  22. video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-300/rng_state_1.pth +3 -0
  23. video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-300/rng_state_2.pth +3 -0
  24. video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-300/rng_state_3.pth +3 -0
  25. video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-300/rng_state_4.pth +3 -0
  26. video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-300/rng_state_5.pth +3 -0
  27. video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-300/rng_state_6.pth +3 -0
  28. video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-300/rng_state_7.pth +3 -0
  29. video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-300/scheduler.pt +3 -0
  30. video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-300/tokenizer.json +3 -0
  31. video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-300/tokenizer_config.json +19 -0
  32. video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-300/trainer_state.json +2434 -0
  33. video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-300/training_args.bin +3 -0
  34. video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-300/zero_to_fp32.py +760 -0
  35. video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-400/args.json +376 -0
  36. video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-400/chat_template.jinja +89 -0
  37. video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-400/config.json +248 -0
  38. video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-400/generation_config.json +12 -0
  39. video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-400/global_step400/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt +3 -0
  40. video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-400/global_step400/bf16_zero_pp_rank_1_mp_rank_00_optim_states.pt +3 -0
  41. video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-400/global_step400/bf16_zero_pp_rank_2_mp_rank_00_optim_states.pt +3 -0
  42. video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-400/global_step400/bf16_zero_pp_rank_3_mp_rank_00_optim_states.pt +3 -0
  43. video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-400/global_step400/bf16_zero_pp_rank_4_mp_rank_00_optim_states.pt +3 -0
  44. video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-400/global_step400/bf16_zero_pp_rank_5_mp_rank_00_optim_states.pt +3 -0
  45. video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-400/global_step400/bf16_zero_pp_rank_6_mp_rank_00_optim_states.pt +3 -0
  46. video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-400/global_step400/bf16_zero_pp_rank_7_mp_rank_00_optim_states.pt +3 -0
  47. video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-400/global_step400/mp_rank_00_model_states.pt +3 -0
  48. video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-400/latest +1 -0
  49. video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-400/model.safetensors +3 -0
  50. video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-400/processor_config.json +206 -0
.gitattributes CHANGED
@@ -42,3 +42,5 @@ video_mllm_swift/s1_declip_siglip2_qwen3_1.7b/v0-20260314-141147/checkpoint-2181
42
  video_mllm_swift/s1_siglip2_qwen3_1.7b/v11-20260314-090153/checkpoint-2000/tokenizer.json filter=lfs diff=lfs merge=lfs -text
43
  video_mllm_swift/s1_siglip2_qwen3_1.7b/v11-20260314-090153/checkpoint-2181/tokenizer.json filter=lfs diff=lfs merge=lfs -text
44
  video_mllm_swift/s2_declip_siglip2_qwen3_1.7b_10pct/checkpoint-1000/tokenizer.json filter=lfs diff=lfs merge=lfs -text
 
 
 
42
  video_mllm_swift/s1_siglip2_qwen3_1.7b/v11-20260314-090153/checkpoint-2000/tokenizer.json filter=lfs diff=lfs merge=lfs -text
43
  video_mllm_swift/s1_siglip2_qwen3_1.7b/v11-20260314-090153/checkpoint-2181/tokenizer.json filter=lfs diff=lfs merge=lfs -text
44
  video_mllm_swift/s2_declip_siglip2_qwen3_1.7b_10pct/checkpoint-1000/tokenizer.json filter=lfs diff=lfs merge=lfs -text
45
+ video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-300/tokenizer.json filter=lfs diff=lfs merge=lfs -text
46
+ video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-400/tokenizer.json filter=lfs diff=lfs merge=lfs -text
video_mllm_swift/s2_image_only_10pct/v0-20260316-082051/args.json ADDED
@@ -0,0 +1,376 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "output_dir": "/mnt/bn/strategy-mllm-train/user/wangjunjie/code/xiaomoguhzz/exps/video_mllm_swift/s2_image_only_10pct/v0-20260316-082051",
3
+ "per_device_train_batch_size": 1,
4
+ "num_train_epochs": 3.0,
5
+ "max_steps": 500,
6
+ "learning_rate": 1e-05,
7
+ "lr_scheduler_type": "cosine",
8
+ "lr_scheduler_kwargs": null,
9
+ "warmup_steps": 0,
10
+ "optim": "adamw_torch_fused",
11
+ "optim_args": null,
12
+ "weight_decay": 0.1,
13
+ "adam_beta1": 0.9,
14
+ "adam_beta2": 0.95,
15
+ "adam_epsilon": 1e-08,
16
+ "optim_target_modules": null,
17
+ "gradient_accumulation_steps": 8,
18
+ "average_tokens_across_devices": true,
19
+ "max_grad_norm": 1.0,
20
+ "label_smoothing_factor": 0.0,
21
+ "bf16": true,
22
+ "fp16": false,
23
+ "bf16_full_eval": false,
24
+ "fp16_full_eval": false,
25
+ "tf32": null,
26
+ "gradient_checkpointing": true,
27
+ "gradient_checkpointing_kwargs": "{\"use_reentrant\": false}",
28
+ "torch_compile": false,
29
+ "torch_compile_backend": null,
30
+ "torch_compile_mode": null,
31
+ "use_liger_kernel": false,
32
+ "liger_kernel_config": null,
33
+ "use_cache": false,
34
+ "neftune_noise_alpha": null,
35
+ "torch_empty_cache_steps": null,
36
+ "auto_find_batch_size": false,
37
+ "logging_strategy": "steps",
38
+ "logging_steps": 1,
39
+ "logging_first_step": true,
40
+ "log_on_each_node": true,
41
+ "logging_nan_inf_filter": true,
42
+ "include_num_input_tokens_seen": false,
43
+ "log_level": "passive",
44
+ "log_level_replica": "warning",
45
+ "disable_tqdm": null,
46
+ "report_to": [
47
+ "none"
48
+ ],
49
+ "run_name": "/mnt/bn/strategy-mllm-train/user/wangjunjie/code/xiaomoguhzz/exps/video_mllm_swift/s2_image_only_10pct/v0-20260316-082051",
50
+ "project": "huggingface",
51
+ "trackio_space_id": "trackio",
52
+ "eval_strategy": "no",
53
+ "eval_steps": 100.0,
54
+ "eval_delay": 0,
55
+ "per_device_eval_batch_size": 1,
56
+ "prediction_loss_only": false,
57
+ "eval_on_start": false,
58
+ "eval_do_concat_batches": true,
59
+ "eval_use_gather_object": false,
60
+ "eval_accumulation_steps": null,
61
+ "include_for_metrics": [],
62
+ "batch_eval_metrics": false,
63
+ "save_only_model": false,
64
+ "save_strategy": "steps",
65
+ "save_steps": 100.0,
66
+ "save_on_each_node": false,
67
+ "save_total_limit": 2,
68
+ "enable_jit_checkpoint": false,
69
+ "push_to_hub": false,
70
+ "hub_token": null,
71
+ "hub_private_repo": null,
72
+ "hub_model_id": null,
73
+ "hub_strategy": "every_save",
74
+ "hub_always_push": false,
75
+ "hub_revision": null,
76
+ "load_best_model_at_end": false,
77
+ "metric_for_best_model": "loss",
78
+ "greater_is_better": false,
79
+ "ignore_data_skip": false,
80
+ "restore_callback_states_from_checkpoint": false,
81
+ "full_determinism": false,
82
+ "seed": 42,
83
+ "data_seed": 42,
84
+ "use_cpu": false,
85
+ "accelerator_config": "{\"dispatch_batches\": false}",
86
+ "parallelism_config": null,
87
+ "dataloader_drop_last": false,
88
+ "dataloader_num_workers": 4,
89
+ "dataloader_pin_memory": true,
90
+ "dataloader_persistent_workers": false,
91
+ "dataloader_prefetch_factor": 4,
92
+ "remove_unused_columns": true,
93
+ "label_names": null,
94
+ "train_sampling_strategy": "random",
95
+ "length_column_name": "length",
96
+ "ddp_find_unused_parameters": null,
97
+ "ddp_bucket_cap_mb": null,
98
+ "ddp_broadcast_buffers": null,
99
+ "ddp_backend": null,
100
+ "ddp_timeout": 36000,
101
+ "fsdp": [],
102
+ "fsdp_config": null,
103
+ "deepspeed": {
104
+ "fp16": {
105
+ "enabled": "auto",
106
+ "loss_scale": 0,
107
+ "loss_scale_window": 1000,
108
+ "initial_scale_power": 16,
109
+ "hysteresis": 2,
110
+ "min_loss_scale": 1
111
+ },
112
+ "bf16": {
113
+ "enabled": "auto"
114
+ },
115
+ "zero_optimization": {
116
+ "stage": 2,
117
+ "offload_optimizer": {
118
+ "device": "none",
119
+ "pin_memory": true
120
+ },
121
+ "allgather_partitions": true,
122
+ "allgather_bucket_size": 200000000.0,
123
+ "overlap_comm": false,
124
+ "reduce_scatter": true,
125
+ "reduce_bucket_size": 200000000.0,
126
+ "contiguous_gradients": true
127
+ },
128
+ "gradient_accumulation_steps": "auto",
129
+ "gradient_clipping": "auto",
130
+ "steps_per_print": 2000,
131
+ "train_batch_size": "auto",
132
+ "train_micro_batch_size_per_gpu": "auto",
133
+ "wall_clock_breakdown": false
134
+ },
135
+ "debug": null,
136
+ "skip_memory_metrics": true,
137
+ "do_train": false,
138
+ "do_eval": false,
139
+ "do_predict": false,
140
+ "resume_from_checkpoint": null,
141
+ "warmup_ratio": 0.05,
142
+ "logging_dir": "/mnt/bn/strategy-mllm-train/user/wangjunjie/code/xiaomoguhzz/exps/video_mllm_swift/s2_image_only_10pct/v0-20260316-082051/runs",
143
+ "local_rank": 0,
144
+ "sortish_sampler": false,
145
+ "predict_with_generate": false,
146
+ "generation_max_length": null,
147
+ "generation_num_beams": null,
148
+ "generation_config": null,
149
+ "tuner_backend": "peft",
150
+ "vit_gradient_checkpointing": null,
151
+ "router_aux_loss_coef": 0.0,
152
+ "enable_dft_loss": false,
153
+ "enable_channel_loss": false,
154
+ "safe_serialization": true,
155
+ "max_shard_size": "5GB",
156
+ "check_model": true,
157
+ "acc_strategy": "token",
158
+ "train_dataloader_shuffle": true,
159
+ "group_by_length": false,
160
+ "max_epochs": null,
161
+ "aligner_lr": null,
162
+ "vit_lr": 1e-06,
163
+ "use_logits_to_keep": null,
164
+ "ds3_gather_for_generation": true,
165
+ "resume_only_model": false,
166
+ "optimizer": null,
167
+ "loss_type": null,
168
+ "eval_metric": null,
169
+ "callbacks": [],
170
+ "early_stop_interval": null,
171
+ "eval_use_evalscope": false,
172
+ "eval_dataset": [],
173
+ "eval_dataset_args": null,
174
+ "eval_limit": null,
175
+ "eval_generation_config": null,
176
+ "extra_eval_args": null,
177
+ "tuner_type": "full",
178
+ "use_galore": false,
179
+ "galore_target_modules": null,
180
+ "galore_rank": 128,
181
+ "galore_update_proj_gap": 50,
182
+ "galore_scale": 1.0,
183
+ "galore_proj_type": "std",
184
+ "galore_optim_per_parameter": false,
185
+ "galore_with_embedding": false,
186
+ "galore_quantization": false,
187
+ "galore_proj_quant": false,
188
+ "galore_proj_bits": 4,
189
+ "galore_proj_group_size": 256,
190
+ "galore_cos_threshold": 0.4,
191
+ "galore_gamma_proj": 2,
192
+ "galore_queue_size": 5,
193
+ "lisa_activated_layers": 0,
194
+ "lisa_step_interval": 20,
195
+ "use_flash_ckpt": false,
196
+ "use_ray": false,
197
+ "ray_exp_name": null,
198
+ "device_groups": null,
199
+ "model": "/opt/tiger/model_cache/checkpoint-2181",
200
+ "model_type": "llava_siglip2_qwen3",
201
+ "model_revision": null,
202
+ "task_type": "causal_lm",
203
+ "torch_dtype": "bfloat16",
204
+ "attn_impl": "flash_attn",
205
+ "experts_impl": null,
206
+ "new_special_tokens": [],
207
+ "num_labels": null,
208
+ "problem_type": null,
209
+ "rope_scaling": null,
210
+ "device_map": null,
211
+ "max_memory": {},
212
+ "max_model_len": null,
213
+ "local_repo_path": null,
214
+ "init_strategy": null,
215
+ "template": "llava_siglip2_qwen3",
216
+ "system": null,
217
+ "max_length": 16384,
218
+ "truncation_strategy": "delete",
219
+ "max_pixels": null,
220
+ "agent_template": null,
221
+ "norm_bbox": null,
222
+ "use_chat_template": true,
223
+ "padding_side": "right",
224
+ "padding_free": true,
225
+ "loss_scale": "default",
226
+ "sequence_parallel_size": 1,
227
+ "template_backend": "swift",
228
+ "response_prefix": null,
229
+ "enable_thinking": null,
230
+ "add_non_thinking_prefix": true,
231
+ "dataset": [
232
+ "vmllm_s2_image_10pct"
233
+ ],
234
+ "val_dataset": [],
235
+ "cached_dataset": [],
236
+ "cached_val_dataset": [],
237
+ "split_dataset_ratio": 0.0,
238
+ "dataset_num_proc": 64,
239
+ "load_from_cache_file": true,
240
+ "dataset_shuffle": true,
241
+ "val_dataset_shuffle": false,
242
+ "streaming": false,
243
+ "interleave_prob": null,
244
+ "stopping_strategy": "first_exhausted",
245
+ "shuffle_buffer_size": 1000,
246
+ "download_mode": "reuse_dataset_if_exists",
247
+ "columns": {},
248
+ "strict": false,
249
+ "model_name": null,
250
+ "model_author": null,
251
+ "custom_dataset_info": [],
252
+ "quant_method": null,
253
+ "quant_bits": null,
254
+ "hqq_axis": null,
255
+ "bnb_4bit_compute_dtype": "bfloat16",
256
+ "bnb_4bit_quant_type": "nf4",
257
+ "bnb_4bit_use_double_quant": true,
258
+ "bnb_4bit_quant_storage": null,
259
+ "max_new_tokens": 64,
260
+ "temperature": 0.0,
261
+ "top_k": null,
262
+ "top_p": null,
263
+ "repetition_penalty": null,
264
+ "num_beams": 1,
265
+ "stream": false,
266
+ "stop_words": [],
267
+ "logprobs": false,
268
+ "top_logprobs": null,
269
+ "structured_outputs_regex": null,
270
+ "train_type": null,
271
+ "adapters": [],
272
+ "external_plugins": [
273
+ "video_mllm/model_plugin.py",
274
+ "video_mllm/dataset_plugin.py"
275
+ ],
276
+ "custom_register_path": [],
277
+ "model_kwargs": {},
278
+ "load_args": false,
279
+ "load_data_args": false,
280
+ "packing": true,
281
+ "packing_length": 16384,
282
+ "packing_num_proc": 1,
283
+ "lazy_tokenize": false,
284
+ "use_hf": true,
285
+ "ignore_args_error": false,
286
+ "use_swift_lora": false,
287
+ "freeze_parameters": [],
288
+ "freeze_parameters_regex": null,
289
+ "freeze_parameters_ratio": 0.0,
290
+ "trainable_parameters": [
291
+ "model.multi_modal_projector"
292
+ ],
293
+ "trainable_parameters_regex": null,
294
+ "freeze_llm": false,
295
+ "freeze_vit": false,
296
+ "freeze_aligner": false,
297
+ "target_modules": [
298
+ "all-linear"
299
+ ],
300
+ "target_regex": null,
301
+ "target_parameters": null,
302
+ "modules_to_save": [],
303
+ "lora_rank": 8,
304
+ "lora_alpha": 32,
305
+ "lora_dropout": 0.05,
306
+ "lora_bias": "none",
307
+ "lora_dtype": null,
308
+ "lorap_lr_ratio": null,
309
+ "use_rslora": false,
310
+ "use_dora": false,
311
+ "lora_ga_batch_size": 2,
312
+ "lora_ga_iters": 2,
313
+ "lora_ga_max_length": 1024,
314
+ "lora_ga_direction": "ArB2r",
315
+ "lora_ga_scale": "stable",
316
+ "lora_ga_stable_gamma": 16,
317
+ "init_weights": true,
318
+ "fourier_n_frequency": 2000,
319
+ "fourier_scaling": 300.0,
320
+ "boft_block_size": 4,
321
+ "boft_block_num": 0,
322
+ "boft_n_butterfly_factor": 1,
323
+ "boft_dropout": 0.0,
324
+ "vera_rank": 256,
325
+ "vera_projection_prng_key": 0,
326
+ "vera_dropout": 0.0,
327
+ "vera_d_initial": 0.1,
328
+ "adapter_act": "gelu",
329
+ "adapter_length": 128,
330
+ "adalora_target_r": 8,
331
+ "adalora_init_r": 12,
332
+ "adalora_tinit": 0,
333
+ "adalora_tfinal": 0,
334
+ "adalora_deltaT": 1,
335
+ "adalora_beta1": 0.85,
336
+ "adalora_beta2": 0.85,
337
+ "adalora_orth_reg_weight": 0.5,
338
+ "llamapro_num_new_blocks": 4,
339
+ "llamapro_num_groups": null,
340
+ "reft_layer_key": null,
341
+ "reft_layers": null,
342
+ "reft_rank": 4,
343
+ "reft_intervention_type": "LoreftIntervention",
344
+ "reft_args": null,
345
+ "swanlab_token": null,
346
+ "swanlab_project": "ms-swift",
347
+ "swanlab_workspace": null,
348
+ "swanlab_exp_name": null,
349
+ "swanlab_notification_method": null,
350
+ "swanlab_webhook_url": null,
351
+ "swanlab_secret": null,
352
+ "swanlab_sender_email": null,
353
+ "swanlab_receiver_email": null,
354
+ "swanlab_smtp_server": null,
355
+ "swanlab_smtp_port": null,
356
+ "swanlab_email_language": "zh",
357
+ "swanlab_mode": "cloud",
358
+ "add_version": true,
359
+ "create_checkpoint_symlink": false,
360
+ "zero_hpz_partition_size": null,
361
+ "deepspeed_autotp_size": null,
362
+ "swift_version": "4.1.0.dev0",
363
+ "ckpt_dir": "/opt/tiger/model_cache/checkpoint-2181",
364
+ "rank": 0,
365
+ "global_world_size": 8,
366
+ "local_world_size": 8,
367
+ "model_suffix": "checkpoint-2181",
368
+ "model_info": "ModelInfo(model_type='llava_siglip2_qwen3', model_dir='/opt/tiger/model_cache/checkpoint-2181', torch_dtype=torch.bfloat16, max_model_len=40960, quant_method=None, quant_bits=None, rope_scaling=None, is_moe_model=False, is_multimodal=True, config=None, task_type='causal_lm', num_labels=None)",
369
+ "model_meta": "ModelMeta(model_type='llava_siglip2_qwen3', model_groups=[ModelGroup(models=[Model(ms_model_id='Qwen/Qwen3-0.6B', hf_model_id='Qwen/Qwen3-0.6B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-1.7B', hf_model_id='Qwen/Qwen3-1.7B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-4B', hf_model_id='Qwen/Qwen3-4B', model_path=None, ms_revision=None, hf_revision=None)], template=None, ignore_patterns=None, requires=None, tags=[])], loader=<class 'model_plugin.SigLIP2Qwen3Loader'>, template='llava_siglip2_qwen3', model_arch=MultiModelKeys(arch_name='llava_hf', 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.multi_modal_projector'], vision_tower=['model.vision_tower'], generator=[]), architectures=['LlavaOnevisionForConditionalGeneration'], additional_saved_files=[], torch_dtype=None, is_multimodal=True, is_reward=False, task_type=None, ignore_patterns=None, requires=[], tags=['vision', 'video'])",
370
+ "model_dir": "/opt/tiger/model_cache/checkpoint-2181",
371
+ "template_meta": "QwenTemplateMeta(template_type='llava_siglip2_qwen3', prefix=[], prompt=['<|im_start|>user\\n{{QUERY}}<|im_end|>\\n<|im_start|>assistant\\n'], chat_sep=['<|im_end|>\\n'], suffix=['<|im_end|>\\n'], template_cls=<class 'model_plugin.SigLIP2LlavaTemplate'>, system_prefix=['<|im_start|>system\\n{{SYSTEM}}<|im_end|>\\n'], default_system=None, auto_add_bos=False, stop_words=['<|endoftext|>'], agent_template='hermes', is_thinking=False, thinking_prefix='', non_thinking_prefix='', history_thinking_prefix='')",
372
+ "_val_dataset_exists": false,
373
+ "hub": "<class 'swift.hub.hub.HFHub'>",
374
+ "evaluation_strategy": "steps",
375
+ "training_args": "Seq2SeqTrainingArguments(output_dir='/mnt/bn/strategy-mllm-train/user/wangjunjie/code/xiaomoguhzz/exps/video_mllm_swift/s2_image_only_10pct/v0-20260316-082051', per_device_train_batch_size=1, num_train_epochs=3.0, max_steps=500, learning_rate=1e-05, lr_scheduler_type=<SchedulerType.COSINE: 'cosine'>, lr_scheduler_kwargs=None, warmup_steps=0.05, optim=<OptimizerNames.ADAMW_TORCH_FUSED: 'adamw_torch_fused'>, optim_args=None, weight_decay=0.1, adam_beta1=0.9, adam_beta2=0.95, adam_epsilon=1e-08, optim_target_modules=None, gradient_accumulation_steps=8, average_tokens_across_devices=None, max_grad_norm=1.0, label_smoothing_factor=0.0, bf16=True, fp16=False, bf16_full_eval=False, fp16_full_eval=False, tf32=None, gradient_checkpointing=True, gradient_checkpointing_kwargs={'use_reentrant': False}, torch_compile=False, torch_compile_backend=None, torch_compile_mode=None, use_liger_kernel=False, liger_kernel_config=None, use_cache=False, neftune_noise_alpha=None, torch_empty_cache_steps=None, auto_find_batch_size=False, logging_strategy=<IntervalStrategy.STEPS: 'steps'>, logging_steps=1, logging_first_step=True, log_on_each_node=True, logging_nan_inf_filter=True, include_num_input_tokens_seen=None, log_level='passive', log_level_replica='warning', disable_tqdm=False, report_to=[], run_name='/mnt/bn/strategy-mllm-train/user/wangjunjie/code/xiaomoguhzz/exps/video_mllm_swift/s2_image_only_10pct/v0-20260316-082051', project='huggingface', trackio_space_id='trackio', eval_strategy=<IntervalStrategy.NO: 'no'>, eval_steps=100.0, eval_delay=0, per_device_eval_batch_size=1, prediction_loss_only=False, eval_on_start=False, eval_do_concat_batches=True, eval_use_gather_object=False, eval_accumulation_steps=None, include_for_metrics=[], batch_eval_metrics=False, save_only_model=False, save_strategy=<SaveStrategy.STEPS: 'steps'>, save_steps=100, save_on_each_node=False, save_total_limit=2, enable_jit_checkpoint=False, push_to_hub=False, hub_token=None, hub_private_repo=None, hub_model_id=None, hub_strategy=<HubStrategy.EVERY_SAVE: 'every_save'>, hub_always_push=False, hub_revision=None, load_best_model_at_end=False, metric_for_best_model='loss', greater_is_better=False, ignore_data_skip=False, restore_callback_states_from_checkpoint=False, full_determinism=False, seed=42, data_seed=42, use_cpu=False, accelerator_config=AcceleratorConfig(split_batches=False, dispatch_batches=False, even_batches=True, use_seedable_sampler=True, non_blocking=False, gradient_accumulation_kwargs=None, use_configured_state=False), parallelism_config=None, dataloader_drop_last=False, dataloader_num_workers=4, dataloader_pin_memory=True, dataloader_persistent_workers=False, dataloader_prefetch_factor=4, remove_unused_columns=False, label_names=None, train_sampling_strategy='random', length_column_name='length', ddp_find_unused_parameters=None, ddp_bucket_cap_mb=None, ddp_broadcast_buffers=None, ddp_backend=None, ddp_timeout=36000, fsdp=[], fsdp_config={'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}, deepspeed={'fp16': {'enabled': 'auto', 'loss_scale': 0, 'loss_scale_window': 1000, 'initial_scale_power': 16, 'hysteresis': 2, 'min_loss_scale': 1}, 'bf16': {'enabled': 'auto'}, 'zero_optimization': {'stage': 2, 'offload_optimizer': {'device': 'none', 'pin_memory': True}, 'allgather_partitions': True, 'allgather_bucket_size': 200000000.0, 'overlap_comm': False, 'reduce_scatter': True, 'reduce_bucket_size': 200000000.0, 'contiguous_gradients': True}, 'gradient_accumulation_steps': 'auto', 'gradient_clipping': 'auto', 'steps_per_print': 2000, 'train_batch_size': 'auto', 'train_micro_batch_size_per_gpu': 'auto', 'wall_clock_breakdown': False}, debug=[], skip_memory_metrics=True, do_train=False, do_eval=False, do_predict=False, resume_from_checkpoint=None, warmup_ratio=0.05, logging_dir='/mnt/bn/strategy-mllm-train/user/wangjunjie/code/xiaomoguhzz/exps/video_mllm_swift/s2_image_only_10pct/v0-20260316-082051/runs', local_rank=0, sortish_sampler=False, predict_with_generate=False, generation_max_length=None, generation_num_beams=None, generation_config=None, tuner_backend='peft', vit_gradient_checkpointing=True, router_aux_loss_coef=0.0, enable_dft_loss=False, enable_channel_loss=False, safe_serialization=True, max_shard_size='5GB', check_model=True, acc_strategy='token', train_dataloader_shuffle=True, group_by_length=False, max_epochs=None, aligner_lr=None, vit_lr=1e-06, use_logits_to_keep=None, ds3_gather_for_generation=True, resume_only_model=False, optimizer='multimodal', loss_type=None, eval_metric=None, callbacks=[], early_stop_interval=None, eval_use_evalscope=False, eval_dataset=[], eval_dataset_args=None, eval_limit=None, eval_generation_config=None, extra_eval_args=None, tuner_type='full', use_galore=False, galore_target_modules=None, galore_rank=128, galore_update_proj_gap=50, galore_scale=1.0, galore_proj_type='std', galore_optim_per_parameter=False, galore_with_embedding=False, galore_quantization=False, galore_proj_quant=False, galore_proj_bits=4, galore_proj_group_size=256, galore_cos_threshold=0.4, galore_gamma_proj=2, galore_queue_size=5, lisa_activated_layers=0, lisa_step_interval=20, use_flash_ckpt=False)"
376
+ }
video_mllm_swift/s2_image_only_10pct/v0-20260316-082051/logging.jsonl ADDED
@@ -0,0 +1 @@
 
 
1
+ {"train_dataset": "15834.342530±556.264794, min=14612.000000, max=16384.000000, size=14860", "model_parameter_info": "LlavaOnevisionForConditionalGeneration: 2436.0474M Params (2436.0474M Trainable [100.0000%]), 0.0009M Buffers.", "last_model_checkpoint": null, "best_model_checkpoint": null, "best_metric": null, "global_step": 0, "log_history": [], "memory": null}
video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/args.json ADDED
@@ -0,0 +1,376 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "output_dir": "/mnt/bn/strategy-mllm-train/user/wangjunjie/code/xiaomoguhzz/exps/video_mllm_swift/s2_image_only_10pct/v1-20260316-135215",
3
+ "per_device_train_batch_size": 1,
4
+ "num_train_epochs": 3.0,
5
+ "max_steps": 500,
6
+ "learning_rate": 1e-05,
7
+ "lr_scheduler_type": "cosine",
8
+ "lr_scheduler_kwargs": null,
9
+ "warmup_steps": 0,
10
+ "optim": "adamw_torch_fused",
11
+ "optim_args": null,
12
+ "weight_decay": 0.1,
13
+ "adam_beta1": 0.9,
14
+ "adam_beta2": 0.95,
15
+ "adam_epsilon": 1e-08,
16
+ "optim_target_modules": null,
17
+ "gradient_accumulation_steps": 8,
18
+ "average_tokens_across_devices": true,
19
+ "max_grad_norm": 1.0,
20
+ "label_smoothing_factor": 0.0,
21
+ "bf16": true,
22
+ "fp16": false,
23
+ "bf16_full_eval": false,
24
+ "fp16_full_eval": false,
25
+ "tf32": null,
26
+ "gradient_checkpointing": true,
27
+ "gradient_checkpointing_kwargs": "{\"use_reentrant\": false}",
28
+ "torch_compile": false,
29
+ "torch_compile_backend": null,
30
+ "torch_compile_mode": null,
31
+ "use_liger_kernel": false,
32
+ "liger_kernel_config": null,
33
+ "use_cache": false,
34
+ "neftune_noise_alpha": null,
35
+ "torch_empty_cache_steps": null,
36
+ "auto_find_batch_size": false,
37
+ "logging_strategy": "steps",
38
+ "logging_steps": 1,
39
+ "logging_first_step": true,
40
+ "log_on_each_node": true,
41
+ "logging_nan_inf_filter": true,
42
+ "include_num_input_tokens_seen": false,
43
+ "log_level": "passive",
44
+ "log_level_replica": "warning",
45
+ "disable_tqdm": null,
46
+ "report_to": [
47
+ "none"
48
+ ],
49
+ "run_name": "/mnt/bn/strategy-mllm-train/user/wangjunjie/code/xiaomoguhzz/exps/video_mllm_swift/s2_image_only_10pct/v1-20260316-135215",
50
+ "project": "huggingface",
51
+ "trackio_space_id": "trackio",
52
+ "eval_strategy": "no",
53
+ "eval_steps": 100.0,
54
+ "eval_delay": 0,
55
+ "per_device_eval_batch_size": 1,
56
+ "prediction_loss_only": false,
57
+ "eval_on_start": false,
58
+ "eval_do_concat_batches": true,
59
+ "eval_use_gather_object": false,
60
+ "eval_accumulation_steps": null,
61
+ "include_for_metrics": [],
62
+ "batch_eval_metrics": false,
63
+ "save_only_model": false,
64
+ "save_strategy": "steps",
65
+ "save_steps": 100.0,
66
+ "save_on_each_node": false,
67
+ "save_total_limit": 2,
68
+ "enable_jit_checkpoint": false,
69
+ "push_to_hub": false,
70
+ "hub_token": null,
71
+ "hub_private_repo": null,
72
+ "hub_model_id": null,
73
+ "hub_strategy": "every_save",
74
+ "hub_always_push": false,
75
+ "hub_revision": null,
76
+ "load_best_model_at_end": false,
77
+ "metric_for_best_model": "loss",
78
+ "greater_is_better": false,
79
+ "ignore_data_skip": false,
80
+ "restore_callback_states_from_checkpoint": false,
81
+ "full_determinism": false,
82
+ "seed": 42,
83
+ "data_seed": 42,
84
+ "use_cpu": false,
85
+ "accelerator_config": "{\"dispatch_batches\": false}",
86
+ "parallelism_config": null,
87
+ "dataloader_drop_last": false,
88
+ "dataloader_num_workers": 4,
89
+ "dataloader_pin_memory": true,
90
+ "dataloader_persistent_workers": false,
91
+ "dataloader_prefetch_factor": 4,
92
+ "remove_unused_columns": true,
93
+ "label_names": null,
94
+ "train_sampling_strategy": "random",
95
+ "length_column_name": "length",
96
+ "ddp_find_unused_parameters": null,
97
+ "ddp_bucket_cap_mb": null,
98
+ "ddp_broadcast_buffers": null,
99
+ "ddp_backend": null,
100
+ "ddp_timeout": 7200,
101
+ "fsdp": [],
102
+ "fsdp_config": null,
103
+ "deepspeed": {
104
+ "fp16": {
105
+ "enabled": "auto",
106
+ "loss_scale": 0,
107
+ "loss_scale_window": 1000,
108
+ "initial_scale_power": 16,
109
+ "hysteresis": 2,
110
+ "min_loss_scale": 1
111
+ },
112
+ "bf16": {
113
+ "enabled": "auto"
114
+ },
115
+ "zero_optimization": {
116
+ "stage": 2,
117
+ "offload_optimizer": {
118
+ "device": "none",
119
+ "pin_memory": true
120
+ },
121
+ "allgather_partitions": true,
122
+ "allgather_bucket_size": 200000000.0,
123
+ "overlap_comm": false,
124
+ "reduce_scatter": true,
125
+ "reduce_bucket_size": 200000000.0,
126
+ "contiguous_gradients": true
127
+ },
128
+ "gradient_accumulation_steps": "auto",
129
+ "gradient_clipping": "auto",
130
+ "steps_per_print": 2000,
131
+ "train_batch_size": "auto",
132
+ "train_micro_batch_size_per_gpu": "auto",
133
+ "wall_clock_breakdown": false
134
+ },
135
+ "debug": null,
136
+ "skip_memory_metrics": true,
137
+ "do_train": false,
138
+ "do_eval": false,
139
+ "do_predict": false,
140
+ "resume_from_checkpoint": null,
141
+ "warmup_ratio": 0.05,
142
+ "logging_dir": "/mnt/bn/strategy-mllm-train/user/wangjunjie/code/xiaomoguhzz/exps/video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/runs",
143
+ "local_rank": 0,
144
+ "sortish_sampler": false,
145
+ "predict_with_generate": false,
146
+ "generation_max_length": null,
147
+ "generation_num_beams": null,
148
+ "generation_config": null,
149
+ "tuner_backend": "peft",
150
+ "vit_gradient_checkpointing": null,
151
+ "router_aux_loss_coef": 0.0,
152
+ "enable_dft_loss": false,
153
+ "enable_channel_loss": false,
154
+ "safe_serialization": true,
155
+ "max_shard_size": "5GB",
156
+ "check_model": true,
157
+ "acc_strategy": "token",
158
+ "train_dataloader_shuffle": true,
159
+ "group_by_length": false,
160
+ "max_epochs": null,
161
+ "aligner_lr": null,
162
+ "vit_lr": 1e-06,
163
+ "use_logits_to_keep": null,
164
+ "ds3_gather_for_generation": true,
165
+ "resume_only_model": false,
166
+ "optimizer": null,
167
+ "loss_type": null,
168
+ "eval_metric": null,
169
+ "callbacks": [],
170
+ "early_stop_interval": null,
171
+ "eval_use_evalscope": false,
172
+ "eval_dataset": [],
173
+ "eval_dataset_args": null,
174
+ "eval_limit": null,
175
+ "eval_generation_config": null,
176
+ "extra_eval_args": null,
177
+ "tuner_type": "full",
178
+ "use_galore": false,
179
+ "galore_target_modules": null,
180
+ "galore_rank": 128,
181
+ "galore_update_proj_gap": 50,
182
+ "galore_scale": 1.0,
183
+ "galore_proj_type": "std",
184
+ "galore_optim_per_parameter": false,
185
+ "galore_with_embedding": false,
186
+ "galore_quantization": false,
187
+ "galore_proj_quant": false,
188
+ "galore_proj_bits": 4,
189
+ "galore_proj_group_size": 256,
190
+ "galore_cos_threshold": 0.4,
191
+ "galore_gamma_proj": 2,
192
+ "galore_queue_size": 5,
193
+ "lisa_activated_layers": 0,
194
+ "lisa_step_interval": 20,
195
+ "use_flash_ckpt": false,
196
+ "use_ray": false,
197
+ "ray_exp_name": null,
198
+ "device_groups": null,
199
+ "model": "/opt/tiger/model_cache/checkpoint-2181",
200
+ "model_type": "llava_siglip2_qwen3",
201
+ "model_revision": null,
202
+ "task_type": "causal_lm",
203
+ "torch_dtype": "bfloat16",
204
+ "attn_impl": "flash_attn",
205
+ "experts_impl": null,
206
+ "new_special_tokens": [],
207
+ "num_labels": null,
208
+ "problem_type": null,
209
+ "rope_scaling": null,
210
+ "device_map": null,
211
+ "max_memory": {},
212
+ "max_model_len": null,
213
+ "local_repo_path": null,
214
+ "init_strategy": null,
215
+ "template": "llava_siglip2_qwen3",
216
+ "system": null,
217
+ "max_length": 16384,
218
+ "truncation_strategy": "delete",
219
+ "max_pixels": null,
220
+ "agent_template": null,
221
+ "norm_bbox": null,
222
+ "use_chat_template": true,
223
+ "padding_side": "right",
224
+ "padding_free": true,
225
+ "loss_scale": "default",
226
+ "sequence_parallel_size": 1,
227
+ "template_backend": "swift",
228
+ "response_prefix": null,
229
+ "enable_thinking": null,
230
+ "add_non_thinking_prefix": true,
231
+ "dataset": [],
232
+ "val_dataset": [],
233
+ "cached_dataset": [
234
+ "/mnt/bn/strategy-mllm-train/common/datasets/vmllm_cached/image_10pct/train"
235
+ ],
236
+ "cached_val_dataset": [],
237
+ "split_dataset_ratio": 0.0,
238
+ "dataset_num_proc": 1,
239
+ "load_from_cache_file": false,
240
+ "dataset_shuffle": true,
241
+ "val_dataset_shuffle": false,
242
+ "streaming": false,
243
+ "interleave_prob": null,
244
+ "stopping_strategy": "first_exhausted",
245
+ "shuffle_buffer_size": 1000,
246
+ "download_mode": "reuse_dataset_if_exists",
247
+ "columns": {},
248
+ "strict": false,
249
+ "model_name": null,
250
+ "model_author": null,
251
+ "custom_dataset_info": [],
252
+ "quant_method": null,
253
+ "quant_bits": null,
254
+ "hqq_axis": null,
255
+ "bnb_4bit_compute_dtype": "bfloat16",
256
+ "bnb_4bit_quant_type": "nf4",
257
+ "bnb_4bit_use_double_quant": true,
258
+ "bnb_4bit_quant_storage": null,
259
+ "max_new_tokens": 64,
260
+ "temperature": 0.0,
261
+ "top_k": null,
262
+ "top_p": null,
263
+ "repetition_penalty": null,
264
+ "num_beams": 1,
265
+ "stream": false,
266
+ "stop_words": [],
267
+ "logprobs": false,
268
+ "top_logprobs": null,
269
+ "structured_outputs_regex": null,
270
+ "train_type": null,
271
+ "adapters": [],
272
+ "external_plugins": [
273
+ "video_mllm/model_plugin.py",
274
+ "video_mllm/dataset_plugin.py"
275
+ ],
276
+ "custom_register_path": [],
277
+ "model_kwargs": {},
278
+ "load_args": false,
279
+ "load_data_args": false,
280
+ "packing": true,
281
+ "packing_length": 16384,
282
+ "packing_num_proc": 1,
283
+ "lazy_tokenize": false,
284
+ "use_hf": true,
285
+ "ignore_args_error": false,
286
+ "use_swift_lora": false,
287
+ "freeze_parameters": [],
288
+ "freeze_parameters_regex": null,
289
+ "freeze_parameters_ratio": 0.0,
290
+ "trainable_parameters": [
291
+ "model.multi_modal_projector"
292
+ ],
293
+ "trainable_parameters_regex": null,
294
+ "freeze_llm": false,
295
+ "freeze_vit": false,
296
+ "freeze_aligner": false,
297
+ "target_modules": [
298
+ "all-linear"
299
+ ],
300
+ "target_regex": null,
301
+ "target_parameters": null,
302
+ "modules_to_save": [],
303
+ "lora_rank": 8,
304
+ "lora_alpha": 32,
305
+ "lora_dropout": 0.05,
306
+ "lora_bias": "none",
307
+ "lora_dtype": null,
308
+ "lorap_lr_ratio": null,
309
+ "use_rslora": false,
310
+ "use_dora": false,
311
+ "lora_ga_batch_size": 2,
312
+ "lora_ga_iters": 2,
313
+ "lora_ga_max_length": 1024,
314
+ "lora_ga_direction": "ArB2r",
315
+ "lora_ga_scale": "stable",
316
+ "lora_ga_stable_gamma": 16,
317
+ "init_weights": true,
318
+ "fourier_n_frequency": 2000,
319
+ "fourier_scaling": 300.0,
320
+ "boft_block_size": 4,
321
+ "boft_block_num": 0,
322
+ "boft_n_butterfly_factor": 1,
323
+ "boft_dropout": 0.0,
324
+ "vera_rank": 256,
325
+ "vera_projection_prng_key": 0,
326
+ "vera_dropout": 0.0,
327
+ "vera_d_initial": 0.1,
328
+ "adapter_act": "gelu",
329
+ "adapter_length": 128,
330
+ "adalora_target_r": 8,
331
+ "adalora_init_r": 12,
332
+ "adalora_tinit": 0,
333
+ "adalora_tfinal": 0,
334
+ "adalora_deltaT": 1,
335
+ "adalora_beta1": 0.85,
336
+ "adalora_beta2": 0.85,
337
+ "adalora_orth_reg_weight": 0.5,
338
+ "llamapro_num_new_blocks": 4,
339
+ "llamapro_num_groups": null,
340
+ "reft_layer_key": null,
341
+ "reft_layers": null,
342
+ "reft_rank": 4,
343
+ "reft_intervention_type": "LoreftIntervention",
344
+ "reft_args": null,
345
+ "swanlab_token": null,
346
+ "swanlab_project": "ms-swift",
347
+ "swanlab_workspace": null,
348
+ "swanlab_exp_name": null,
349
+ "swanlab_notification_method": null,
350
+ "swanlab_webhook_url": null,
351
+ "swanlab_secret": null,
352
+ "swanlab_sender_email": null,
353
+ "swanlab_receiver_email": null,
354
+ "swanlab_smtp_server": null,
355
+ "swanlab_smtp_port": null,
356
+ "swanlab_email_language": "zh",
357
+ "swanlab_mode": "cloud",
358
+ "add_version": true,
359
+ "create_checkpoint_symlink": false,
360
+ "zero_hpz_partition_size": null,
361
+ "deepspeed_autotp_size": null,
362
+ "swift_version": "4.1.0.dev0",
363
+ "ckpt_dir": "/opt/tiger/model_cache/checkpoint-2181",
364
+ "rank": 0,
365
+ "global_world_size": 8,
366
+ "local_world_size": 8,
367
+ "model_suffix": "checkpoint-2181",
368
+ "model_info": "ModelInfo(model_type='llava_siglip2_qwen3', model_dir='/opt/tiger/model_cache/checkpoint-2181', torch_dtype=torch.bfloat16, max_model_len=40960, quant_method=None, quant_bits=None, rope_scaling=None, is_moe_model=False, is_multimodal=True, config=None, task_type='causal_lm', num_labels=None)",
369
+ "model_meta": "ModelMeta(model_type='llava_siglip2_qwen3', model_groups=[ModelGroup(models=[Model(ms_model_id='Qwen/Qwen3-0.6B', hf_model_id='Qwen/Qwen3-0.6B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-1.7B', hf_model_id='Qwen/Qwen3-1.7B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-4B', hf_model_id='Qwen/Qwen3-4B', model_path=None, ms_revision=None, hf_revision=None)], template=None, ignore_patterns=None, requires=None, tags=[])], loader=<class 'model_plugin.SigLIP2Qwen3Loader'>, template='llava_siglip2_qwen3', model_arch=MultiModelKeys(arch_name='llava_hf', 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.multi_modal_projector'], vision_tower=['model.vision_tower'], generator=[]), architectures=['LlavaOnevisionForConditionalGeneration'], additional_saved_files=[], torch_dtype=None, is_multimodal=True, is_reward=False, task_type=None, ignore_patterns=None, requires=[], tags=['vision', 'video'])",
370
+ "model_dir": "/opt/tiger/model_cache/checkpoint-2181",
371
+ "template_meta": "QwenTemplateMeta(template_type='llava_siglip2_qwen3', prefix=[], prompt=['<|im_start|>user\\n{{QUERY}}<|im_end|>\\n<|im_start|>assistant\\n'], chat_sep=['<|im_end|>\\n'], suffix=['<|im_end|>\\n'], template_cls=<class 'model_plugin.SigLIP2LlavaTemplate'>, system_prefix=['<|im_start|>system\\n{{SYSTEM}}<|im_end|>\\n'], default_system=None, auto_add_bos=False, stop_words=['<|endoftext|>'], agent_template='hermes', is_thinking=False, thinking_prefix='', non_thinking_prefix='', history_thinking_prefix='')",
372
+ "_val_dataset_exists": false,
373
+ "hub": "<class 'swift.hub.hub.HFHub'>",
374
+ "evaluation_strategy": "steps",
375
+ "training_args": "Seq2SeqTrainingArguments(output_dir='/mnt/bn/strategy-mllm-train/user/wangjunjie/code/xiaomoguhzz/exps/video_mllm_swift/s2_image_only_10pct/v1-20260316-135215', per_device_train_batch_size=1, num_train_epochs=3.0, max_steps=500, learning_rate=1e-05, lr_scheduler_type=<SchedulerType.COSINE: 'cosine'>, lr_scheduler_kwargs=None, warmup_steps=0.05, optim=<OptimizerNames.ADAMW_TORCH_FUSED: 'adamw_torch_fused'>, optim_args=None, weight_decay=0.1, adam_beta1=0.9, adam_beta2=0.95, adam_epsilon=1e-08, optim_target_modules=None, gradient_accumulation_steps=8, average_tokens_across_devices=None, max_grad_norm=1.0, label_smoothing_factor=0.0, bf16=True, fp16=False, bf16_full_eval=False, fp16_full_eval=False, tf32=None, gradient_checkpointing=True, gradient_checkpointing_kwargs={'use_reentrant': False}, torch_compile=False, torch_compile_backend=None, torch_compile_mode=None, use_liger_kernel=False, liger_kernel_config=None, use_cache=False, neftune_noise_alpha=None, torch_empty_cache_steps=None, auto_find_batch_size=False, logging_strategy=<IntervalStrategy.STEPS: 'steps'>, logging_steps=1, logging_first_step=True, log_on_each_node=True, logging_nan_inf_filter=True, include_num_input_tokens_seen=None, log_level='passive', log_level_replica='warning', disable_tqdm=False, report_to=[], run_name='/mnt/bn/strategy-mllm-train/user/wangjunjie/code/xiaomoguhzz/exps/video_mllm_swift/s2_image_only_10pct/v1-20260316-135215', project='huggingface', trackio_space_id='trackio', eval_strategy=<IntervalStrategy.NO: 'no'>, eval_steps=100.0, eval_delay=0, per_device_eval_batch_size=1, prediction_loss_only=False, eval_on_start=False, eval_do_concat_batches=True, eval_use_gather_object=False, eval_accumulation_steps=None, include_for_metrics=[], batch_eval_metrics=False, save_only_model=False, save_strategy=<SaveStrategy.STEPS: 'steps'>, save_steps=100, save_on_each_node=False, save_total_limit=2, enable_jit_checkpoint=False, push_to_hub=False, hub_token=None, hub_private_repo=None, hub_model_id=None, hub_strategy=<HubStrategy.EVERY_SAVE: 'every_save'>, hub_always_push=False, hub_revision=None, load_best_model_at_end=False, metric_for_best_model='loss', greater_is_better=False, ignore_data_skip=False, restore_callback_states_from_checkpoint=False, full_determinism=False, seed=42, data_seed=42, use_cpu=False, accelerator_config=AcceleratorConfig(split_batches=False, dispatch_batches=False, even_batches=True, use_seedable_sampler=True, non_blocking=False, gradient_accumulation_kwargs=None, use_configured_state=False), parallelism_config=None, dataloader_drop_last=False, dataloader_num_workers=4, dataloader_pin_memory=True, dataloader_persistent_workers=False, dataloader_prefetch_factor=4, remove_unused_columns=False, label_names=None, train_sampling_strategy='random', length_column_name='length', ddp_find_unused_parameters=None, ddp_bucket_cap_mb=None, ddp_broadcast_buffers=None, ddp_backend=None, ddp_timeout=7200, fsdp=[], fsdp_config={'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}, deepspeed={'fp16': {'enabled': 'auto', 'loss_scale': 0, 'loss_scale_window': 1000, 'initial_scale_power': 16, 'hysteresis': 2, 'min_loss_scale': 1}, 'bf16': {'enabled': 'auto'}, 'zero_optimization': {'stage': 2, 'offload_optimizer': {'device': 'none', 'pin_memory': True}, 'allgather_partitions': True, 'allgather_bucket_size': 200000000.0, 'overlap_comm': False, 'reduce_scatter': True, 'reduce_bucket_size': 200000000.0, 'contiguous_gradients': True}, 'gradient_accumulation_steps': 'auto', 'gradient_clipping': 'auto', 'steps_per_print': 2000, 'train_batch_size': 'auto', 'train_micro_batch_size_per_gpu': 'auto', 'wall_clock_breakdown': False}, debug=[], skip_memory_metrics=True, do_train=False, do_eval=False, do_predict=False, resume_from_checkpoint=None, warmup_ratio=0.05, logging_dir='/mnt/bn/strategy-mllm-train/user/wangjunjie/code/xiaomoguhzz/exps/video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/runs', local_rank=0, sortish_sampler=False, predict_with_generate=False, generation_max_length=None, generation_num_beams=None, generation_config=None, tuner_backend='peft', vit_gradient_checkpointing=True, router_aux_loss_coef=0.0, enable_dft_loss=False, enable_channel_loss=False, safe_serialization=True, max_shard_size='5GB', check_model=True, acc_strategy='token', train_dataloader_shuffle=True, group_by_length=False, max_epochs=None, aligner_lr=None, vit_lr=1e-06, use_logits_to_keep=None, ds3_gather_for_generation=True, resume_only_model=False, optimizer='multimodal', loss_type=None, eval_metric=None, callbacks=[], early_stop_interval=None, eval_use_evalscope=False, eval_dataset=[], eval_dataset_args=None, eval_limit=None, eval_generation_config=None, extra_eval_args=None, tuner_type='full', use_galore=False, galore_target_modules=None, galore_rank=128, galore_update_proj_gap=50, galore_scale=1.0, galore_proj_type='std', galore_optim_per_parameter=False, galore_with_embedding=False, galore_quantization=False, galore_proj_quant=False, galore_proj_bits=4, galore_proj_group_size=256, galore_cos_threshold=0.4, galore_gamma_proj=2, galore_queue_size=5, lisa_activated_layers=0, lisa_step_interval=20, use_flash_ckpt=False)"
376
+ }
video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-300/args.json ADDED
@@ -0,0 +1,376 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "output_dir": "/mnt/bn/strategy-mllm-train/user/wangjunjie/code/xiaomoguhzz/exps/video_mllm_swift/s2_image_only_10pct/v1-20260316-135215",
3
+ "per_device_train_batch_size": 1,
4
+ "num_train_epochs": 3.0,
5
+ "max_steps": 500,
6
+ "learning_rate": 1e-05,
7
+ "lr_scheduler_type": "cosine",
8
+ "lr_scheduler_kwargs": null,
9
+ "warmup_steps": 0,
10
+ "optim": "adamw_torch_fused",
11
+ "optim_args": null,
12
+ "weight_decay": 0.1,
13
+ "adam_beta1": 0.9,
14
+ "adam_beta2": 0.95,
15
+ "adam_epsilon": 1e-08,
16
+ "optim_target_modules": null,
17
+ "gradient_accumulation_steps": 8,
18
+ "average_tokens_across_devices": true,
19
+ "max_grad_norm": 1.0,
20
+ "label_smoothing_factor": 0.0,
21
+ "bf16": true,
22
+ "fp16": false,
23
+ "bf16_full_eval": false,
24
+ "fp16_full_eval": false,
25
+ "tf32": null,
26
+ "gradient_checkpointing": true,
27
+ "gradient_checkpointing_kwargs": "{\"use_reentrant\": false}",
28
+ "torch_compile": false,
29
+ "torch_compile_backend": null,
30
+ "torch_compile_mode": null,
31
+ "use_liger_kernel": false,
32
+ "liger_kernel_config": null,
33
+ "use_cache": false,
34
+ "neftune_noise_alpha": null,
35
+ "torch_empty_cache_steps": null,
36
+ "auto_find_batch_size": false,
37
+ "logging_strategy": "steps",
38
+ "logging_steps": 1,
39
+ "logging_first_step": true,
40
+ "log_on_each_node": true,
41
+ "logging_nan_inf_filter": true,
42
+ "include_num_input_tokens_seen": false,
43
+ "log_level": "passive",
44
+ "log_level_replica": "warning",
45
+ "disable_tqdm": null,
46
+ "report_to": [
47
+ "none"
48
+ ],
49
+ "run_name": "/mnt/bn/strategy-mllm-train/user/wangjunjie/code/xiaomoguhzz/exps/video_mllm_swift/s2_image_only_10pct/v1-20260316-135215",
50
+ "project": "huggingface",
51
+ "trackio_space_id": "trackio",
52
+ "eval_strategy": "no",
53
+ "eval_steps": 100.0,
54
+ "eval_delay": 0,
55
+ "per_device_eval_batch_size": 1,
56
+ "prediction_loss_only": false,
57
+ "eval_on_start": false,
58
+ "eval_do_concat_batches": true,
59
+ "eval_use_gather_object": false,
60
+ "eval_accumulation_steps": null,
61
+ "include_for_metrics": [],
62
+ "batch_eval_metrics": false,
63
+ "save_only_model": false,
64
+ "save_strategy": "steps",
65
+ "save_steps": 100.0,
66
+ "save_on_each_node": false,
67
+ "save_total_limit": 2,
68
+ "enable_jit_checkpoint": false,
69
+ "push_to_hub": false,
70
+ "hub_token": null,
71
+ "hub_private_repo": null,
72
+ "hub_model_id": null,
73
+ "hub_strategy": "every_save",
74
+ "hub_always_push": false,
75
+ "hub_revision": null,
76
+ "load_best_model_at_end": false,
77
+ "metric_for_best_model": "loss",
78
+ "greater_is_better": false,
79
+ "ignore_data_skip": false,
80
+ "restore_callback_states_from_checkpoint": false,
81
+ "full_determinism": false,
82
+ "seed": 42,
83
+ "data_seed": 42,
84
+ "use_cpu": false,
85
+ "accelerator_config": "{\"dispatch_batches\": false}",
86
+ "parallelism_config": null,
87
+ "dataloader_drop_last": false,
88
+ "dataloader_num_workers": 4,
89
+ "dataloader_pin_memory": true,
90
+ "dataloader_persistent_workers": false,
91
+ "dataloader_prefetch_factor": 4,
92
+ "remove_unused_columns": true,
93
+ "label_names": null,
94
+ "train_sampling_strategy": "random",
95
+ "length_column_name": "length",
96
+ "ddp_find_unused_parameters": null,
97
+ "ddp_bucket_cap_mb": null,
98
+ "ddp_broadcast_buffers": null,
99
+ "ddp_backend": null,
100
+ "ddp_timeout": 7200,
101
+ "fsdp": [],
102
+ "fsdp_config": null,
103
+ "deepspeed": {
104
+ "fp16": {
105
+ "enabled": "auto",
106
+ "loss_scale": 0,
107
+ "loss_scale_window": 1000,
108
+ "initial_scale_power": 16,
109
+ "hysteresis": 2,
110
+ "min_loss_scale": 1
111
+ },
112
+ "bf16": {
113
+ "enabled": "auto"
114
+ },
115
+ "zero_optimization": {
116
+ "stage": 2,
117
+ "offload_optimizer": {
118
+ "device": "none",
119
+ "pin_memory": true
120
+ },
121
+ "allgather_partitions": true,
122
+ "allgather_bucket_size": 200000000.0,
123
+ "overlap_comm": false,
124
+ "reduce_scatter": true,
125
+ "reduce_bucket_size": 200000000.0,
126
+ "contiguous_gradients": true
127
+ },
128
+ "gradient_accumulation_steps": "auto",
129
+ "gradient_clipping": "auto",
130
+ "steps_per_print": 2000,
131
+ "train_batch_size": "auto",
132
+ "train_micro_batch_size_per_gpu": "auto",
133
+ "wall_clock_breakdown": false
134
+ },
135
+ "debug": null,
136
+ "skip_memory_metrics": true,
137
+ "do_train": false,
138
+ "do_eval": false,
139
+ "do_predict": false,
140
+ "resume_from_checkpoint": null,
141
+ "warmup_ratio": 0.05,
142
+ "logging_dir": "/mnt/bn/strategy-mllm-train/user/wangjunjie/code/xiaomoguhzz/exps/video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/runs",
143
+ "local_rank": 0,
144
+ "sortish_sampler": false,
145
+ "predict_with_generate": false,
146
+ "generation_max_length": null,
147
+ "generation_num_beams": null,
148
+ "generation_config": null,
149
+ "tuner_backend": "peft",
150
+ "vit_gradient_checkpointing": null,
151
+ "router_aux_loss_coef": 0.0,
152
+ "enable_dft_loss": false,
153
+ "enable_channel_loss": false,
154
+ "safe_serialization": true,
155
+ "max_shard_size": "5GB",
156
+ "check_model": true,
157
+ "acc_strategy": "token",
158
+ "train_dataloader_shuffle": true,
159
+ "group_by_length": false,
160
+ "max_epochs": null,
161
+ "aligner_lr": null,
162
+ "vit_lr": 1e-06,
163
+ "use_logits_to_keep": null,
164
+ "ds3_gather_for_generation": true,
165
+ "resume_only_model": false,
166
+ "optimizer": null,
167
+ "loss_type": null,
168
+ "eval_metric": null,
169
+ "callbacks": [],
170
+ "early_stop_interval": null,
171
+ "eval_use_evalscope": false,
172
+ "eval_dataset": [],
173
+ "eval_dataset_args": null,
174
+ "eval_limit": null,
175
+ "eval_generation_config": null,
176
+ "extra_eval_args": null,
177
+ "tuner_type": "full",
178
+ "use_galore": false,
179
+ "galore_target_modules": null,
180
+ "galore_rank": 128,
181
+ "galore_update_proj_gap": 50,
182
+ "galore_scale": 1.0,
183
+ "galore_proj_type": "std",
184
+ "galore_optim_per_parameter": false,
185
+ "galore_with_embedding": false,
186
+ "galore_quantization": false,
187
+ "galore_proj_quant": false,
188
+ "galore_proj_bits": 4,
189
+ "galore_proj_group_size": 256,
190
+ "galore_cos_threshold": 0.4,
191
+ "galore_gamma_proj": 2,
192
+ "galore_queue_size": 5,
193
+ "lisa_activated_layers": 0,
194
+ "lisa_step_interval": 20,
195
+ "use_flash_ckpt": false,
196
+ "use_ray": false,
197
+ "ray_exp_name": null,
198
+ "device_groups": null,
199
+ "model": "/opt/tiger/model_cache/checkpoint-2181",
200
+ "model_type": "llava_siglip2_qwen3",
201
+ "model_revision": null,
202
+ "task_type": "causal_lm",
203
+ "torch_dtype": "bfloat16",
204
+ "attn_impl": "flash_attn",
205
+ "experts_impl": null,
206
+ "new_special_tokens": [],
207
+ "num_labels": null,
208
+ "problem_type": null,
209
+ "rope_scaling": null,
210
+ "device_map": null,
211
+ "max_memory": {},
212
+ "max_model_len": null,
213
+ "local_repo_path": null,
214
+ "init_strategy": null,
215
+ "template": "llava_siglip2_qwen3",
216
+ "system": null,
217
+ "max_length": 16384,
218
+ "truncation_strategy": "delete",
219
+ "max_pixels": null,
220
+ "agent_template": null,
221
+ "norm_bbox": null,
222
+ "use_chat_template": true,
223
+ "padding_side": "right",
224
+ "padding_free": true,
225
+ "loss_scale": "default",
226
+ "sequence_parallel_size": 1,
227
+ "template_backend": "swift",
228
+ "response_prefix": null,
229
+ "enable_thinking": null,
230
+ "add_non_thinking_prefix": true,
231
+ "dataset": [],
232
+ "val_dataset": [],
233
+ "cached_dataset": [
234
+ "/mnt/bn/strategy-mllm-train/common/datasets/vmllm_cached/image_10pct/train"
235
+ ],
236
+ "cached_val_dataset": [],
237
+ "split_dataset_ratio": 0.0,
238
+ "dataset_num_proc": 1,
239
+ "load_from_cache_file": false,
240
+ "dataset_shuffle": true,
241
+ "val_dataset_shuffle": false,
242
+ "streaming": false,
243
+ "interleave_prob": null,
244
+ "stopping_strategy": "first_exhausted",
245
+ "shuffle_buffer_size": 1000,
246
+ "download_mode": "reuse_dataset_if_exists",
247
+ "columns": {},
248
+ "strict": false,
249
+ "model_name": null,
250
+ "model_author": null,
251
+ "custom_dataset_info": [],
252
+ "quant_method": null,
253
+ "quant_bits": null,
254
+ "hqq_axis": null,
255
+ "bnb_4bit_compute_dtype": "bfloat16",
256
+ "bnb_4bit_quant_type": "nf4",
257
+ "bnb_4bit_use_double_quant": true,
258
+ "bnb_4bit_quant_storage": null,
259
+ "max_new_tokens": 64,
260
+ "temperature": 0.0,
261
+ "top_k": null,
262
+ "top_p": null,
263
+ "repetition_penalty": null,
264
+ "num_beams": 1,
265
+ "stream": false,
266
+ "stop_words": [],
267
+ "logprobs": false,
268
+ "top_logprobs": null,
269
+ "structured_outputs_regex": null,
270
+ "train_type": null,
271
+ "adapters": [],
272
+ "external_plugins": [
273
+ "video_mllm/model_plugin.py",
274
+ "video_mllm/dataset_plugin.py"
275
+ ],
276
+ "custom_register_path": [],
277
+ "model_kwargs": {},
278
+ "load_args": false,
279
+ "load_data_args": false,
280
+ "packing": true,
281
+ "packing_length": 16384,
282
+ "packing_num_proc": 1,
283
+ "lazy_tokenize": false,
284
+ "use_hf": true,
285
+ "ignore_args_error": false,
286
+ "use_swift_lora": false,
287
+ "freeze_parameters": [],
288
+ "freeze_parameters_regex": null,
289
+ "freeze_parameters_ratio": 0.0,
290
+ "trainable_parameters": [
291
+ "model.multi_modal_projector"
292
+ ],
293
+ "trainable_parameters_regex": null,
294
+ "freeze_llm": false,
295
+ "freeze_vit": false,
296
+ "freeze_aligner": false,
297
+ "target_modules": [
298
+ "all-linear"
299
+ ],
300
+ "target_regex": null,
301
+ "target_parameters": null,
302
+ "modules_to_save": [],
303
+ "lora_rank": 8,
304
+ "lora_alpha": 32,
305
+ "lora_dropout": 0.05,
306
+ "lora_bias": "none",
307
+ "lora_dtype": null,
308
+ "lorap_lr_ratio": null,
309
+ "use_rslora": false,
310
+ "use_dora": false,
311
+ "lora_ga_batch_size": 2,
312
+ "lora_ga_iters": 2,
313
+ "lora_ga_max_length": 1024,
314
+ "lora_ga_direction": "ArB2r",
315
+ "lora_ga_scale": "stable",
316
+ "lora_ga_stable_gamma": 16,
317
+ "init_weights": true,
318
+ "fourier_n_frequency": 2000,
319
+ "fourier_scaling": 300.0,
320
+ "boft_block_size": 4,
321
+ "boft_block_num": 0,
322
+ "boft_n_butterfly_factor": 1,
323
+ "boft_dropout": 0.0,
324
+ "vera_rank": 256,
325
+ "vera_projection_prng_key": 0,
326
+ "vera_dropout": 0.0,
327
+ "vera_d_initial": 0.1,
328
+ "adapter_act": "gelu",
329
+ "adapter_length": 128,
330
+ "adalora_target_r": 8,
331
+ "adalora_init_r": 12,
332
+ "adalora_tinit": 0,
333
+ "adalora_tfinal": 0,
334
+ "adalora_deltaT": 1,
335
+ "adalora_beta1": 0.85,
336
+ "adalora_beta2": 0.85,
337
+ "adalora_orth_reg_weight": 0.5,
338
+ "llamapro_num_new_blocks": 4,
339
+ "llamapro_num_groups": null,
340
+ "reft_layer_key": null,
341
+ "reft_layers": null,
342
+ "reft_rank": 4,
343
+ "reft_intervention_type": "LoreftIntervention",
344
+ "reft_args": null,
345
+ "swanlab_token": null,
346
+ "swanlab_project": "ms-swift",
347
+ "swanlab_workspace": null,
348
+ "swanlab_exp_name": null,
349
+ "swanlab_notification_method": null,
350
+ "swanlab_webhook_url": null,
351
+ "swanlab_secret": null,
352
+ "swanlab_sender_email": null,
353
+ "swanlab_receiver_email": null,
354
+ "swanlab_smtp_server": null,
355
+ "swanlab_smtp_port": null,
356
+ "swanlab_email_language": "zh",
357
+ "swanlab_mode": "cloud",
358
+ "add_version": true,
359
+ "create_checkpoint_symlink": false,
360
+ "zero_hpz_partition_size": null,
361
+ "deepspeed_autotp_size": null,
362
+ "swift_version": "4.1.0.dev0",
363
+ "ckpt_dir": "/opt/tiger/model_cache/checkpoint-2181",
364
+ "rank": 0,
365
+ "global_world_size": 8,
366
+ "local_world_size": 8,
367
+ "model_suffix": "checkpoint-2181",
368
+ "model_info": "ModelInfo(model_type='llava_siglip2_qwen3', model_dir='/opt/tiger/model_cache/checkpoint-2181', torch_dtype=torch.bfloat16, max_model_len=40960, quant_method=None, quant_bits=None, rope_scaling=None, is_moe_model=False, is_multimodal=True, config=None, task_type='causal_lm', num_labels=None)",
369
+ "model_meta": "ModelMeta(model_type='llava_siglip2_qwen3', model_groups=[ModelGroup(models=[Model(ms_model_id='Qwen/Qwen3-0.6B', hf_model_id='Qwen/Qwen3-0.6B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-1.7B', hf_model_id='Qwen/Qwen3-1.7B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-4B', hf_model_id='Qwen/Qwen3-4B', model_path=None, ms_revision=None, hf_revision=None)], template=None, ignore_patterns=None, requires=None, tags=[])], loader=<class 'model_plugin.SigLIP2Qwen3Loader'>, template='llava_siglip2_qwen3', model_arch=MultiModelKeys(arch_name='llava_hf', 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.multi_modal_projector'], vision_tower=['model.vision_tower'], generator=[]), architectures=['LlavaOnevisionForConditionalGeneration'], additional_saved_files=[], torch_dtype=None, is_multimodal=True, is_reward=False, task_type=None, ignore_patterns=None, requires=[], tags=['vision', 'video'])",
370
+ "model_dir": "/opt/tiger/model_cache/checkpoint-2181",
371
+ "template_meta": "QwenTemplateMeta(template_type='llava_siglip2_qwen3', prefix=[], prompt=['<|im_start|>user\\n{{QUERY}}<|im_end|>\\n<|im_start|>assistant\\n'], chat_sep=['<|im_end|>\\n'], suffix=['<|im_end|>\\n'], template_cls=<class 'model_plugin.SigLIP2LlavaTemplate'>, system_prefix=['<|im_start|>system\\n{{SYSTEM}}<|im_end|>\\n'], default_system=None, auto_add_bos=False, stop_words=['<|endoftext|>'], agent_template='hermes', is_thinking=False, thinking_prefix='', non_thinking_prefix='', history_thinking_prefix='')",
372
+ "_val_dataset_exists": false,
373
+ "hub": "<class 'swift.hub.hub.HFHub'>",
374
+ "evaluation_strategy": "steps",
375
+ "training_args": "Seq2SeqTrainingArguments(output_dir='/mnt/bn/strategy-mllm-train/user/wangjunjie/code/xiaomoguhzz/exps/video_mllm_swift/s2_image_only_10pct/v1-20260316-135215', per_device_train_batch_size=1, num_train_epochs=3.0, max_steps=500, learning_rate=1e-05, lr_scheduler_type=<SchedulerType.COSINE: 'cosine'>, lr_scheduler_kwargs=None, warmup_steps=0.05, optim=<OptimizerNames.ADAMW_TORCH_FUSED: 'adamw_torch_fused'>, optim_args=None, weight_decay=0.1, adam_beta1=0.9, adam_beta2=0.95, adam_epsilon=1e-08, optim_target_modules=None, gradient_accumulation_steps=8, average_tokens_across_devices=None, max_grad_norm=1.0, label_smoothing_factor=0.0, bf16=True, fp16=False, bf16_full_eval=False, fp16_full_eval=False, tf32=None, gradient_checkpointing=True, gradient_checkpointing_kwargs={'use_reentrant': False}, torch_compile=False, torch_compile_backend=None, torch_compile_mode=None, use_liger_kernel=False, liger_kernel_config=None, use_cache=False, neftune_noise_alpha=None, torch_empty_cache_steps=None, auto_find_batch_size=False, logging_strategy=<IntervalStrategy.STEPS: 'steps'>, logging_steps=1, logging_first_step=True, log_on_each_node=True, logging_nan_inf_filter=True, include_num_input_tokens_seen=None, log_level='passive', log_level_replica='warning', disable_tqdm=False, report_to=[], run_name='/mnt/bn/strategy-mllm-train/user/wangjunjie/code/xiaomoguhzz/exps/video_mllm_swift/s2_image_only_10pct/v1-20260316-135215', project='huggingface', trackio_space_id='trackio', eval_strategy=<IntervalStrategy.NO: 'no'>, eval_steps=100.0, eval_delay=0, per_device_eval_batch_size=1, prediction_loss_only=False, eval_on_start=False, eval_do_concat_batches=True, eval_use_gather_object=False, eval_accumulation_steps=None, include_for_metrics=[], batch_eval_metrics=False, save_only_model=False, save_strategy=<SaveStrategy.STEPS: 'steps'>, save_steps=100, save_on_each_node=False, save_total_limit=2, enable_jit_checkpoint=False, push_to_hub=False, hub_token=None, hub_private_repo=None, hub_model_id=None, hub_strategy=<HubStrategy.EVERY_SAVE: 'every_save'>, hub_always_push=False, hub_revision=None, load_best_model_at_end=False, metric_for_best_model='loss', greater_is_better=False, ignore_data_skip=False, restore_callback_states_from_checkpoint=False, full_determinism=False, seed=42, data_seed=42, use_cpu=False, accelerator_config=AcceleratorConfig(split_batches=False, dispatch_batches=False, even_batches=True, use_seedable_sampler=True, non_blocking=False, gradient_accumulation_kwargs=None, use_configured_state=False), parallelism_config=None, dataloader_drop_last=False, dataloader_num_workers=4, dataloader_pin_memory=True, dataloader_persistent_workers=False, dataloader_prefetch_factor=4, remove_unused_columns=False, label_names=None, train_sampling_strategy='random', length_column_name='length', ddp_find_unused_parameters=None, ddp_bucket_cap_mb=None, ddp_broadcast_buffers=None, ddp_backend=None, ddp_timeout=7200, fsdp=[], fsdp_config={'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}, deepspeed={'fp16': {'enabled': 'auto', 'loss_scale': 0, 'loss_scale_window': 1000, 'initial_scale_power': 16, 'hysteresis': 2, 'min_loss_scale': 1}, 'bf16': {'enabled': 'auto'}, 'zero_optimization': {'stage': 2, 'offload_optimizer': {'device': 'none', 'pin_memory': True}, 'allgather_partitions': True, 'allgather_bucket_size': 200000000.0, 'overlap_comm': False, 'reduce_scatter': True, 'reduce_bucket_size': 200000000.0, 'contiguous_gradients': True}, 'gradient_accumulation_steps': 'auto', 'gradient_clipping': 'auto', 'steps_per_print': 2000, 'train_batch_size': 'auto', 'train_micro_batch_size_per_gpu': 'auto', 'wall_clock_breakdown': False}, debug=[], skip_memory_metrics=True, do_train=False, do_eval=False, do_predict=False, resume_from_checkpoint=None, warmup_ratio=0.05, logging_dir='/mnt/bn/strategy-mllm-train/user/wangjunjie/code/xiaomoguhzz/exps/video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/runs', local_rank=0, sortish_sampler=False, predict_with_generate=False, generation_max_length=None, generation_num_beams=None, generation_config=None, tuner_backend='peft', vit_gradient_checkpointing=True, router_aux_loss_coef=0.0, enable_dft_loss=False, enable_channel_loss=False, safe_serialization=True, max_shard_size='5GB', check_model=True, acc_strategy='token', train_dataloader_shuffle=True, group_by_length=False, max_epochs=None, aligner_lr=None, vit_lr=1e-06, use_logits_to_keep=None, ds3_gather_for_generation=True, resume_only_model=False, optimizer='multimodal', loss_type=None, eval_metric=None, callbacks=[], early_stop_interval=None, eval_use_evalscope=False, eval_dataset=[], eval_dataset_args=None, eval_limit=None, eval_generation_config=None, extra_eval_args=None, tuner_type='full', use_galore=False, galore_target_modules=None, galore_rank=128, galore_update_proj_gap=50, galore_scale=1.0, galore_proj_type='std', galore_optim_per_parameter=False, galore_with_embedding=False, galore_quantization=False, galore_proj_quant=False, galore_proj_bits=4, galore_proj_group_size=256, galore_cos_threshold=0.4, galore_gamma_proj=2, galore_queue_size=5, lisa_activated_layers=0, lisa_step_interval=20, use_flash_ckpt=False)"
376
+ }
video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-300/chat_template.jinja ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- if tools %}
2
+ {{- '<|im_start|>system\n' }}
3
+ {%- if messages[0].role == 'system' %}
4
+ {{- messages[0].content + '\n\n' }}
5
+ {%- endif %}
6
+ {{- "# 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>" }}
7
+ {%- for tool in tools %}
8
+ {{- "\n" }}
9
+ {{- tool | tojson }}
10
+ {%- endfor %}
11
+ {{- "\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" }}
12
+ {%- else %}
13
+ {%- if messages[0].role == 'system' %}
14
+ {{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }}
15
+ {%- endif %}
16
+ {%- endif %}
17
+ {%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
18
+ {%- for message in messages[::-1] %}
19
+ {%- set index = (messages|length - 1) - loop.index0 %}
20
+ {%- if ns.multi_step_tool and message.role == "user" and message.content is string and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %}
21
+ {%- set ns.multi_step_tool = false %}
22
+ {%- set ns.last_query_index = index %}
23
+ {%- endif %}
24
+ {%- endfor %}
25
+ {%- for message in messages %}
26
+ {%- if message.content is string %}
27
+ {%- set content = message.content %}
28
+ {%- else %}
29
+ {%- set content = '' %}
30
+ {%- endif %}
31
+ {%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
32
+ {{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
33
+ {%- elif message.role == "assistant" %}
34
+ {%- set reasoning_content = '' %}
35
+ {%- if message.reasoning_content is string %}
36
+ {%- set reasoning_content = message.reasoning_content %}
37
+ {%- else %}
38
+ {%- if '</think>' in content %}
39
+ {%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
40
+ {%- set content = content.split('</think>')[-1].lstrip('\n') %}
41
+ {%- endif %}
42
+ {%- endif %}
43
+ {%- if loop.index0 > ns.last_query_index %}
44
+ {%- if loop.last or (not loop.last and reasoning_content) %}
45
+ {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }}
46
+ {%- else %}
47
+ {{- '<|im_start|>' + message.role + '\n' + content }}
48
+ {%- endif %}
49
+ {%- else %}
50
+ {{- '<|im_start|>' + message.role + '\n' + content }}
51
+ {%- endif %}
52
+ {%- if message.tool_calls %}
53
+ {%- for tool_call in message.tool_calls %}
54
+ {%- if (loop.first and content) or (not loop.first) %}
55
+ {{- '\n' }}
56
+ {%- endif %}
57
+ {%- if tool_call.function %}
58
+ {%- set tool_call = tool_call.function %}
59
+ {%- endif %}
60
+ {{- '<tool_call>\n{"name": "' }}
61
+ {{- tool_call.name }}
62
+ {{- '", "arguments": ' }}
63
+ {%- if tool_call.arguments is string %}
64
+ {{- tool_call.arguments }}
65
+ {%- else %}
66
+ {{- tool_call.arguments | tojson }}
67
+ {%- endif %}
68
+ {{- '}\n</tool_call>' }}
69
+ {%- endfor %}
70
+ {%- endif %}
71
+ {{- '<|im_end|>\n' }}
72
+ {%- elif message.role == "tool" %}
73
+ {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
74
+ {{- '<|im_start|>user' }}
75
+ {%- endif %}
76
+ {{- '\n<tool_response>\n' }}
77
+ {{- content }}
78
+ {{- '\n</tool_response>' }}
79
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
80
+ {{- '<|im_end|>\n' }}
81
+ {%- endif %}
82
+ {%- endif %}
83
+ {%- endfor %}
84
+ {%- if add_generation_prompt %}
85
+ {{- '<|im_start|>assistant\n' }}
86
+ {%- if enable_thinking is defined and enable_thinking is false %}
87
+ {{- '<think>\n\n</think>\n\n' }}
88
+ {%- endif %}
89
+ {%- endif %}
video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-300/config.json ADDED
@@ -0,0 +1,248 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "LlavaOnevisionForConditionalGeneration"
4
+ ],
5
+ "bos_token_id": null,
6
+ "dtype": "bfloat16",
7
+ "eos_token_id": 151645,
8
+ "hidden_size": 2048,
9
+ "image_grid_pinpoints": [
10
+ [
11
+ 384,
12
+ 384
13
+ ],
14
+ [
15
+ 384,
16
+ 768
17
+ ],
18
+ [
19
+ 384,
20
+ 1152
21
+ ],
22
+ [
23
+ 384,
24
+ 1536
25
+ ],
26
+ [
27
+ 384,
28
+ 1920
29
+ ],
30
+ [
31
+ 384,
32
+ 2304
33
+ ],
34
+ [
35
+ 768,
36
+ 384
37
+ ],
38
+ [
39
+ 768,
40
+ 768
41
+ ],
42
+ [
43
+ 768,
44
+ 1152
45
+ ],
46
+ [
47
+ 768,
48
+ 1536
49
+ ],
50
+ [
51
+ 768,
52
+ 1920
53
+ ],
54
+ [
55
+ 768,
56
+ 2304
57
+ ],
58
+ [
59
+ 1152,
60
+ 384
61
+ ],
62
+ [
63
+ 1152,
64
+ 768
65
+ ],
66
+ [
67
+ 1152,
68
+ 1152
69
+ ],
70
+ [
71
+ 1152,
72
+ 1536
73
+ ],
74
+ [
75
+ 1152,
76
+ 1920
77
+ ],
78
+ [
79
+ 1152,
80
+ 2304
81
+ ],
82
+ [
83
+ 1536,
84
+ 384
85
+ ],
86
+ [
87
+ 1536,
88
+ 768
89
+ ],
90
+ [
91
+ 1536,
92
+ 1152
93
+ ],
94
+ [
95
+ 1536,
96
+ 1536
97
+ ],
98
+ [
99
+ 1536,
100
+ 1920
101
+ ],
102
+ [
103
+ 1536,
104
+ 2304
105
+ ],
106
+ [
107
+ 1920,
108
+ 384
109
+ ],
110
+ [
111
+ 1920,
112
+ 768
113
+ ],
114
+ [
115
+ 1920,
116
+ 1152
117
+ ],
118
+ [
119
+ 1920,
120
+ 1536
121
+ ],
122
+ [
123
+ 1920,
124
+ 1920
125
+ ],
126
+ [
127
+ 1920,
128
+ 2304
129
+ ],
130
+ [
131
+ 2304,
132
+ 384
133
+ ],
134
+ [
135
+ 2304,
136
+ 768
137
+ ],
138
+ [
139
+ 2304,
140
+ 1152
141
+ ],
142
+ [
143
+ 2304,
144
+ 1536
145
+ ],
146
+ [
147
+ 2304,
148
+ 1920
149
+ ],
150
+ [
151
+ 2304,
152
+ 2304
153
+ ]
154
+ ],
155
+ "image_token_index": 151669,
156
+ "keys_to_ignore_at_inference": [
157
+ "past_key_values"
158
+ ],
159
+ "model_type": "llava_onevision",
160
+ "multimodal_projector_bias": true,
161
+ "pad_token_id": 151643,
162
+ "projector_hidden_act": "gelu",
163
+ "text_config": {
164
+ "_name_or_path": "/home/tiger/.cache/huggingface/hub/models--Qwen--Qwen3-1.7B/snapshots/70d244cc86ccca08cf5af4e1e306ecf908b1ad5e",
165
+ "architectures": [
166
+ "Qwen3ForCausalLM"
167
+ ],
168
+ "attention_bias": false,
169
+ "attention_dropout": 0.0,
170
+ "bos_token_id": 151643,
171
+ "dtype": "bfloat16",
172
+ "eos_token_id": 151645,
173
+ "head_dim": 128,
174
+ "hidden_act": "silu",
175
+ "hidden_size": 2048,
176
+ "initializer_range": 0.02,
177
+ "intermediate_size": 6144,
178
+ "layer_types": [
179
+ "full_attention",
180
+ "full_attention",
181
+ "full_attention",
182
+ "full_attention",
183
+ "full_attention",
184
+ "full_attention",
185
+ "full_attention",
186
+ "full_attention",
187
+ "full_attention",
188
+ "full_attention",
189
+ "full_attention",
190
+ "full_attention",
191
+ "full_attention",
192
+ "full_attention",
193
+ "full_attention",
194
+ "full_attention",
195
+ "full_attention",
196
+ "full_attention",
197
+ "full_attention",
198
+ "full_attention",
199
+ "full_attention",
200
+ "full_attention",
201
+ "full_attention",
202
+ "full_attention",
203
+ "full_attention",
204
+ "full_attention",
205
+ "full_attention",
206
+ "full_attention"
207
+ ],
208
+ "max_position_embeddings": 40960,
209
+ "max_window_layers": 28,
210
+ "model_type": "qwen3",
211
+ "num_attention_heads": 16,
212
+ "num_hidden_layers": 28,
213
+ "num_key_value_heads": 8,
214
+ "pad_token_id": 151643,
215
+ "rms_norm_eps": 1e-06,
216
+ "rope_parameters": {
217
+ "rope_theta": 1000000,
218
+ "rope_type": "default"
219
+ },
220
+ "sliding_window": null,
221
+ "tie_word_embeddings": true,
222
+ "use_cache": false,
223
+ "use_sliding_window": false,
224
+ "vocab_size": 151936
225
+ },
226
+ "tie_word_embeddings": true,
227
+ "transformers_version": "5.2.0",
228
+ "use_cache": false,
229
+ "video_token_index": 151670,
230
+ "vision_aspect_ratio": "anyres_max_9",
231
+ "vision_config": {
232
+ "attention_dropout": 0.0,
233
+ "dtype": "bfloat16",
234
+ "hidden_act": "gelu_pytorch_tanh",
235
+ "hidden_size": 1152,
236
+ "image_size": 384,
237
+ "intermediate_size": 4304,
238
+ "layer_norm_eps": 1e-06,
239
+ "model_type": "siglip_vision_model",
240
+ "num_attention_heads": 16,
241
+ "num_channels": 3,
242
+ "num_hidden_layers": 26,
243
+ "patch_size": 14,
244
+ "vision_use_head": false
245
+ },
246
+ "vision_feature_layer": -1,
247
+ "vision_feature_select_strategy": "full"
248
+ }
video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-300/generation_config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 151643,
4
+ "eos_token_id": [
5
+ 151645,
6
+ 151643
7
+ ],
8
+ "output_attentions": false,
9
+ "output_hidden_states": false,
10
+ "transformers_version": "5.2.0",
11
+ "use_cache": true
12
+ }
video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-300/global_step300/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6c691944f9d68071f5078527c05c2c9a342c9eae53ed3aca4960cf54d0270aea
3
+ size 3654094853
video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-300/global_step300/bf16_zero_pp_rank_1_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c6b400665444084f9a470fd55a4dd4665f88a6195396d13675b85f059618c5d3
3
+ size 3654085701
video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-300/global_step300/bf16_zero_pp_rank_2_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0f4cb0e6fa0c778897380621cc1b4eca3ee2e0656be8456a912d0f53f47570a3
3
+ size 3654083653
video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-300/global_step300/bf16_zero_pp_rank_3_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:178511313175542200cb5f7ef503cb00a4554cace8c5ebf003a303b32f73a38a
3
+ size 3654085317
video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-300/global_step300/bf16_zero_pp_rank_4_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:19335ebba0a2ac8db8ae180d897a98170d173867e8bc60e174f6cca18d75aa2a
3
+ size 3654085253
video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-300/global_step300/bf16_zero_pp_rank_5_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3cea43eea1c10652a2dc1e1490a1baad5f205b6ceaa19c77b4f217fa6bd191e7
3
+ size 3654085253
video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-300/global_step300/bf16_zero_pp_rank_6_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:479b2d00d5e545d488adaaa9be7d1c80fb487b29efe4392141ab56b3079c88f3
3
+ size 3654085829
video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-300/global_step300/bf16_zero_pp_rank_7_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:26833aa47b40d64d4c895a305befff1741f31a12a8f127197da1100a93e6acb3
3
+ size 3654081925
video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-300/global_step300/mp_rank_00_model_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eeec3962da3dd0f0f61fba2019d51c3dbc764c665843ff710eff7e312f0b3146
3
+ size 4872342181
video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-300/latest ADDED
@@ -0,0 +1 @@
 
 
1
+ global_step300
video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-300/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5f24efcae4e9726d5380f1a8d964e9d7dee73d00929c92dd46b6cf7c5c5120e8
3
+ size 4872193968
video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-300/processor_config.json ADDED
@@ -0,0 +1,206 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "image_processor": {
3
+ "data_format": "channels_first",
4
+ "do_convert_rgb": true,
5
+ "do_normalize": true,
6
+ "do_pad": true,
7
+ "do_rescale": true,
8
+ "do_resize": true,
9
+ "image_grid_pinpoints": [
10
+ [
11
+ 384,
12
+ 384
13
+ ],
14
+ [
15
+ 384,
16
+ 768
17
+ ],
18
+ [
19
+ 384,
20
+ 1152
21
+ ],
22
+ [
23
+ 384,
24
+ 1536
25
+ ],
26
+ [
27
+ 384,
28
+ 1920
29
+ ],
30
+ [
31
+ 384,
32
+ 2304
33
+ ],
34
+ [
35
+ 768,
36
+ 384
37
+ ],
38
+ [
39
+ 768,
40
+ 768
41
+ ],
42
+ [
43
+ 768,
44
+ 1152
45
+ ],
46
+ [
47
+ 768,
48
+ 1536
49
+ ],
50
+ [
51
+ 768,
52
+ 1920
53
+ ],
54
+ [
55
+ 768,
56
+ 2304
57
+ ],
58
+ [
59
+ 1152,
60
+ 384
61
+ ],
62
+ [
63
+ 1152,
64
+ 768
65
+ ],
66
+ [
67
+ 1152,
68
+ 1152
69
+ ],
70
+ [
71
+ 1152,
72
+ 1536
73
+ ],
74
+ [
75
+ 1152,
76
+ 1920
77
+ ],
78
+ [
79
+ 1152,
80
+ 2304
81
+ ],
82
+ [
83
+ 1536,
84
+ 384
85
+ ],
86
+ [
87
+ 1536,
88
+ 768
89
+ ],
90
+ [
91
+ 1536,
92
+ 1152
93
+ ],
94
+ [
95
+ 1536,
96
+ 1536
97
+ ],
98
+ [
99
+ 1536,
100
+ 1920
101
+ ],
102
+ [
103
+ 1536,
104
+ 2304
105
+ ],
106
+ [
107
+ 1920,
108
+ 384
109
+ ],
110
+ [
111
+ 1920,
112
+ 768
113
+ ],
114
+ [
115
+ 1920,
116
+ 1152
117
+ ],
118
+ [
119
+ 1920,
120
+ 1536
121
+ ],
122
+ [
123
+ 1920,
124
+ 1920
125
+ ],
126
+ [
127
+ 1920,
128
+ 2304
129
+ ],
130
+ [
131
+ 2304,
132
+ 384
133
+ ],
134
+ [
135
+ 2304,
136
+ 768
137
+ ],
138
+ [
139
+ 2304,
140
+ 1152
141
+ ],
142
+ [
143
+ 2304,
144
+ 1536
145
+ ],
146
+ [
147
+ 2304,
148
+ 1920
149
+ ],
150
+ [
151
+ 2304,
152
+ 2304
153
+ ]
154
+ ],
155
+ "image_mean": [
156
+ 0.5,
157
+ 0.5,
158
+ 0.5
159
+ ],
160
+ "image_processor_type": "LlavaOnevisionImageProcessorFast",
161
+ "image_std": [
162
+ 0.5,
163
+ 0.5,
164
+ 0.5
165
+ ],
166
+ "resample": 3,
167
+ "rescale_factor": 0.00392156862745098,
168
+ "size": {
169
+ "height": 384,
170
+ "width": 384
171
+ }
172
+ },
173
+ "image_token": "<image>",
174
+ "num_image_tokens": 729,
175
+ "processor_class": "LlavaOnevisionProcessor",
176
+ "video_processor": {
177
+ "data_format": "channels_first",
178
+ "default_to_square": false,
179
+ "do_convert_rgb": true,
180
+ "do_normalize": true,
181
+ "do_rescale": true,
182
+ "do_resize": true,
183
+ "do_sample_frames": false,
184
+ "image_mean": [
185
+ 0.5,
186
+ 0.5,
187
+ 0.5
188
+ ],
189
+ "image_std": [
190
+ 0.5,
191
+ 0.5,
192
+ 0.5
193
+ ],
194
+ "resample": 3,
195
+ "rescale_factor": 0.00392156862745098,
196
+ "return_metadata": false,
197
+ "size": {
198
+ "height": 384,
199
+ "width": 384
200
+ },
201
+ "video_processor_type": "LlavaOnevisionVideoProcessor"
202
+ },
203
+ "video_token": "<video>",
204
+ "vision_aspect_ratio": "anyres_max_9",
205
+ "vision_feature_select_strategy": null
206
+ }
video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-300/rng_state_0.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b0418786c564bb001fc5f4215375b1a99ed3ea3f30771057e1d8682214a0108f
3
+ size 16389
video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-300/rng_state_1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:35deaabe10396919e53b2274736981b26bc690165c8839845f178b355a6a7588
3
+ size 16389
video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-300/rng_state_2.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1c5deee061a76a9e05b4634f5abad786b4042e744cc4c156a2ab76dc3c94fcac
3
+ size 16389
video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-300/rng_state_3.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:13579f7ca365ea6f9cef83929c34833cd97f9b5764a434989b4e3e2db87dce56
3
+ size 16389
video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-300/rng_state_4.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:073d0b1d7e2e3930e5c29fc418e6246462ab2a00396c3a86e1448d373503f1b2
3
+ size 16389
video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-300/rng_state_5.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7c60731015889939e665a308a0933ac6c327734a4699cf5615217db0cfaf03ca
3
+ size 16389
video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-300/rng_state_6.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:416648e7a35618f28d73625751a8fc2ad066533414d19f6fc0c39932429023fc
3
+ size 16389
video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-300/rng_state_7.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:619b5c49446c94dca2b233ad17098e42f7d58a945c2eced1aa23e50469a75431
3
+ size 16389
video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-300/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:edf547cbeb33ab19d02e6aa7d657d5b0c3c5d9fe3409b74784c83fa0b853d5be
3
+ size 1465
video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-300/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9024318c850eaadf26be79389d21b07a7afd8f1af749b89f9109b06c0d12173c
3
+ size 11423018
video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-300/tokenizer_config.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "backend": "tokenizers",
4
+ "bos_token": null,
5
+ "clean_up_tokenization_spaces": false,
6
+ "eos_token": "<|im_end|>",
7
+ "errors": "replace",
8
+ "extra_special_tokens": [
9
+ "<image>",
10
+ "<video>"
11
+ ],
12
+ "is_local": true,
13
+ "model_max_length": 131072,
14
+ "pad_token": "<|endoftext|>",
15
+ "processor_class": "LlavaOnevisionProcessor",
16
+ "split_special_tokens": false,
17
+ "tokenizer_class": "TokenizersBackend",
18
+ "unk_token": null
19
+ }
video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-300/trainer_state.json ADDED
@@ -0,0 +1,2434 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 1.2886375875067313,
6
+ "eval_steps": 100.0,
7
+ "global_step": 300,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.004308023694130318,
14
+ "grad_norm": 34.22294235229492,
15
+ "learning_rate": 4.0000000000000003e-07,
16
+ "loss": 2.5344715118408203,
17
+ "step": 1,
18
+ "token_acc": 0.5299950245219988
19
+ },
20
+ {
21
+ "epoch": 0.008616047388260635,
22
+ "grad_norm": 34.8410758972168,
23
+ "learning_rate": 8.000000000000001e-07,
24
+ "loss": 2.4708309173583984,
25
+ "step": 2,
26
+ "token_acc": 0.5363605898123325
27
+ },
28
+ {
29
+ "epoch": 0.012924071082390954,
30
+ "grad_norm": 39.80426788330078,
31
+ "learning_rate": 1.2000000000000002e-06,
32
+ "loss": 2.775846481323242,
33
+ "step": 3,
34
+ "token_acc": 0.5183054170395942
35
+ },
36
+ {
37
+ "epoch": 0.01723209477652127,
38
+ "grad_norm": 34.9159049987793,
39
+ "learning_rate": 1.6000000000000001e-06,
40
+ "loss": 2.3811163902282715,
41
+ "step": 4,
42
+ "token_acc": 0.5468338887914401
43
+ },
44
+ {
45
+ "epoch": 0.021540118470651588,
46
+ "grad_norm": 35.46262741088867,
47
+ "learning_rate": 2.0000000000000003e-06,
48
+ "loss": 2.525376558303833,
49
+ "step": 5,
50
+ "token_acc": 0.5244299674267101
51
+ },
52
+ {
53
+ "epoch": 0.025848142164781908,
54
+ "grad_norm": 39.962608337402344,
55
+ "learning_rate": 2.4000000000000003e-06,
56
+ "loss": 2.5210909843444824,
57
+ "step": 6,
58
+ "token_acc": 0.5377253761053478
59
+ },
60
+ {
61
+ "epoch": 0.030156165858912225,
62
+ "grad_norm": 33.2032356262207,
63
+ "learning_rate": 2.8000000000000003e-06,
64
+ "loss": 2.580561399459839,
65
+ "step": 7,
66
+ "token_acc": 0.5228668179957578
67
+ },
68
+ {
69
+ "epoch": 0.03446418955304254,
70
+ "grad_norm": 23.4835205078125,
71
+ "learning_rate": 3.2000000000000003e-06,
72
+ "loss": 2.2210943698883057,
73
+ "step": 8,
74
+ "token_acc": 0.5748507275912618
75
+ },
76
+ {
77
+ "epoch": 0.03877221324717286,
78
+ "grad_norm": 21.224645614624023,
79
+ "learning_rate": 3.6000000000000003e-06,
80
+ "loss": 2.182731866836548,
81
+ "step": 9,
82
+ "token_acc": 0.578366892643934
83
+ },
84
+ {
85
+ "epoch": 0.043080236941303175,
86
+ "grad_norm": 19.219499588012695,
87
+ "learning_rate": 4.000000000000001e-06,
88
+ "loss": 1.9947047233581543,
89
+ "step": 10,
90
+ "token_acc": 0.5828964891898785
91
+ },
92
+ {
93
+ "epoch": 0.04738826063543349,
94
+ "grad_norm": 10.247937202453613,
95
+ "learning_rate": 4.4e-06,
96
+ "loss": 1.8489328622817993,
97
+ "step": 11,
98
+ "token_acc": 0.5984906381352694
99
+ },
100
+ {
101
+ "epoch": 0.051696284329563816,
102
+ "grad_norm": 10.421255111694336,
103
+ "learning_rate": 4.800000000000001e-06,
104
+ "loss": 1.7730863094329834,
105
+ "step": 12,
106
+ "token_acc": 0.6098880314722348
107
+ },
108
+ {
109
+ "epoch": 0.05600430802369413,
110
+ "grad_norm": 9.2549467086792,
111
+ "learning_rate": 5.2e-06,
112
+ "loss": 1.705881118774414,
113
+ "step": 13,
114
+ "token_acc": 0.6173091377644153
115
+ },
116
+ {
117
+ "epoch": 0.06031233171782445,
118
+ "grad_norm": 6.33651876449585,
119
+ "learning_rate": 5.600000000000001e-06,
120
+ "loss": 1.6188805103302002,
121
+ "step": 14,
122
+ "token_acc": 0.6224566257421177
123
+ },
124
+ {
125
+ "epoch": 0.06462035541195477,
126
+ "grad_norm": 7.8872880935668945,
127
+ "learning_rate": 6e-06,
128
+ "loss": 1.5559440851211548,
129
+ "step": 15,
130
+ "token_acc": 0.6367019934393137
131
+ },
132
+ {
133
+ "epoch": 0.06892837910608508,
134
+ "grad_norm": 6.443421363830566,
135
+ "learning_rate": 6.4000000000000006e-06,
136
+ "loss": 1.6304481029510498,
137
+ "step": 16,
138
+ "token_acc": 0.6337283187360467
139
+ },
140
+ {
141
+ "epoch": 0.0732364028002154,
142
+ "grad_norm": 4.364102840423584,
143
+ "learning_rate": 6.800000000000001e-06,
144
+ "loss": 1.5763095617294312,
145
+ "step": 17,
146
+ "token_acc": 0.6282391722369747
147
+ },
148
+ {
149
+ "epoch": 0.07754442649434572,
150
+ "grad_norm": 4.073349952697754,
151
+ "learning_rate": 7.2000000000000005e-06,
152
+ "loss": 1.4519922733306885,
153
+ "step": 18,
154
+ "token_acc": 0.6620760163579504
155
+ },
156
+ {
157
+ "epoch": 0.08185245018847603,
158
+ "grad_norm": 3.76297926902771,
159
+ "learning_rate": 7.600000000000001e-06,
160
+ "loss": 1.520553708076477,
161
+ "step": 19,
162
+ "token_acc": 0.6476499528943788
163
+ },
164
+ {
165
+ "epoch": 0.08616047388260635,
166
+ "grad_norm": 3.565013885498047,
167
+ "learning_rate": 8.000000000000001e-06,
168
+ "loss": 1.443807601928711,
169
+ "step": 20,
170
+ "token_acc": 0.6564110824742269
171
+ },
172
+ {
173
+ "epoch": 0.09046849757673667,
174
+ "grad_norm": 3.0926177501678467,
175
+ "learning_rate": 8.400000000000001e-06,
176
+ "loss": 1.305448293685913,
177
+ "step": 21,
178
+ "token_acc": 0.6728254783782893
179
+ },
180
+ {
181
+ "epoch": 0.09477652127086698,
182
+ "grad_norm": 2.9559481143951416,
183
+ "learning_rate": 8.8e-06,
184
+ "loss": 1.3177809715270996,
185
+ "step": 22,
186
+ "token_acc": 0.6766286820038702
187
+ },
188
+ {
189
+ "epoch": 0.0990845449649973,
190
+ "grad_norm": 3.516502618789673,
191
+ "learning_rate": 9.200000000000002e-06,
192
+ "loss": 1.412851095199585,
193
+ "step": 23,
194
+ "token_acc": 0.6545797141412749
195
+ },
196
+ {
197
+ "epoch": 0.10339256865912763,
198
+ "grad_norm": 2.693331003189087,
199
+ "learning_rate": 9.600000000000001e-06,
200
+ "loss": 1.3329224586486816,
201
+ "step": 24,
202
+ "token_acc": 0.6691273897406776
203
+ },
204
+ {
205
+ "epoch": 0.10770059235325795,
206
+ "grad_norm": 3.09365177154541,
207
+ "learning_rate": 1e-05,
208
+ "loss": 1.3302955627441406,
209
+ "step": 25,
210
+ "token_acc": 0.6788545041009029
211
+ },
212
+ {
213
+ "epoch": 0.11200861604738827,
214
+ "grad_norm": 3.117713689804077,
215
+ "learning_rate": 9.999890641901124e-06,
216
+ "loss": 1.3734593391418457,
217
+ "step": 26,
218
+ "token_acc": 0.6594324976051267
219
+ },
220
+ {
221
+ "epoch": 0.11631663974151858,
222
+ "grad_norm": 2.4900543689727783,
223
+ "learning_rate": 9.99956257238817e-06,
224
+ "loss": 1.256556510925293,
225
+ "step": 27,
226
+ "token_acc": 0.6908205642274095
227
+ },
228
+ {
229
+ "epoch": 0.1206246634356489,
230
+ "grad_norm": 2.8557262420654297,
231
+ "learning_rate": 9.999015805811965e-06,
232
+ "loss": 1.3106865882873535,
233
+ "step": 28,
234
+ "token_acc": 0.6742931211189486
235
+ },
236
+ {
237
+ "epoch": 0.12493268712977922,
238
+ "grad_norm": 2.0467495918273926,
239
+ "learning_rate": 9.998250366089848e-06,
240
+ "loss": 1.3423490524291992,
241
+ "step": 29,
242
+ "token_acc": 0.6723827275551414
243
+ },
244
+ {
245
+ "epoch": 0.12924071082390953,
246
+ "grad_norm": 2.235506057739258,
247
+ "learning_rate": 9.99726628670463e-06,
248
+ "loss": 1.3720948696136475,
249
+ "step": 30,
250
+ "token_acc": 0.668766154668885
251
+ },
252
+ {
253
+ "epoch": 0.13354873451803984,
254
+ "grad_norm": 2.093294143676758,
255
+ "learning_rate": 9.996063610703138e-06,
256
+ "loss": 1.3393146991729736,
257
+ "step": 31,
258
+ "token_acc": 0.6776454554304442
259
+ },
260
+ {
261
+ "epoch": 0.13785675821217017,
262
+ "grad_norm": 2.331446647644043,
263
+ "learning_rate": 9.994642390694308e-06,
264
+ "loss": 1.2755086421966553,
265
+ "step": 32,
266
+ "token_acc": 0.685778748701787
267
+ },
268
+ {
269
+ "epoch": 0.1421647819063005,
270
+ "grad_norm": 4.931087493896484,
271
+ "learning_rate": 9.993002688846913e-06,
272
+ "loss": 1.2852654457092285,
273
+ "step": 33,
274
+ "token_acc": 0.7003776905870706
275
+ },
276
+ {
277
+ "epoch": 0.1464728056004308,
278
+ "grad_norm": 2.2281808853149414,
279
+ "learning_rate": 9.991144576886824e-06,
280
+ "loss": 1.234990119934082,
281
+ "step": 34,
282
+ "token_acc": 0.6911842151458765
283
+ },
284
+ {
285
+ "epoch": 0.15078082929456113,
286
+ "grad_norm": 2.216933488845825,
287
+ "learning_rate": 9.989068136093873e-06,
288
+ "loss": 1.2935469150543213,
289
+ "step": 35,
290
+ "token_acc": 0.6736291459523633
291
+ },
292
+ {
293
+ "epoch": 0.15508885298869143,
294
+ "grad_norm": 2.199500560760498,
295
+ "learning_rate": 9.986773457298311e-06,
296
+ "loss": 1.2178046703338623,
297
+ "step": 36,
298
+ "token_acc": 0.6948421052631579
299
+ },
300
+ {
301
+ "epoch": 0.15939687668282176,
302
+ "grad_norm": 3.288256883621216,
303
+ "learning_rate": 9.984260640876821e-06,
304
+ "loss": 1.2350926399230957,
305
+ "step": 37,
306
+ "token_acc": 0.6875022046633038
307
+ },
308
+ {
309
+ "epoch": 0.16370490037695207,
310
+ "grad_norm": 1.8213781118392944,
311
+ "learning_rate": 9.981529796748135e-06,
312
+ "loss": 1.2279441356658936,
313
+ "step": 38,
314
+ "token_acc": 0.6980759578383805
315
+ },
316
+ {
317
+ "epoch": 0.1680129240710824,
318
+ "grad_norm": 2.273272752761841,
319
+ "learning_rate": 9.97858104436822e-06,
320
+ "loss": 1.2051079273223877,
321
+ "step": 39,
322
+ "token_acc": 0.6949230265312807
323
+ },
324
+ {
325
+ "epoch": 0.1723209477652127,
326
+ "grad_norm": 2.2953481674194336,
327
+ "learning_rate": 9.975414512725058e-06,
328
+ "loss": 1.2342824935913086,
329
+ "step": 40,
330
+ "token_acc": 0.6916462800402936
331
+ },
332
+ {
333
+ "epoch": 0.17662897145934303,
334
+ "grad_norm": 2.2890288829803467,
335
+ "learning_rate": 9.972030340333e-06,
336
+ "loss": 1.207423210144043,
337
+ "step": 41,
338
+ "token_acc": 0.6919735017716838
339
+ },
340
+ {
341
+ "epoch": 0.18093699515347333,
342
+ "grad_norm": 1.9035778045654297,
343
+ "learning_rate": 9.968428675226714e-06,
344
+ "loss": 1.1688880920410156,
345
+ "step": 42,
346
+ "token_acc": 0.6906148450822046
347
+ },
348
+ {
349
+ "epoch": 0.18524501884760367,
350
+ "grad_norm": 2.176882743835449,
351
+ "learning_rate": 9.964609674954696e-06,
352
+ "loss": 1.238387107849121,
353
+ "step": 43,
354
+ "token_acc": 0.6940492431624764
355
+ },
356
+ {
357
+ "epoch": 0.18955304254173397,
358
+ "grad_norm": 1.740558385848999,
359
+ "learning_rate": 9.960573506572391e-06,
360
+ "loss": 1.1984151601791382,
361
+ "step": 44,
362
+ "token_acc": 0.6910384253093839
363
+ },
364
+ {
365
+ "epoch": 0.1938610662358643,
366
+ "grad_norm": 1.9107651710510254,
367
+ "learning_rate": 9.956320346634877e-06,
368
+ "loss": 1.16075599193573,
369
+ "step": 45,
370
+ "token_acc": 0.6984731549229896
371
+ },
372
+ {
373
+ "epoch": 0.1981690899299946,
374
+ "grad_norm": 2.126544713973999,
375
+ "learning_rate": 9.951850381189152e-06,
376
+ "loss": 1.075717806816101,
377
+ "step": 46,
378
+ "token_acc": 0.7196697774587222
379
+ },
380
+ {
381
+ "epoch": 0.20247711362412493,
382
+ "grad_norm": 1.8616559505462646,
383
+ "learning_rate": 9.94716380576598e-06,
384
+ "loss": 1.2275675535202026,
385
+ "step": 47,
386
+ "token_acc": 0.6868371180636367
387
+ },
388
+ {
389
+ "epoch": 0.20678513731825526,
390
+ "grad_norm": 2.2004618644714355,
391
+ "learning_rate": 9.942260825371359e-06,
392
+ "loss": 1.1721410751342773,
393
+ "step": 48,
394
+ "token_acc": 0.7035488476442994
395
+ },
396
+ {
397
+ "epoch": 0.21109316101238557,
398
+ "grad_norm": 1.926447868347168,
399
+ "learning_rate": 9.937141654477529e-06,
400
+ "loss": 1.205888032913208,
401
+ "step": 49,
402
+ "token_acc": 0.6890798786653185
403
+ },
404
+ {
405
+ "epoch": 0.2154011847065159,
406
+ "grad_norm": 1.9273842573165894,
407
+ "learning_rate": 9.931806517013612e-06,
408
+ "loss": 1.1814758777618408,
409
+ "step": 50,
410
+ "token_acc": 0.7045194700383348
411
+ },
412
+ {
413
+ "epoch": 0.2197092084006462,
414
+ "grad_norm": 1.667378544807434,
415
+ "learning_rate": 9.926255646355804e-06,
416
+ "loss": 1.1939655542373657,
417
+ "step": 51,
418
+ "token_acc": 0.6967874821434504
419
+ },
420
+ {
421
+ "epoch": 0.22401723209477653,
422
+ "grad_norm": 1.9569302797317505,
423
+ "learning_rate": 9.920489285317169e-06,
424
+ "loss": 1.129996418952942,
425
+ "step": 52,
426
+ "token_acc": 0.7048677927446368
427
+ },
428
+ {
429
+ "epoch": 0.22832525578890683,
430
+ "grad_norm": 2.068121910095215,
431
+ "learning_rate": 9.91450768613702e-06,
432
+ "loss": 1.2010860443115234,
433
+ "step": 53,
434
+ "token_acc": 0.6904986522911051
435
+ },
436
+ {
437
+ "epoch": 0.23263327948303716,
438
+ "grad_norm": 1.5467214584350586,
439
+ "learning_rate": 9.908311110469881e-06,
440
+ "loss": 1.1379708051681519,
441
+ "step": 54,
442
+ "token_acc": 0.7055634134842056
443
+ },
444
+ {
445
+ "epoch": 0.23694130317716747,
446
+ "grad_norm": 2.0830445289611816,
447
+ "learning_rate": 9.901899829374048e-06,
448
+ "loss": 1.0704392194747925,
449
+ "step": 55,
450
+ "token_acc": 0.7152232895798196
451
+ },
452
+ {
453
+ "epoch": 0.2412493268712978,
454
+ "grad_norm": 2.495779037475586,
455
+ "learning_rate": 9.895274123299724e-06,
456
+ "loss": 1.0942933559417725,
457
+ "step": 56,
458
+ "token_acc": 0.7167745978692291
459
+ },
460
+ {
461
+ "epoch": 0.2455573505654281,
462
+ "grad_norm": 2.6332848072052,
463
+ "learning_rate": 9.888434282076759e-06,
464
+ "loss": 0.9827362895011902,
465
+ "step": 57,
466
+ "token_acc": 0.7357487741887188
467
+ },
468
+ {
469
+ "epoch": 0.24986537425955843,
470
+ "grad_norm": 2.415322780609131,
471
+ "learning_rate": 9.881380604901964e-06,
472
+ "loss": 1.0783662796020508,
473
+ "step": 58,
474
+ "token_acc": 0.7155577080694434
475
+ },
476
+ {
477
+ "epoch": 0.25417339795368876,
478
+ "grad_norm": 2.1927847862243652,
479
+ "learning_rate": 9.874113400326031e-06,
480
+ "loss": 1.2449455261230469,
481
+ "step": 59,
482
+ "token_acc": 0.6808658974448356
483
+ },
484
+ {
485
+ "epoch": 0.25848142164781907,
486
+ "grad_norm": 2.241107225418091,
487
+ "learning_rate": 9.86663298624003e-06,
488
+ "loss": 1.112494707107544,
489
+ "step": 60,
490
+ "token_acc": 0.7220329651422869
491
+ },
492
+ {
493
+ "epoch": 0.26278944534194937,
494
+ "grad_norm": 1.7743316888809204,
495
+ "learning_rate": 9.858939689861506e-06,
496
+ "loss": 1.1850183010101318,
497
+ "step": 61,
498
+ "token_acc": 0.692633709713129
499
+ },
500
+ {
501
+ "epoch": 0.26709746903607967,
502
+ "grad_norm": 1.6615829467773438,
503
+ "learning_rate": 9.851033847720167e-06,
504
+ "loss": 1.1249656677246094,
505
+ "step": 62,
506
+ "token_acc": 0.7059144015981597
507
+ },
508
+ {
509
+ "epoch": 0.27140549273021003,
510
+ "grad_norm": 1.5314289331436157,
511
+ "learning_rate": 9.842915805643156e-06,
512
+ "loss": 1.12161386013031,
513
+ "step": 63,
514
+ "token_acc": 0.7094002053086963
515
+ },
516
+ {
517
+ "epoch": 0.27571351642434033,
518
+ "grad_norm": 1.8113492727279663,
519
+ "learning_rate": 9.834585918739936e-06,
520
+ "loss": 1.0911247730255127,
521
+ "step": 64,
522
+ "token_acc": 0.7131517228937398
523
+ },
524
+ {
525
+ "epoch": 0.28002154011847064,
526
+ "grad_norm": 1.5588164329528809,
527
+ "learning_rate": 9.826044551386743e-06,
528
+ "loss": 1.1018824577331543,
529
+ "step": 65,
530
+ "token_acc": 0.7167374220937585
531
+ },
532
+ {
533
+ "epoch": 0.284329563812601,
534
+ "grad_norm": 1.6779085397720337,
535
+ "learning_rate": 9.817292077210658e-06,
536
+ "loss": 1.1914907693862915,
537
+ "step": 66,
538
+ "token_acc": 0.6931636612645514
539
+ },
540
+ {
541
+ "epoch": 0.2886375875067313,
542
+ "grad_norm": 1.8709357976913452,
543
+ "learning_rate": 9.808328879073251e-06,
544
+ "loss": 1.1766862869262695,
545
+ "step": 67,
546
+ "token_acc": 0.7000365586156471
547
+ },
548
+ {
549
+ "epoch": 0.2929456112008616,
550
+ "grad_norm": 1.8896335363388062,
551
+ "learning_rate": 9.79915534905385e-06,
552
+ "loss": 1.2150582075119019,
553
+ "step": 68,
554
+ "token_acc": 0.690418950540116
555
+ },
556
+ {
557
+ "epoch": 0.2972536348949919,
558
+ "grad_norm": 1.773423433303833,
559
+ "learning_rate": 9.789771888432375e-06,
560
+ "loss": 1.1559756994247437,
561
+ "step": 69,
562
+ "token_acc": 0.7010006235339529
563
+ },
564
+ {
565
+ "epoch": 0.30156165858912226,
566
+ "grad_norm": 1.5840319395065308,
567
+ "learning_rate": 9.780178907671788e-06,
568
+ "loss": 1.1300228834152222,
569
+ "step": 70,
570
+ "token_acc": 0.7048673543421343
571
+ },
572
+ {
573
+ "epoch": 0.30586968228325256,
574
+ "grad_norm": 1.7504026889801025,
575
+ "learning_rate": 9.77037682640015e-06,
576
+ "loss": 1.1307711601257324,
577
+ "step": 71,
578
+ "token_acc": 0.7024363156798779
579
+ },
580
+ {
581
+ "epoch": 0.31017770597738287,
582
+ "grad_norm": 1.7551653385162354,
583
+ "learning_rate": 9.760366073392246e-06,
584
+ "loss": 1.1609346866607666,
585
+ "step": 72,
586
+ "token_acc": 0.6984935064935065
587
+ },
588
+ {
589
+ "epoch": 0.31448572967151317,
590
+ "grad_norm": 1.6342157125473022,
591
+ "learning_rate": 9.750147086550843e-06,
592
+ "loss": 1.0880463123321533,
593
+ "step": 73,
594
+ "token_acc": 0.7135369347962821
595
+ },
596
+ {
597
+ "epoch": 0.31879375336564353,
598
+ "grad_norm": 1.7132184505462646,
599
+ "learning_rate": 9.739720312887536e-06,
600
+ "loss": 1.1172926425933838,
601
+ "step": 74,
602
+ "token_acc": 0.7106431450435189
603
+ },
604
+ {
605
+ "epoch": 0.32310177705977383,
606
+ "grad_norm": 1.726162075996399,
607
+ "learning_rate": 9.729086208503174e-06,
608
+ "loss": 1.1162161827087402,
609
+ "step": 75,
610
+ "token_acc": 0.7107878787878787
611
+ },
612
+ {
613
+ "epoch": 0.32740980075390413,
614
+ "grad_norm": 1.6666592359542847,
615
+ "learning_rate": 9.718245238567939e-06,
616
+ "loss": 1.076697826385498,
617
+ "step": 76,
618
+ "token_acc": 0.7241597747668485
619
+ },
620
+ {
621
+ "epoch": 0.33171782444803444,
622
+ "grad_norm": 1.4859079122543335,
623
+ "learning_rate": 9.707197877300974e-06,
624
+ "loss": 1.09866201877594,
625
+ "step": 77,
626
+ "token_acc": 0.7109936635126304
627
+ },
628
+ {
629
+ "epoch": 0.3360258481421648,
630
+ "grad_norm": 1.6729086637496948,
631
+ "learning_rate": 9.69594460794965e-06,
632
+ "loss": 1.1241893768310547,
633
+ "step": 78,
634
+ "token_acc": 0.7088581024349286
635
+ },
636
+ {
637
+ "epoch": 0.3403338718362951,
638
+ "grad_norm": 1.5671727657318115,
639
+ "learning_rate": 9.684485922768422e-06,
640
+ "loss": 1.0672322511672974,
641
+ "step": 79,
642
+ "token_acc": 0.7204722938385084
643
+ },
644
+ {
645
+ "epoch": 0.3446418955304254,
646
+ "grad_norm": 1.6157093048095703,
647
+ "learning_rate": 9.672822322997305e-06,
648
+ "loss": 1.127738118171692,
649
+ "step": 80,
650
+ "token_acc": 0.6991704875573134
651
+ },
652
+ {
653
+ "epoch": 0.34894991922455576,
654
+ "grad_norm": 1.7361069917678833,
655
+ "learning_rate": 9.660954318839934e-06,
656
+ "loss": 1.115564227104187,
657
+ "step": 81,
658
+ "token_acc": 0.7092018810659374
659
+ },
660
+ {
661
+ "epoch": 0.35325794291868606,
662
+ "grad_norm": 1.5783766508102417,
663
+ "learning_rate": 9.648882429441258e-06,
664
+ "loss": 1.0751323699951172,
665
+ "step": 82,
666
+ "token_acc": 0.7211808283757998
667
+ },
668
+ {
669
+ "epoch": 0.35756596661281637,
670
+ "grad_norm": 1.9924604892730713,
671
+ "learning_rate": 9.636607182864828e-06,
672
+ "loss": 1.063920259475708,
673
+ "step": 83,
674
+ "token_acc": 0.7266466605109264
675
+ },
676
+ {
677
+ "epoch": 0.36187399030694667,
678
+ "grad_norm": 1.3612253665924072,
679
+ "learning_rate": 9.624129116069695e-06,
680
+ "loss": 1.133460283279419,
681
+ "step": 84,
682
+ "token_acc": 0.7086913565462112
683
+ },
684
+ {
685
+ "epoch": 0.366182014001077,
686
+ "grad_norm": 1.69752037525177,
687
+ "learning_rate": 9.611448774886925e-06,
688
+ "loss": 1.0716493129730225,
689
+ "step": 85,
690
+ "token_acc": 0.7221262950172669
691
+ },
692
+ {
693
+ "epoch": 0.37049003769520733,
694
+ "grad_norm": 1.6512473821640015,
695
+ "learning_rate": 9.598566713995718e-06,
696
+ "loss": 1.0333918333053589,
697
+ "step": 86,
698
+ "token_acc": 0.7264647063180505
699
+ },
700
+ {
701
+ "epoch": 0.37479806138933763,
702
+ "grad_norm": 1.6064995527267456,
703
+ "learning_rate": 9.585483496899151e-06,
704
+ "loss": 1.123110294342041,
705
+ "step": 87,
706
+ "token_acc": 0.7135224274406332
707
+ },
708
+ {
709
+ "epoch": 0.37910608508346794,
710
+ "grad_norm": 1.8027215003967285,
711
+ "learning_rate": 9.572199695899522e-06,
712
+ "loss": 1.030998945236206,
713
+ "step": 88,
714
+ "token_acc": 0.7300635712561359
715
+ },
716
+ {
717
+ "epoch": 0.3834141087775983,
718
+ "grad_norm": 1.6361185312271118,
719
+ "learning_rate": 9.558715892073324e-06,
720
+ "loss": 1.1275122165679932,
721
+ "step": 89,
722
+ "token_acc": 0.7020269608643144
723
+ },
724
+ {
725
+ "epoch": 0.3877221324717286,
726
+ "grad_norm": 1.5621289014816284,
727
+ "learning_rate": 9.545032675245814e-06,
728
+ "loss": 1.0969953536987305,
729
+ "step": 90,
730
+ "token_acc": 0.7070858623746846
731
+ },
732
+ {
733
+ "epoch": 0.3920301561658589,
734
+ "grad_norm": 1.790278434753418,
735
+ "learning_rate": 9.531150643965224e-06,
736
+ "loss": 1.073486566543579,
737
+ "step": 91,
738
+ "token_acc": 0.7183880749698586
739
+ },
740
+ {
741
+ "epoch": 0.3963381798599892,
742
+ "grad_norm": 1.7555965185165405,
743
+ "learning_rate": 9.517070405476575e-06,
744
+ "loss": 1.071641445159912,
745
+ "step": 92,
746
+ "token_acc": 0.7204091394091026
747
+ },
748
+ {
749
+ "epoch": 0.40064620355411956,
750
+ "grad_norm": 1.7374863624572754,
751
+ "learning_rate": 9.502792575695112e-06,
752
+ "loss": 1.1522419452667236,
753
+ "step": 93,
754
+ "token_acc": 0.7053788169158043
755
+ },
756
+ {
757
+ "epoch": 0.40495422724824987,
758
+ "grad_norm": 1.9136552810668945,
759
+ "learning_rate": 9.48831777917936e-06,
760
+ "loss": 1.1674339771270752,
761
+ "step": 94,
762
+ "token_acc": 0.6964470088065594
763
+ },
764
+ {
765
+ "epoch": 0.40926225094238017,
766
+ "grad_norm": 2.252842426300049,
767
+ "learning_rate": 9.473646649103819e-06,
768
+ "loss": 1.0893977880477905,
769
+ "step": 95,
770
+ "token_acc": 0.7158215010141988
771
+ },
772
+ {
773
+ "epoch": 0.4135702746365105,
774
+ "grad_norm": 1.7565231323242188,
775
+ "learning_rate": 9.458779827231237e-06,
776
+ "loss": 1.0599641799926758,
777
+ "step": 96,
778
+ "token_acc": 0.722913735252733
779
+ },
780
+ {
781
+ "epoch": 0.41787829833064083,
782
+ "grad_norm": 1.720835566520691,
783
+ "learning_rate": 9.443717963884568e-06,
784
+ "loss": 1.0994898080825806,
785
+ "step": 97,
786
+ "token_acc": 0.7109813161650018
787
+ },
788
+ {
789
+ "epoch": 0.42218632202477113,
790
+ "grad_norm": 1.5080041885375977,
791
+ "learning_rate": 9.428461717918512e-06,
792
+ "loss": 1.0535576343536377,
793
+ "step": 98,
794
+ "token_acc": 0.7211945850986876
795
+ },
796
+ {
797
+ "epoch": 0.42649434571890144,
798
+ "grad_norm": 1.422196626663208,
799
+ "learning_rate": 9.413011756690686e-06,
800
+ "loss": 1.0241769552230835,
801
+ "step": 99,
802
+ "token_acc": 0.7236528301886792
803
+ },
804
+ {
805
+ "epoch": 0.4308023694130318,
806
+ "grad_norm": 1.7745169401168823,
807
+ "learning_rate": 9.397368756032445e-06,
808
+ "loss": 1.0839262008666992,
809
+ "step": 100,
810
+ "token_acc": 0.7179929498237456
811
+ },
812
+ {
813
+ "epoch": 0.4351103931071621,
814
+ "grad_norm": 1.9213250875473022,
815
+ "learning_rate": 9.381533400219319e-06,
816
+ "loss": 1.0448743104934692,
817
+ "step": 101,
818
+ "token_acc": 0.7268769599704852
819
+ },
820
+ {
821
+ "epoch": 0.4394184168012924,
822
+ "grad_norm": 1.8812602758407593,
823
+ "learning_rate": 9.365506381941066e-06,
824
+ "loss": 1.0698344707489014,
825
+ "step": 102,
826
+ "token_acc": 0.7161785216178521
827
+ },
828
+ {
829
+ "epoch": 0.4437264404954227,
830
+ "grad_norm": 1.6234725713729858,
831
+ "learning_rate": 9.349288402271387e-06,
832
+ "loss": 1.0575649738311768,
833
+ "step": 103,
834
+ "token_acc": 0.7228134641383853
835
+ },
836
+ {
837
+ "epoch": 0.44803446418955306,
838
+ "grad_norm": 1.7460858821868896,
839
+ "learning_rate": 9.332880170637252e-06,
840
+ "loss": 1.1082675457000732,
841
+ "step": 104,
842
+ "token_acc": 0.7142947461591957
843
+ },
844
+ {
845
+ "epoch": 0.45234248788368336,
846
+ "grad_norm": 1.6380345821380615,
847
+ "learning_rate": 9.31628240478787e-06,
848
+ "loss": 1.1685254573822021,
849
+ "step": 105,
850
+ "token_acc": 0.6993712668972022
851
+ },
852
+ {
853
+ "epoch": 0.45665051157781367,
854
+ "grad_norm": 1.7230206727981567,
855
+ "learning_rate": 9.299495830763285e-06,
856
+ "loss": 1.0857363939285278,
857
+ "step": 106,
858
+ "token_acc": 0.7167548635169605
859
+ },
860
+ {
861
+ "epoch": 0.46095853527194397,
862
+ "grad_norm": 1.7054288387298584,
863
+ "learning_rate": 9.28252118286263e-06,
864
+ "loss": 1.1256463527679443,
865
+ "step": 107,
866
+ "token_acc": 0.7026264236145698
867
+ },
868
+ {
869
+ "epoch": 0.46526655896607433,
870
+ "grad_norm": 1.6527998447418213,
871
+ "learning_rate": 9.265359203611988e-06,
872
+ "loss": 1.0812056064605713,
873
+ "step": 108,
874
+ "token_acc": 0.7152996010027894
875
+ },
876
+ {
877
+ "epoch": 0.46957458266020463,
878
+ "grad_norm": 1.670569658279419,
879
+ "learning_rate": 9.248010643731936e-06,
880
+ "loss": 1.0796825885772705,
881
+ "step": 109,
882
+ "token_acc": 0.7202207281491818
883
+ },
884
+ {
885
+ "epoch": 0.47388260635433493,
886
+ "grad_norm": 1.9298903942108154,
887
+ "learning_rate": 9.230476262104678e-06,
888
+ "loss": 1.0428919792175293,
889
+ "step": 110,
890
+ "token_acc": 0.7195813030138964
891
+ },
892
+ {
893
+ "epoch": 0.4781906300484653,
894
+ "grad_norm": 1.65512216091156,
895
+ "learning_rate": 9.212756825740874e-06,
896
+ "loss": 1.147737741470337,
897
+ "step": 111,
898
+ "token_acc": 0.7054659725749112
899
+ },
900
+ {
901
+ "epoch": 0.4824986537425956,
902
+ "grad_norm": 1.524289846420288,
903
+ "learning_rate": 9.194853109746073e-06,
904
+ "loss": 1.1040431261062622,
905
+ "step": 112,
906
+ "token_acc": 0.7155831310133981
907
+ },
908
+ {
909
+ "epoch": 0.4868066774367259,
910
+ "grad_norm": 1.6400195360183716,
911
+ "learning_rate": 9.176765897286812e-06,
912
+ "loss": 1.0260937213897705,
913
+ "step": 113,
914
+ "token_acc": 0.7253460824889396
915
+ },
916
+ {
917
+ "epoch": 0.4911147011308562,
918
+ "grad_norm": 1.8784524202346802,
919
+ "learning_rate": 9.15849597955636e-06,
920
+ "loss": 1.0686829090118408,
921
+ "step": 114,
922
+ "token_acc": 0.7213137813412104
923
+ },
924
+ {
925
+ "epoch": 0.49542272482498656,
926
+ "grad_norm": 2.1859333515167236,
927
+ "learning_rate": 9.140044155740102e-06,
928
+ "loss": 1.010416865348816,
929
+ "step": 115,
930
+ "token_acc": 0.7280323345381058
931
+ },
932
+ {
933
+ "epoch": 0.49973074851911686,
934
+ "grad_norm": 1.671910047531128,
935
+ "learning_rate": 9.121411232980589e-06,
936
+ "loss": 1.0519911050796509,
937
+ "step": 116,
938
+ "token_acc": 0.7266268924371486
939
+ },
940
+ {
941
+ "epoch": 0.5040387722132472,
942
+ "grad_norm": 1.5711668729782104,
943
+ "learning_rate": 9.102598026342223e-06,
944
+ "loss": 1.0841341018676758,
945
+ "step": 117,
946
+ "token_acc": 0.715380567067956
947
+ },
948
+ {
949
+ "epoch": 0.5083467959073775,
950
+ "grad_norm": 1.5971369743347168,
951
+ "learning_rate": 9.083605358775612e-06,
952
+ "loss": 1.1038738489151,
953
+ "step": 118,
954
+ "token_acc": 0.709660139277424
955
+ },
956
+ {
957
+ "epoch": 0.5126548196015078,
958
+ "grad_norm": 1.7582615613937378,
959
+ "learning_rate": 9.064434061081562e-06,
960
+ "loss": 1.0597245693206787,
961
+ "step": 119,
962
+ "token_acc": 0.716953316953317
963
+ },
964
+ {
965
+ "epoch": 0.5169628432956381,
966
+ "grad_norm": 1.6436163187026978,
967
+ "learning_rate": 9.045084971874738e-06,
968
+ "loss": 1.1113476753234863,
969
+ "step": 120,
970
+ "token_acc": 0.7140453152232706
971
+ },
972
+ {
973
+ "epoch": 0.5212708669897684,
974
+ "grad_norm": 1.723655104637146,
975
+ "learning_rate": 9.025558937546987e-06,
976
+ "loss": 1.0558507442474365,
977
+ "step": 121,
978
+ "token_acc": 0.7235675306957708
979
+ },
980
+ {
981
+ "epoch": 0.5255788906838987,
982
+ "grad_norm": 1.7649812698364258,
983
+ "learning_rate": 9.005856812230304e-06,
984
+ "loss": 1.1403634548187256,
985
+ "step": 122,
986
+ "token_acc": 0.7090575479566306
987
+ },
988
+ {
989
+ "epoch": 0.529886914378029,
990
+ "grad_norm": 1.9195817708969116,
991
+ "learning_rate": 8.98597945775948e-06,
992
+ "loss": 1.110230565071106,
993
+ "step": 123,
994
+ "token_acc": 0.7115247201333832
995
+ },
996
+ {
997
+ "epoch": 0.5341949380721593,
998
+ "grad_norm": 1.826794981956482,
999
+ "learning_rate": 8.96592774363439e-06,
1000
+ "loss": 1.011481761932373,
1001
+ "step": 124,
1002
+ "token_acc": 0.7357743141683019
1003
+ },
1004
+ {
1005
+ "epoch": 0.5385029617662898,
1006
+ "grad_norm": 1.6854645013809204,
1007
+ "learning_rate": 8.94570254698197e-06,
1008
+ "loss": 1.0935232639312744,
1009
+ "step": 125,
1010
+ "token_acc": 0.7150796340223653
1011
+ },
1012
+ {
1013
+ "epoch": 0.5428109854604201,
1014
+ "grad_norm": 2.66402530670166,
1015
+ "learning_rate": 8.92530475251784e-06,
1016
+ "loss": 1.1172863245010376,
1017
+ "step": 126,
1018
+ "token_acc": 0.7189485136700242
1019
+ },
1020
+ {
1021
+ "epoch": 0.5471190091545504,
1022
+ "grad_norm": 2.063110113143921,
1023
+ "learning_rate": 8.90473525250761e-06,
1024
+ "loss": 1.0691171884536743,
1025
+ "step": 127,
1026
+ "token_acc": 0.7180058651026393
1027
+ },
1028
+ {
1029
+ "epoch": 0.5514270328486807,
1030
+ "grad_norm": 1.7156977653503418,
1031
+ "learning_rate": 8.883994946727848e-06,
1032
+ "loss": 1.0431095361709595,
1033
+ "step": 128,
1034
+ "token_acc": 0.7283595856392792
1035
+ },
1036
+ {
1037
+ "epoch": 0.555735056542811,
1038
+ "grad_norm": 1.8289692401885986,
1039
+ "learning_rate": 8.863084742426719e-06,
1040
+ "loss": 1.132885217666626,
1041
+ "step": 129,
1042
+ "token_acc": 0.706735040999213
1043
+ },
1044
+ {
1045
+ "epoch": 0.5600430802369413,
1046
+ "grad_norm": 2.87642240524292,
1047
+ "learning_rate": 8.842005554284296e-06,
1048
+ "loss": 1.0355212688446045,
1049
+ "step": 130,
1050
+ "token_acc": 0.7289206171661677
1051
+ },
1052
+ {
1053
+ "epoch": 0.5643511039310716,
1054
+ "grad_norm": 2.5777523517608643,
1055
+ "learning_rate": 8.820758304372557e-06,
1056
+ "loss": 1.006464958190918,
1057
+ "step": 131,
1058
+ "token_acc": 0.7324875466998755
1059
+ },
1060
+ {
1061
+ "epoch": 0.568659127625202,
1062
+ "grad_norm": 1.910340666770935,
1063
+ "learning_rate": 8.799343922115045e-06,
1064
+ "loss": 1.047837257385254,
1065
+ "step": 132,
1066
+ "token_acc": 0.7368516767294683
1067
+ },
1068
+ {
1069
+ "epoch": 0.5729671513193323,
1070
+ "grad_norm": 1.7361208200454712,
1071
+ "learning_rate": 8.777763344246209e-06,
1072
+ "loss": 1.011834740638733,
1073
+ "step": 133,
1074
+ "token_acc": 0.7284243277279798
1075
+ },
1076
+ {
1077
+ "epoch": 0.5772751750134626,
1078
+ "grad_norm": 1.8098233938217163,
1079
+ "learning_rate": 8.756017514770444e-06,
1080
+ "loss": 1.044621467590332,
1081
+ "step": 134,
1082
+ "token_acc": 0.7287564494050753
1083
+ },
1084
+ {
1085
+ "epoch": 0.5815831987075929,
1086
+ "grad_norm": 1.5448087453842163,
1087
+ "learning_rate": 8.734107384920771e-06,
1088
+ "loss": 1.073019027709961,
1089
+ "step": 135,
1090
+ "token_acc": 0.7119461765671152
1091
+ },
1092
+ {
1093
+ "epoch": 0.5858912224017232,
1094
+ "grad_norm": 1.7159926891326904,
1095
+ "learning_rate": 8.71203391311725e-06,
1096
+ "loss": 1.1081541776657104,
1097
+ "step": 136,
1098
+ "token_acc": 0.7037540013580367
1099
+ },
1100
+ {
1101
+ "epoch": 0.5901992460958535,
1102
+ "grad_norm": 1.6637221574783325,
1103
+ "learning_rate": 8.689798064925049e-06,
1104
+ "loss": 1.0081043243408203,
1105
+ "step": 137,
1106
+ "token_acc": 0.7252172754820019
1107
+ },
1108
+ {
1109
+ "epoch": 0.5945072697899838,
1110
+ "grad_norm": 1.9624783992767334,
1111
+ "learning_rate": 8.6674008130122e-06,
1112
+ "loss": 0.9942106008529663,
1113
+ "step": 138,
1114
+ "token_acc": 0.7384822910902048
1115
+ },
1116
+ {
1117
+ "epoch": 0.5988152934841141,
1118
+ "grad_norm": 1.822143793106079,
1119
+ "learning_rate": 8.644843137107058e-06,
1120
+ "loss": 1.0651887655258179,
1121
+ "step": 139,
1122
+ "token_acc": 0.7213238913924338
1123
+ },
1124
+ {
1125
+ "epoch": 0.6031233171782445,
1126
+ "grad_norm": 1.6583638191223145,
1127
+ "learning_rate": 8.622126023955446e-06,
1128
+ "loss": 1.1587040424346924,
1129
+ "step": 140,
1130
+ "token_acc": 0.700965954077593
1131
+ },
1132
+ {
1133
+ "epoch": 0.6074313408723748,
1134
+ "grad_norm": 1.8652868270874023,
1135
+ "learning_rate": 8.599250467277483e-06,
1136
+ "loss": 1.0659656524658203,
1137
+ "step": 141,
1138
+ "token_acc": 0.7252379815073868
1139
+ },
1140
+ {
1141
+ "epoch": 0.6117393645665051,
1142
+ "grad_norm": 1.6176389455795288,
1143
+ "learning_rate": 8.576217467724129e-06,
1144
+ "loss": 1.0570114850997925,
1145
+ "step": 142,
1146
+ "token_acc": 0.725997805513647
1147
+ },
1148
+ {
1149
+ "epoch": 0.6160473882606354,
1150
+ "grad_norm": 1.7835546731948853,
1151
+ "learning_rate": 8.553028032833397e-06,
1152
+ "loss": 1.0544447898864746,
1153
+ "step": 143,
1154
+ "token_acc": 0.7251621838326409
1155
+ },
1156
+ {
1157
+ "epoch": 0.6203554119547657,
1158
+ "grad_norm": 2.2224531173706055,
1159
+ "learning_rate": 8.529683176986295e-06,
1160
+ "loss": 1.090584397315979,
1161
+ "step": 144,
1162
+ "token_acc": 0.7182019410863273
1163
+ },
1164
+ {
1165
+ "epoch": 0.624663435648896,
1166
+ "grad_norm": 1.5986168384552002,
1167
+ "learning_rate": 8.506183921362443e-06,
1168
+ "loss": 1.1154588460922241,
1169
+ "step": 145,
1170
+ "token_acc": 0.7075557113233447
1171
+ },
1172
+ {
1173
+ "epoch": 0.6289714593430263,
1174
+ "grad_norm": 2.1650876998901367,
1175
+ "learning_rate": 8.482531293895412e-06,
1176
+ "loss": 0.9825166463851929,
1177
+ "step": 146,
1178
+ "token_acc": 0.7433130484007925
1179
+ },
1180
+ {
1181
+ "epoch": 0.6332794830371568,
1182
+ "grad_norm": 1.9352518320083618,
1183
+ "learning_rate": 8.458726329227748e-06,
1184
+ "loss": 1.0409623384475708,
1185
+ "step": 147,
1186
+ "token_acc": 0.725833571269947
1187
+ },
1188
+ {
1189
+ "epoch": 0.6375875067312871,
1190
+ "grad_norm": 1.8794916868209839,
1191
+ "learning_rate": 8.434770068665723e-06,
1192
+ "loss": 1.037879467010498,
1193
+ "step": 148,
1194
+ "token_acc": 0.7275396795896368
1195
+ },
1196
+ {
1197
+ "epoch": 0.6418955304254174,
1198
+ "grad_norm": 1.9519153833389282,
1199
+ "learning_rate": 8.410663560133784e-06,
1200
+ "loss": 1.0211390256881714,
1201
+ "step": 149,
1202
+ "token_acc": 0.7312037659717552
1203
+ },
1204
+ {
1205
+ "epoch": 0.6462035541195477,
1206
+ "grad_norm": 1.6926748752593994,
1207
+ "learning_rate": 8.386407858128707e-06,
1208
+ "loss": 1.0971746444702148,
1209
+ "step": 150,
1210
+ "token_acc": 0.7090979504289799
1211
+ },
1212
+ {
1213
+ "epoch": 0.650511577813678,
1214
+ "grad_norm": 1.642252802848816,
1215
+ "learning_rate": 8.362004023673473e-06,
1216
+ "loss": 1.0516653060913086,
1217
+ "step": 151,
1218
+ "token_acc": 0.7258933381217454
1219
+ },
1220
+ {
1221
+ "epoch": 0.6548196015078083,
1222
+ "grad_norm": 2.1485331058502197,
1223
+ "learning_rate": 8.337453124270864e-06,
1224
+ "loss": 1.060987949371338,
1225
+ "step": 152,
1226
+ "token_acc": 0.7258541834813022
1227
+ },
1228
+ {
1229
+ "epoch": 0.6591276252019386,
1230
+ "grad_norm": 2.170975923538208,
1231
+ "learning_rate": 8.31275623385675e-06,
1232
+ "loss": 1.0732593536376953,
1233
+ "step": 153,
1234
+ "token_acc": 0.7258163683563328
1235
+ },
1236
+ {
1237
+ "epoch": 0.6634356488960689,
1238
+ "grad_norm": 1.811652421951294,
1239
+ "learning_rate": 8.287914432753123e-06,
1240
+ "loss": 1.0401476621627808,
1241
+ "step": 154,
1242
+ "token_acc": 0.7282481532239196
1243
+ },
1244
+ {
1245
+ "epoch": 0.6677436725901993,
1246
+ "grad_norm": 1.6851332187652588,
1247
+ "learning_rate": 8.262928807620843e-06,
1248
+ "loss": 1.0859062671661377,
1249
+ "step": 155,
1250
+ "token_acc": 0.7122624537991038
1251
+ },
1252
+ {
1253
+ "epoch": 0.6720516962843296,
1254
+ "grad_norm": 1.7066915035247803,
1255
+ "learning_rate": 8.237800451412095e-06,
1256
+ "loss": 1.094170331954956,
1257
+ "step": 156,
1258
+ "token_acc": 0.7179701838554915
1259
+ },
1260
+ {
1261
+ "epoch": 0.6763597199784599,
1262
+ "grad_norm": 2.079630136489868,
1263
+ "learning_rate": 8.212530463322584e-06,
1264
+ "loss": 1.0371711254119873,
1265
+ "step": 157,
1266
+ "token_acc": 0.7281948615281949
1267
+ },
1268
+ {
1269
+ "epoch": 0.6806677436725902,
1270
+ "grad_norm": 1.9780957698822021,
1271
+ "learning_rate": 8.18711994874345e-06,
1272
+ "loss": 1.1454193592071533,
1273
+ "step": 158,
1274
+ "token_acc": 0.7068293139487724
1275
+ },
1276
+ {
1277
+ "epoch": 0.6849757673667205,
1278
+ "grad_norm": 2.0461599826812744,
1279
+ "learning_rate": 8.161570019212921e-06,
1280
+ "loss": 1.0632997751235962,
1281
+ "step": 159,
1282
+ "token_acc": 0.7188578486576815
1283
+ },
1284
+ {
1285
+ "epoch": 0.6892837910608508,
1286
+ "grad_norm": 1.8037797212600708,
1287
+ "learning_rate": 8.135881792367686e-06,
1288
+ "loss": 1.058543086051941,
1289
+ "step": 160,
1290
+ "token_acc": 0.7186254980079682
1291
+ },
1292
+ {
1293
+ "epoch": 0.6935918147549811,
1294
+ "grad_norm": 1.8418726921081543,
1295
+ "learning_rate": 8.110056391894005e-06,
1296
+ "loss": 1.0211877822875977,
1297
+ "step": 161,
1298
+ "token_acc": 0.7313764967680407
1299
+ },
1300
+ {
1301
+ "epoch": 0.6978998384491115,
1302
+ "grad_norm": 2.1125383377075195,
1303
+ "learning_rate": 8.084094947478556e-06,
1304
+ "loss": 1.1065531969070435,
1305
+ "step": 162,
1306
+ "token_acc": 0.7097420151520208
1307
+ },
1308
+ {
1309
+ "epoch": 0.7022078621432418,
1310
+ "grad_norm": 1.665132999420166,
1311
+ "learning_rate": 8.057998594759022e-06,
1312
+ "loss": 1.0586419105529785,
1313
+ "step": 163,
1314
+ "token_acc": 0.7197357402065693
1315
+ },
1316
+ {
1317
+ "epoch": 0.7065158858373721,
1318
+ "grad_norm": 1.541516900062561,
1319
+ "learning_rate": 8.031768475274412e-06,
1320
+ "loss": 1.0898858308792114,
1321
+ "step": 164,
1322
+ "token_acc": 0.7077255377696245
1323
+ },
1324
+ {
1325
+ "epoch": 0.7108239095315024,
1326
+ "grad_norm": 1.8763457536697388,
1327
+ "learning_rate": 8.005405736415127e-06,
1328
+ "loss": 1.1182177066802979,
1329
+ "step": 165,
1330
+ "token_acc": 0.7080204455101912
1331
+ },
1332
+ {
1333
+ "epoch": 0.7151319332256327,
1334
+ "grad_norm": 1.6244707107543945,
1335
+ "learning_rate": 7.978911531372764e-06,
1336
+ "loss": 1.052537441253662,
1337
+ "step": 166,
1338
+ "token_acc": 0.72174548690567
1339
+ },
1340
+ {
1341
+ "epoch": 0.719439956919763,
1342
+ "grad_norm": 1.7351884841918945,
1343
+ "learning_rate": 7.952287019089686e-06,
1344
+ "loss": 1.0168427228927612,
1345
+ "step": 167,
1346
+ "token_acc": 0.7289631977233038
1347
+ },
1348
+ {
1349
+ "epoch": 0.7237479806138933,
1350
+ "grad_norm": 1.883098840713501,
1351
+ "learning_rate": 7.925533364208308e-06,
1352
+ "loss": 1.0756115913391113,
1353
+ "step": 168,
1354
+ "token_acc": 0.7224274583557228
1355
+ },
1356
+ {
1357
+ "epoch": 0.7280560043080236,
1358
+ "grad_norm": 1.633523941040039,
1359
+ "learning_rate": 7.898651737020166e-06,
1360
+ "loss": 1.0162701606750488,
1361
+ "step": 169,
1362
+ "token_acc": 0.7267775147591479
1363
+ },
1364
+ {
1365
+ "epoch": 0.732364028002154,
1366
+ "grad_norm": 1.8218071460723877,
1367
+ "learning_rate": 7.871643313414718e-06,
1368
+ "loss": 1.0270060300827026,
1369
+ "step": 170,
1370
+ "token_acc": 0.7299303379673288
1371
+ },
1372
+ {
1373
+ "epoch": 0.7366720516962844,
1374
+ "grad_norm": 1.9670600891113281,
1375
+ "learning_rate": 7.844509274827907e-06,
1376
+ "loss": 1.0233960151672363,
1377
+ "step": 171,
1378
+ "token_acc": 0.7328961244397575
1379
+ },
1380
+ {
1381
+ "epoch": 0.7409800753904147,
1382
+ "grad_norm": 2.1067371368408203,
1383
+ "learning_rate": 7.817250808190483e-06,
1384
+ "loss": 1.1208573579788208,
1385
+ "step": 172,
1386
+ "token_acc": 0.7087912087912088
1387
+ },
1388
+ {
1389
+ "epoch": 0.745288099084545,
1390
+ "grad_norm": 1.7854297161102295,
1391
+ "learning_rate": 7.789869105876083e-06,
1392
+ "loss": 0.9967523217201233,
1393
+ "step": 173,
1394
+ "token_acc": 0.7338152553236948
1395
+ },
1396
+ {
1397
+ "epoch": 0.7495961227786753,
1398
+ "grad_norm": 2.0477850437164307,
1399
+ "learning_rate": 7.762365365649068e-06,
1400
+ "loss": 1.0872858762741089,
1401
+ "step": 174,
1402
+ "token_acc": 0.7145077370092574
1403
+ },
1404
+ {
1405
+ "epoch": 0.7539041464728056,
1406
+ "grad_norm": 1.975886344909668,
1407
+ "learning_rate": 7.734740790612137e-06,
1408
+ "loss": 0.9649370908737183,
1409
+ "step": 175,
1410
+ "token_acc": 0.7424413401299661
1411
+ },
1412
+ {
1413
+ "epoch": 0.7582121701669359,
1414
+ "grad_norm": 2.2943193912506104,
1415
+ "learning_rate": 7.70699658915369e-06,
1416
+ "loss": 0.9680527448654175,
1417
+ "step": 176,
1418
+ "token_acc": 0.743770432255721
1419
+ },
1420
+ {
1421
+ "epoch": 0.7625201938610663,
1422
+ "grad_norm": 1.7437077760696411,
1423
+ "learning_rate": 7.679133974894984e-06,
1424
+ "loss": 1.013915777206421,
1425
+ "step": 177,
1426
+ "token_acc": 0.7305739813185326
1427
+ },
1428
+ {
1429
+ "epoch": 0.7668282175551966,
1430
+ "grad_norm": 1.8506817817687988,
1431
+ "learning_rate": 7.651154166637025e-06,
1432
+ "loss": 1.060949683189392,
1433
+ "step": 178,
1434
+ "token_acc": 0.722198551342139
1435
+ },
1436
+ {
1437
+ "epoch": 0.7711362412493269,
1438
+ "grad_norm": 2.2398781776428223,
1439
+ "learning_rate": 7.62305838830727e-06,
1440
+ "loss": 0.9670058488845825,
1441
+ "step": 179,
1442
+ "token_acc": 0.7442888725128961
1443
+ },
1444
+ {
1445
+ "epoch": 0.7754442649434572,
1446
+ "grad_norm": 1.9097397327423096,
1447
+ "learning_rate": 7.594847868906076e-06,
1448
+ "loss": 1.0389031171798706,
1449
+ "step": 180,
1450
+ "token_acc": 0.7278524254156229
1451
+ },
1452
+ {
1453
+ "epoch": 0.7797522886375875,
1454
+ "grad_norm": 2.028334379196167,
1455
+ "learning_rate": 7.566523842452958e-06,
1456
+ "loss": 1.0487357378005981,
1457
+ "step": 181,
1458
+ "token_acc": 0.7233856893542757
1459
+ },
1460
+ {
1461
+ "epoch": 0.7840603123317178,
1462
+ "grad_norm": 1.7536522150039673,
1463
+ "learning_rate": 7.5380875479325855e-06,
1464
+ "loss": 0.8992788791656494,
1465
+ "step": 182,
1466
+ "token_acc": 0.7524805373225462
1467
+ },
1468
+ {
1469
+ "epoch": 0.7883683360258481,
1470
+ "grad_norm": 1.8125722408294678,
1471
+ "learning_rate": 7.509540229240601e-06,
1472
+ "loss": 1.0258413553237915,
1473
+ "step": 183,
1474
+ "token_acc": 0.7229109127111568
1475
+ },
1476
+ {
1477
+ "epoch": 0.7926763597199784,
1478
+ "grad_norm": 1.7677319049835205,
1479
+ "learning_rate": 7.480883135129211e-06,
1480
+ "loss": 1.0057992935180664,
1481
+ "step": 184,
1482
+ "token_acc": 0.7275143376696042
1483
+ },
1484
+ {
1485
+ "epoch": 0.7969843834141088,
1486
+ "grad_norm": 1.6595399379730225,
1487
+ "learning_rate": 7.452117519152542e-06,
1488
+ "loss": 1.0524992942810059,
1489
+ "step": 185,
1490
+ "token_acc": 0.723226874272053
1491
+ },
1492
+ {
1493
+ "epoch": 0.8012924071082391,
1494
+ "grad_norm": 1.6659682989120483,
1495
+ "learning_rate": 7.4232446396118265e-06,
1496
+ "loss": 1.029264211654663,
1497
+ "step": 186,
1498
+ "token_acc": 0.7303199773467365
1499
+ },
1500
+ {
1501
+ "epoch": 0.8056004308023694,
1502
+ "grad_norm": 1.933450698852539,
1503
+ "learning_rate": 7.394265759500348e-06,
1504
+ "loss": 1.0707944631576538,
1505
+ "step": 187,
1506
+ "token_acc": 0.7189290654020944
1507
+ },
1508
+ {
1509
+ "epoch": 0.8099084544964997,
1510
+ "grad_norm": 2.3765671253204346,
1511
+ "learning_rate": 7.365182146448205e-06,
1512
+ "loss": 0.9349066019058228,
1513
+ "step": 188,
1514
+ "token_acc": 0.7443648805954355
1515
+ },
1516
+ {
1517
+ "epoch": 0.81421647819063,
1518
+ "grad_norm": 1.8340600728988647,
1519
+ "learning_rate": 7.335995072666848e-06,
1520
+ "loss": 1.0280508995056152,
1521
+ "step": 189,
1522
+ "token_acc": 0.730319563522993
1523
+ },
1524
+ {
1525
+ "epoch": 0.8185245018847603,
1526
+ "grad_norm": 1.7334873676300049,
1527
+ "learning_rate": 7.30670581489344e-06,
1528
+ "loss": 1.0868083238601685,
1529
+ "step": 190,
1530
+ "token_acc": 0.7095239724855412
1531
+ },
1532
+ {
1533
+ "epoch": 0.8228325255788906,
1534
+ "grad_norm": 1.4876623153686523,
1535
+ "learning_rate": 7.2773156543349965e-06,
1536
+ "loss": 1.0421819686889648,
1537
+ "step": 191,
1538
+ "token_acc": 0.7225835322195704
1539
+ },
1540
+ {
1541
+ "epoch": 0.827140549273021,
1542
+ "grad_norm": 1.4609578847885132,
1543
+ "learning_rate": 7.247825876612353e-06,
1544
+ "loss": 1.034349799156189,
1545
+ "step": 192,
1546
+ "token_acc": 0.7214945373332529
1547
+ },
1548
+ {
1549
+ "epoch": 0.8314485729671514,
1550
+ "grad_norm": 1.4783042669296265,
1551
+ "learning_rate": 7.218237771703921e-06,
1552
+ "loss": 1.0758285522460938,
1553
+ "step": 193,
1554
+ "token_acc": 0.7069245624252828
1555
+ },
1556
+ {
1557
+ "epoch": 0.8357565966612817,
1558
+ "grad_norm": 1.647188663482666,
1559
+ "learning_rate": 7.18855263388926e-06,
1560
+ "loss": 1.0096200704574585,
1561
+ "step": 194,
1562
+ "token_acc": 0.7351176105401117
1563
+ },
1564
+ {
1565
+ "epoch": 0.840064620355412,
1566
+ "grad_norm": 1.7604641914367676,
1567
+ "learning_rate": 7.158771761692464e-06,
1568
+ "loss": 0.9966579079627991,
1569
+ "step": 195,
1570
+ "token_acc": 0.7323502967092249
1571
+ },
1572
+ {
1573
+ "epoch": 0.8443726440495423,
1574
+ "grad_norm": 1.7427420616149902,
1575
+ "learning_rate": 7.128896457825364e-06,
1576
+ "loss": 1.0532734394073486,
1577
+ "step": 196,
1578
+ "token_acc": 0.7239461255903445
1579
+ },
1580
+ {
1581
+ "epoch": 0.8486806677436726,
1582
+ "grad_norm": 1.604024887084961,
1583
+ "learning_rate": 7.098928029130529e-06,
1584
+ "loss": 1.0371193885803223,
1585
+ "step": 197,
1586
+ "token_acc": 0.724610928996531
1587
+ },
1588
+ {
1589
+ "epoch": 0.8529886914378029,
1590
+ "grad_norm": 1.562129020690918,
1591
+ "learning_rate": 7.068867786524116e-06,
1592
+ "loss": 0.9111225008964539,
1593
+ "step": 198,
1594
+ "token_acc": 0.7505460899956313
1595
+ },
1596
+ {
1597
+ "epoch": 0.8572967151319332,
1598
+ "grad_norm": 1.6844677925109863,
1599
+ "learning_rate": 7.038717044938519e-06,
1600
+ "loss": 1.0580235719680786,
1601
+ "step": 199,
1602
+ "token_acc": 0.7201209784631747
1603
+ },
1604
+ {
1605
+ "epoch": 0.8616047388260636,
1606
+ "grad_norm": 1.4355993270874023,
1607
+ "learning_rate": 7.008477123264849e-06,
1608
+ "loss": 1.062284231185913,
1609
+ "step": 200,
1610
+ "token_acc": 0.7225402403083201
1611
+ },
1612
+ {
1613
+ "epoch": 0.8659127625201939,
1614
+ "grad_norm": 1.7106071710586548,
1615
+ "learning_rate": 6.978149344295242e-06,
1616
+ "loss": 1.065187931060791,
1617
+ "step": 201,
1618
+ "token_acc": 0.718659797581205
1619
+ },
1620
+ {
1621
+ "epoch": 0.8702207862143242,
1622
+ "grad_norm": 1.8265399932861328,
1623
+ "learning_rate": 6.9477350346650016e-06,
1624
+ "loss": 1.0669317245483398,
1625
+ "step": 202,
1626
+ "token_acc": 0.7238228874337387
1627
+ },
1628
+ {
1629
+ "epoch": 0.8745288099084545,
1630
+ "grad_norm": 1.6417402029037476,
1631
+ "learning_rate": 6.9172355247945586e-06,
1632
+ "loss": 1.0068140029907227,
1633
+ "step": 203,
1634
+ "token_acc": 0.7297520946109023
1635
+ },
1636
+ {
1637
+ "epoch": 0.8788368336025848,
1638
+ "grad_norm": 1.6923401355743408,
1639
+ "learning_rate": 6.88665214883128e-06,
1640
+ "loss": 1.0113261938095093,
1641
+ "step": 204,
1642
+ "token_acc": 0.7302916443013061
1643
+ },
1644
+ {
1645
+ "epoch": 0.8831448572967151,
1646
+ "grad_norm": 1.7035597562789917,
1647
+ "learning_rate": 6.855986244591104e-06,
1648
+ "loss": 0.9667624831199646,
1649
+ "step": 205,
1650
+ "token_acc": 0.7364136181010784
1651
+ },
1652
+ {
1653
+ "epoch": 0.8874528809908454,
1654
+ "grad_norm": 1.7706389427185059,
1655
+ "learning_rate": 6.825239153500029e-06,
1656
+ "loss": 1.0399131774902344,
1657
+ "step": 206,
1658
+ "token_acc": 0.7230998509687034
1659
+ },
1660
+ {
1661
+ "epoch": 0.8917609046849758,
1662
+ "grad_norm": 1.7236924171447754,
1663
+ "learning_rate": 6.794412220535426e-06,
1664
+ "loss": 1.0391285419464111,
1665
+ "step": 207,
1666
+ "token_acc": 0.7210826975424606
1667
+ },
1668
+ {
1669
+ "epoch": 0.8960689283791061,
1670
+ "grad_norm": 2.0680770874023438,
1671
+ "learning_rate": 6.763506794167207e-06,
1672
+ "loss": 1.0605911016464233,
1673
+ "step": 208,
1674
+ "token_acc": 0.7222977447802293
1675
+ },
1676
+ {
1677
+ "epoch": 0.9003769520732364,
1678
+ "grad_norm": 2.0485286712646484,
1679
+ "learning_rate": 6.732524226298841e-06,
1680
+ "loss": 0.9372836351394653,
1681
+ "step": 209,
1682
+ "token_acc": 0.7482249475552687
1683
+ },
1684
+ {
1685
+ "epoch": 0.9046849757673667,
1686
+ "grad_norm": 1.5812981128692627,
1687
+ "learning_rate": 6.701465872208216e-06,
1688
+ "loss": 1.0708039999008179,
1689
+ "step": 210,
1690
+ "token_acc": 0.7196462448387457
1691
+ },
1692
+ {
1693
+ "epoch": 0.908992999461497,
1694
+ "grad_norm": 1.6296844482421875,
1695
+ "learning_rate": 6.670333090488357e-06,
1696
+ "loss": 1.0564963817596436,
1697
+ "step": 211,
1698
+ "token_acc": 0.7194455658726955
1699
+ },
1700
+ {
1701
+ "epoch": 0.9133010231556273,
1702
+ "grad_norm": 1.4809433221817017,
1703
+ "learning_rate": 6.6391272429879886e-06,
1704
+ "loss": 1.0199100971221924,
1705
+ "step": 212,
1706
+ "token_acc": 0.7275283419580629
1707
+ },
1708
+ {
1709
+ "epoch": 0.9176090468497576,
1710
+ "grad_norm": 1.912920355796814,
1711
+ "learning_rate": 6.607849694751978e-06,
1712
+ "loss": 1.0309929847717285,
1713
+ "step": 213,
1714
+ "token_acc": 0.7279354587869362
1715
+ },
1716
+ {
1717
+ "epoch": 0.9219170705438879,
1718
+ "grad_norm": 2.052734375,
1719
+ "learning_rate": 6.576501813961609e-06,
1720
+ "loss": 1.0631229877471924,
1721
+ "step": 214,
1722
+ "token_acc": 0.7230589022757697
1723
+ },
1724
+ {
1725
+ "epoch": 0.9262250942380184,
1726
+ "grad_norm": 2.039206027984619,
1727
+ "learning_rate": 6.545084971874738e-06,
1728
+ "loss": 1.022275686264038,
1729
+ "step": 215,
1730
+ "token_acc": 0.7276333345353575
1731
+ },
1732
+ {
1733
+ "epoch": 0.9305331179321487,
1734
+ "grad_norm": 1.7929805517196655,
1735
+ "learning_rate": 6.513600542765816e-06,
1736
+ "loss": 1.0045278072357178,
1737
+ "step": 216,
1738
+ "token_acc": 0.7384766366974801
1739
+ },
1740
+ {
1741
+ "epoch": 0.934841141626279,
1742
+ "grad_norm": 1.3928626775741577,
1743
+ "learning_rate": 6.4820499038657695e-06,
1744
+ "loss": 1.0367810726165771,
1745
+ "step": 217,
1746
+ "token_acc": 0.7207414090051669
1747
+ },
1748
+ {
1749
+ "epoch": 0.9391491653204093,
1750
+ "grad_norm": 1.959754228591919,
1751
+ "learning_rate": 6.450434435301751e-06,
1752
+ "loss": 1.0611419677734375,
1753
+ "step": 218,
1754
+ "token_acc": 0.7265009882383436
1755
+ },
1756
+ {
1757
+ "epoch": 0.9434571890145396,
1758
+ "grad_norm": 2.0485498905181885,
1759
+ "learning_rate": 6.418755520036775e-06,
1760
+ "loss": 1.0431468486785889,
1761
+ "step": 219,
1762
+ "token_acc": 0.7260826115922718
1763
+ },
1764
+ {
1765
+ "epoch": 0.9477652127086699,
1766
+ "grad_norm": 1.8070369958877563,
1767
+ "learning_rate": 6.387014543809224e-06,
1768
+ "loss": 0.9908697605133057,
1769
+ "step": 220,
1770
+ "token_acc": 0.7407475433924143
1771
+ },
1772
+ {
1773
+ "epoch": 0.9520732364028002,
1774
+ "grad_norm": 1.7055253982543945,
1775
+ "learning_rate": 6.355212895072223e-06,
1776
+ "loss": 1.0319141149520874,
1777
+ "step": 221,
1778
+ "token_acc": 0.724164978103144
1779
+ },
1780
+ {
1781
+ "epoch": 0.9563812600969306,
1782
+ "grad_norm": 1.73855459690094,
1783
+ "learning_rate": 6.323351964932909e-06,
1784
+ "loss": 1.029426097869873,
1785
+ "step": 222,
1786
+ "token_acc": 0.7305472017698503
1787
+ },
1788
+ {
1789
+ "epoch": 0.9606892837910609,
1790
+ "grad_norm": 1.6930358409881592,
1791
+ "learning_rate": 6.291433147091583e-06,
1792
+ "loss": 1.0009236335754395,
1793
+ "step": 223,
1794
+ "token_acc": 0.7313872069817001
1795
+ },
1796
+ {
1797
+ "epoch": 0.9649973074851912,
1798
+ "grad_norm": 1.84811270236969,
1799
+ "learning_rate": 6.259457837780741e-06,
1800
+ "loss": 1.0688104629516602,
1801
+ "step": 224,
1802
+ "token_acc": 0.7212521519165233
1803
+ },
1804
+ {
1805
+ "epoch": 0.9693053311793215,
1806
+ "grad_norm": 1.8543241024017334,
1807
+ "learning_rate": 6.227427435703997e-06,
1808
+ "loss": 1.0186160802841187,
1809
+ "step": 225,
1810
+ "token_acc": 0.7319165059244971
1811
+ },
1812
+ {
1813
+ "epoch": 0.9736133548734518,
1814
+ "grad_norm": 1.9619593620300293,
1815
+ "learning_rate": 6.1953433419748995e-06,
1816
+ "loss": 0.985061764717102,
1817
+ "step": 226,
1818
+ "token_acc": 0.7314210677500103
1819
+ },
1820
+ {
1821
+ "epoch": 0.9779213785675821,
1822
+ "grad_norm": 1.9096139669418335,
1823
+ "learning_rate": 6.163206960055652e-06,
1824
+ "loss": 1.0002927780151367,
1825
+ "step": 227,
1826
+ "token_acc": 0.7308709879551626
1827
+ },
1828
+ {
1829
+ "epoch": 0.9822294022617124,
1830
+ "grad_norm": 2.1386733055114746,
1831
+ "learning_rate": 6.131019695695702e-06,
1832
+ "loss": 1.082963466644287,
1833
+ "step": 228,
1834
+ "token_acc": 0.721509163632022
1835
+ },
1836
+ {
1837
+ "epoch": 0.9865374259558427,
1838
+ "grad_norm": 1.8572235107421875,
1839
+ "learning_rate": 6.098782956870266e-06,
1840
+ "loss": 1.0095869302749634,
1841
+ "step": 229,
1842
+ "token_acc": 0.7395705299689104
1843
+ },
1844
+ {
1845
+ "epoch": 0.9908454496499731,
1846
+ "grad_norm": 1.8879094123840332,
1847
+ "learning_rate": 6.066498153718735e-06,
1848
+ "loss": 1.0653495788574219,
1849
+ "step": 230,
1850
+ "token_acc": 0.7210560484743562
1851
+ },
1852
+ {
1853
+ "epoch": 0.9951534733441034,
1854
+ "grad_norm": 1.6340022087097168,
1855
+ "learning_rate": 6.034166698482984e-06,
1856
+ "loss": 1.0494650602340698,
1857
+ "step": 231,
1858
+ "token_acc": 0.7245733575045321
1859
+ },
1860
+ {
1861
+ "epoch": 0.9994614970382337,
1862
+ "grad_norm": 1.8272323608398438,
1863
+ "learning_rate": 6.001790005445607e-06,
1864
+ "loss": 1.0112372636795044,
1865
+ "step": 232,
1866
+ "token_acc": 0.7338219959516653
1867
+ },
1868
+ {
1869
+ "epoch": 1.0,
1870
+ "grad_norm": 5.849401473999023,
1871
+ "learning_rate": 5.969369490868042e-06,
1872
+ "loss": 1.02152419090271,
1873
+ "step": 233,
1874
+ "token_acc": 0.7415776499589154
1875
+ },
1876
+ {
1877
+ "epoch": 1.0043080236941304,
1878
+ "grad_norm": 1.852284550666809,
1879
+ "learning_rate": 5.936906572928625e-06,
1880
+ "loss": 0.8803678154945374,
1881
+ "step": 234,
1882
+ "token_acc": 0.7592773805043281
1883
+ },
1884
+ {
1885
+ "epoch": 1.0086160473882606,
1886
+ "grad_norm": 1.5524327754974365,
1887
+ "learning_rate": 5.904402671660551e-06,
1888
+ "loss": 0.9862585067749023,
1889
+ "step": 235,
1890
+ "token_acc": 0.7289358264081256
1891
+ },
1892
+ {
1893
+ "epoch": 1.012924071082391,
1894
+ "grad_norm": 1.633418321609497,
1895
+ "learning_rate": 5.871859208889759e-06,
1896
+ "loss": 0.9620030522346497,
1897
+ "step": 236,
1898
+ "token_acc": 0.7423674343867167
1899
+ },
1900
+ {
1901
+ "epoch": 1.0172320947765212,
1902
+ "grad_norm": 1.5976009368896484,
1903
+ "learning_rate": 5.839277608172739e-06,
1904
+ "loss": 0.9446237087249756,
1905
+ "step": 237,
1906
+ "token_acc": 0.7452129084092126
1907
+ },
1908
+ {
1909
+ "epoch": 1.0215401184706516,
1910
+ "grad_norm": 2.123077869415283,
1911
+ "learning_rate": 5.806659294734256e-06,
1912
+ "loss": 0.9748927354812622,
1913
+ "step": 238,
1914
+ "token_acc": 0.737117873625039
1915
+ },
1916
+ {
1917
+ "epoch": 1.0258481421647818,
1918
+ "grad_norm": 2.096855401992798,
1919
+ "learning_rate": 5.774005695405008e-06,
1920
+ "loss": 0.9755522012710571,
1921
+ "step": 239,
1922
+ "token_acc": 0.7440971441421182
1923
+ },
1924
+ {
1925
+ "epoch": 1.0301561658589122,
1926
+ "grad_norm": 1.9100697040557861,
1927
+ "learning_rate": 5.74131823855921e-06,
1928
+ "loss": 0.9641351699829102,
1929
+ "step": 240,
1930
+ "token_acc": 0.7406723844678464
1931
+ },
1932
+ {
1933
+ "epoch": 1.0344641895530426,
1934
+ "grad_norm": 2.227088451385498,
1935
+ "learning_rate": 5.708598354052122e-06,
1936
+ "loss": 0.981192946434021,
1937
+ "step": 241,
1938
+ "token_acc": 0.7360852713178294
1939
+ },
1940
+ {
1941
+ "epoch": 1.0387722132471728,
1942
+ "grad_norm": 1.58879554271698,
1943
+ "learning_rate": 5.675847473157485e-06,
1944
+ "loss": 1.0112268924713135,
1945
+ "step": 242,
1946
+ "token_acc": 0.7281371199799825
1947
+ },
1948
+ {
1949
+ "epoch": 1.0430802369413033,
1950
+ "grad_norm": 2.0497395992279053,
1951
+ "learning_rate": 5.643067028504931e-06,
1952
+ "loss": 1.0331170558929443,
1953
+ "step": 243,
1954
+ "token_acc": 0.7243439772368006
1955
+ },
1956
+ {
1957
+ "epoch": 1.0473882606354334,
1958
+ "grad_norm": 1.6697180271148682,
1959
+ "learning_rate": 5.610258454017301e-06,
1960
+ "loss": 0.9160628318786621,
1961
+ "step": 244,
1962
+ "token_acc": 0.7527061945666597
1963
+ },
1964
+ {
1965
+ "epoch": 1.0516962843295639,
1966
+ "grad_norm": 2.58595609664917,
1967
+ "learning_rate": 5.577423184847932e-06,
1968
+ "loss": 0.8940185308456421,
1969
+ "step": 245,
1970
+ "token_acc": 0.7573819567288066
1971
+ },
1972
+ {
1973
+ "epoch": 1.056004308023694,
1974
+ "grad_norm": 2.416323184967041,
1975
+ "learning_rate": 5.544562657317863e-06,
1976
+ "loss": 0.9627000689506531,
1977
+ "step": 246,
1978
+ "token_acc": 0.7391393024678768
1979
+ },
1980
+ {
1981
+ "epoch": 1.0603123317178245,
1982
+ "grad_norm": 1.7874491214752197,
1983
+ "learning_rate": 5.5116783088530255e-06,
1984
+ "loss": 0.8945722579956055,
1985
+ "step": 247,
1986
+ "token_acc": 0.7548346386548384
1987
+ },
1988
+ {
1989
+ "epoch": 1.0646203554119547,
1990
+ "grad_norm": 1.9529039859771729,
1991
+ "learning_rate": 5.478771577921351e-06,
1992
+ "loss": 0.9477412700653076,
1993
+ "step": 248,
1994
+ "token_acc": 0.7437445495404843
1995
+ },
1996
+ {
1997
+ "epoch": 1.068928379106085,
1998
+ "grad_norm": 1.5508562326431274,
1999
+ "learning_rate": 5.445843903969854e-06,
2000
+ "loss": 0.9583556652069092,
2001
+ "step": 249,
2002
+ "token_acc": 0.735274946669827
2003
+ },
2004
+ {
2005
+ "epoch": 1.0732364028002155,
2006
+ "grad_norm": 1.7498481273651123,
2007
+ "learning_rate": 5.412896727361663e-06,
2008
+ "loss": 0.9596320390701294,
2009
+ "step": 250,
2010
+ "token_acc": 0.7402946059557032
2011
+ },
2012
+ {
2013
+ "epoch": 1.0775444264943457,
2014
+ "grad_norm": 1.8939355611801147,
2015
+ "learning_rate": 5.379931489313016e-06,
2016
+ "loss": 0.9707253575325012,
2017
+ "step": 251,
2018
+ "token_acc": 0.7383231378193594
2019
+ },
2020
+ {
2021
+ "epoch": 1.081852450188476,
2022
+ "grad_norm": 2.6653194427490234,
2023
+ "learning_rate": 5.346949631830221e-06,
2024
+ "loss": 0.8993242979049683,
2025
+ "step": 252,
2026
+ "token_acc": 0.7550643118436062
2027
+ },
2028
+ {
2029
+ "epoch": 1.0861604738826063,
2030
+ "grad_norm": 2.204688310623169,
2031
+ "learning_rate": 5.3139525976465675e-06,
2032
+ "loss": 0.9620447754859924,
2033
+ "step": 253,
2034
+ "token_acc": 0.7355941012148379
2035
+ },
2036
+ {
2037
+ "epoch": 1.0904684975767367,
2038
+ "grad_norm": 1.9297153949737549,
2039
+ "learning_rate": 5.280941830159228e-06,
2040
+ "loss": 0.9538339376449585,
2041
+ "step": 254,
2042
+ "token_acc": 0.739151133409016
2043
+ },
2044
+ {
2045
+ "epoch": 1.0947765212708669,
2046
+ "grad_norm": 1.8989887237548828,
2047
+ "learning_rate": 5.247918773366112e-06,
2048
+ "loss": 0.8881052732467651,
2049
+ "step": 255,
2050
+ "token_acc": 0.7648537005163512
2051
+ },
2052
+ {
2053
+ "epoch": 1.0990845449649973,
2054
+ "grad_norm": 1.740999698638916,
2055
+ "learning_rate": 5.214884871802703e-06,
2056
+ "loss": 0.9053628444671631,
2057
+ "step": 256,
2058
+ "token_acc": 0.7495991360973854
2059
+ },
2060
+ {
2061
+ "epoch": 1.1033925686591277,
2062
+ "grad_norm": 1.664394497871399,
2063
+ "learning_rate": 5.1818415704788725e-06,
2064
+ "loss": 1.0543291568756104,
2065
+ "step": 257,
2066
+ "token_acc": 0.7163526926527187
2067
+ },
2068
+ {
2069
+ "epoch": 1.107700592353258,
2070
+ "grad_norm": 1.8559702634811401,
2071
+ "learning_rate": 5.148790314815662e-06,
2072
+ "loss": 1.0188100337982178,
2073
+ "step": 258,
2074
+ "token_acc": 0.7235763996023176
2075
+ },
2076
+ {
2077
+ "epoch": 1.1120086160473883,
2078
+ "grad_norm": 2.0520901679992676,
2079
+ "learning_rate": 5.11573255058207e-06,
2080
+ "loss": 0.970104455947876,
2081
+ "step": 259,
2082
+ "token_acc": 0.7349447229279681
2083
+ },
2084
+ {
2085
+ "epoch": 1.1163166397415185,
2086
+ "grad_norm": 1.664621353149414,
2087
+ "learning_rate": 5.082669723831793e-06,
2088
+ "loss": 0.8900072574615479,
2089
+ "step": 260,
2090
+ "token_acc": 0.7525534978734805
2091
+ },
2092
+ {
2093
+ "epoch": 1.120624663435649,
2094
+ "grad_norm": 2.323301076889038,
2095
+ "learning_rate": 5.049603280839982e-06,
2096
+ "loss": 1.0096113681793213,
2097
+ "step": 261,
2098
+ "token_acc": 0.7256683273094331
2099
+ },
2100
+ {
2101
+ "epoch": 1.1249326871297791,
2102
+ "grad_norm": 1.8697978258132935,
2103
+ "learning_rate": 5.016534668039976e-06,
2104
+ "loss": 0.92182457447052,
2105
+ "step": 262,
2106
+ "token_acc": 0.7499677751997937
2107
+ },
2108
+ {
2109
+ "epoch": 1.1292407108239095,
2110
+ "grad_norm": 1.6699860095977783,
2111
+ "learning_rate": 4.983465331960025e-06,
2112
+ "loss": 0.9860280156135559,
2113
+ "step": 263,
2114
+ "token_acc": 0.7302170595746006
2115
+ },
2116
+ {
2117
+ "epoch": 1.13354873451804,
2118
+ "grad_norm": 2.074275016784668,
2119
+ "learning_rate": 4.950396719160019e-06,
2120
+ "loss": 0.9644788503646851,
2121
+ "step": 264,
2122
+ "token_acc": 0.7365843842232358
2123
+ },
2124
+ {
2125
+ "epoch": 1.1378567582121701,
2126
+ "grad_norm": 1.9523180723190308,
2127
+ "learning_rate": 4.917330276168208e-06,
2128
+ "loss": 0.9171963930130005,
2129
+ "step": 265,
2130
+ "token_acc": 0.7560794880431122
2131
+ },
2132
+ {
2133
+ "epoch": 1.1421647819063006,
2134
+ "grad_norm": 2.0590438842773438,
2135
+ "learning_rate": 4.884267449417932e-06,
2136
+ "loss": 0.9525893926620483,
2137
+ "step": 266,
2138
+ "token_acc": 0.7446058169959425
2139
+ },
2140
+ {
2141
+ "epoch": 1.1464728056004307,
2142
+ "grad_norm": 1.599365472793579,
2143
+ "learning_rate": 4.851209685184339e-06,
2144
+ "loss": 0.9242900609970093,
2145
+ "step": 267,
2146
+ "token_acc": 0.7477739359260732
2147
+ },
2148
+ {
2149
+ "epoch": 1.1507808292945612,
2150
+ "grad_norm": 1.7137466669082642,
2151
+ "learning_rate": 4.818158429521129e-06,
2152
+ "loss": 0.9517988562583923,
2153
+ "step": 268,
2154
+ "token_acc": 0.7356900661362339
2155
+ },
2156
+ {
2157
+ "epoch": 1.1550888529886914,
2158
+ "grad_norm": 1.980363130569458,
2159
+ "learning_rate": 4.785115128197298e-06,
2160
+ "loss": 0.9219489097595215,
2161
+ "step": 269,
2162
+ "token_acc": 0.7447838315128523
2163
+ },
2164
+ {
2165
+ "epoch": 1.1593968766828218,
2166
+ "grad_norm": 1.784232258796692,
2167
+ "learning_rate": 4.752081226633888e-06,
2168
+ "loss": 0.8524366617202759,
2169
+ "step": 270,
2170
+ "token_acc": 0.7703314616917225
2171
+ },
2172
+ {
2173
+ "epoch": 1.1637049003769522,
2174
+ "grad_norm": 1.9212590456008911,
2175
+ "learning_rate": 4.719058169840773e-06,
2176
+ "loss": 0.9193314909934998,
2177
+ "step": 271,
2178
+ "token_acc": 0.7476786980450417
2179
+ },
2180
+ {
2181
+ "epoch": 1.1680129240710824,
2182
+ "grad_norm": 1.7464808225631714,
2183
+ "learning_rate": 4.686047402353433e-06,
2184
+ "loss": 0.8871129155158997,
2185
+ "step": 272,
2186
+ "token_acc": 0.7609986092737695
2187
+ },
2188
+ {
2189
+ "epoch": 1.1723209477652128,
2190
+ "grad_norm": 1.8662816286087036,
2191
+ "learning_rate": 4.65305036816978e-06,
2192
+ "loss": 0.9364889860153198,
2193
+ "step": 273,
2194
+ "token_acc": 0.7490751506183279
2195
+ },
2196
+ {
2197
+ "epoch": 1.176628971459343,
2198
+ "grad_norm": 1.917938470840454,
2199
+ "learning_rate": 4.620068510686985e-06,
2200
+ "loss": 0.9322699308395386,
2201
+ "step": 274,
2202
+ "token_acc": 0.7451706895931508
2203
+ },
2204
+ {
2205
+ "epoch": 1.1809369951534734,
2206
+ "grad_norm": 1.8484588861465454,
2207
+ "learning_rate": 4.587103272638339e-06,
2208
+ "loss": 0.9433363080024719,
2209
+ "step": 275,
2210
+ "token_acc": 0.7470407575660631
2211
+ },
2212
+ {
2213
+ "epoch": 1.1852450188476036,
2214
+ "grad_norm": 1.7483965158462524,
2215
+ "learning_rate": 4.554156096030149e-06,
2216
+ "loss": 0.8598661422729492,
2217
+ "step": 276,
2218
+ "token_acc": 0.7575344381511783
2219
+ },
2220
+ {
2221
+ "epoch": 1.189553042541734,
2222
+ "grad_norm": 1.9640449285507202,
2223
+ "learning_rate": 4.5212284220786495e-06,
2224
+ "loss": 0.9079041481018066,
2225
+ "step": 277,
2226
+ "token_acc": 0.7517377674798964
2227
+ },
2228
+ {
2229
+ "epoch": 1.1938610662358644,
2230
+ "grad_norm": 1.5985236167907715,
2231
+ "learning_rate": 4.488321691146975e-06,
2232
+ "loss": 0.9669654369354248,
2233
+ "step": 278,
2234
+ "token_acc": 0.7323662000474528
2235
+ },
2236
+ {
2237
+ "epoch": 1.1981690899299946,
2238
+ "grad_norm": 1.9148527383804321,
2239
+ "learning_rate": 4.4554373426821375e-06,
2240
+ "loss": 1.015479564666748,
2241
+ "step": 279,
2242
+ "token_acc": 0.7254908271644673
2243
+ },
2244
+ {
2245
+ "epoch": 1.202477113624125,
2246
+ "grad_norm": 2.022810935974121,
2247
+ "learning_rate": 4.42257681515207e-06,
2248
+ "loss": 0.961472749710083,
2249
+ "step": 280,
2250
+ "token_acc": 0.7417307902702308
2251
+ },
2252
+ {
2253
+ "epoch": 1.2067851373182552,
2254
+ "grad_norm": 1.8741397857666016,
2255
+ "learning_rate": 4.3897415459827e-06,
2256
+ "loss": 0.9811180830001831,
2257
+ "step": 281,
2258
+ "token_acc": 0.7363141301232445
2259
+ },
2260
+ {
2261
+ "epoch": 1.2110931610123856,
2262
+ "grad_norm": 1.9402947425842285,
2263
+ "learning_rate": 4.356932971495071e-06,
2264
+ "loss": 0.9020291566848755,
2265
+ "step": 282,
2266
+ "token_acc": 0.7514281474886861
2267
+ },
2268
+ {
2269
+ "epoch": 1.2154011847065158,
2270
+ "grad_norm": 1.8439514636993408,
2271
+ "learning_rate": 4.324152526842517e-06,
2272
+ "loss": 1.0201821327209473,
2273
+ "step": 283,
2274
+ "token_acc": 0.730798455011714
2275
+ },
2276
+ {
2277
+ "epoch": 1.2197092084006462,
2278
+ "grad_norm": 2.052015542984009,
2279
+ "learning_rate": 4.291401645947879e-06,
2280
+ "loss": 0.9672775864601135,
2281
+ "step": 284,
2282
+ "token_acc": 0.7426946128060136
2283
+ },
2284
+ {
2285
+ "epoch": 1.2240172320947766,
2286
+ "grad_norm": 1.5881297588348389,
2287
+ "learning_rate": 4.25868176144079e-06,
2288
+ "loss": 0.889592170715332,
2289
+ "step": 285,
2290
+ "token_acc": 0.7558629189633332
2291
+ },
2292
+ {
2293
+ "epoch": 1.2283252557889068,
2294
+ "grad_norm": 1.7183021306991577,
2295
+ "learning_rate": 4.225994304594994e-06,
2296
+ "loss": 0.9233750104904175,
2297
+ "step": 286,
2298
+ "token_acc": 0.7486460772833724
2299
+ },
2300
+ {
2301
+ "epoch": 1.2326332794830372,
2302
+ "grad_norm": 1.6355488300323486,
2303
+ "learning_rate": 4.193340705265746e-06,
2304
+ "loss": 0.958794116973877,
2305
+ "step": 287,
2306
+ "token_acc": 0.7398538711856082
2307
+ },
2308
+ {
2309
+ "epoch": 1.2369413031771674,
2310
+ "grad_norm": 1.7922086715698242,
2311
+ "learning_rate": 4.160722391827262e-06,
2312
+ "loss": 0.9110997319221497,
2313
+ "step": 288,
2314
+ "token_acc": 0.754541538019674
2315
+ },
2316
+ {
2317
+ "epoch": 1.2412493268712979,
2318
+ "grad_norm": 2.0297932624816895,
2319
+ "learning_rate": 4.128140791110243e-06,
2320
+ "loss": 0.9580734372138977,
2321
+ "step": 289,
2322
+ "token_acc": 0.7436807779878826
2323
+ },
2324
+ {
2325
+ "epoch": 1.245557350565428,
2326
+ "grad_norm": 1.7132781744003296,
2327
+ "learning_rate": 4.0955973283394525e-06,
2328
+ "loss": 1.0088131427764893,
2329
+ "step": 290,
2330
+ "token_acc": 0.7320859993328683
2331
+ },
2332
+ {
2333
+ "epoch": 1.2498653742595585,
2334
+ "grad_norm": 1.5488715171813965,
2335
+ "learning_rate": 4.063093427071376e-06,
2336
+ "loss": 0.9522176384925842,
2337
+ "step": 291,
2338
+ "token_acc": 0.7438972284729541
2339
+ },
2340
+ {
2341
+ "epoch": 1.2541733979536889,
2342
+ "grad_norm": 1.8754502534866333,
2343
+ "learning_rate": 4.03063050913196e-06,
2344
+ "loss": 0.8881997466087341,
2345
+ "step": 292,
2346
+ "token_acc": 0.7582413769172045
2347
+ },
2348
+ {
2349
+ "epoch": 1.258481421647819,
2350
+ "grad_norm": 1.789201259613037,
2351
+ "learning_rate": 3.998209994554395e-06,
2352
+ "loss": 0.9494738578796387,
2353
+ "step": 293,
2354
+ "token_acc": 0.747545311141873
2355
+ },
2356
+ {
2357
+ "epoch": 1.2627894453419493,
2358
+ "grad_norm": 1.6978973150253296,
2359
+ "learning_rate": 3.965833301517017e-06,
2360
+ "loss": 0.903584361076355,
2361
+ "step": 294,
2362
+ "token_acc": 0.7527433967079239
2363
+ },
2364
+ {
2365
+ "epoch": 1.2670974690360797,
2366
+ "grad_norm": 1.9547784328460693,
2367
+ "learning_rate": 3.9335018462812664e-06,
2368
+ "loss": 1.0251178741455078,
2369
+ "step": 295,
2370
+ "token_acc": 0.7242036482439422
2371
+ },
2372
+ {
2373
+ "epoch": 1.27140549273021,
2374
+ "grad_norm": 1.8591620922088623,
2375
+ "learning_rate": 3.901217043129735e-06,
2376
+ "loss": 0.8809949159622192,
2377
+ "step": 296,
2378
+ "token_acc": 0.7596185737976783
2379
+ },
2380
+ {
2381
+ "epoch": 1.2757135164243403,
2382
+ "grad_norm": 1.9652024507522583,
2383
+ "learning_rate": 3.8689803043043e-06,
2384
+ "loss": 0.9077787399291992,
2385
+ "step": 297,
2386
+ "token_acc": 0.7569960352592479
2387
+ },
2388
+ {
2389
+ "epoch": 1.2800215401184707,
2390
+ "grad_norm": 1.7500567436218262,
2391
+ "learning_rate": 3.8367930399443495e-06,
2392
+ "loss": 1.0176526308059692,
2393
+ "step": 298,
2394
+ "token_acc": 0.7242611551091366
2395
+ },
2396
+ {
2397
+ "epoch": 1.284329563812601,
2398
+ "grad_norm": 1.750616431236267,
2399
+ "learning_rate": 3.8046566580251e-06,
2400
+ "loss": 0.9793616533279419,
2401
+ "step": 299,
2402
+ "token_acc": 0.7369895658894757
2403
+ },
2404
+ {
2405
+ "epoch": 1.2886375875067313,
2406
+ "grad_norm": 1.5951060056686401,
2407
+ "learning_rate": 3.7725725642960047e-06,
2408
+ "loss": 0.9102382659912109,
2409
+ "step": 300,
2410
+ "token_acc": 0.7541037534129412
2411
+ }
2412
+ ],
2413
+ "logging_steps": 1,
2414
+ "max_steps": 500,
2415
+ "num_input_tokens_seen": 0,
2416
+ "num_train_epochs": 3,
2417
+ "save_steps": 100,
2418
+ "stateful_callbacks": {
2419
+ "TrainerControl": {
2420
+ "args": {
2421
+ "should_epoch_stop": false,
2422
+ "should_evaluate": false,
2423
+ "should_log": false,
2424
+ "should_save": true,
2425
+ "should_training_stop": false
2426
+ },
2427
+ "attributes": {}
2428
+ }
2429
+ },
2430
+ "total_flos": 3.863143068056158e+18,
2431
+ "train_batch_size": 1,
2432
+ "trial_name": null,
2433
+ "trial_params": null
2434
+ }
video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-300/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6a86fe59726eb18bce544401943fcd0c83bf5581ebf5afd514f471c24e331e2e
3
+ size 8977
video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-300/zero_to_fp32.py ADDED
@@ -0,0 +1,760 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python
2
+
3
+ # Copyright (c) Microsoft Corporation.
4
+ # SPDX-License-Identifier: Apache-2.0
5
+
6
+ # DeepSpeed Team
7
+
8
+ # This script extracts fp32 consolidated weights from a zero 1, 2 and 3 DeepSpeed checkpoints. It gets
9
+ # copied into the top level checkpoint dir, so the user can easily do the conversion at any point in
10
+ # the future. Once extracted, the weights don't require DeepSpeed and can be used in any
11
+ # application.
12
+ #
13
+ # example:
14
+ # python zero_to_fp32.py . output_dir/
15
+ # or
16
+ # python zero_to_fp32.py . output_dir/ --safe_serialization
17
+
18
+ import argparse
19
+ import torch
20
+ import glob
21
+ import math
22
+ import os
23
+ import re
24
+ import gc
25
+ import json
26
+ import numpy as np
27
+ from tqdm import tqdm
28
+ from collections import OrderedDict
29
+ from dataclasses import dataclass
30
+
31
+ # while this script doesn't use deepspeed to recover data, since the checkpoints are pickled with
32
+ # DeepSpeed data structures it has to be available in the current python environment.
33
+ from deepspeed.utils import logger
34
+ from deepspeed.checkpoint.constants import (DS_VERSION, OPTIMIZER_STATE_DICT, SINGLE_PARTITION_OF_FP32_GROUPS,
35
+ FP32_FLAT_GROUPS, ZERO_STAGE, PARTITION_COUNT, PARAM_SHAPES, BUFFER_NAMES,
36
+ FROZEN_PARAM_SHAPES, FROZEN_PARAM_FRAGMENTS)
37
+
38
+
39
+ @dataclass
40
+ class zero_model_state:
41
+ buffers: dict()
42
+ param_shapes: dict()
43
+ shared_params: list
44
+ ds_version: int
45
+ frozen_param_shapes: dict()
46
+ frozen_param_fragments: dict()
47
+
48
+
49
+ debug = 0
50
+
51
+ # load to cpu
52
+ device = torch.device('cpu')
53
+
54
+
55
+ def atoi(text):
56
+ return int(text) if text.isdigit() else text
57
+
58
+
59
+ def natural_keys(text):
60
+ '''
61
+ alist.sort(key=natural_keys) sorts in human order
62
+ http://nedbatchelder.com/blog/200712/human_sorting.html
63
+ (See Toothy's implementation in the comments)
64
+ '''
65
+ return [atoi(c) for c in re.split(r'(\d+)', text)]
66
+
67
+
68
+ def get_model_state_file(checkpoint_dir, zero_stage):
69
+ if not os.path.isdir(checkpoint_dir):
70
+ raise FileNotFoundError(f"Directory '{checkpoint_dir}' doesn't exist")
71
+
72
+ # there should be only one file
73
+ if zero_stage <= 2:
74
+ file = os.path.join(checkpoint_dir, "mp_rank_00_model_states.pt")
75
+ elif zero_stage == 3:
76
+ file = os.path.join(checkpoint_dir, "zero_pp_rank_0_mp_rank_00_model_states.pt")
77
+
78
+ if not os.path.exists(file):
79
+ raise FileNotFoundError(f"can't find model states file at '{file}'")
80
+
81
+ return file
82
+
83
+
84
+ def get_checkpoint_files(checkpoint_dir, glob_pattern):
85
+ # XXX: need to test that this simple glob rule works for multi-node setup too
86
+ ckpt_files = sorted(glob.glob(os.path.join(checkpoint_dir, glob_pattern)), key=natural_keys)
87
+
88
+ if len(ckpt_files) == 0:
89
+ raise FileNotFoundError(f"can't find {glob_pattern} files in directory '{checkpoint_dir}'")
90
+
91
+ return ckpt_files
92
+
93
+
94
+ def get_optim_files(checkpoint_dir):
95
+ return get_checkpoint_files(checkpoint_dir, "*_optim_states.pt")
96
+
97
+
98
+ def get_model_state_files(checkpoint_dir):
99
+ return get_checkpoint_files(checkpoint_dir, "*_model_states.pt")
100
+
101
+
102
+ def parse_model_states(files):
103
+ zero_model_states = []
104
+ for file in files:
105
+ state_dict = torch.load(file, map_location=device, weights_only=False)
106
+
107
+ if BUFFER_NAMES not in state_dict:
108
+ raise ValueError(f"{file} is not a model state checkpoint")
109
+ buffer_names = state_dict[BUFFER_NAMES]
110
+ if debug:
111
+ print("Found buffers:", buffer_names)
112
+
113
+ # recover just the buffers while restoring them to fp32 if they were saved in fp16
114
+ buffers = {k: v.float() for k, v in state_dict["module"].items() if k in buffer_names}
115
+ param_shapes = state_dict[PARAM_SHAPES]
116
+
117
+ # collect parameters that are included in param_shapes
118
+ param_names = []
119
+ for s in param_shapes:
120
+ for name in s.keys():
121
+ param_names.append(name)
122
+
123
+ # update with frozen parameters
124
+ frozen_param_shapes = state_dict.get(FROZEN_PARAM_SHAPES, None)
125
+ if frozen_param_shapes is not None:
126
+ if debug:
127
+ print(f"Found frozen_param_shapes: {frozen_param_shapes}")
128
+ param_names += list(frozen_param_shapes.keys())
129
+
130
+ # handle shared params
131
+ shared_params = [[k, v] for k, v in state_dict["shared_params"].items()]
132
+
133
+ ds_version = state_dict.get(DS_VERSION, None)
134
+
135
+ frozen_param_fragments = state_dict.get(FROZEN_PARAM_FRAGMENTS, None)
136
+
137
+ z_model_state = zero_model_state(buffers=buffers,
138
+ param_shapes=param_shapes,
139
+ shared_params=shared_params,
140
+ ds_version=ds_version,
141
+ frozen_param_shapes=frozen_param_shapes,
142
+ frozen_param_fragments=frozen_param_fragments)
143
+ zero_model_states.append(z_model_state)
144
+
145
+ return zero_model_states
146
+
147
+
148
+ def parse_optim_states(files, ds_checkpoint_dir):
149
+ total_files = len(files)
150
+ state_dicts = []
151
+ for f in tqdm(files, desc='Loading checkpoint shards'):
152
+ state_dict = torch.load(f, map_location=device, mmap=True, weights_only=False)
153
+ # immediately discard the potentially huge 2 optimizer states as we only care for fp32 master weights
154
+ # and also handle the case where it was already removed by another helper script
155
+ state_dict["optimizer_state_dict"].pop("optimizer_state_dict", None)
156
+ state_dicts.append(state_dict)
157
+
158
+ if ZERO_STAGE not in state_dicts[0][OPTIMIZER_STATE_DICT]:
159
+ raise ValueError(f"{files[0]} is not a zero checkpoint")
160
+ zero_stage = state_dicts[0][OPTIMIZER_STATE_DICT][ZERO_STAGE]
161
+ world_size = state_dicts[0][OPTIMIZER_STATE_DICT][PARTITION_COUNT]
162
+
163
+ # For ZeRO-2 each param group can have different partition_count as data parallelism for expert
164
+ # parameters can be different from data parallelism for non-expert parameters. So we can just
165
+ # use the max of the partition_count to get the dp world_size.
166
+
167
+ if type(world_size) is list:
168
+ world_size = max(world_size)
169
+
170
+ if world_size != total_files:
171
+ raise ValueError(
172
+ f"Expected {world_size} of '*_optim_states.pt' under '{ds_checkpoint_dir}' but found {total_files} files. "
173
+ "Possibly due to an overwrite of an old checkpoint, or a checkpoint didn't get saved by one or more processes."
174
+ )
175
+
176
+ # the groups are named differently in each stage
177
+ if zero_stage <= 2:
178
+ fp32_groups_key = SINGLE_PARTITION_OF_FP32_GROUPS
179
+ elif zero_stage == 3:
180
+ fp32_groups_key = FP32_FLAT_GROUPS
181
+ else:
182
+ raise ValueError(f"unknown zero stage {zero_stage}")
183
+
184
+ fp32_flat_groups = [state_dicts[i][OPTIMIZER_STATE_DICT][fp32_groups_key] for i in range(len(state_dicts))]
185
+ return zero_stage, world_size, fp32_flat_groups
186
+
187
+
188
+ def _get_fp32_state_dict_from_zero_checkpoint(ds_checkpoint_dir, exclude_frozen_parameters):
189
+ """
190
+ Returns fp32 state_dict reconstructed from ds checkpoint
191
+
192
+ Args:
193
+ - ``ds_checkpoint_dir``: path to the deepspeed checkpoint folder (where the optimizer files are)
194
+
195
+ """
196
+ print(f"Processing zero checkpoint '{ds_checkpoint_dir}'")
197
+
198
+ optim_files = get_optim_files(ds_checkpoint_dir)
199
+ zero_stage, world_size, fp32_flat_groups = parse_optim_states(optim_files, ds_checkpoint_dir)
200
+ print(f"Detected checkpoint of type zero stage {zero_stage}, world_size: {world_size}")
201
+
202
+ model_files = get_model_state_files(ds_checkpoint_dir)
203
+
204
+ zero_model_states = parse_model_states(model_files)
205
+ print(f'Parsing checkpoint created by deepspeed=={zero_model_states[0].ds_version}')
206
+
207
+ if zero_stage <= 2:
208
+ return _get_fp32_state_dict_from_zero2_checkpoint(world_size, fp32_flat_groups, zero_model_states,
209
+ exclude_frozen_parameters)
210
+ elif zero_stage == 3:
211
+ return _get_fp32_state_dict_from_zero3_checkpoint(world_size, fp32_flat_groups, zero_model_states,
212
+ exclude_frozen_parameters)
213
+
214
+
215
+ def _zero2_merge_frozen_params(state_dict, zero_model_states):
216
+ if zero_model_states[0].frozen_param_shapes is None or len(zero_model_states[0].frozen_param_shapes) == 0:
217
+ return
218
+
219
+ frozen_param_shapes = zero_model_states[0].frozen_param_shapes
220
+ frozen_param_fragments = zero_model_states[0].frozen_param_fragments
221
+
222
+ if debug:
223
+ num_elem = sum(s.numel() for s in frozen_param_shapes.values())
224
+ print(f'rank 0: {FROZEN_PARAM_SHAPES}.numel = {num_elem}')
225
+
226
+ wanted_params = len(frozen_param_shapes)
227
+ wanted_numel = sum(s.numel() for s in frozen_param_shapes.values())
228
+ avail_numel = sum([p.numel() for p in frozen_param_fragments.values()])
229
+ print(f'Frozen params: Have {avail_numel} numels to process.')
230
+ print(f'Frozen params: Need {wanted_numel} numels in {wanted_params} params')
231
+
232
+ total_params = 0
233
+ total_numel = 0
234
+ for name, shape in frozen_param_shapes.items():
235
+ total_params += 1
236
+ unpartitioned_numel = shape.numel()
237
+ total_numel += unpartitioned_numel
238
+
239
+ state_dict[name] = frozen_param_fragments[name]
240
+
241
+ if debug:
242
+ print(f"{name} full shape: {shape} unpartitioned numel {unpartitioned_numel} ")
243
+
244
+ print(f"Reconstructed Frozen fp32 state dict with {total_params} params {total_numel} elements")
245
+
246
+
247
+ def _has_callable(obj, fn):
248
+ attr = getattr(obj, fn, None)
249
+ return callable(attr)
250
+
251
+
252
+ def _zero2_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states):
253
+ param_shapes = zero_model_states[0].param_shapes
254
+
255
+ # Reconstruction protocol:
256
+ #
257
+ # XXX: document this
258
+
259
+ if debug:
260
+ for i in range(world_size):
261
+ for j in range(len(fp32_flat_groups[0])):
262
+ print(f"{FP32_FLAT_GROUPS}[{i}][{j}].shape={fp32_flat_groups[i][j].shape}")
263
+
264
+ # XXX: memory usage doubles here (zero2)
265
+ num_param_groups = len(fp32_flat_groups[0])
266
+ merged_single_partition_of_fp32_groups = []
267
+ for i in range(num_param_groups):
268
+ merged_partitions = [sd[i] for sd in fp32_flat_groups]
269
+ full_single_fp32_vector = torch.cat(merged_partitions, 0)
270
+ merged_single_partition_of_fp32_groups.append(full_single_fp32_vector)
271
+ avail_numel = sum(
272
+ [full_single_fp32_vector.numel() for full_single_fp32_vector in merged_single_partition_of_fp32_groups])
273
+
274
+ if debug:
275
+ wanted_params = sum([len(shapes) for shapes in param_shapes])
276
+ wanted_numel = sum([sum(shape.numel() for shape in shapes.values()) for shapes in param_shapes])
277
+ # not asserting if there is a mismatch due to possible padding
278
+ print(f"Have {avail_numel} numels to process.")
279
+ print(f"Need {wanted_numel} numels in {wanted_params} params.")
280
+
281
+ # params
282
+ # XXX: for huge models that can't fit into the host's RAM we will have to recode this to support
283
+ # out-of-core computing solution
284
+ total_numel = 0
285
+ total_params = 0
286
+ for shapes, full_single_fp32_vector in zip(param_shapes, merged_single_partition_of_fp32_groups):
287
+ offset = 0
288
+ avail_numel = full_single_fp32_vector.numel()
289
+ for name, shape in shapes.items():
290
+
291
+ unpartitioned_numel = shape.numel() if _has_callable(shape, 'numel') else math.prod(shape)
292
+ total_numel += unpartitioned_numel
293
+ total_params += 1
294
+
295
+ if debug:
296
+ print(f"{name} full shape: {shape} unpartitioned numel {unpartitioned_numel} ")
297
+ state_dict[name] = full_single_fp32_vector.narrow(0, offset, unpartitioned_numel).view(shape)
298
+ offset += unpartitioned_numel
299
+
300
+ # Z2 started to align to 2*world_size to improve nccl performance. Therefore both offset and
301
+ # avail_numel can differ by anywhere between 0..2*world_size. Due to two unrelated complex
302
+ # paddings performed in the code it's almost impossible to predict the exact numbers w/o the
303
+ # live optimizer object, so we are checking that the numbers are within the right range
304
+ align_to = 2 * world_size
305
+
306
+ def zero2_align(x):
307
+ return align_to * math.ceil(x / align_to)
308
+
309
+ if debug:
310
+ print(f"original offset={offset}, avail_numel={avail_numel}")
311
+
312
+ offset = zero2_align(offset)
313
+ avail_numel = zero2_align(avail_numel)
314
+
315
+ if debug:
316
+ print(f"aligned offset={offset}, avail_numel={avail_numel}")
317
+
318
+ # Sanity check
319
+ if offset != avail_numel:
320
+ raise ValueError(f"consumed {offset} numels out of {avail_numel} - something is wrong")
321
+
322
+ print(f"Reconstructed fp32 state dict with {total_params} params {total_numel} elements")
323
+
324
+
325
+ def _get_fp32_state_dict_from_zero2_checkpoint(world_size, fp32_flat_groups, zero_model_states,
326
+ exclude_frozen_parameters):
327
+ state_dict = OrderedDict()
328
+
329
+ # buffers
330
+ buffers = zero_model_states[0].buffers
331
+ state_dict.update(buffers)
332
+ if debug:
333
+ print(f"added {len(buffers)} buffers")
334
+
335
+ if not exclude_frozen_parameters:
336
+ _zero2_merge_frozen_params(state_dict, zero_model_states)
337
+
338
+ _zero2_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states)
339
+
340
+ # recover shared parameters
341
+ for pair in zero_model_states[0].shared_params:
342
+ if pair[1] in state_dict:
343
+ state_dict[pair[0]] = state_dict[pair[1]]
344
+
345
+ return state_dict
346
+
347
+
348
+ def zero3_partitioned_param_info(unpartitioned_numel, world_size):
349
+ remainder = unpartitioned_numel % world_size
350
+ padding_numel = (world_size - remainder) if remainder else 0
351
+ partitioned_numel = math.ceil(unpartitioned_numel / world_size)
352
+ return partitioned_numel, padding_numel
353
+
354
+
355
+ def _zero3_merge_frozen_params(state_dict, world_size, zero_model_states):
356
+ if zero_model_states[0].frozen_param_shapes is None or len(zero_model_states[0].frozen_param_shapes) == 0:
357
+ return
358
+
359
+ if debug:
360
+ for i in range(world_size):
361
+ num_elem = sum(s.numel() for s in zero_model_states[i].frozen_param_fragments.values())
362
+ print(f'rank {i}: {FROZEN_PARAM_SHAPES}.numel = {num_elem}')
363
+
364
+ frozen_param_shapes = zero_model_states[0].frozen_param_shapes
365
+ wanted_params = len(frozen_param_shapes)
366
+ wanted_numel = sum(s.numel() for s in frozen_param_shapes.values())
367
+ avail_numel = sum([p.numel() for p in zero_model_states[0].frozen_param_fragments.values()]) * world_size
368
+ print(f'Frozen params: Have {avail_numel} numels to process.')
369
+ print(f'Frozen params: Need {wanted_numel} numels in {wanted_params} params')
370
+
371
+ total_params = 0
372
+ total_numel = 0
373
+ for name, shape in zero_model_states[0].frozen_param_shapes.items():
374
+ total_params += 1
375
+ unpartitioned_numel = shape.numel()
376
+ total_numel += unpartitioned_numel
377
+
378
+ param_frags = tuple(model_state.frozen_param_fragments[name] for model_state in zero_model_states)
379
+ state_dict[name] = torch.cat(param_frags, 0).narrow(0, 0, unpartitioned_numel).view(shape)
380
+
381
+ partitioned_numel, partitioned_padding_numel = zero3_partitioned_param_info(unpartitioned_numel, world_size)
382
+
383
+ if debug:
384
+ print(
385
+ f"Frozen params: {total_params} {name} full shape: {shape} partition0 numel={partitioned_numel} partitioned_padding_numel={partitioned_padding_numel}"
386
+ )
387
+
388
+ print(f"Reconstructed Frozen fp32 state dict with {total_params} params {total_numel} elements")
389
+
390
+
391
+ class GatheredTensor:
392
+ """
393
+ A pseudo tensor that collects partitioned weights.
394
+ It is more memory efficient when there are multiple groups.
395
+ """
396
+
397
+ def __init__(self, flat_groups, flat_groups_offset, offset, partitioned_numel, shape):
398
+ self.flat_groups = flat_groups
399
+ self.flat_groups_offset = flat_groups_offset
400
+ self.offset = offset
401
+ self.partitioned_numel = partitioned_numel
402
+ self.shape = shape
403
+ self.dtype = self.flat_groups[0][0].dtype
404
+
405
+ def contiguous(self):
406
+ """
407
+ Merge partitioned weights from flat_groups into a single tensor.
408
+ """
409
+ end_idx = self.offset + self.partitioned_numel
410
+ world_size = len(self.flat_groups)
411
+ pad_flat_param_chunks = []
412
+
413
+ for rank_i in range(world_size):
414
+ # for each rank, we need to collect weights from related group/groups
415
+ flat_groups_at_rank_i = self.flat_groups[rank_i]
416
+ start_group_id = None
417
+ end_group_id = None
418
+ for group_id in range(len(self.flat_groups_offset)):
419
+ if self.flat_groups_offset[group_id] <= self.offset < self.flat_groups_offset[group_id + 1]:
420
+ start_group_id = group_id
421
+ if self.flat_groups_offset[group_id] < end_idx <= self.flat_groups_offset[group_id + 1]:
422
+ end_group_id = group_id
423
+ break
424
+ # collect weights from related group/groups
425
+ for group_id in range(start_group_id, end_group_id + 1):
426
+ flat_tensor = flat_groups_at_rank_i[group_id]
427
+ start_offset = self.offset - self.flat_groups_offset[group_id]
428
+ end_offset = min(end_idx, self.flat_groups_offset[group_id + 1]) - self.flat_groups_offset[group_id]
429
+ pad_flat_param_chunks.append(flat_tensor[start_offset:end_offset])
430
+
431
+ # collect weights from all ranks
432
+ pad_flat_param = torch.cat(pad_flat_param_chunks, dim=0)
433
+ param = pad_flat_param[:self.shape.numel()].view(self.shape).contiguous()
434
+ return param
435
+
436
+
437
+ def _zero3_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states):
438
+ param_shapes = zero_model_states[0].param_shapes
439
+ avail_numel = sum([flat_group.numel() for flat_group in fp32_flat_groups[0]]) * world_size
440
+
441
+ # Reconstruction protocol: For zero3 we need to zip the partitions together at boundary of each
442
+ # param, re-consolidating each param, while dealing with padding if any
443
+
444
+ # merge list of dicts, preserving order
445
+ param_shapes = {k: v for d in param_shapes for k, v in d.items()}
446
+
447
+ if debug:
448
+ for i in range(world_size):
449
+ print(f"{FP32_FLAT_GROUPS}[{i}].shape={fp32_flat_groups[i].shape}")
450
+
451
+ wanted_params = len(param_shapes)
452
+ wanted_numel = sum(shape.numel() for shape in param_shapes.values())
453
+ # not asserting if there is a mismatch due to possible padding
454
+ avail_numel = fp32_flat_groups[0].numel() * world_size
455
+ print(f"Trainable params: Have {avail_numel} numels to process.")
456
+ print(f"Trainable params: Need {wanted_numel} numels in {wanted_params} params.")
457
+
458
+ # params
459
+ # XXX: for huge models that can't fit into the host's RAM we will have to recode this to support
460
+ # out-of-core computing solution
461
+ offset = 0
462
+ total_numel = 0
463
+ total_params = 0
464
+ flat_groups_offset = [0] + list(np.cumsum([flat_tensor.numel() for flat_tensor in fp32_flat_groups[0]]))
465
+ for name, shape in tqdm(param_shapes.items(), desc='Gathering sharded weights'):
466
+ unpartitioned_numel = shape.numel()
467
+ total_numel += unpartitioned_numel
468
+ total_params += 1
469
+ partitioned_numel, partitioned_padding_numel = zero3_partitioned_param_info(unpartitioned_numel, world_size)
470
+
471
+ if debug:
472
+ print(
473
+ f"Trainable params: {total_params} {name} full shape: {shape} partition0 numel={partitioned_numel} partitioned_padding_numel={partitioned_padding_numel}"
474
+ )
475
+
476
+ # memory efficient tensor
477
+ tensor = GatheredTensor(fp32_flat_groups, flat_groups_offset, offset, partitioned_numel, shape)
478
+ state_dict[name] = tensor
479
+ offset += partitioned_numel
480
+
481
+ offset *= world_size
482
+
483
+ # Sanity check
484
+ if offset != avail_numel:
485
+ raise ValueError(f"consumed {offset} numels out of {avail_numel} - something is wrong")
486
+
487
+ print(f"Reconstructed Trainable fp32 state dict with {total_params} params {total_numel} elements")
488
+
489
+
490
+ def _get_fp32_state_dict_from_zero3_checkpoint(world_size, fp32_flat_groups, zero_model_states,
491
+ exclude_frozen_parameters):
492
+ state_dict = OrderedDict()
493
+
494
+ # buffers
495
+ buffers = zero_model_states[0].buffers
496
+ state_dict.update(buffers)
497
+ if debug:
498
+ print(f"added {len(buffers)} buffers")
499
+
500
+ if not exclude_frozen_parameters:
501
+ _zero3_merge_frozen_params(state_dict, world_size, zero_model_states)
502
+
503
+ _zero3_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states)
504
+
505
+ # recover shared parameters
506
+ for pair in zero_model_states[0].shared_params:
507
+ if pair[1] in state_dict:
508
+ state_dict[pair[0]] = state_dict[pair[1]]
509
+
510
+ return state_dict
511
+
512
+
513
+ def to_torch_tensor(state_dict, return_empty_tensor=False):
514
+ """
515
+ Convert state_dict of GatheredTensor to torch tensor
516
+ """
517
+ torch_state_dict = {}
518
+ converted_tensors = {}
519
+ for name, tensor in state_dict.items():
520
+ tensor_id = id(tensor)
521
+ if tensor_id in converted_tensors: # shared tensors
522
+ shared_tensor = torch_state_dict[converted_tensors[tensor_id]]
523
+ torch_state_dict[name] = shared_tensor
524
+ else:
525
+ converted_tensors[tensor_id] = name
526
+ if return_empty_tensor:
527
+ torch_state_dict[name] = torch.empty(tensor.shape, dtype=tensor.dtype)
528
+ else:
529
+ torch_state_dict[name] = tensor.contiguous()
530
+ return torch_state_dict
531
+
532
+
533
+ def get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir,
534
+ tag=None,
535
+ exclude_frozen_parameters=False,
536
+ lazy_mode=False):
537
+ """
538
+ Convert ZeRO 2 or 3 checkpoint into a single fp32 consolidated state_dict that can be loaded with
539
+ ``load_state_dict()`` and used for training without DeepSpeed or shared with others, for example
540
+ via a model hub.
541
+
542
+ Args:
543
+ - ``checkpoint_dir``: path to the desired checkpoint folder
544
+ - ``tag``: checkpoint tag used as a unique identifier for checkpoint. If not provided will attempt to load tag in 'latest' file. e.g., ``global_step14``
545
+ - ``exclude_frozen_parameters``: exclude frozen parameters
546
+ - ``lazy_mode``: get state_dict in lazy mode. It returns a dict of pesduo tensor instead of torch tensor, which is more memory efficient.
547
+ Convert the pesduo tensor to torch tensor by ``.contiguous()``
548
+
549
+ Returns:
550
+ - pytorch ``state_dict``
551
+
552
+ A typical usage might be ::
553
+
554
+ from deepspeed.utils.zero_to_fp32 import get_fp32_state_dict_from_zero_checkpoint
555
+ # do the training and checkpoint saving
556
+ state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir) # already on cpu
557
+ model = model.cpu() # move to cpu
558
+ model.load_state_dict(state_dict)
559
+ # submit to model hub or save the model to share with others
560
+
561
+ In this example the ``model`` will no longer be usable in the deepspeed context of the same
562
+ application. i.e. you will need to re-initialize the deepspeed engine, since
563
+ ``model.load_state_dict(state_dict)`` will remove all the deepspeed magic from it.
564
+
565
+ If you want it all done for you, use ``load_state_dict_from_zero_checkpoint`` instead.
566
+
567
+ Note: the above usage may not work if your application doesn't have sufficient free CPU memory.
568
+ You may need to use the offline approach using the ``zero_to_fp32.py`` script that is saved with
569
+ the checkpoint. Or you can load state_dict in lazy mode ::
570
+
571
+ from deepspeed.utils.zero_to_fp32 import get_fp32_state_dict_from_zero_checkpoint
572
+ state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir, lazy_mode=True) # not on cpu
573
+ for name, lazy_tensor in state_dict.item():
574
+ tensor = lazy_tensor.contiguous() # to cpu
575
+ print(name, tensor)
576
+ # del tensor to release memory if it no longer in use
577
+ """
578
+ if tag is None:
579
+ latest_path = os.path.join(checkpoint_dir, 'latest')
580
+ if os.path.isfile(latest_path):
581
+ with open(latest_path, 'r') as fd:
582
+ tag = fd.read().strip()
583
+ else:
584
+ raise ValueError(f"Unable to find 'latest' file at {latest_path}")
585
+
586
+ ds_checkpoint_dir = os.path.join(checkpoint_dir, tag)
587
+
588
+ if not os.path.isdir(ds_checkpoint_dir):
589
+ raise FileNotFoundError(f"Directory '{ds_checkpoint_dir}' doesn't exist")
590
+
591
+ state_dict = _get_fp32_state_dict_from_zero_checkpoint(ds_checkpoint_dir, exclude_frozen_parameters)
592
+ if lazy_mode:
593
+ return state_dict
594
+ else:
595
+ return to_torch_tensor(state_dict)
596
+
597
+
598
+ def convert_zero_checkpoint_to_fp32_state_dict(checkpoint_dir,
599
+ output_dir,
600
+ max_shard_size="5GB",
601
+ safe_serialization=False,
602
+ tag=None,
603
+ exclude_frozen_parameters=False):
604
+ """
605
+ Convert ZeRO 2 or 3 checkpoint into a single fp32 consolidated ``state_dict`` file that can be
606
+ loaded with ``torch.load(file)`` + ``load_state_dict()`` and used for training without DeepSpeed.
607
+
608
+ Args:
609
+ - ``checkpoint_dir``: path to the desired checkpoint folder. (one that contains the tag-folder, like ``global_step14``)
610
+ - ``output_dir``: directory to the pytorch fp32 state_dict output files
611
+ - ``max_shard_size``: the maximum size for a checkpoint before being sharded, default value is 5GB
612
+ - ``safe_serialization``: whether to save the model using `safetensors` or the traditional PyTorch way (that uses `pickle`).
613
+ - ``tag``: checkpoint tag used as a unique identifier for checkpoint. If not provided will attempt to load tag in the file named ``latest`` in the checkpoint folder, e.g., ``global_step14``
614
+ - ``exclude_frozen_parameters``: exclude frozen parameters
615
+ """
616
+
617
+ # Dependency pre-check
618
+ if safe_serialization:
619
+ try:
620
+ from safetensors.torch import save_file
621
+ except ImportError:
622
+ print('If you want to use `safe_serialization`, please `pip install safetensors`')
623
+ raise
624
+ if max_shard_size is not None:
625
+ try:
626
+ from huggingface_hub import split_torch_state_dict_into_shards
627
+ except ImportError:
628
+ print('If you want to use `max_shard_size`, please `pip install huggingface_hub`')
629
+ raise
630
+
631
+ # Convert zero checkpoint to state_dict
632
+ state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir,
633
+ tag,
634
+ exclude_frozen_parameters,
635
+ lazy_mode=True)
636
+
637
+ # Shard the model if it is too big.
638
+ weights_name = "model.safetensors" if safe_serialization else "pytorch_model.bin"
639
+ if max_shard_size is not None:
640
+ filename_pattern = weights_name.replace(".bin", "{suffix}.bin").replace(".safetensors", "{suffix}.safetensors")
641
+ # an memory-efficient approach for sharding
642
+ empty_state_dict = to_torch_tensor(state_dict, return_empty_tensor=True)
643
+ state_dict_split = split_torch_state_dict_into_shards(empty_state_dict,
644
+ filename_pattern=filename_pattern,
645
+ max_shard_size=max_shard_size)
646
+ else:
647
+ from collections import namedtuple
648
+ StateDictSplit = namedtuple("StateDictSplit", ["is_sharded", "filename_to_tensors"])
649
+ state_dict_split = StateDictSplit(is_sharded=False,
650
+ filename_to_tensors={weights_name: list(state_dict.keys())})
651
+
652
+ # Save the model by shard
653
+ os.makedirs(output_dir, exist_ok=True)
654
+ filename_to_tensors = state_dict_split.filename_to_tensors.items()
655
+ for shard_file, tensors in tqdm(filename_to_tensors, desc="Saving checkpoint shards"):
656
+ shard_state_dict = {tensor_name: state_dict[tensor_name] for tensor_name in tensors}
657
+ shard_state_dict = to_torch_tensor(shard_state_dict)
658
+ output_path = os.path.join(output_dir, shard_file)
659
+ if safe_serialization:
660
+ save_file(shard_state_dict, output_path, metadata={"format": "pt"})
661
+ else:
662
+ torch.save(shard_state_dict, output_path)
663
+ # release the memory of current shard
664
+ for tensor_name in list(shard_state_dict.keys()):
665
+ del state_dict[tensor_name]
666
+ del shard_state_dict[tensor_name]
667
+ del shard_state_dict
668
+ gc.collect()
669
+
670
+ # Save index if sharded
671
+ if state_dict_split.is_sharded:
672
+ index = {
673
+ "metadata": state_dict_split.metadata,
674
+ "weight_map": state_dict_split.tensor_to_filename,
675
+ }
676
+ save_index_file = "model.safetensors.index.json" if safe_serialization else "pytorch_model.bin.index.json"
677
+ save_index_file = os.path.join(output_dir, save_index_file)
678
+ with open(save_index_file, "w", encoding="utf-8") as f:
679
+ content = json.dumps(index, indent=2, sort_keys=True) + "\n"
680
+ f.write(content)
681
+
682
+
683
+ def load_state_dict_from_zero_checkpoint(model, checkpoint_dir, tag=None):
684
+ """
685
+ 1. Put the provided model to cpu
686
+ 2. Convert ZeRO 2 or 3 checkpoint into a single fp32 consolidated ``state_dict``
687
+ 3. Load it into the provided model
688
+
689
+ Args:
690
+ - ``model``: the model object to update
691
+ - ``checkpoint_dir``: path to the desired checkpoint folder. (one that contains the tag-folder, like ``global_step14``)
692
+ - ``tag``: checkpoint tag used as a unique identifier for checkpoint. If not provided will attempt to load tag in the file named ``latest`` in the checkpoint folder, e.g., ``global_step14``
693
+
694
+ Returns:
695
+ - ``model`: modified model
696
+
697
+ Make sure you have plenty of CPU memory available before you call this function. If you don't
698
+ have enough use the ``zero_to_fp32.py`` utility to do the conversion. You will find it
699
+ conveniently placed for you in the checkpoint folder.
700
+
701
+ A typical usage might be ::
702
+
703
+ from deepspeed.utils.zero_to_fp32 import load_state_dict_from_zero_checkpoint
704
+ model = load_state_dict_from_zero_checkpoint(trainer.model, checkpoint_dir)
705
+ # submit to model hub or save the model to share with others
706
+
707
+ Note, that once this was run, the ``model`` will no longer be usable in the deepspeed context
708
+ of the same application. i.e. you will need to re-initialize the deepspeed engine, since
709
+ ``model.load_state_dict(state_dict)`` will remove all the deepspeed magic from it.
710
+
711
+ """
712
+ logger.info("Extracting fp32 weights")
713
+ state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir, tag)
714
+
715
+ logger.info("Overwriting model with fp32 weights")
716
+ model = model.cpu()
717
+ model.load_state_dict(state_dict, strict=False)
718
+
719
+ return model
720
+
721
+
722
+ if __name__ == "__main__":
723
+ parser = argparse.ArgumentParser()
724
+ parser.add_argument("checkpoint_dir",
725
+ type=str,
726
+ help="path to the desired checkpoint folder, e.g., path/checkpoint-12")
727
+ parser.add_argument("output_dir",
728
+ type=str,
729
+ help="directory to the pytorch fp32 state_dict output files"
730
+ "(e.g. path/checkpoint-12-output/)")
731
+ parser.add_argument(
732
+ "--max_shard_size",
733
+ type=str,
734
+ default="5GB",
735
+ help="The maximum size for a checkpoint before being sharded. Checkpoints shard will then be each of size"
736
+ "lower than this size. If expressed as a string, needs to be digits followed by a unit (like `5MB`"
737
+ "We default it to 5GB in order for models to be able to run easily on free-tier google colab instances"
738
+ "without CPU OOM issues.")
739
+ parser.add_argument(
740
+ "--safe_serialization",
741
+ default=False,
742
+ action='store_true',
743
+ help="Whether to save the model using `safetensors` or the traditional PyTorch way (that uses `pickle`).")
744
+ parser.add_argument("-t",
745
+ "--tag",
746
+ type=str,
747
+ default=None,
748
+ help="checkpoint tag used as a unique identifier for checkpoint. e.g., global_step1")
749
+ parser.add_argument("--exclude_frozen_parameters", action='store_true', help="exclude frozen parameters")
750
+ parser.add_argument("-d", "--debug", action='store_true', help="enable debug")
751
+ args = parser.parse_args()
752
+
753
+ debug = args.debug
754
+
755
+ convert_zero_checkpoint_to_fp32_state_dict(args.checkpoint_dir,
756
+ args.output_dir,
757
+ max_shard_size=args.max_shard_size,
758
+ safe_serialization=args.safe_serialization,
759
+ tag=args.tag,
760
+ exclude_frozen_parameters=args.exclude_frozen_parameters)
video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-400/args.json ADDED
@@ -0,0 +1,376 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "output_dir": "/mnt/bn/strategy-mllm-train/user/wangjunjie/code/xiaomoguhzz/exps/video_mllm_swift/s2_image_only_10pct/v1-20260316-135215",
3
+ "per_device_train_batch_size": 1,
4
+ "num_train_epochs": 3.0,
5
+ "max_steps": 500,
6
+ "learning_rate": 1e-05,
7
+ "lr_scheduler_type": "cosine",
8
+ "lr_scheduler_kwargs": null,
9
+ "warmup_steps": 0,
10
+ "optim": "adamw_torch_fused",
11
+ "optim_args": null,
12
+ "weight_decay": 0.1,
13
+ "adam_beta1": 0.9,
14
+ "adam_beta2": 0.95,
15
+ "adam_epsilon": 1e-08,
16
+ "optim_target_modules": null,
17
+ "gradient_accumulation_steps": 8,
18
+ "average_tokens_across_devices": true,
19
+ "max_grad_norm": 1.0,
20
+ "label_smoothing_factor": 0.0,
21
+ "bf16": true,
22
+ "fp16": false,
23
+ "bf16_full_eval": false,
24
+ "fp16_full_eval": false,
25
+ "tf32": null,
26
+ "gradient_checkpointing": true,
27
+ "gradient_checkpointing_kwargs": "{\"use_reentrant\": false}",
28
+ "torch_compile": false,
29
+ "torch_compile_backend": null,
30
+ "torch_compile_mode": null,
31
+ "use_liger_kernel": false,
32
+ "liger_kernel_config": null,
33
+ "use_cache": false,
34
+ "neftune_noise_alpha": null,
35
+ "torch_empty_cache_steps": null,
36
+ "auto_find_batch_size": false,
37
+ "logging_strategy": "steps",
38
+ "logging_steps": 1,
39
+ "logging_first_step": true,
40
+ "log_on_each_node": true,
41
+ "logging_nan_inf_filter": true,
42
+ "include_num_input_tokens_seen": false,
43
+ "log_level": "passive",
44
+ "log_level_replica": "warning",
45
+ "disable_tqdm": null,
46
+ "report_to": [
47
+ "none"
48
+ ],
49
+ "run_name": "/mnt/bn/strategy-mllm-train/user/wangjunjie/code/xiaomoguhzz/exps/video_mllm_swift/s2_image_only_10pct/v1-20260316-135215",
50
+ "project": "huggingface",
51
+ "trackio_space_id": "trackio",
52
+ "eval_strategy": "no",
53
+ "eval_steps": 100.0,
54
+ "eval_delay": 0,
55
+ "per_device_eval_batch_size": 1,
56
+ "prediction_loss_only": false,
57
+ "eval_on_start": false,
58
+ "eval_do_concat_batches": true,
59
+ "eval_use_gather_object": false,
60
+ "eval_accumulation_steps": null,
61
+ "include_for_metrics": [],
62
+ "batch_eval_metrics": false,
63
+ "save_only_model": false,
64
+ "save_strategy": "steps",
65
+ "save_steps": 100.0,
66
+ "save_on_each_node": false,
67
+ "save_total_limit": 2,
68
+ "enable_jit_checkpoint": false,
69
+ "push_to_hub": false,
70
+ "hub_token": null,
71
+ "hub_private_repo": null,
72
+ "hub_model_id": null,
73
+ "hub_strategy": "every_save",
74
+ "hub_always_push": false,
75
+ "hub_revision": null,
76
+ "load_best_model_at_end": false,
77
+ "metric_for_best_model": "loss",
78
+ "greater_is_better": false,
79
+ "ignore_data_skip": false,
80
+ "restore_callback_states_from_checkpoint": false,
81
+ "full_determinism": false,
82
+ "seed": 42,
83
+ "data_seed": 42,
84
+ "use_cpu": false,
85
+ "accelerator_config": "{\"dispatch_batches\": false}",
86
+ "parallelism_config": null,
87
+ "dataloader_drop_last": false,
88
+ "dataloader_num_workers": 4,
89
+ "dataloader_pin_memory": true,
90
+ "dataloader_persistent_workers": false,
91
+ "dataloader_prefetch_factor": 4,
92
+ "remove_unused_columns": true,
93
+ "label_names": null,
94
+ "train_sampling_strategy": "random",
95
+ "length_column_name": "length",
96
+ "ddp_find_unused_parameters": null,
97
+ "ddp_bucket_cap_mb": null,
98
+ "ddp_broadcast_buffers": null,
99
+ "ddp_backend": null,
100
+ "ddp_timeout": 7200,
101
+ "fsdp": [],
102
+ "fsdp_config": null,
103
+ "deepspeed": {
104
+ "fp16": {
105
+ "enabled": "auto",
106
+ "loss_scale": 0,
107
+ "loss_scale_window": 1000,
108
+ "initial_scale_power": 16,
109
+ "hysteresis": 2,
110
+ "min_loss_scale": 1
111
+ },
112
+ "bf16": {
113
+ "enabled": "auto"
114
+ },
115
+ "zero_optimization": {
116
+ "stage": 2,
117
+ "offload_optimizer": {
118
+ "device": "none",
119
+ "pin_memory": true
120
+ },
121
+ "allgather_partitions": true,
122
+ "allgather_bucket_size": 200000000.0,
123
+ "overlap_comm": false,
124
+ "reduce_scatter": true,
125
+ "reduce_bucket_size": 200000000.0,
126
+ "contiguous_gradients": true
127
+ },
128
+ "gradient_accumulation_steps": "auto",
129
+ "gradient_clipping": "auto",
130
+ "steps_per_print": 2000,
131
+ "train_batch_size": "auto",
132
+ "train_micro_batch_size_per_gpu": "auto",
133
+ "wall_clock_breakdown": false
134
+ },
135
+ "debug": null,
136
+ "skip_memory_metrics": true,
137
+ "do_train": false,
138
+ "do_eval": false,
139
+ "do_predict": false,
140
+ "resume_from_checkpoint": null,
141
+ "warmup_ratio": 0.05,
142
+ "logging_dir": "/mnt/bn/strategy-mllm-train/user/wangjunjie/code/xiaomoguhzz/exps/video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/runs",
143
+ "local_rank": 0,
144
+ "sortish_sampler": false,
145
+ "predict_with_generate": false,
146
+ "generation_max_length": null,
147
+ "generation_num_beams": null,
148
+ "generation_config": null,
149
+ "tuner_backend": "peft",
150
+ "vit_gradient_checkpointing": null,
151
+ "router_aux_loss_coef": 0.0,
152
+ "enable_dft_loss": false,
153
+ "enable_channel_loss": false,
154
+ "safe_serialization": true,
155
+ "max_shard_size": "5GB",
156
+ "check_model": true,
157
+ "acc_strategy": "token",
158
+ "train_dataloader_shuffle": true,
159
+ "group_by_length": false,
160
+ "max_epochs": null,
161
+ "aligner_lr": null,
162
+ "vit_lr": 1e-06,
163
+ "use_logits_to_keep": null,
164
+ "ds3_gather_for_generation": true,
165
+ "resume_only_model": false,
166
+ "optimizer": null,
167
+ "loss_type": null,
168
+ "eval_metric": null,
169
+ "callbacks": [],
170
+ "early_stop_interval": null,
171
+ "eval_use_evalscope": false,
172
+ "eval_dataset": [],
173
+ "eval_dataset_args": null,
174
+ "eval_limit": null,
175
+ "eval_generation_config": null,
176
+ "extra_eval_args": null,
177
+ "tuner_type": "full",
178
+ "use_galore": false,
179
+ "galore_target_modules": null,
180
+ "galore_rank": 128,
181
+ "galore_update_proj_gap": 50,
182
+ "galore_scale": 1.0,
183
+ "galore_proj_type": "std",
184
+ "galore_optim_per_parameter": false,
185
+ "galore_with_embedding": false,
186
+ "galore_quantization": false,
187
+ "galore_proj_quant": false,
188
+ "galore_proj_bits": 4,
189
+ "galore_proj_group_size": 256,
190
+ "galore_cos_threshold": 0.4,
191
+ "galore_gamma_proj": 2,
192
+ "galore_queue_size": 5,
193
+ "lisa_activated_layers": 0,
194
+ "lisa_step_interval": 20,
195
+ "use_flash_ckpt": false,
196
+ "use_ray": false,
197
+ "ray_exp_name": null,
198
+ "device_groups": null,
199
+ "model": "/opt/tiger/model_cache/checkpoint-2181",
200
+ "model_type": "llava_siglip2_qwen3",
201
+ "model_revision": null,
202
+ "task_type": "causal_lm",
203
+ "torch_dtype": "bfloat16",
204
+ "attn_impl": "flash_attn",
205
+ "experts_impl": null,
206
+ "new_special_tokens": [],
207
+ "num_labels": null,
208
+ "problem_type": null,
209
+ "rope_scaling": null,
210
+ "device_map": null,
211
+ "max_memory": {},
212
+ "max_model_len": null,
213
+ "local_repo_path": null,
214
+ "init_strategy": null,
215
+ "template": "llava_siglip2_qwen3",
216
+ "system": null,
217
+ "max_length": 16384,
218
+ "truncation_strategy": "delete",
219
+ "max_pixels": null,
220
+ "agent_template": null,
221
+ "norm_bbox": null,
222
+ "use_chat_template": true,
223
+ "padding_side": "right",
224
+ "padding_free": true,
225
+ "loss_scale": "default",
226
+ "sequence_parallel_size": 1,
227
+ "template_backend": "swift",
228
+ "response_prefix": null,
229
+ "enable_thinking": null,
230
+ "add_non_thinking_prefix": true,
231
+ "dataset": [],
232
+ "val_dataset": [],
233
+ "cached_dataset": [
234
+ "/mnt/bn/strategy-mllm-train/common/datasets/vmllm_cached/image_10pct/train"
235
+ ],
236
+ "cached_val_dataset": [],
237
+ "split_dataset_ratio": 0.0,
238
+ "dataset_num_proc": 1,
239
+ "load_from_cache_file": false,
240
+ "dataset_shuffle": true,
241
+ "val_dataset_shuffle": false,
242
+ "streaming": false,
243
+ "interleave_prob": null,
244
+ "stopping_strategy": "first_exhausted",
245
+ "shuffle_buffer_size": 1000,
246
+ "download_mode": "reuse_dataset_if_exists",
247
+ "columns": {},
248
+ "strict": false,
249
+ "model_name": null,
250
+ "model_author": null,
251
+ "custom_dataset_info": [],
252
+ "quant_method": null,
253
+ "quant_bits": null,
254
+ "hqq_axis": null,
255
+ "bnb_4bit_compute_dtype": "bfloat16",
256
+ "bnb_4bit_quant_type": "nf4",
257
+ "bnb_4bit_use_double_quant": true,
258
+ "bnb_4bit_quant_storage": null,
259
+ "max_new_tokens": 64,
260
+ "temperature": 0.0,
261
+ "top_k": null,
262
+ "top_p": null,
263
+ "repetition_penalty": null,
264
+ "num_beams": 1,
265
+ "stream": false,
266
+ "stop_words": [],
267
+ "logprobs": false,
268
+ "top_logprobs": null,
269
+ "structured_outputs_regex": null,
270
+ "train_type": null,
271
+ "adapters": [],
272
+ "external_plugins": [
273
+ "video_mllm/model_plugin.py",
274
+ "video_mllm/dataset_plugin.py"
275
+ ],
276
+ "custom_register_path": [],
277
+ "model_kwargs": {},
278
+ "load_args": false,
279
+ "load_data_args": false,
280
+ "packing": true,
281
+ "packing_length": 16384,
282
+ "packing_num_proc": 1,
283
+ "lazy_tokenize": false,
284
+ "use_hf": true,
285
+ "ignore_args_error": false,
286
+ "use_swift_lora": false,
287
+ "freeze_parameters": [],
288
+ "freeze_parameters_regex": null,
289
+ "freeze_parameters_ratio": 0.0,
290
+ "trainable_parameters": [
291
+ "model.multi_modal_projector"
292
+ ],
293
+ "trainable_parameters_regex": null,
294
+ "freeze_llm": false,
295
+ "freeze_vit": false,
296
+ "freeze_aligner": false,
297
+ "target_modules": [
298
+ "all-linear"
299
+ ],
300
+ "target_regex": null,
301
+ "target_parameters": null,
302
+ "modules_to_save": [],
303
+ "lora_rank": 8,
304
+ "lora_alpha": 32,
305
+ "lora_dropout": 0.05,
306
+ "lora_bias": "none",
307
+ "lora_dtype": null,
308
+ "lorap_lr_ratio": null,
309
+ "use_rslora": false,
310
+ "use_dora": false,
311
+ "lora_ga_batch_size": 2,
312
+ "lora_ga_iters": 2,
313
+ "lora_ga_max_length": 1024,
314
+ "lora_ga_direction": "ArB2r",
315
+ "lora_ga_scale": "stable",
316
+ "lora_ga_stable_gamma": 16,
317
+ "init_weights": true,
318
+ "fourier_n_frequency": 2000,
319
+ "fourier_scaling": 300.0,
320
+ "boft_block_size": 4,
321
+ "boft_block_num": 0,
322
+ "boft_n_butterfly_factor": 1,
323
+ "boft_dropout": 0.0,
324
+ "vera_rank": 256,
325
+ "vera_projection_prng_key": 0,
326
+ "vera_dropout": 0.0,
327
+ "vera_d_initial": 0.1,
328
+ "adapter_act": "gelu",
329
+ "adapter_length": 128,
330
+ "adalora_target_r": 8,
331
+ "adalora_init_r": 12,
332
+ "adalora_tinit": 0,
333
+ "adalora_tfinal": 0,
334
+ "adalora_deltaT": 1,
335
+ "adalora_beta1": 0.85,
336
+ "adalora_beta2": 0.85,
337
+ "adalora_orth_reg_weight": 0.5,
338
+ "llamapro_num_new_blocks": 4,
339
+ "llamapro_num_groups": null,
340
+ "reft_layer_key": null,
341
+ "reft_layers": null,
342
+ "reft_rank": 4,
343
+ "reft_intervention_type": "LoreftIntervention",
344
+ "reft_args": null,
345
+ "swanlab_token": null,
346
+ "swanlab_project": "ms-swift",
347
+ "swanlab_workspace": null,
348
+ "swanlab_exp_name": null,
349
+ "swanlab_notification_method": null,
350
+ "swanlab_webhook_url": null,
351
+ "swanlab_secret": null,
352
+ "swanlab_sender_email": null,
353
+ "swanlab_receiver_email": null,
354
+ "swanlab_smtp_server": null,
355
+ "swanlab_smtp_port": null,
356
+ "swanlab_email_language": "zh",
357
+ "swanlab_mode": "cloud",
358
+ "add_version": true,
359
+ "create_checkpoint_symlink": false,
360
+ "zero_hpz_partition_size": null,
361
+ "deepspeed_autotp_size": null,
362
+ "swift_version": "4.1.0.dev0",
363
+ "ckpt_dir": "/opt/tiger/model_cache/checkpoint-2181",
364
+ "rank": 0,
365
+ "global_world_size": 8,
366
+ "local_world_size": 8,
367
+ "model_suffix": "checkpoint-2181",
368
+ "model_info": "ModelInfo(model_type='llava_siglip2_qwen3', model_dir='/opt/tiger/model_cache/checkpoint-2181', torch_dtype=torch.bfloat16, max_model_len=40960, quant_method=None, quant_bits=None, rope_scaling=None, is_moe_model=False, is_multimodal=True, config=None, task_type='causal_lm', num_labels=None)",
369
+ "model_meta": "ModelMeta(model_type='llava_siglip2_qwen3', model_groups=[ModelGroup(models=[Model(ms_model_id='Qwen/Qwen3-0.6B', hf_model_id='Qwen/Qwen3-0.6B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-1.7B', hf_model_id='Qwen/Qwen3-1.7B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-4B', hf_model_id='Qwen/Qwen3-4B', model_path=None, ms_revision=None, hf_revision=None)], template=None, ignore_patterns=None, requires=None, tags=[])], loader=<class 'model_plugin.SigLIP2Qwen3Loader'>, template='llava_siglip2_qwen3', model_arch=MultiModelKeys(arch_name='llava_hf', 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.multi_modal_projector'], vision_tower=['model.vision_tower'], generator=[]), architectures=['LlavaOnevisionForConditionalGeneration'], additional_saved_files=[], torch_dtype=None, is_multimodal=True, is_reward=False, task_type=None, ignore_patterns=None, requires=[], tags=['vision', 'video'])",
370
+ "model_dir": "/opt/tiger/model_cache/checkpoint-2181",
371
+ "template_meta": "QwenTemplateMeta(template_type='llava_siglip2_qwen3', prefix=[], prompt=['<|im_start|>user\\n{{QUERY}}<|im_end|>\\n<|im_start|>assistant\\n'], chat_sep=['<|im_end|>\\n'], suffix=['<|im_end|>\\n'], template_cls=<class 'model_plugin.SigLIP2LlavaTemplate'>, system_prefix=['<|im_start|>system\\n{{SYSTEM}}<|im_end|>\\n'], default_system=None, auto_add_bos=False, stop_words=['<|endoftext|>'], agent_template='hermes', is_thinking=False, thinking_prefix='', non_thinking_prefix='', history_thinking_prefix='')",
372
+ "_val_dataset_exists": false,
373
+ "hub": "<class 'swift.hub.hub.HFHub'>",
374
+ "evaluation_strategy": "steps",
375
+ "training_args": "Seq2SeqTrainingArguments(output_dir='/mnt/bn/strategy-mllm-train/user/wangjunjie/code/xiaomoguhzz/exps/video_mllm_swift/s2_image_only_10pct/v1-20260316-135215', per_device_train_batch_size=1, num_train_epochs=3.0, max_steps=500, learning_rate=1e-05, lr_scheduler_type=<SchedulerType.COSINE: 'cosine'>, lr_scheduler_kwargs=None, warmup_steps=0.05, optim=<OptimizerNames.ADAMW_TORCH_FUSED: 'adamw_torch_fused'>, optim_args=None, weight_decay=0.1, adam_beta1=0.9, adam_beta2=0.95, adam_epsilon=1e-08, optim_target_modules=None, gradient_accumulation_steps=8, average_tokens_across_devices=None, max_grad_norm=1.0, label_smoothing_factor=0.0, bf16=True, fp16=False, bf16_full_eval=False, fp16_full_eval=False, tf32=None, gradient_checkpointing=True, gradient_checkpointing_kwargs={'use_reentrant': False}, torch_compile=False, torch_compile_backend=None, torch_compile_mode=None, use_liger_kernel=False, liger_kernel_config=None, use_cache=False, neftune_noise_alpha=None, torch_empty_cache_steps=None, auto_find_batch_size=False, logging_strategy=<IntervalStrategy.STEPS: 'steps'>, logging_steps=1, logging_first_step=True, log_on_each_node=True, logging_nan_inf_filter=True, include_num_input_tokens_seen=None, log_level='passive', log_level_replica='warning', disable_tqdm=False, report_to=[], run_name='/mnt/bn/strategy-mllm-train/user/wangjunjie/code/xiaomoguhzz/exps/video_mllm_swift/s2_image_only_10pct/v1-20260316-135215', project='huggingface', trackio_space_id='trackio', eval_strategy=<IntervalStrategy.NO: 'no'>, eval_steps=100.0, eval_delay=0, per_device_eval_batch_size=1, prediction_loss_only=False, eval_on_start=False, eval_do_concat_batches=True, eval_use_gather_object=False, eval_accumulation_steps=None, include_for_metrics=[], batch_eval_metrics=False, save_only_model=False, save_strategy=<SaveStrategy.STEPS: 'steps'>, save_steps=100, save_on_each_node=False, save_total_limit=2, enable_jit_checkpoint=False, push_to_hub=False, hub_token=None, hub_private_repo=None, hub_model_id=None, hub_strategy=<HubStrategy.EVERY_SAVE: 'every_save'>, hub_always_push=False, hub_revision=None, load_best_model_at_end=False, metric_for_best_model='loss', greater_is_better=False, ignore_data_skip=False, restore_callback_states_from_checkpoint=False, full_determinism=False, seed=42, data_seed=42, use_cpu=False, accelerator_config=AcceleratorConfig(split_batches=False, dispatch_batches=False, even_batches=True, use_seedable_sampler=True, non_blocking=False, gradient_accumulation_kwargs=None, use_configured_state=False), parallelism_config=None, dataloader_drop_last=False, dataloader_num_workers=4, dataloader_pin_memory=True, dataloader_persistent_workers=False, dataloader_prefetch_factor=4, remove_unused_columns=False, label_names=None, train_sampling_strategy='random', length_column_name='length', ddp_find_unused_parameters=None, ddp_bucket_cap_mb=None, ddp_broadcast_buffers=None, ddp_backend=None, ddp_timeout=7200, fsdp=[], fsdp_config={'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}, deepspeed={'fp16': {'enabled': 'auto', 'loss_scale': 0, 'loss_scale_window': 1000, 'initial_scale_power': 16, 'hysteresis': 2, 'min_loss_scale': 1}, 'bf16': {'enabled': 'auto'}, 'zero_optimization': {'stage': 2, 'offload_optimizer': {'device': 'none', 'pin_memory': True}, 'allgather_partitions': True, 'allgather_bucket_size': 200000000.0, 'overlap_comm': False, 'reduce_scatter': True, 'reduce_bucket_size': 200000000.0, 'contiguous_gradients': True}, 'gradient_accumulation_steps': 'auto', 'gradient_clipping': 'auto', 'steps_per_print': 2000, 'train_batch_size': 'auto', 'train_micro_batch_size_per_gpu': 'auto', 'wall_clock_breakdown': False}, debug=[], skip_memory_metrics=True, do_train=False, do_eval=False, do_predict=False, resume_from_checkpoint=None, warmup_ratio=0.05, logging_dir='/mnt/bn/strategy-mllm-train/user/wangjunjie/code/xiaomoguhzz/exps/video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/runs', local_rank=0, sortish_sampler=False, predict_with_generate=False, generation_max_length=None, generation_num_beams=None, generation_config=None, tuner_backend='peft', vit_gradient_checkpointing=True, router_aux_loss_coef=0.0, enable_dft_loss=False, enable_channel_loss=False, safe_serialization=True, max_shard_size='5GB', check_model=True, acc_strategy='token', train_dataloader_shuffle=True, group_by_length=False, max_epochs=None, aligner_lr=None, vit_lr=1e-06, use_logits_to_keep=None, ds3_gather_for_generation=True, resume_only_model=False, optimizer='multimodal', loss_type=None, eval_metric=None, callbacks=[], early_stop_interval=None, eval_use_evalscope=False, eval_dataset=[], eval_dataset_args=None, eval_limit=None, eval_generation_config=None, extra_eval_args=None, tuner_type='full', use_galore=False, galore_target_modules=None, galore_rank=128, galore_update_proj_gap=50, galore_scale=1.0, galore_proj_type='std', galore_optim_per_parameter=False, galore_with_embedding=False, galore_quantization=False, galore_proj_quant=False, galore_proj_bits=4, galore_proj_group_size=256, galore_cos_threshold=0.4, galore_gamma_proj=2, galore_queue_size=5, lisa_activated_layers=0, lisa_step_interval=20, use_flash_ckpt=False)"
376
+ }
video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-400/chat_template.jinja ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- if tools %}
2
+ {{- '<|im_start|>system\n' }}
3
+ {%- if messages[0].role == 'system' %}
4
+ {{- messages[0].content + '\n\n' }}
5
+ {%- endif %}
6
+ {{- "# 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>" }}
7
+ {%- for tool in tools %}
8
+ {{- "\n" }}
9
+ {{- tool | tojson }}
10
+ {%- endfor %}
11
+ {{- "\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" }}
12
+ {%- else %}
13
+ {%- if messages[0].role == 'system' %}
14
+ {{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }}
15
+ {%- endif %}
16
+ {%- endif %}
17
+ {%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
18
+ {%- for message in messages[::-1] %}
19
+ {%- set index = (messages|length - 1) - loop.index0 %}
20
+ {%- if ns.multi_step_tool and message.role == "user" and message.content is string and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %}
21
+ {%- set ns.multi_step_tool = false %}
22
+ {%- set ns.last_query_index = index %}
23
+ {%- endif %}
24
+ {%- endfor %}
25
+ {%- for message in messages %}
26
+ {%- if message.content is string %}
27
+ {%- set content = message.content %}
28
+ {%- else %}
29
+ {%- set content = '' %}
30
+ {%- endif %}
31
+ {%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
32
+ {{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
33
+ {%- elif message.role == "assistant" %}
34
+ {%- set reasoning_content = '' %}
35
+ {%- if message.reasoning_content is string %}
36
+ {%- set reasoning_content = message.reasoning_content %}
37
+ {%- else %}
38
+ {%- if '</think>' in content %}
39
+ {%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
40
+ {%- set content = content.split('</think>')[-1].lstrip('\n') %}
41
+ {%- endif %}
42
+ {%- endif %}
43
+ {%- if loop.index0 > ns.last_query_index %}
44
+ {%- if loop.last or (not loop.last and reasoning_content) %}
45
+ {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }}
46
+ {%- else %}
47
+ {{- '<|im_start|>' + message.role + '\n' + content }}
48
+ {%- endif %}
49
+ {%- else %}
50
+ {{- '<|im_start|>' + message.role + '\n' + content }}
51
+ {%- endif %}
52
+ {%- if message.tool_calls %}
53
+ {%- for tool_call in message.tool_calls %}
54
+ {%- if (loop.first and content) or (not loop.first) %}
55
+ {{- '\n' }}
56
+ {%- endif %}
57
+ {%- if tool_call.function %}
58
+ {%- set tool_call = tool_call.function %}
59
+ {%- endif %}
60
+ {{- '<tool_call>\n{"name": "' }}
61
+ {{- tool_call.name }}
62
+ {{- '", "arguments": ' }}
63
+ {%- if tool_call.arguments is string %}
64
+ {{- tool_call.arguments }}
65
+ {%- else %}
66
+ {{- tool_call.arguments | tojson }}
67
+ {%- endif %}
68
+ {{- '}\n</tool_call>' }}
69
+ {%- endfor %}
70
+ {%- endif %}
71
+ {{- '<|im_end|>\n' }}
72
+ {%- elif message.role == "tool" %}
73
+ {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
74
+ {{- '<|im_start|>user' }}
75
+ {%- endif %}
76
+ {{- '\n<tool_response>\n' }}
77
+ {{- content }}
78
+ {{- '\n</tool_response>' }}
79
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
80
+ {{- '<|im_end|>\n' }}
81
+ {%- endif %}
82
+ {%- endif %}
83
+ {%- endfor %}
84
+ {%- if add_generation_prompt %}
85
+ {{- '<|im_start|>assistant\n' }}
86
+ {%- if enable_thinking is defined and enable_thinking is false %}
87
+ {{- '<think>\n\n</think>\n\n' }}
88
+ {%- endif %}
89
+ {%- endif %}
video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-400/config.json ADDED
@@ -0,0 +1,248 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "LlavaOnevisionForConditionalGeneration"
4
+ ],
5
+ "bos_token_id": null,
6
+ "dtype": "bfloat16",
7
+ "eos_token_id": 151645,
8
+ "hidden_size": 2048,
9
+ "image_grid_pinpoints": [
10
+ [
11
+ 384,
12
+ 384
13
+ ],
14
+ [
15
+ 384,
16
+ 768
17
+ ],
18
+ [
19
+ 384,
20
+ 1152
21
+ ],
22
+ [
23
+ 384,
24
+ 1536
25
+ ],
26
+ [
27
+ 384,
28
+ 1920
29
+ ],
30
+ [
31
+ 384,
32
+ 2304
33
+ ],
34
+ [
35
+ 768,
36
+ 384
37
+ ],
38
+ [
39
+ 768,
40
+ 768
41
+ ],
42
+ [
43
+ 768,
44
+ 1152
45
+ ],
46
+ [
47
+ 768,
48
+ 1536
49
+ ],
50
+ [
51
+ 768,
52
+ 1920
53
+ ],
54
+ [
55
+ 768,
56
+ 2304
57
+ ],
58
+ [
59
+ 1152,
60
+ 384
61
+ ],
62
+ [
63
+ 1152,
64
+ 768
65
+ ],
66
+ [
67
+ 1152,
68
+ 1152
69
+ ],
70
+ [
71
+ 1152,
72
+ 1536
73
+ ],
74
+ [
75
+ 1152,
76
+ 1920
77
+ ],
78
+ [
79
+ 1152,
80
+ 2304
81
+ ],
82
+ [
83
+ 1536,
84
+ 384
85
+ ],
86
+ [
87
+ 1536,
88
+ 768
89
+ ],
90
+ [
91
+ 1536,
92
+ 1152
93
+ ],
94
+ [
95
+ 1536,
96
+ 1536
97
+ ],
98
+ [
99
+ 1536,
100
+ 1920
101
+ ],
102
+ [
103
+ 1536,
104
+ 2304
105
+ ],
106
+ [
107
+ 1920,
108
+ 384
109
+ ],
110
+ [
111
+ 1920,
112
+ 768
113
+ ],
114
+ [
115
+ 1920,
116
+ 1152
117
+ ],
118
+ [
119
+ 1920,
120
+ 1536
121
+ ],
122
+ [
123
+ 1920,
124
+ 1920
125
+ ],
126
+ [
127
+ 1920,
128
+ 2304
129
+ ],
130
+ [
131
+ 2304,
132
+ 384
133
+ ],
134
+ [
135
+ 2304,
136
+ 768
137
+ ],
138
+ [
139
+ 2304,
140
+ 1152
141
+ ],
142
+ [
143
+ 2304,
144
+ 1536
145
+ ],
146
+ [
147
+ 2304,
148
+ 1920
149
+ ],
150
+ [
151
+ 2304,
152
+ 2304
153
+ ]
154
+ ],
155
+ "image_token_index": 151669,
156
+ "keys_to_ignore_at_inference": [
157
+ "past_key_values"
158
+ ],
159
+ "model_type": "llava_onevision",
160
+ "multimodal_projector_bias": true,
161
+ "pad_token_id": 151643,
162
+ "projector_hidden_act": "gelu",
163
+ "text_config": {
164
+ "_name_or_path": "/home/tiger/.cache/huggingface/hub/models--Qwen--Qwen3-1.7B/snapshots/70d244cc86ccca08cf5af4e1e306ecf908b1ad5e",
165
+ "architectures": [
166
+ "Qwen3ForCausalLM"
167
+ ],
168
+ "attention_bias": false,
169
+ "attention_dropout": 0.0,
170
+ "bos_token_id": 151643,
171
+ "dtype": "bfloat16",
172
+ "eos_token_id": 151645,
173
+ "head_dim": 128,
174
+ "hidden_act": "silu",
175
+ "hidden_size": 2048,
176
+ "initializer_range": 0.02,
177
+ "intermediate_size": 6144,
178
+ "layer_types": [
179
+ "full_attention",
180
+ "full_attention",
181
+ "full_attention",
182
+ "full_attention",
183
+ "full_attention",
184
+ "full_attention",
185
+ "full_attention",
186
+ "full_attention",
187
+ "full_attention",
188
+ "full_attention",
189
+ "full_attention",
190
+ "full_attention",
191
+ "full_attention",
192
+ "full_attention",
193
+ "full_attention",
194
+ "full_attention",
195
+ "full_attention",
196
+ "full_attention",
197
+ "full_attention",
198
+ "full_attention",
199
+ "full_attention",
200
+ "full_attention",
201
+ "full_attention",
202
+ "full_attention",
203
+ "full_attention",
204
+ "full_attention",
205
+ "full_attention",
206
+ "full_attention"
207
+ ],
208
+ "max_position_embeddings": 40960,
209
+ "max_window_layers": 28,
210
+ "model_type": "qwen3",
211
+ "num_attention_heads": 16,
212
+ "num_hidden_layers": 28,
213
+ "num_key_value_heads": 8,
214
+ "pad_token_id": 151643,
215
+ "rms_norm_eps": 1e-06,
216
+ "rope_parameters": {
217
+ "rope_theta": 1000000,
218
+ "rope_type": "default"
219
+ },
220
+ "sliding_window": null,
221
+ "tie_word_embeddings": true,
222
+ "use_cache": false,
223
+ "use_sliding_window": false,
224
+ "vocab_size": 151936
225
+ },
226
+ "tie_word_embeddings": true,
227
+ "transformers_version": "5.2.0",
228
+ "use_cache": false,
229
+ "video_token_index": 151670,
230
+ "vision_aspect_ratio": "anyres_max_9",
231
+ "vision_config": {
232
+ "attention_dropout": 0.0,
233
+ "dtype": "bfloat16",
234
+ "hidden_act": "gelu_pytorch_tanh",
235
+ "hidden_size": 1152,
236
+ "image_size": 384,
237
+ "intermediate_size": 4304,
238
+ "layer_norm_eps": 1e-06,
239
+ "model_type": "siglip_vision_model",
240
+ "num_attention_heads": 16,
241
+ "num_channels": 3,
242
+ "num_hidden_layers": 26,
243
+ "patch_size": 14,
244
+ "vision_use_head": false
245
+ },
246
+ "vision_feature_layer": -1,
247
+ "vision_feature_select_strategy": "full"
248
+ }
video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-400/generation_config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 151643,
4
+ "eos_token_id": [
5
+ 151645,
6
+ 151643
7
+ ],
8
+ "output_attentions": false,
9
+ "output_hidden_states": false,
10
+ "transformers_version": "5.2.0",
11
+ "use_cache": true
12
+ }
video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-400/global_step400/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9b6f7108aa92babd57bc68d7e3c494107421bcc43a4f753473912dc4313ce92d
3
+ size 3654094853
video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-400/global_step400/bf16_zero_pp_rank_1_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c6341bf82b810d59c875955c6ef7ea49dff070a6a5226d2fe09313410416dfee
3
+ size 3654085701
video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-400/global_step400/bf16_zero_pp_rank_2_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c119a987b2753a67bc5217be2ea83813b05ad6cba0d0702fc6faccb75fe2140b
3
+ size 3654083653
video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-400/global_step400/bf16_zero_pp_rank_3_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4d6108d8f82c4d80ebcf2e80640ae747d44054cb939e843e46b1c819fdb0468b
3
+ size 3654085317
video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-400/global_step400/bf16_zero_pp_rank_4_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4bc1da87848a5ce9fe6c3666785d1991bab6d3eba25ee218e74a16431c9a8a35
3
+ size 3654085253
video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-400/global_step400/bf16_zero_pp_rank_5_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aaab50a25a3443d520429d546f01e6f3af722ce44442a2876464c20cdffb717f
3
+ size 3654085253
video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-400/global_step400/bf16_zero_pp_rank_6_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9a3ed640aa1f7493f71a13f2f640da901cef99d43971529f07afa691a38000cc
3
+ size 3654085829
video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-400/global_step400/bf16_zero_pp_rank_7_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4239cd7d02795789a3173d35f9e6a23c9fdfbeacd04090904b79b7a36dace193
3
+ size 3654081925
video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-400/global_step400/mp_rank_00_model_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d9883708414a1d3633701a95e9e776c115e32ff8a19ef96a0b6eec1633882f18
3
+ size 4872342181
video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-400/latest ADDED
@@ -0,0 +1 @@
 
 
1
+ global_step400
video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-400/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eeb86520f0dc7205bbebbef63aada47f5effd4f3ed95bfeb0164abdf29959313
3
+ size 4872193968
video_mllm_swift/s2_image_only_10pct/v1-20260316-135215/checkpoint-400/processor_config.json ADDED
@@ -0,0 +1,206 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "image_processor": {
3
+ "data_format": "channels_first",
4
+ "do_convert_rgb": true,
5
+ "do_normalize": true,
6
+ "do_pad": true,
7
+ "do_rescale": true,
8
+ "do_resize": true,
9
+ "image_grid_pinpoints": [
10
+ [
11
+ 384,
12
+ 384
13
+ ],
14
+ [
15
+ 384,
16
+ 768
17
+ ],
18
+ [
19
+ 384,
20
+ 1152
21
+ ],
22
+ [
23
+ 384,
24
+ 1536
25
+ ],
26
+ [
27
+ 384,
28
+ 1920
29
+ ],
30
+ [
31
+ 384,
32
+ 2304
33
+ ],
34
+ [
35
+ 768,
36
+ 384
37
+ ],
38
+ [
39
+ 768,
40
+ 768
41
+ ],
42
+ [
43
+ 768,
44
+ 1152
45
+ ],
46
+ [
47
+ 768,
48
+ 1536
49
+ ],
50
+ [
51
+ 768,
52
+ 1920
53
+ ],
54
+ [
55
+ 768,
56
+ 2304
57
+ ],
58
+ [
59
+ 1152,
60
+ 384
61
+ ],
62
+ [
63
+ 1152,
64
+ 768
65
+ ],
66
+ [
67
+ 1152,
68
+ 1152
69
+ ],
70
+ [
71
+ 1152,
72
+ 1536
73
+ ],
74
+ [
75
+ 1152,
76
+ 1920
77
+ ],
78
+ [
79
+ 1152,
80
+ 2304
81
+ ],
82
+ [
83
+ 1536,
84
+ 384
85
+ ],
86
+ [
87
+ 1536,
88
+ 768
89
+ ],
90
+ [
91
+ 1536,
92
+ 1152
93
+ ],
94
+ [
95
+ 1536,
96
+ 1536
97
+ ],
98
+ [
99
+ 1536,
100
+ 1920
101
+ ],
102
+ [
103
+ 1536,
104
+ 2304
105
+ ],
106
+ [
107
+ 1920,
108
+ 384
109
+ ],
110
+ [
111
+ 1920,
112
+ 768
113
+ ],
114
+ [
115
+ 1920,
116
+ 1152
117
+ ],
118
+ [
119
+ 1920,
120
+ 1536
121
+ ],
122
+ [
123
+ 1920,
124
+ 1920
125
+ ],
126
+ [
127
+ 1920,
128
+ 2304
129
+ ],
130
+ [
131
+ 2304,
132
+ 384
133
+ ],
134
+ [
135
+ 2304,
136
+ 768
137
+ ],
138
+ [
139
+ 2304,
140
+ 1152
141
+ ],
142
+ [
143
+ 2304,
144
+ 1536
145
+ ],
146
+ [
147
+ 2304,
148
+ 1920
149
+ ],
150
+ [
151
+ 2304,
152
+ 2304
153
+ ]
154
+ ],
155
+ "image_mean": [
156
+ 0.5,
157
+ 0.5,
158
+ 0.5
159
+ ],
160
+ "image_processor_type": "LlavaOnevisionImageProcessorFast",
161
+ "image_std": [
162
+ 0.5,
163
+ 0.5,
164
+ 0.5
165
+ ],
166
+ "resample": 3,
167
+ "rescale_factor": 0.00392156862745098,
168
+ "size": {
169
+ "height": 384,
170
+ "width": 384
171
+ }
172
+ },
173
+ "image_token": "<image>",
174
+ "num_image_tokens": 729,
175
+ "processor_class": "LlavaOnevisionProcessor",
176
+ "video_processor": {
177
+ "data_format": "channels_first",
178
+ "default_to_square": false,
179
+ "do_convert_rgb": true,
180
+ "do_normalize": true,
181
+ "do_rescale": true,
182
+ "do_resize": true,
183
+ "do_sample_frames": false,
184
+ "image_mean": [
185
+ 0.5,
186
+ 0.5,
187
+ 0.5
188
+ ],
189
+ "image_std": [
190
+ 0.5,
191
+ 0.5,
192
+ 0.5
193
+ ],
194
+ "resample": 3,
195
+ "rescale_factor": 0.00392156862745098,
196
+ "return_metadata": false,
197
+ "size": {
198
+ "height": 384,
199
+ "width": 384
200
+ },
201
+ "video_processor_type": "LlavaOnevisionVideoProcessor"
202
+ },
203
+ "video_token": "<video>",
204
+ "vision_aspect_ratio": "anyres_max_9",
205
+ "vision_feature_select_strategy": null
206
+ }