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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "Qwen3-4B-Thinking-2507",
|
| 3 |
+
"model_type": "qwen3_thinking",
|
| 4 |
+
"model_revision": null,
|
| 5 |
+
"task_type": "causal_lm",
|
| 6 |
+
"torch_dtype": "bfloat16",
|
| 7 |
+
"attn_impl": null,
|
| 8 |
+
"new_special_tokens": [],
|
| 9 |
+
"num_labels": null,
|
| 10 |
+
"problem_type": null,
|
| 11 |
+
"rope_scaling": null,
|
| 12 |
+
"device_map": null,
|
| 13 |
+
"max_memory": {},
|
| 14 |
+
"max_model_len": null,
|
| 15 |
+
"local_repo_path": null,
|
| 16 |
+
"init_strategy": null,
|
| 17 |
+
"template": "qwen3_thinking",
|
| 18 |
+
"system": null,
|
| 19 |
+
"max_length": 8192,
|
| 20 |
+
"truncation_strategy": "delete",
|
| 21 |
+
"max_pixels": null,
|
| 22 |
+
"agent_template": null,
|
| 23 |
+
"norm_bbox": null,
|
| 24 |
+
"use_chat_template": true,
|
| 25 |
+
"padding_free": true,
|
| 26 |
+
"padding_side": "right",
|
| 27 |
+
"loss_scale": "default",
|
| 28 |
+
"sequence_parallel_size": 1,
|
| 29 |
+
"response_prefix": null,
|
| 30 |
+
"template_backend": "swift",
|
| 31 |
+
"dataset": [],
|
| 32 |
+
"val_dataset": [],
|
| 33 |
+
"split_dataset_ratio": 0.0,
|
| 34 |
+
"data_seed": 42,
|
| 35 |
+
"dataset_num_proc": 8,
|
| 36 |
+
"load_from_cache_file": false,
|
| 37 |
+
"dataset_shuffle": true,
|
| 38 |
+
"val_dataset_shuffle": false,
|
| 39 |
+
"streaming": false,
|
| 40 |
+
"interleave_prob": null,
|
| 41 |
+
"stopping_strategy": "first_exhausted",
|
| 42 |
+
"shuffle_buffer_size": 1000,
|
| 43 |
+
"download_mode": "reuse_dataset_if_exists",
|
| 44 |
+
"columns": {},
|
| 45 |
+
"strict": false,
|
| 46 |
+
"remove_unused_columns": true,
|
| 47 |
+
"model_name": null,
|
| 48 |
+
"model_author": null,
|
| 49 |
+
"custom_dataset_info": [],
|
| 50 |
+
"quant_method": null,
|
| 51 |
+
"quant_bits": null,
|
| 52 |
+
"hqq_axis": null,
|
| 53 |
+
"bnb_4bit_compute_dtype": "bfloat16",
|
| 54 |
+
"bnb_4bit_quant_type": "nf4",
|
| 55 |
+
"bnb_4bit_use_double_quant": true,
|
| 56 |
+
"bnb_4bit_quant_storage": null,
|
| 57 |
+
"max_new_tokens": null,
|
| 58 |
+
"temperature": null,
|
| 59 |
+
"top_k": null,
|
| 60 |
+
"top_p": null,
|
| 61 |
+
"repetition_penalty": null,
|
| 62 |
+
"num_beams": 1,
|
| 63 |
+
"stream": false,
|
| 64 |
+
"stop_words": [],
|
| 65 |
+
"logprobs": false,
|
| 66 |
+
"top_logprobs": null,
|
| 67 |
+
"ckpt_dir": "/workspace/Qwen3-4B-Thinking-2507-mcore",
|
| 68 |
+
"lora_modules": [],
|
| 69 |
+
"tuner_backend": "peft",
|
| 70 |
+
"train_type": "full",
|
| 71 |
+
"adapters": [],
|
| 72 |
+
"external_plugins": [],
|
| 73 |
+
"seed": 42,
|
| 74 |
+
"model_kwargs": {},
|
| 75 |
+
"load_args": false,
|
| 76 |
+
"load_data_args": false,
|
| 77 |
+
"packing": true,
|
| 78 |
+
"packing_length": 8192,
|
| 79 |
+
"lazy_tokenize": false,
|
| 80 |
+
"cached_dataset": [
|
| 81 |
+
"my_data_output_only_cached"
|
| 82 |
+
],
|
| 83 |
+
"custom_register_path": [],
|
| 84 |
+
"use_hf": false,
|
| 85 |
+
"hub_token": null,
|
| 86 |
+
"ddp_timeout": 18000000,
|
| 87 |
+
"ddp_backend": null,
|
| 88 |
+
"ignore_args_error": false,
|
| 89 |
+
"use_swift_lora": false,
|
| 90 |
+
"freeze_llm": false,
|
| 91 |
+
"freeze_vit": true,
|
| 92 |
+
"freeze_aligner": true,
|
| 93 |
+
"freeze_parameters": [],
|
| 94 |
+
"freeze_parameters_regex": null,
|
| 95 |
+
"freeze_parameters_ratio": 0.0,
|
| 96 |
+
"trainable_parameters": [],
|
| 97 |
+
"trainable_parameters_regex": null,
|
| 98 |
+
"adapter_load": null,
|
| 99 |
+
"target_modules": [
|
| 100 |
+
"all-linear"
|
| 101 |
+
],
|
| 102 |
+
"target_regex": null,
|
| 103 |
+
"modules_to_save": [],
|
| 104 |
+
"lora_rank": 8,
|
| 105 |
+
"lora_alpha": 32,
|
| 106 |
+
"lora_dropout": 0.05,
|
| 107 |
+
"lora_bias": "none",
|
| 108 |
+
"lora_dtype": null,
|
| 109 |
+
"use_rslora": false,
|
| 110 |
+
"rlhf_type": null,
|
| 111 |
+
"ref_load": null,
|
| 112 |
+
"ref_adapter_load": null,
|
| 113 |
+
"beta": 0.1,
|
| 114 |
+
"rpo_alpha": null,
|
| 115 |
+
"reference_free": false,
|
| 116 |
+
"label_smoothing": 0.0,
|
| 117 |
+
"f_divergence_type": "reverse_kl",
|
| 118 |
+
"loss_type": null,
|
| 119 |
+
"desirable_weight": 1.0,
|
| 120 |
+
"undesirable_weight": 1.0,
|
| 121 |
+
"calculate_KL": null,
|
| 122 |
+
"center_rewards_coefficient": null,
|
| 123 |
+
"padded_vocab_size": 151936,
|
| 124 |
+
"initialize_embedding": false,
|
| 125 |
+
"mlp_padding_free": false,
|
| 126 |
+
"dataloader_persistent_workers": true,
|
| 127 |
+
"dataloader_prefetch_factor": 10,
|
| 128 |
+
"architectures": "Qwen3ForCausalLM",
|
| 129 |
+
"llm_architectures": null,
|
| 130 |
+
"max_epochs": 4,
|
| 131 |
+
"enable_dft_loss": false,
|
| 132 |
+
"enable_channel_loss": false,
|
| 133 |
+
"original_max_position_embeddings": null,
|
| 134 |
+
"partial_rotary_factor": null,
|
| 135 |
+
"use_shared_expert_gate": false,
|
| 136 |
+
"vit_gradient_checkpointing": true,
|
| 137 |
+
"gradient_checkpointing_kwargs": null,
|
| 138 |
+
"linear_num_value_heads": null,
|
| 139 |
+
"linear_num_key_heads": null,
|
| 140 |
+
"linear_key_head_dim": null,
|
| 141 |
+
"linear_value_head_dim": null,
|
| 142 |
+
"linear_conv_kernel_dim": null,
|
| 143 |
+
"layer_types": null,
|
| 144 |
+
"mrope_interleaved": false,
|
| 145 |
+
"micro_batch_size": 4,
|
| 146 |
+
"global_batch_size": 128,
|
| 147 |
+
"recompute_granularity": "selective",
|
| 148 |
+
"recompute_method": null,
|
| 149 |
+
"recompute_num_layers": null,
|
| 150 |
+
"recompute_modules": [
|
| 151 |
+
"core_attn"
|
| 152 |
+
],
|
| 153 |
+
"use_cpu_initialization": false,
|
| 154 |
+
"deterministic_mode": false,
|
| 155 |
+
"train_iters": null,
|
| 156 |
+
"log_interval": 1,
|
| 157 |
+
"tensorboard_dir": "/workspace/Qwen3-4B-Thinking-2507-mcore-affine-4b/v0-20251113-132445/runs",
|
| 158 |
+
"no_masked_softmax_fusion": false,
|
| 159 |
+
"no_bias_dropout_fusion": false,
|
| 160 |
+
"no_bias_swiglu_fusion": false,
|
| 161 |
+
"no_rope_fusion": false,
|
| 162 |
+
"no_gradient_accumulation_fusion": false,
|
| 163 |
+
"cross_entropy_loss_fusion": true,
|
| 164 |
+
"cross_entropy_fusion_impl": "native",
|
| 165 |
+
"calculate_per_token_loss": true,
|
| 166 |
+
"use_flash_attn": false,
|
| 167 |
+
"attention_backend": "flash",
|
| 168 |
+
"optimizer": "adam",
|
| 169 |
+
"optimizer_cpu_offload": false,
|
| 170 |
+
"optimizer_offload_fraction": 1.0,
|
| 171 |
+
"use_precision_aware_optimizer": true,
|
| 172 |
+
"main_grads_dtype": "bf16",
|
| 173 |
+
"main_params_dtype": "fp32",
|
| 174 |
+
"exp_avg_dtype": "bf16",
|
| 175 |
+
"exp_avg_sq_dtype": "bf16",
|
| 176 |
+
"dataloader_type": "cyclic",
|
| 177 |
+
"manual_gc": false,
|
| 178 |
+
"manual_gc_interval": 0,
|
| 179 |
+
"lr": 3e-05,
|
| 180 |
+
"lr_decay_style": "cosine",
|
| 181 |
+
"lr_decay_iters": null,
|
| 182 |
+
"lr_warmup_iters": 0,
|
| 183 |
+
"lr_warmup_fraction": 0.05,
|
| 184 |
+
"min_lr": 3e-06,
|
| 185 |
+
"weight_decay": 0.1,
|
| 186 |
+
"clip_grad": 1.0,
|
| 187 |
+
"adam_beta1": 0.9,
|
| 188 |
+
"adam_beta2": 0.95,
|
| 189 |
+
"adam_eps": 1e-08,
|
| 190 |
+
"sgd_momentum": 0.9,
|
| 191 |
+
"save": "/workspace/Qwen3-4B-Thinking-2507-mcore-affine-4b/v0-20251113-132445",
|
| 192 |
+
"save_interval": 1490,
|
| 193 |
+
"save_retain_interval": null,
|
| 194 |
+
"no_save_optim": true,
|
| 195 |
+
"no_save_rng": true,
|
| 196 |
+
"load": "/workspace/Qwen3-4B-Thinking-2507-mcore",
|
| 197 |
+
"no_load_optim": false,
|
| 198 |
+
"no_load_rng": false,
|
| 199 |
+
"finetune": true,
|
| 200 |
+
"ckpt_format": "torch_dist",
|
| 201 |
+
"no_initialization": true,
|
| 202 |
+
"auto_detect_ckpt_format": true,
|
| 203 |
+
"exit_on_missing_checkpoint": true,
|
| 204 |
+
"async_save": false,
|
| 205 |
+
"use_persistent_ckpt_worker": false,
|
| 206 |
+
"ckpt_fully_parallel_load": false,
|
| 207 |
+
"ckpt_assume_constant_structure": false,
|
| 208 |
+
"distributed_backend": "nccl",
|
| 209 |
+
"local_rank": 0,
|
| 210 |
+
"use_distributed_optimizer": true,
|
| 211 |
+
"tensor_model_parallel_size": 4,
|
| 212 |
+
"pipeline_model_parallel_size": 1,
|
| 213 |
+
"decoder_first_pipeline_num_layers": null,
|
| 214 |
+
"decoder_last_pipeline_num_layers": null,
|
| 215 |
+
"sequence_parallel": true,
|
| 216 |
+
"context_parallel_size": 1,
|
| 217 |
+
"tp_comm_overlap": false,
|
| 218 |
+
"overlap_grad_reduce": false,
|
| 219 |
+
"overlap_param_gather": false,
|
| 220 |
+
"distributed_timeout_minutes": 300000,
|
| 221 |
+
"num_layers_per_virtual_pipeline_stage": null,
|
| 222 |
+
"num_virtual_stages_per_pipeline_rank": null,
|
| 223 |
+
"microbatch_group_size_per_virtual_pipeline_stage": null,
|
| 224 |
+
"pipeline_model_parallel_layout": null,
|
| 225 |
+
"num_layers": 36,
|
| 226 |
+
"hidden_size": 2560,
|
| 227 |
+
"ffn_hidden_size": 9728,
|
| 228 |
+
"num_attention_heads": 32,
|
| 229 |
+
"group_query_attention": true,
|
| 230 |
+
"num_query_groups": 8,
|
| 231 |
+
"max_position_embeddings": 262144,
|
| 232 |
+
"position_embedding_type": "rope",
|
| 233 |
+
"mrope_section": null,
|
| 234 |
+
"rotary_base": 5000000,
|
| 235 |
+
"rotary_percent": 1.0,
|
| 236 |
+
"rotary_interleaved": false,
|
| 237 |
+
"normalization": "RMSNorm",
|
| 238 |
+
"norm_epsilon": 1e-06,
|
| 239 |
+
"swiglu": true,
|
| 240 |
+
"untie_embeddings_and_output_weights": false,
|
| 241 |
+
"disable_bias_linear": true,
|
| 242 |
+
"add_qkv_bias": false,
|
| 243 |
+
"attention_dropout": 0.0,
|
| 244 |
+
"hidden_dropout": 0.0,
|
| 245 |
+
"kv_channels": 128,
|
| 246 |
+
"qk_layernorm": true,
|
| 247 |
+
"transformer_impl": "transformer_engine",
|
| 248 |
+
"num_experts": null,
|
| 249 |
+
"moe_layer_freq": "1",
|
| 250 |
+
"moe_ffn_hidden_size": null,
|
| 251 |
+
"moe_shared_expert_intermediate_size": null,
|
| 252 |
+
"moe_router_topk": 2,
|
| 253 |
+
"moe_router_pre_softmax": false,
|
| 254 |
+
"moe_router_dtype": "fp32",
|
| 255 |
+
"moe_router_score_function": "softmax",
|
| 256 |
+
"moe_router_bias_update_rate": 0.001,
|
| 257 |
+
"moe_router_enable_expert_bias": false,
|
| 258 |
+
"moe_router_topk_scaling_factor": null,
|
| 259 |
+
"moe_router_load_balancing_type": "aux_loss",
|
| 260 |
+
"expert_model_parallel_size": 1,
|
| 261 |
+
"expert_tensor_parallel_size": 1,
|
| 262 |
+
"moe_token_dispatcher_type": null,
|
| 263 |
+
"moe_enable_deepep": false,
|
| 264 |
+
"moe_grouped_gemm": false,
|
| 265 |
+
"moe_permute_fusion": false,
|
| 266 |
+
"moe_aux_loss_coeff": 0.0,
|
| 267 |
+
"moe_z_loss_coeff": null,
|
| 268 |
+
"moe_shared_expert_overlap": false,
|
| 269 |
+
"moe_layer_recompute": false,
|
| 270 |
+
"moe_expert_capacity_factor": null,
|
| 271 |
+
"moe_pad_expert_input_to_capacity": false,
|
| 272 |
+
"moe_token_drop_policy": null,
|
| 273 |
+
"multi_latent_attention": false,
|
| 274 |
+
"q_lora_rank": null,
|
| 275 |
+
"kv_lora_rank": 32,
|
| 276 |
+
"qk_head_dim": 128,
|
| 277 |
+
"qk_pos_emb_head_dim": 64,
|
| 278 |
+
"fp8_format": null,
|
| 279 |
+
"fp8_recipe": "delayed",
|
| 280 |
+
"fp8_amax_history_len": 1024,
|
| 281 |
+
"fp8_amax_compute_algo": "max",
|
| 282 |
+
"fp8_param_gather": false,
|
| 283 |
+
"fp16": false,
|
| 284 |
+
"bf16": true,
|
| 285 |
+
"apply_query_key_layer_scaling": false,
|
| 286 |
+
"attention_softmax_in_fp32": true,
|
| 287 |
+
"log_params_norm": false,
|
| 288 |
+
"log_throughput": false,
|
| 289 |
+
"tensorboard_log_interval": 1,
|
| 290 |
+
"tensorboard_queue_size": 50,
|
| 291 |
+
"log_timers_to_tensorboard": true,
|
| 292 |
+
"no_log_learning_rate_to_tensorboard": false,
|
| 293 |
+
"log_validation_ppl_to_tensorboard": true,
|
| 294 |
+
"log_memory_to_tensorboard": true,
|
| 295 |
+
"logging_level": null,
|
| 296 |
+
"wandb_project": "my_aff",
|
| 297 |
+
"wandb_exp_name": "Qwen3-4B-Thinking-2507-db-data",
|
| 298 |
+
"wandb_save_dir": null,
|
| 299 |
+
"eval_iters": -1,
|
| 300 |
+
"eval_interval": 1490,
|
| 301 |
+
"seq_length": 8192,
|
| 302 |
+
"num_workers": 8,
|
| 303 |
+
"extra_megatron_kwargs": {},
|
| 304 |
+
"add_version": true,
|
| 305 |
+
"rank": 0,
|
| 306 |
+
"global_world_size": 8,
|
| 307 |
+
"local_world_size": 8,
|
| 308 |
+
"model_suffix": "Qwen3-4B-Thinking-2507",
|
| 309 |
+
"model_info": "ModelInfo(model_type='qwen3_thinking', model_dir='/workspace/Qwen3-4B-Thinking-2507', torch_dtype=torch.bfloat16, max_model_len=262144, quant_method=None, quant_bits=None, rope_scaling=None, is_moe_model=False, config=None, task_type='causal_lm', num_labels=None)",
|
| 310 |
+
"model_meta": "ModelMeta(model_type='qwen3_thinking', model_groups=[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)], ignore_patterns=None, requires=None, tags=[])], template='qwen3_thinking', get_function=<function get_model_tokenizer_with_flash_attn at 0x789af7853880>, model_arch=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=[])",
|
| 311 |
+
"model_dir": "/workspace/Qwen3-4B-Thinking-2507",
|
| 312 |
+
"hub": "<class 'swift.hub.hub.MSHub'>",
|
| 313 |
+
"megatron_model_meta": "MegatronModelMeta(megatron_model_type='gpt', model_types=['qwen2', 'qwen2_5', 'qwq', 'qwq_preview', 'qwen2_5_math', 'llama', 'llama3', 'llama3_1', 'llama3_2', 'longwriter_llama3_1', 'codefuse_codellama', 'marco_o1', 'deepseek', 'deepseek_r1_distill', 'yi', 'yi_coder', 'sus', 'skywork_o1', 'openbuddy_llama', 'openbuddy_llama3', 'megrez', 'reflection', 'numina', 'ziya', 'mengzi3', 'qwen3', 'qwen3_thinking', 'qwen3_nothinking', 'qwen2_moe', 'qwen3_moe', 'qwen3_moe_thinking', 'qwen3_coder', 'internlm3', 'mimo', 'mimo_rl', 'moonlight', 'deepseek_moe', 'deepseek_v2', 'deepseek_v2_5', 'deepseek_r1', 'dots1', 'ernie', 'glm4_5', 'deepseek_v3_1', 'ernie_thinking'], convert_mcore2hf=<function convert_mcore2hf at 0x789a608fe2a0>, convert_hf2mcore=<function convert_hf2mcore at 0x789a608fdda0>, model_cls=<class 'swift.megatron.model.gpt_model.GPTModel'>, convert_hf_config=<function convert_gpt_hf_config at 0x789a608c9b20>, get_transformer_layer_spec=None, model_provider=<function model_provider at 0x789a608bf060>, visual_cls=None, extra_args_provider=None)",
|
| 314 |
+
"extra_args": {
|
| 315 |
+
"model": "Qwen3-4B-Thinking-2507",
|
| 316 |
+
"model_type": "qwen3_thinking",
|
| 317 |
+
"model_revision": null,
|
| 318 |
+
"task_type": "causal_lm",
|
| 319 |
+
"torch_dtype": "bfloat16",
|
| 320 |
+
"attn_impl": null,
|
| 321 |
+
"new_special_tokens": [],
|
| 322 |
+
"num_labels": null,
|
| 323 |
+
"problem_type": null,
|
| 324 |
+
"rope_scaling": null,
|
| 325 |
+
"device_map": null,
|
| 326 |
+
"max_memory": {},
|
| 327 |
+
"max_model_len": null,
|
| 328 |
+
"local_repo_path": null,
|
| 329 |
+
"init_strategy": null,
|
| 330 |
+
"template": "qwen3_thinking",
|
| 331 |
+
"system": null,
|
| 332 |
+
"max_length": 8192,
|
| 333 |
+
"truncation_strategy": "delete",
|
| 334 |
+
"max_pixels": null,
|
| 335 |
+
"agent_template": null,
|
| 336 |
+
"norm_bbox": null,
|
| 337 |
+
"use_chat_template": true,
|
| 338 |
+
"padding_free": true,
|
| 339 |
+
"padding_side": "right",
|
| 340 |
+
"sequence_parallel_size": 1,
|
| 341 |
+
"response_prefix": null,
|
| 342 |
+
"template_backend": "swift",
|
| 343 |
+
"dataset": [],
|
| 344 |
+
"val_dataset": [],
|
| 345 |
+
"split_dataset_ratio": 0.0,
|
| 346 |
+
"data_seed": 42,
|
| 347 |
+
"dataset_num_proc": 8,
|
| 348 |
+
"load_from_cache_file": false,
|
| 349 |
+
"dataset_shuffle": true,
|
| 350 |
+
"val_dataset_shuffle": false,
|
| 351 |
+
"streaming": false,
|
| 352 |
+
"interleave_prob": null,
|
| 353 |
+
"stopping_strategy": "first_exhausted",
|
| 354 |
+
"shuffle_buffer_size": 1000,
|
| 355 |
+
"download_mode": "reuse_dataset_if_exists",
|
| 356 |
+
"columns": {},
|
| 357 |
+
"strict": false,
|
| 358 |
+
"remove_unused_columns": true,
|
| 359 |
+
"model_name": null,
|
| 360 |
+
"model_author": null,
|
| 361 |
+
"custom_dataset_info": [],
|
| 362 |
+
"quant_method": null,
|
| 363 |
+
"quant_bits": null,
|
| 364 |
+
"hqq_axis": null,
|
| 365 |
+
"bnb_4bit_compute_dtype": "bfloat16",
|
| 366 |
+
"bnb_4bit_quant_type": "nf4",
|
| 367 |
+
"bnb_4bit_use_double_quant": true,
|
| 368 |
+
"bnb_4bit_quant_storage": null,
|
| 369 |
+
"max_new_tokens": null,
|
| 370 |
+
"temperature": null,
|
| 371 |
+
"top_k": null,
|
| 372 |
+
"top_p": null,
|
| 373 |
+
"repetition_penalty": null,
|
| 374 |
+
"num_beams": 1,
|
| 375 |
+
"stream": false,
|
| 376 |
+
"stop_words": [],
|
| 377 |
+
"logprobs": false,
|
| 378 |
+
"top_logprobs": null,
|
| 379 |
+
"ckpt_dir": "/workspace/Qwen3-4B-Thinking-2507-mcore",
|
| 380 |
+
"lora_modules": [],
|
| 381 |
+
"tuner_backend": "peft",
|
| 382 |
+
"train_type": "full",
|
| 383 |
+
"adapters": [],
|
| 384 |
+
"external_plugins": [],
|
| 385 |
+
"model_kwargs": {},
|
| 386 |
+
"load_args": false,
|
| 387 |
+
"load_data_args": false,
|
| 388 |
+
"packing": true,
|
| 389 |
+
"packing_length": 8192,
|
| 390 |
+
"lazy_tokenize": false,
|
| 391 |
+
"cached_dataset": [
|
| 392 |
+
"my_data_output_only_cached"
|
| 393 |
+
],
|
| 394 |
+
"custom_register_path": [],
|
| 395 |
+
"use_hf": false,
|
| 396 |
+
"hub_token": null,
|
| 397 |
+
"ddp_timeout": 18000000,
|
| 398 |
+
"ddp_backend": null,
|
| 399 |
+
"ignore_args_error": false,
|
| 400 |
+
"use_swift_lora": false,
|
| 401 |
+
"freeze_llm": false,
|
| 402 |
+
"freeze_vit": true,
|
| 403 |
+
"freeze_aligner": true,
|
| 404 |
+
"freeze_parameters": [],
|
| 405 |
+
"freeze_parameters_regex": null,
|
| 406 |
+
"freeze_parameters_ratio": 0.0,
|
| 407 |
+
"trainable_parameters": [],
|
| 408 |
+
"trainable_parameters_regex": null,
|
| 409 |
+
"adapter_load": null,
|
| 410 |
+
"target_modules": [
|
| 411 |
+
"all-linear"
|
| 412 |
+
],
|
| 413 |
+
"target_regex": null,
|
| 414 |
+
"modules_to_save": [],
|
| 415 |
+
"lora_rank": 8,
|
| 416 |
+
"lora_alpha": 32,
|
| 417 |
+
"lora_dropout": 0.05,
|
| 418 |
+
"lora_bias": "none",
|
| 419 |
+
"lora_dtype": null,
|
| 420 |
+
"use_rslora": false,
|
| 421 |
+
"rlhf_type": null,
|
| 422 |
+
"ref_load": null,
|
| 423 |
+
"ref_adapter_load": null,
|
| 424 |
+
"beta": 0.1,
|
| 425 |
+
"rpo_alpha": null,
|
| 426 |
+
"reference_free": false,
|
| 427 |
+
"label_smoothing": 0.0,
|
| 428 |
+
"f_divergence_type": "reverse_kl",
|
| 429 |
+
"loss_type": null,
|
| 430 |
+
"desirable_weight": 1.0,
|
| 431 |
+
"undesirable_weight": 1.0,
|
| 432 |
+
"calculate_KL": null,
|
| 433 |
+
"center_rewards_coefficient": null,
|
| 434 |
+
"padded_vocab_size": 151936,
|
| 435 |
+
"initialize_embedding": false,
|
| 436 |
+
"mlp_padding_free": false,
|
| 437 |
+
"dataloader_persistent_workers": true,
|
| 438 |
+
"dataloader_prefetch_factor": 10,
|
| 439 |
+
"architectures": "Qwen3ForCausalLM",
|
| 440 |
+
"llm_architectures": null,
|
| 441 |
+
"max_epochs": 4,
|
| 442 |
+
"enable_dft_loss": false,
|
| 443 |
+
"enable_channel_loss": false,
|
| 444 |
+
"original_max_position_embeddings": null,
|
| 445 |
+
"partial_rotary_factor": null,
|
| 446 |
+
"use_shared_expert_gate": false,
|
| 447 |
+
"vit_gradient_checkpointing": true,
|
| 448 |
+
"gradient_checkpointing_kwargs": null,
|
| 449 |
+
"linear_num_value_heads": null,
|
| 450 |
+
"linear_num_key_heads": null,
|
| 451 |
+
"linear_key_head_dim": null,
|
| 452 |
+
"linear_value_head_dim": null,
|
| 453 |
+
"linear_conv_kernel_dim": null,
|
| 454 |
+
"layer_types": null,
|
| 455 |
+
"mrope_interleaved": false,
|
| 456 |
+
"add_version": true,
|
| 457 |
+
"model_info": "ModelInfo(model_type='qwen3_thinking', model_dir='/workspace/Qwen3-4B-Thinking-2507', torch_dtype=torch.bfloat16, max_model_len=262144, quant_method=None, quant_bits=None, rope_scaling=None, is_moe_model=False, config=None, task_type='causal_lm', num_labels=None)",
|
| 458 |
+
"model_meta": "ModelMeta(model_type='qwen3_thinking', model_groups=[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)], ignore_patterns=None, requires=None, tags=[])], template='qwen3_thinking', get_function=<function get_model_tokenizer_with_flash_attn at 0x789af7853880>, model_arch=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=[])",
|
| 459 |
+
"megatron_model_meta": "MegatronModelMeta(megatron_model_type='gpt', model_types=['qwen2', 'qwen2_5', 'qwq', 'qwq_preview', 'qwen2_5_math', 'llama', 'llama3', 'llama3_1', 'llama3_2', 'longwriter_llama3_1', 'codefuse_codellama', 'marco_o1', 'deepseek', 'deepseek_r1_distill', 'yi', 'yi_coder', 'sus', 'skywork_o1', 'openbuddy_llama', 'openbuddy_llama3', 'megrez', 'reflection', 'numina', 'ziya', 'mengzi3', 'qwen3', 'qwen3_thinking', 'qwen3_nothinking', 'qwen2_moe', 'qwen3_moe', 'qwen3_moe_thinking', 'qwen3_coder', 'internlm3', 'mimo', 'mimo_rl', 'moonlight', 'deepseek_moe', 'deepseek_v2', 'deepseek_v2_5', 'deepseek_r1', 'dots1', 'ernie', 'glm4_5', 'deepseek_v3_1', 'ernie_thinking'], convert_mcore2hf=<function convert_mcore2hf at 0x789a608fe2a0>, convert_hf2mcore=<function convert_hf2mcore at 0x789a608fdda0>, model_cls=<class 'swift.megatron.model.gpt_model.GPTModel'>, convert_hf_config=<function convert_gpt_hf_config at 0x789a608c9b20>, get_transformer_layer_spec=None, model_provider=<function model_provider at 0x789a608bf060>, visual_cls=None, extra_args_provider=None)"
|
| 460 |
+
}
|
| 461 |
+
}
|