Upload FutureMa/LocoOperator-4B-Swift-Balanced model
Browse files- .gitattributes +1 -0
- args.json +380 -0
- chat_template.jinja +61 -0
- config.json +71 -0
- generation_config.json +13 -0
- model.safetensors +3 -0
- tokenizer.json +3 -0
- tokenizer_config.json +29 -0
- trainer_state.json +118 -0
- training_args.bin +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
args.json
ADDED
|
@@ -0,0 +1,380 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"output_dir": "/ephemeral/qwen3-balanced-training/output/full-balanced-65k-optimized/v1-20260304-224849",
|
| 3 |
+
"per_device_train_batch_size": 2,
|
| 4 |
+
"num_train_epochs": 1.0,
|
| 5 |
+
"max_steps": -1,
|
| 6 |
+
"learning_rate": 2e-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": 4,
|
| 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": true,
|
| 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": 5,
|
| 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 |
+
"tensorboard"
|
| 48 |
+
],
|
| 49 |
+
"run_name": "/ephemeral/qwen3-balanced-training/output/full-balanced-65k-optimized/v1-20260304-224849",
|
| 50 |
+
"project": "huggingface",
|
| 51 |
+
"trackio_space_id": "trackio",
|
| 52 |
+
"eval_strategy": "no",
|
| 53 |
+
"eval_steps": 50.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": true,
|
| 64 |
+
"save_strategy": "steps",
|
| 65 |
+
"save_steps": 50.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": {
|
| 86 |
+
"dispatch_batches": false
|
| 87 |
+
},
|
| 88 |
+
"parallelism_config": null,
|
| 89 |
+
"dataloader_drop_last": false,
|
| 90 |
+
"dataloader_num_workers": 32,
|
| 91 |
+
"dataloader_pin_memory": true,
|
| 92 |
+
"dataloader_persistent_workers": false,
|
| 93 |
+
"dataloader_prefetch_factor": null,
|
| 94 |
+
"remove_unused_columns": true,
|
| 95 |
+
"label_names": null,
|
| 96 |
+
"train_sampling_strategy": "random",
|
| 97 |
+
"length_column_name": "length",
|
| 98 |
+
"ddp_find_unused_parameters": null,
|
| 99 |
+
"ddp_bucket_cap_mb": null,
|
| 100 |
+
"ddp_broadcast_buffers": null,
|
| 101 |
+
"ddp_backend": null,
|
| 102 |
+
"ddp_timeout": 18000000,
|
| 103 |
+
"fsdp": [],
|
| 104 |
+
"fsdp_config": null,
|
| 105 |
+
"deepspeed": {
|
| 106 |
+
"fp16": {
|
| 107 |
+
"enabled": "auto",
|
| 108 |
+
"loss_scale": 0,
|
| 109 |
+
"loss_scale_window": 1000,
|
| 110 |
+
"initial_scale_power": 16,
|
| 111 |
+
"hysteresis": 2,
|
| 112 |
+
"min_loss_scale": 1
|
| 113 |
+
},
|
| 114 |
+
"bf16": {
|
| 115 |
+
"enabled": "auto"
|
| 116 |
+
},
|
| 117 |
+
"zero_optimization": {
|
| 118 |
+
"stage": 3,
|
| 119 |
+
"offload_optimizer": {
|
| 120 |
+
"device": "none",
|
| 121 |
+
"pin_memory": true
|
| 122 |
+
},
|
| 123 |
+
"offload_param": {
|
| 124 |
+
"device": "none",
|
| 125 |
+
"pin_memory": true
|
| 126 |
+
},
|
| 127 |
+
"overlap_comm": false,
|
| 128 |
+
"contiguous_gradients": true,
|
| 129 |
+
"sub_group_size": 1000000000.0,
|
| 130 |
+
"reduce_bucket_size": "auto",
|
| 131 |
+
"zero_quantized_weights": false,
|
| 132 |
+
"zero_quantized_gradients": false,
|
| 133 |
+
"stage3_prefetch_bucket_size": "auto",
|
| 134 |
+
"stage3_param_persistence_threshold": "auto",
|
| 135 |
+
"stage3_max_live_parameters": 1000000000.0,
|
| 136 |
+
"stage3_max_reuse_distance": 1000000000.0,
|
| 137 |
+
"stage3_gather_16bit_weights_on_model_save": true
|
| 138 |
+
},
|
| 139 |
+
"gradient_accumulation_steps": "auto",
|
| 140 |
+
"gradient_clipping": "auto",
|
| 141 |
+
"steps_per_print": 2000,
|
| 142 |
+
"train_batch_size": "auto",
|
| 143 |
+
"train_micro_batch_size_per_gpu": "auto",
|
| 144 |
+
"wall_clock_breakdown": false
|
| 145 |
+
},
|
| 146 |
+
"debug": null,
|
| 147 |
+
"skip_memory_metrics": true,
|
| 148 |
+
"do_train": false,
|
| 149 |
+
"do_eval": false,
|
| 150 |
+
"do_predict": false,
|
| 151 |
+
"resume_from_checkpoint": null,
|
| 152 |
+
"warmup_ratio": 0.1,
|
| 153 |
+
"logging_dir": "/ephemeral/qwen3-balanced-training/output/full-balanced-65k-optimized/v1-20260304-224849/runs",
|
| 154 |
+
"local_rank": 0,
|
| 155 |
+
"sortish_sampler": false,
|
| 156 |
+
"predict_with_generate": false,
|
| 157 |
+
"generation_max_length": null,
|
| 158 |
+
"generation_num_beams": null,
|
| 159 |
+
"generation_config": null,
|
| 160 |
+
"tuner_backend": "peft",
|
| 161 |
+
"vit_gradient_checkpointing": null,
|
| 162 |
+
"router_aux_loss_coef": 0.0,
|
| 163 |
+
"enable_dft_loss": false,
|
| 164 |
+
"enable_channel_loss": false,
|
| 165 |
+
"check_model": true,
|
| 166 |
+
"acc_strategy": "token",
|
| 167 |
+
"train_dataloader_shuffle": true,
|
| 168 |
+
"group_by_length": false,
|
| 169 |
+
"max_epochs": null,
|
| 170 |
+
"aligner_lr": null,
|
| 171 |
+
"vit_lr": null,
|
| 172 |
+
"use_logits_to_keep": null,
|
| 173 |
+
"ds3_gather_for_generation": true,
|
| 174 |
+
"resume_only_model": false,
|
| 175 |
+
"optimizer": null,
|
| 176 |
+
"loss_type": null,
|
| 177 |
+
"eval_metric": null,
|
| 178 |
+
"callbacks": [],
|
| 179 |
+
"early_stop_interval": null,
|
| 180 |
+
"eval_use_evalscope": false,
|
| 181 |
+
"eval_dataset": [],
|
| 182 |
+
"eval_dataset_args": null,
|
| 183 |
+
"eval_limit": null,
|
| 184 |
+
"eval_generation_config": null,
|
| 185 |
+
"extra_eval_args": null,
|
| 186 |
+
"tuner_type": "full",
|
| 187 |
+
"use_galore": false,
|
| 188 |
+
"galore_target_modules": null,
|
| 189 |
+
"galore_rank": 128,
|
| 190 |
+
"galore_update_proj_gap": 50,
|
| 191 |
+
"galore_scale": 1.0,
|
| 192 |
+
"galore_proj_type": "std",
|
| 193 |
+
"galore_optim_per_parameter": false,
|
| 194 |
+
"galore_with_embedding": false,
|
| 195 |
+
"galore_quantization": false,
|
| 196 |
+
"galore_proj_quant": false,
|
| 197 |
+
"galore_proj_bits": 4,
|
| 198 |
+
"galore_proj_group_size": 256,
|
| 199 |
+
"galore_cos_threshold": 0.4,
|
| 200 |
+
"galore_gamma_proj": 2,
|
| 201 |
+
"galore_queue_size": 5,
|
| 202 |
+
"lisa_activated_layers": 0,
|
| 203 |
+
"lisa_step_interval": 20,
|
| 204 |
+
"use_flash_ckpt": false,
|
| 205 |
+
"use_ray": false,
|
| 206 |
+
"ray_exp_name": null,
|
| 207 |
+
"device_groups": null,
|
| 208 |
+
"model": "Qwen/Qwen3-4B-Instruct-2507",
|
| 209 |
+
"model_type": "qwen3",
|
| 210 |
+
"model_revision": null,
|
| 211 |
+
"task_type": "causal_lm",
|
| 212 |
+
"torch_dtype": "bfloat16",
|
| 213 |
+
"attn_impl": "flash_attention_2",
|
| 214 |
+
"experts_impl": null,
|
| 215 |
+
"new_special_tokens": [],
|
| 216 |
+
"num_labels": null,
|
| 217 |
+
"problem_type": null,
|
| 218 |
+
"rope_scaling": null,
|
| 219 |
+
"device_map": null,
|
| 220 |
+
"max_memory": {},
|
| 221 |
+
"max_model_len": null,
|
| 222 |
+
"local_repo_path": null,
|
| 223 |
+
"init_strategy": null,
|
| 224 |
+
"template": "qwen3_nothinking",
|
| 225 |
+
"system": null,
|
| 226 |
+
"max_length": 65536,
|
| 227 |
+
"truncation_strategy": "delete",
|
| 228 |
+
"max_pixels": null,
|
| 229 |
+
"agent_template": null,
|
| 230 |
+
"norm_bbox": null,
|
| 231 |
+
"use_chat_template": true,
|
| 232 |
+
"padding_side": "right",
|
| 233 |
+
"padding_free": true,
|
| 234 |
+
"loss_scale": "last_round",
|
| 235 |
+
"sequence_parallel_size": 1,
|
| 236 |
+
"template_backend": "swift",
|
| 237 |
+
"response_prefix": null,
|
| 238 |
+
"enable_thinking": null,
|
| 239 |
+
"add_non_thinking_prefix": true,
|
| 240 |
+
"dataset": [
|
| 241 |
+
"/home/shadeform/ms-swift/data/ms-balanced/msswift-msswift-analysis-train-balanced.jsonl"
|
| 242 |
+
],
|
| 243 |
+
"val_dataset": [],
|
| 244 |
+
"cached_dataset": [],
|
| 245 |
+
"cached_val_dataset": [],
|
| 246 |
+
"split_dataset_ratio": 0.0,
|
| 247 |
+
"dataset_num_proc": 64,
|
| 248 |
+
"load_from_cache_file": false,
|
| 249 |
+
"dataset_shuffle": true,
|
| 250 |
+
"val_dataset_shuffle": false,
|
| 251 |
+
"streaming": false,
|
| 252 |
+
"interleave_prob": null,
|
| 253 |
+
"stopping_strategy": "first_exhausted",
|
| 254 |
+
"shuffle_buffer_size": 1000,
|
| 255 |
+
"download_mode": "reuse_dataset_if_exists",
|
| 256 |
+
"columns": {},
|
| 257 |
+
"strict": false,
|
| 258 |
+
"model_name": null,
|
| 259 |
+
"model_author": null,
|
| 260 |
+
"custom_dataset_info": [],
|
| 261 |
+
"quant_method": null,
|
| 262 |
+
"quant_bits": null,
|
| 263 |
+
"hqq_axis": null,
|
| 264 |
+
"bnb_4bit_compute_dtype": "bfloat16",
|
| 265 |
+
"bnb_4bit_quant_type": "nf4",
|
| 266 |
+
"bnb_4bit_use_double_quant": true,
|
| 267 |
+
"bnb_4bit_quant_storage": null,
|
| 268 |
+
"max_new_tokens": 64,
|
| 269 |
+
"temperature": 0.0,
|
| 270 |
+
"top_k": null,
|
| 271 |
+
"top_p": null,
|
| 272 |
+
"repetition_penalty": null,
|
| 273 |
+
"num_beams": 1,
|
| 274 |
+
"stream": false,
|
| 275 |
+
"stop_words": [],
|
| 276 |
+
"logprobs": false,
|
| 277 |
+
"top_logprobs": null,
|
| 278 |
+
"structured_outputs_regex": null,
|
| 279 |
+
"train_type": null,
|
| 280 |
+
"adapters": [],
|
| 281 |
+
"external_plugins": [],
|
| 282 |
+
"custom_register_path": [],
|
| 283 |
+
"model_kwargs": {},
|
| 284 |
+
"load_args": false,
|
| 285 |
+
"load_data_args": false,
|
| 286 |
+
"packing": true,
|
| 287 |
+
"packing_length": 65536,
|
| 288 |
+
"packing_num_proc": 1,
|
| 289 |
+
"lazy_tokenize": false,
|
| 290 |
+
"use_hf": true,
|
| 291 |
+
"ignore_args_error": false,
|
| 292 |
+
"use_swift_lora": false,
|
| 293 |
+
"freeze_parameters": [],
|
| 294 |
+
"freeze_parameters_regex": null,
|
| 295 |
+
"freeze_parameters_ratio": 0.0,
|
| 296 |
+
"trainable_parameters": [],
|
| 297 |
+
"trainable_parameters_regex": null,
|
| 298 |
+
"freeze_llm": false,
|
| 299 |
+
"freeze_vit": true,
|
| 300 |
+
"freeze_aligner": true,
|
| 301 |
+
"target_modules": [
|
| 302 |
+
"all-linear"
|
| 303 |
+
],
|
| 304 |
+
"target_regex": null,
|
| 305 |
+
"target_parameters": null,
|
| 306 |
+
"modules_to_save": [],
|
| 307 |
+
"lora_rank": 8,
|
| 308 |
+
"lora_alpha": 32,
|
| 309 |
+
"lora_dropout": 0.05,
|
| 310 |
+
"lora_bias": "none",
|
| 311 |
+
"lora_dtype": null,
|
| 312 |
+
"lorap_lr_ratio": null,
|
| 313 |
+
"use_rslora": false,
|
| 314 |
+
"use_dora": false,
|
| 315 |
+
"lora_ga_batch_size": 2,
|
| 316 |
+
"lora_ga_iters": 2,
|
| 317 |
+
"lora_ga_max_length": 1024,
|
| 318 |
+
"lora_ga_direction": "ArB2r",
|
| 319 |
+
"lora_ga_scale": "stable",
|
| 320 |
+
"lora_ga_stable_gamma": 16,
|
| 321 |
+
"init_weights": true,
|
| 322 |
+
"fourier_n_frequency": 2000,
|
| 323 |
+
"fourier_scaling": 300.0,
|
| 324 |
+
"boft_block_size": 4,
|
| 325 |
+
"boft_block_num": 0,
|
| 326 |
+
"boft_n_butterfly_factor": 1,
|
| 327 |
+
"boft_dropout": 0.0,
|
| 328 |
+
"vera_rank": 256,
|
| 329 |
+
"vera_projection_prng_key": 0,
|
| 330 |
+
"vera_dropout": 0.0,
|
| 331 |
+
"vera_d_initial": 0.1,
|
| 332 |
+
"adapter_act": "gelu",
|
| 333 |
+
"adapter_length": 128,
|
| 334 |
+
"adalora_target_r": 8,
|
| 335 |
+
"adalora_init_r": 12,
|
| 336 |
+
"adalora_tinit": 0,
|
| 337 |
+
"adalora_tfinal": 0,
|
| 338 |
+
"adalora_deltaT": 1,
|
| 339 |
+
"adalora_beta1": 0.85,
|
| 340 |
+
"adalora_beta2": 0.85,
|
| 341 |
+
"adalora_orth_reg_weight": 0.5,
|
| 342 |
+
"llamapro_num_new_blocks": 4,
|
| 343 |
+
"llamapro_num_groups": null,
|
| 344 |
+
"reft_layer_key": null,
|
| 345 |
+
"reft_layers": null,
|
| 346 |
+
"reft_rank": 4,
|
| 347 |
+
"reft_intervention_type": "LoreftIntervention",
|
| 348 |
+
"reft_args": null,
|
| 349 |
+
"swanlab_token": null,
|
| 350 |
+
"swanlab_project": "ms-swift",
|
| 351 |
+
"swanlab_workspace": null,
|
| 352 |
+
"swanlab_exp_name": null,
|
| 353 |
+
"swanlab_notification_method": null,
|
| 354 |
+
"swanlab_webhook_url": null,
|
| 355 |
+
"swanlab_secret": null,
|
| 356 |
+
"swanlab_sender_email": null,
|
| 357 |
+
"swanlab_receiver_email": null,
|
| 358 |
+
"swanlab_smtp_server": null,
|
| 359 |
+
"swanlab_smtp_port": null,
|
| 360 |
+
"swanlab_email_language": "zh",
|
| 361 |
+
"swanlab_mode": "cloud",
|
| 362 |
+
"add_version": true,
|
| 363 |
+
"create_checkpoint_symlink": false,
|
| 364 |
+
"zero_hpz_partition_size": null,
|
| 365 |
+
"deepspeed_autotp_size": null,
|
| 366 |
+
"swift_version": "4.1.0.dev0",
|
| 367 |
+
"ckpt_dir": null,
|
| 368 |
+
"rank": 0,
|
| 369 |
+
"global_world_size": 8,
|
| 370 |
+
"local_world_size": 8,
|
| 371 |
+
"model_suffix": "Qwen3-4B-Instruct-2507",
|
| 372 |
+
"model_info": "ModelInfo(model_type='qwen3', model_dir='/home/shadeform/.cache/huggingface/hub/models--Qwen--Qwen3-4B-Instruct-2507/snapshots/cdbee75f17c01a7cc42f958dc650907174af0554', torch_dtype=torch.bfloat16, max_model_len=262144, quant_method=None, quant_bits=None, rope_scaling={'rope_theta': 5000000, 'rope_type': 'default'}, is_moe_model=False, is_multimodal=False, config=None, task_type='causal_lm', num_labels=None)",
|
| 373 |
+
"model_meta": "ModelMeta(model_type='qwen3', model_groups=[ModelGroup(models=[Model(ms_model_id='Qwen/Qwen3-0.6B-Base', hf_model_id='Qwen/Qwen3-0.6B-Base', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-1.7B-Base', hf_model_id='Qwen/Qwen3-1.7B-Base', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-4B-Base', hf_model_id='Qwen/Qwen3-4B-Base', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-8B-Base', hf_model_id='Qwen/Qwen3-8B-Base', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-14B-Base', hf_model_id='Qwen/Qwen3-14B-Base', model_path=None, ms_revision=None, hf_revision=None), 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), Model(ms_model_id='Qwen/Qwen3-8B', hf_model_id='Qwen/Qwen3-8B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-14B', hf_model_id='Qwen/Qwen3-14B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-32B', hf_model_id='Qwen/Qwen3-32B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-0.6B-FP8', hf_model_id='Qwen/Qwen3-0.6B-FP8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-1.7B-FP8', hf_model_id='Qwen/Qwen3-1.7B-FP8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-4B-FP8', hf_model_id='Qwen/Qwen3-4B-FP8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-8B-FP8', hf_model_id='Qwen/Qwen3-8B-FP8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-14B-FP8', hf_model_id='Qwen/Qwen3-14B-FP8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-32B-FP8', hf_model_id='Qwen/Qwen3-32B-FP8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-4B-AWQ', hf_model_id='Qwen/Qwen3-4B-AWQ', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-8B-AWQ', hf_model_id='Qwen/Qwen3-8B-AWQ', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-14B-AWQ', hf_model_id='Qwen/Qwen3-14B-AWQ', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-32B-AWQ', hf_model_id='Qwen/Qwen3-32B-AWQ', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='swift/Qwen3-32B-AWQ', hf_model_id=None, model_path=None, ms_revision=None, hf_revision=None)], template='qwen3', ignore_patterns=None, requires=None, tags=[]), ModelGroup(models=[Model(ms_model_id='deepseek-ai/DeepSeek-R1-0528-Qwen3-8B', hf_model_id='deepseek-ai/DeepSeek-R1-0528-Qwen3-8B', model_path=None, ms_revision=None, hf_revision=None)], template='deepseek_r1', ignore_patterns=None, requires=None, tags=[]), ModelGroup(models=[Model(ms_model_id='Qwen/Qwen3Guard-Gen-0.6B', hf_model_id='Qwen/Qwen3Guard-Gen-0.6B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3Guard-Gen-4B', hf_model_id='Qwen/Qwen3Guard-Gen-4B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3Guard-Gen-8B', hf_model_id='Qwen/Qwen3Guard-Gen-8B', model_path=None, ms_revision=None, hf_revision=None)], template='qwen3_guard', ignore_patterns=None, requires=None, tags=[]), ModelGroup(models=[Model(ms_model_id='Qwen/Qwen3-4B-Thinking-2507', hf_model_id='Qwen/Qwen3-4B-Thinking-2507', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-4B-Thinking-2507-FP8', hf_model_id='Qwen/Qwen3-4B-Thinking-2507-FP8', model_path=None, ms_revision=None, hf_revision=None)], template='qwen3_thinking', ignore_patterns=None, requires=None, tags=[]), ModelGroup(models=[Model(ms_model_id='Qwen/Qwen3-4B-Instruct-2507', hf_model_id='Qwen/Qwen3-4B-Instruct-2507', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-4B-Instruct-2507-FP8', hf_model_id='Qwen/Qwen3-4B-Instruct-2507-FP8', model_path=None, ms_revision=None, hf_revision=None)], template='qwen3_nothinking', ignore_patterns=None, requires=None, tags=[])], loader=<class 'swift.model.register.ModelLoader'>, template='qwen3_nothinking', model_arch=ModelKeys(arch_name='llama', embedding='model.embed_tokens', module_list='model.layers', lm_head='lm_head', q_proj='model.layers.{}.self_attn.q_proj', k_proj='model.layers.{}.self_attn.k_proj', v_proj='model.layers.{}.self_attn.v_proj', o_proj='model.layers.{}.self_attn.o_proj', attention='model.layers.{}.self_attn', mlp='model.layers.{}.mlp', down_proj='model.layers.{}.mlp.down_proj', qkv_proj=None, qk_proj=None, qa_proj=None, qb_proj=None, kv_proj=None, kva_proj=None, kvb_proj=None), architectures=['Qwen3ForCausalLM'], additional_saved_files=[], torch_dtype=None, is_multimodal=False, is_reward=False, task_type=None, ignore_patterns=None, requires=['transformers>=4.51'], tags=[])",
|
| 374 |
+
"model_dir": "/home/shadeform/.cache/huggingface/hub/models--Qwen--Qwen3-4B-Instruct-2507/snapshots/cdbee75f17c01a7cc42f958dc650907174af0554",
|
| 375 |
+
"template_meta": "QwenTemplateMeta(template_type='qwen3_nothinking', 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 'swift.template.base.Template'>, 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='')",
|
| 376 |
+
"_val_dataset_exists": false,
|
| 377 |
+
"hub": "<class 'swift.hub.hub.HFHub'>",
|
| 378 |
+
"evaluation_strategy": "steps",
|
| 379 |
+
"training_args": "Seq2SeqTrainingArguments(output_dir='/ephemeral/qwen3-balanced-training/output/full-balanced-65k-optimized/v1-20260304-224849', per_device_train_batch_size=2, num_train_epochs=1.0, max_steps=-1, learning_rate=2e-05, lr_scheduler_type=<SchedulerType.COSINE: 'cosine'>, lr_scheduler_kwargs=None, warmup_steps=0.1, 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=4, 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=True, 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=5, 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=['tensorboard'], run_name='/ephemeral/qwen3-balanced-training/output/full-balanced-65k-optimized/v1-20260304-224849', project='huggingface', trackio_space_id='trackio', eval_strategy=<IntervalStrategy.NO: 'no'>, eval_steps=50.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=True, save_strategy=<SaveStrategy.STEPS: 'steps'>, save_steps=50, 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=32, dataloader_pin_memory=True, dataloader_persistent_workers=False, dataloader_prefetch_factor=2, 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=18000000, 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': 3, 'offload_optimizer': {'device': 'none', 'pin_memory': True}, 'offload_param': {'device': 'none', 'pin_memory': True}, 'overlap_comm': False, 'contiguous_gradients': True, 'sub_group_size': 1000000000.0, 'reduce_bucket_size': 'auto', 'zero_quantized_weights': False, 'zero_quantized_gradients': False, 'stage3_prefetch_bucket_size': 'auto', 'stage3_param_persistence_threshold': 'auto', 'stage3_max_live_parameters': 1000000000.0, 'stage3_max_reuse_distance': 1000000000.0, 'stage3_gather_16bit_weights_on_model_save': 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.1, logging_dir='/ephemeral/qwen3-balanced-training/output/full-balanced-65k-optimized/v1-20260304-224849/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, check_model=True, acc_strategy='token', train_dataloader_shuffle=True, group_by_length=False, max_epochs=None, aligner_lr=None, vit_lr=None, use_logits_to_keep=None, ds3_gather_for_generation=True, resume_only_model=False, optimizer=None, 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)"
|
| 380 |
+
}
|
chat_template.jinja
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
{%- for message in messages %}
|
| 18 |
+
{%- if message.content is string %}
|
| 19 |
+
{%- set content = message.content %}
|
| 20 |
+
{%- else %}
|
| 21 |
+
{%- set content = '' %}
|
| 22 |
+
{%- endif %}
|
| 23 |
+
{%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
|
| 24 |
+
{{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
|
| 25 |
+
{%- elif message.role == "assistant" %}
|
| 26 |
+
{{- '<|im_start|>' + message.role + '\n' + content }}
|
| 27 |
+
{%- if message.tool_calls %}
|
| 28 |
+
{%- for tool_call in message.tool_calls %}
|
| 29 |
+
{%- if (loop.first and content) or (not loop.first) %}
|
| 30 |
+
{{- '\n' }}
|
| 31 |
+
{%- endif %}
|
| 32 |
+
{%- if tool_call.function %}
|
| 33 |
+
{%- set tool_call = tool_call.function %}
|
| 34 |
+
{%- endif %}
|
| 35 |
+
{{- '<tool_call>\n{"name": "' }}
|
| 36 |
+
{{- tool_call.name }}
|
| 37 |
+
{{- '", "arguments": ' }}
|
| 38 |
+
{%- if tool_call.arguments is string %}
|
| 39 |
+
{{- tool_call.arguments }}
|
| 40 |
+
{%- else %}
|
| 41 |
+
{{- tool_call.arguments | tojson }}
|
| 42 |
+
{%- endif %}
|
| 43 |
+
{{- '}\n</tool_call>' }}
|
| 44 |
+
{%- endfor %}
|
| 45 |
+
{%- endif %}
|
| 46 |
+
{{- '<|im_end|>\n' }}
|
| 47 |
+
{%- elif message.role == "tool" %}
|
| 48 |
+
{%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
|
| 49 |
+
{{- '<|im_start|>user' }}
|
| 50 |
+
{%- endif %}
|
| 51 |
+
{{- '\n<tool_response>\n' }}
|
| 52 |
+
{{- content }}
|
| 53 |
+
{{- '\n</tool_response>' }}
|
| 54 |
+
{%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
|
| 55 |
+
{{- '<|im_end|>\n' }}
|
| 56 |
+
{%- endif %}
|
| 57 |
+
{%- endif %}
|
| 58 |
+
{%- endfor %}
|
| 59 |
+
{%- if add_generation_prompt %}
|
| 60 |
+
{{- '<|im_start|>assistant\n' }}
|
| 61 |
+
{%- endif %}
|
config.json
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Qwen3ForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"attention_bias": false,
|
| 6 |
+
"attention_dropout": 0.0,
|
| 7 |
+
"bos_token_id": null,
|
| 8 |
+
"dtype": "bfloat16",
|
| 9 |
+
"eos_token_id": 151645,
|
| 10 |
+
"head_dim": 128,
|
| 11 |
+
"hidden_act": "silu",
|
| 12 |
+
"hidden_size": 2560,
|
| 13 |
+
"initializer_range": 0.02,
|
| 14 |
+
"intermediate_size": 9728,
|
| 15 |
+
"layer_types": [
|
| 16 |
+
"full_attention",
|
| 17 |
+
"full_attention",
|
| 18 |
+
"full_attention",
|
| 19 |
+
"full_attention",
|
| 20 |
+
"full_attention",
|
| 21 |
+
"full_attention",
|
| 22 |
+
"full_attention",
|
| 23 |
+
"full_attention",
|
| 24 |
+
"full_attention",
|
| 25 |
+
"full_attention",
|
| 26 |
+
"full_attention",
|
| 27 |
+
"full_attention",
|
| 28 |
+
"full_attention",
|
| 29 |
+
"full_attention",
|
| 30 |
+
"full_attention",
|
| 31 |
+
"full_attention",
|
| 32 |
+
"full_attention",
|
| 33 |
+
"full_attention",
|
| 34 |
+
"full_attention",
|
| 35 |
+
"full_attention",
|
| 36 |
+
"full_attention",
|
| 37 |
+
"full_attention",
|
| 38 |
+
"full_attention",
|
| 39 |
+
"full_attention",
|
| 40 |
+
"full_attention",
|
| 41 |
+
"full_attention",
|
| 42 |
+
"full_attention",
|
| 43 |
+
"full_attention",
|
| 44 |
+
"full_attention",
|
| 45 |
+
"full_attention",
|
| 46 |
+
"full_attention",
|
| 47 |
+
"full_attention",
|
| 48 |
+
"full_attention",
|
| 49 |
+
"full_attention",
|
| 50 |
+
"full_attention",
|
| 51 |
+
"full_attention"
|
| 52 |
+
],
|
| 53 |
+
"max_position_embeddings": 262144,
|
| 54 |
+
"max_window_layers": 36,
|
| 55 |
+
"model_type": "qwen3",
|
| 56 |
+
"num_attention_heads": 32,
|
| 57 |
+
"num_hidden_layers": 36,
|
| 58 |
+
"num_key_value_heads": 8,
|
| 59 |
+
"pad_token_id": 151643,
|
| 60 |
+
"rms_norm_eps": 1e-06,
|
| 61 |
+
"rope_parameters": {
|
| 62 |
+
"rope_theta": 5000000,
|
| 63 |
+
"rope_type": "default"
|
| 64 |
+
},
|
| 65 |
+
"sliding_window": null,
|
| 66 |
+
"tie_word_embeddings": true,
|
| 67 |
+
"transformers_version": "5.2.0",
|
| 68 |
+
"use_cache": false,
|
| 69 |
+
"use_sliding_window": false,
|
| 70 |
+
"vocab_size": 151936
|
| 71 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token_id": 151643,
|
| 3 |
+
"do_sample": true,
|
| 4 |
+
"eos_token_id": [
|
| 5 |
+
151645,
|
| 6 |
+
151643
|
| 7 |
+
],
|
| 8 |
+
"pad_token_id": 151643,
|
| 9 |
+
"temperature": 0.7,
|
| 10 |
+
"top_k": 20,
|
| 11 |
+
"top_p": 0.8,
|
| 12 |
+
"transformers_version": "5.2.0"
|
| 13 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:af989e8bdb2646c71552a85f2916b49f144e61e7fbf9beafacf60c6146797342
|
| 3 |
+
size 8044982080
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:be75606093db2094d7cd20f3c2f385c212750648bd6ea4fb2bf507a6a4c55506
|
| 3 |
+
size 11422650
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
"<|im_start|>",
|
| 10 |
+
"<|im_end|>",
|
| 11 |
+
"<|object_ref_start|>",
|
| 12 |
+
"<|object_ref_end|>",
|
| 13 |
+
"<|box_start|>",
|
| 14 |
+
"<|box_end|>",
|
| 15 |
+
"<|quad_start|>",
|
| 16 |
+
"<|quad_end|>",
|
| 17 |
+
"<|vision_start|>",
|
| 18 |
+
"<|vision_end|>",
|
| 19 |
+
"<|vision_pad|>",
|
| 20 |
+
"<|image_pad|>",
|
| 21 |
+
"<|video_pad|>"
|
| 22 |
+
],
|
| 23 |
+
"is_local": true,
|
| 24 |
+
"model_max_length": 1010000,
|
| 25 |
+
"pad_token": "<|endoftext|>",
|
| 26 |
+
"split_special_tokens": false,
|
| 27 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 28 |
+
"unk_token": null
|
| 29 |
+
}
|
trainer_state.json
ADDED
|
@@ -0,0 +1,118 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_global_step": null,
|
| 3 |
+
"best_metric": null,
|
| 4 |
+
"best_model_checkpoint": null,
|
| 5 |
+
"epoch": 1.0,
|
| 6 |
+
"eval_steps": 50.0,
|
| 7 |
+
"global_step": 59,
|
| 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.017094017094017096,
|
| 14 |
+
"grad_norm": 14.407925737264305,
|
| 15 |
+
"learning_rate": 3.3333333333333333e-06,
|
| 16 |
+
"loss": 0.8838487863540649,
|
| 17 |
+
"step": 1
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"epoch": 0.08547008547008547,
|
| 21 |
+
"grad_norm": 2.35870387379783,
|
| 22 |
+
"learning_rate": 1.6666666666666667e-05,
|
| 23 |
+
"loss": 0.7208460569381714,
|
| 24 |
+
"step": 5
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"epoch": 0.17094017094017094,
|
| 28 |
+
"grad_norm": 1.439498142463802,
|
| 29 |
+
"learning_rate": 1.972022914080411e-05,
|
| 30 |
+
"loss": 0.4741680145263672,
|
| 31 |
+
"step": 10
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"epoch": 0.2564102564102564,
|
| 35 |
+
"grad_norm": 0.9460031668600737,
|
| 36 |
+
"learning_rate": 1.8610436117673557e-05,
|
| 37 |
+
"loss": 0.4118507385253906,
|
| 38 |
+
"step": 15
|
| 39 |
+
},
|
| 40 |
+
{
|
| 41 |
+
"epoch": 0.3418803418803419,
|
| 42 |
+
"grad_norm": 0.9009799887435224,
|
| 43 |
+
"learning_rate": 1.6749830015182106e-05,
|
| 44 |
+
"loss": 0.40839252471923826,
|
| 45 |
+
"step": 20
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"epoch": 0.42735042735042733,
|
| 49 |
+
"grad_norm": 0.8943238789195507,
|
| 50 |
+
"learning_rate": 1.4300652022765207e-05,
|
| 51 |
+
"loss": 0.3522554874420166,
|
| 52 |
+
"step": 25
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"epoch": 0.5128205128205128,
|
| 56 |
+
"grad_norm": 0.8778590752855872,
|
| 57 |
+
"learning_rate": 1.1476465640024814e-05,
|
| 58 |
+
"loss": 0.33121280670166015,
|
| 59 |
+
"step": 30
|
| 60 |
+
},
|
| 61 |
+
{
|
| 62 |
+
"epoch": 0.5982905982905983,
|
| 63 |
+
"grad_norm": 0.7649988422695874,
|
| 64 |
+
"learning_rate": 8.52353435997519e-06,
|
| 65 |
+
"loss": 0.3183881759643555,
|
| 66 |
+
"step": 35
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"epoch": 0.6837606837606838,
|
| 70 |
+
"grad_norm": 0.8367576325012144,
|
| 71 |
+
"learning_rate": 5.699347977234799e-06,
|
| 72 |
+
"loss": 0.31059505939483645,
|
| 73 |
+
"step": 40
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"epoch": 0.7692307692307693,
|
| 77 |
+
"grad_norm": 0.8182783819328651,
|
| 78 |
+
"learning_rate": 3.250169984817897e-06,
|
| 79 |
+
"loss": 0.31551196575164797,
|
| 80 |
+
"step": 45
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"epoch": 0.8547008547008547,
|
| 84 |
+
"grad_norm": 0.7554036810396093,
|
| 85 |
+
"learning_rate": 1.3895638823264447e-06,
|
| 86 |
+
"loss": 0.3017631769180298,
|
| 87 |
+
"step": 50
|
| 88 |
+
},
|
| 89 |
+
{
|
| 90 |
+
"epoch": 0.9401709401709402,
|
| 91 |
+
"grad_norm": 0.8070523190062113,
|
| 92 |
+
"learning_rate": 2.7977085919589253e-07,
|
| 93 |
+
"loss": 0.2991445779800415,
|
| 94 |
+
"step": 55
|
| 95 |
+
}
|
| 96 |
+
],
|
| 97 |
+
"logging_steps": 5,
|
| 98 |
+
"max_steps": 59,
|
| 99 |
+
"num_input_tokens_seen": 0,
|
| 100 |
+
"num_train_epochs": 1,
|
| 101 |
+
"save_steps": 50,
|
| 102 |
+
"stateful_callbacks": {
|
| 103 |
+
"TrainerControl": {
|
| 104 |
+
"args": {
|
| 105 |
+
"should_epoch_stop": false,
|
| 106 |
+
"should_evaluate": false,
|
| 107 |
+
"should_log": false,
|
| 108 |
+
"should_save": true,
|
| 109 |
+
"should_training_stop": true
|
| 110 |
+
},
|
| 111 |
+
"attributes": {}
|
| 112 |
+
}
|
| 113 |
+
},
|
| 114 |
+
"total_flos": 285666279424000.0,
|
| 115 |
+
"train_batch_size": 2,
|
| 116 |
+
"trial_name": null,
|
| 117 |
+
"trial_params": null
|
| 118 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8c7d1543780333c233256f1c424dc3014fef709a1890acd7d9e4f99235991667
|
| 3 |
+
size 9169
|