Instructions to use anon4papersubmission/PILOT-checkpoints with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use anon4papersubmission/PILOT-checkpoints with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("anon4papersubmission/PILOT-checkpoints", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Remove absolute training paths from adapter metadata; point base_model at the public Qwen3-Reranker
Browse files- reranker/aap_fold0/adapter_config.json +1 -1
- reranker/aap_fold0/args.json +0 -346
- reranker/aap_fold1/adapter_config.json +1 -1
- reranker/aap_fold1/args.json +0 -346
- reranker/aap_fold2/adapter_config.json +1 -1
- reranker/aap_fold2/args.json +0 -346
- reranker/aap_fold3/adapter_config.json +1 -1
- reranker/aap_fold3/args.json +0 -346
- reranker/aap_fold4/adapter_config.json +1 -1
- reranker/aap_fold4/args.json +0 -346
- reranker/aap_fold5/adapter_config.json +1 -1
- reranker/aap_fold5/args.json +0 -346
- reranker/aap_fold6/adapter_config.json +1 -1
- reranker/aap_fold6/args.json +0 -346
- reranker/aap_fold7/adapter_config.json +1 -1
- reranker/aap_fold7/args.json +0 -346
- reranker/aap_fold8/adapter_config.json +1 -1
- reranker/aap_fold8/args.json +0 -346
- reranker/aap_fold9/adapter_config.json +1 -1
- reranker/aap_fold9/args.json +0 -346
- reranker/bc5cdr/adapter_config.json +1 -1
- reranker/bc5cdr/args.json +0 -346
- reranker/cometa/adapter_config.json +1 -1
- reranker/cometa/args.json +0 -346
- reranker/mm/adapter_config.json +1 -1
- reranker/mm/args.json +0 -346
- reranker/ncbi/adapter_config.json +1 -1
- reranker/ncbi/args.json +0 -346
reranker/aap_fold0/adapter_config.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
"alpha_pattern": {},
|
| 4 |
"arrow_config": null,
|
| 5 |
"auto_mapping": null,
|
| 6 |
-
"base_model_name_or_path": "
|
| 7 |
"bias": "none",
|
| 8 |
"corda_config": null,
|
| 9 |
"ensure_weight_tying": false,
|
|
|
|
| 3 |
"alpha_pattern": {},
|
| 4 |
"arrow_config": null,
|
| 5 |
"auto_mapping": null,
|
| 6 |
+
"base_model_name_or_path": "Qwen/Qwen3-Reranker-4B",
|
| 7 |
"bias": "none",
|
| 8 |
"corda_config": null,
|
| 9 |
"ensure_weight_tying": false,
|
reranker/aap_fold0/args.json
DELETED
|
@@ -1,346 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"output_dir": "/nfs/turbo/umms-drjieliu/usr/yctao/ANGEL/models/rerank/aap_fold0_saphn8fix_2ep_r1/v0-20260608-020619",
|
| 3 |
-
"per_device_train_batch_size": 4,
|
| 4 |
-
"num_train_epochs": 2.0,
|
| 5 |
-
"max_steps": -1,
|
| 6 |
-
"learning_rate": 5e-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": 2,
|
| 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": false,
|
| 27 |
-
"gradient_checkpointing_kwargs": null,
|
| 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": 20,
|
| 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 |
-
"wandb"
|
| 48 |
-
],
|
| 49 |
-
"run_name": "aap_fold0_saphn8fix_2ep_r1_j27270826",
|
| 50 |
-
"project": "huggingface",
|
| 51 |
-
"trackio_space_id": null,
|
| 52 |
-
"trackio_bucket_id": null,
|
| 53 |
-
"trackio_static_space_id": null,
|
| 54 |
-
"eval_strategy": "no",
|
| 55 |
-
"eval_steps": 0.25,
|
| 56 |
-
"eval_delay": 0,
|
| 57 |
-
"per_device_eval_batch_size": 1,
|
| 58 |
-
"prediction_loss_only": false,
|
| 59 |
-
"eval_on_start": false,
|
| 60 |
-
"eval_do_concat_batches": true,
|
| 61 |
-
"eval_use_gather_object": false,
|
| 62 |
-
"eval_accumulation_steps": null,
|
| 63 |
-
"include_for_metrics": [],
|
| 64 |
-
"batch_eval_metrics": false,
|
| 65 |
-
"save_only_model": false,
|
| 66 |
-
"save_strategy": "steps",
|
| 67 |
-
"save_steps": 0.25,
|
| 68 |
-
"save_on_each_node": false,
|
| 69 |
-
"save_total_limit": 5,
|
| 70 |
-
"enable_jit_checkpoint": false,
|
| 71 |
-
"push_to_hub": false,
|
| 72 |
-
"hub_token": null,
|
| 73 |
-
"hub_private_repo": null,
|
| 74 |
-
"hub_model_id": null,
|
| 75 |
-
"hub_strategy": "every_save",
|
| 76 |
-
"hub_always_push": false,
|
| 77 |
-
"hub_revision": null,
|
| 78 |
-
"load_best_model_at_end": false,
|
| 79 |
-
"metric_for_best_model": "loss",
|
| 80 |
-
"greater_is_better": false,
|
| 81 |
-
"ignore_data_skip": false,
|
| 82 |
-
"restore_callback_states_from_checkpoint": false,
|
| 83 |
-
"full_determinism": false,
|
| 84 |
-
"seed": 42,
|
| 85 |
-
"data_seed": 42,
|
| 86 |
-
"use_cpu": false,
|
| 87 |
-
"accelerator_config": {
|
| 88 |
-
"dispatch_batches": false
|
| 89 |
-
},
|
| 90 |
-
"parallelism_config": null,
|
| 91 |
-
"dataloader_drop_last": false,
|
| 92 |
-
"dataloader_num_workers": 4,
|
| 93 |
-
"dataloader_pin_memory": true,
|
| 94 |
-
"dataloader_persistent_workers": false,
|
| 95 |
-
"dataloader_prefetch_factor": null,
|
| 96 |
-
"remove_unused_columns": true,
|
| 97 |
-
"label_names": null,
|
| 98 |
-
"train_sampling_strategy": "random",
|
| 99 |
-
"length_column_name": "length",
|
| 100 |
-
"ddp_find_unused_parameters": null,
|
| 101 |
-
"ddp_bucket_cap_mb": null,
|
| 102 |
-
"ddp_broadcast_buffers": null,
|
| 103 |
-
"ddp_static_graph": null,
|
| 104 |
-
"ddp_backend": null,
|
| 105 |
-
"ddp_timeout": 18000000,
|
| 106 |
-
"fsdp": [],
|
| 107 |
-
"fsdp_config": null,
|
| 108 |
-
"deepspeed": null,
|
| 109 |
-
"debug": null,
|
| 110 |
-
"skip_memory_metrics": true,
|
| 111 |
-
"do_train": false,
|
| 112 |
-
"do_eval": false,
|
| 113 |
-
"do_predict": false,
|
| 114 |
-
"resume_from_checkpoint": null,
|
| 115 |
-
"warmup_ratio": 0.05,
|
| 116 |
-
"logging_dir": "/nfs/turbo/umms-drjieliu/usr/yctao/ANGEL/models/rerank/aap_fold0_saphn8fix_2ep_r1/v0-20260608-020619/runs",
|
| 117 |
-
"local_rank": 0,
|
| 118 |
-
"sortish_sampler": false,
|
| 119 |
-
"predict_with_generate": false,
|
| 120 |
-
"generation_max_length": null,
|
| 121 |
-
"generation_num_beams": null,
|
| 122 |
-
"generation_config": null,
|
| 123 |
-
"tuner_backend": "peft",
|
| 124 |
-
"vit_gradient_checkpointing": false,
|
| 125 |
-
"router_aux_loss_coef": 0.0,
|
| 126 |
-
"enable_dft_loss": false,
|
| 127 |
-
"enable_channel_loss": false,
|
| 128 |
-
"safe_serialization": true,
|
| 129 |
-
"max_shard_size": "5GB",
|
| 130 |
-
"check_model": true,
|
| 131 |
-
"acc_strategy": "token",
|
| 132 |
-
"train_dataloader_shuffle": true,
|
| 133 |
-
"group_by_length": false,
|
| 134 |
-
"max_epochs": null,
|
| 135 |
-
"aligner_lr": null,
|
| 136 |
-
"vit_lr": null,
|
| 137 |
-
"use_logits_to_keep": null,
|
| 138 |
-
"ds3_gather_for_generation": true,
|
| 139 |
-
"resume_only_model": false,
|
| 140 |
-
"optimizer": null,
|
| 141 |
-
"loss_type": "pointwise_reranker",
|
| 142 |
-
"eval_metric": "reranker",
|
| 143 |
-
"callbacks": [],
|
| 144 |
-
"early_stop_interval": null,
|
| 145 |
-
"eval_use_evalscope": false,
|
| 146 |
-
"eval_dataset": [],
|
| 147 |
-
"eval_dataset_args": null,
|
| 148 |
-
"eval_limit": null,
|
| 149 |
-
"eval_generation_config": null,
|
| 150 |
-
"extra_eval_args": null,
|
| 151 |
-
"tuner_type": "lora",
|
| 152 |
-
"use_galore": false,
|
| 153 |
-
"galore_target_modules": null,
|
| 154 |
-
"galore_rank": 128,
|
| 155 |
-
"galore_update_proj_gap": 50,
|
| 156 |
-
"galore_scale": 1.0,
|
| 157 |
-
"galore_proj_type": "std",
|
| 158 |
-
"galore_optim_per_parameter": false,
|
| 159 |
-
"galore_with_embedding": false,
|
| 160 |
-
"galore_quantization": false,
|
| 161 |
-
"galore_proj_quant": false,
|
| 162 |
-
"galore_proj_bits": 4,
|
| 163 |
-
"galore_proj_group_size": 256,
|
| 164 |
-
"galore_cos_threshold": 0.4,
|
| 165 |
-
"galore_gamma_proj": 2,
|
| 166 |
-
"galore_queue_size": 5,
|
| 167 |
-
"lisa_activated_layers": 0,
|
| 168 |
-
"lisa_step_interval": 20,
|
| 169 |
-
"use_flash_ckpt": false,
|
| 170 |
-
"use_ray": false,
|
| 171 |
-
"ray_exp_name": null,
|
| 172 |
-
"device_groups": null,
|
| 173 |
-
"model": "Qwen/Qwen3-Reranker-4B",
|
| 174 |
-
"model_type": "qwen3_reranker",
|
| 175 |
-
"model_revision": null,
|
| 176 |
-
"task_type": "generative_reranker",
|
| 177 |
-
"torch_dtype": "bfloat16",
|
| 178 |
-
"attn_impl": "flash_attn",
|
| 179 |
-
"experts_impl": null,
|
| 180 |
-
"new_special_tokens": [],
|
| 181 |
-
"num_labels": null,
|
| 182 |
-
"problem_type": null,
|
| 183 |
-
"rope_scaling": null,
|
| 184 |
-
"device_map": null,
|
| 185 |
-
"max_memory": {},
|
| 186 |
-
"max_model_len": null,
|
| 187 |
-
"local_repo_path": null,
|
| 188 |
-
"init_strategy": null,
|
| 189 |
-
"template": "qwen3_reranker",
|
| 190 |
-
"system": null,
|
| 191 |
-
"max_length": 512,
|
| 192 |
-
"truncation_strategy": "delete",
|
| 193 |
-
"max_pixels": null,
|
| 194 |
-
"agent_template": null,
|
| 195 |
-
"norm_bbox": null,
|
| 196 |
-
"use_chat_template": true,
|
| 197 |
-
"padding_side": "right",
|
| 198 |
-
"padding_free": true,
|
| 199 |
-
"loss_scale": "default",
|
| 200 |
-
"sequence_parallel_size": 1,
|
| 201 |
-
"template_backend": "swift",
|
| 202 |
-
"response_prefix": null,
|
| 203 |
-
"enable_thinking": null,
|
| 204 |
-
"add_non_thinking_prefix": true,
|
| 205 |
-
"dataset": [
|
| 206 |
-
"data/rerank_swift/aap_fold0_saphn8fix_2ep_r1.jsonl"
|
| 207 |
-
],
|
| 208 |
-
"val_dataset": [],
|
| 209 |
-
"cached_dataset": [],
|
| 210 |
-
"cached_val_dataset": [],
|
| 211 |
-
"split_dataset_ratio": 0.0,
|
| 212 |
-
"dataset_num_proc": 1,
|
| 213 |
-
"load_from_cache_file": false,
|
| 214 |
-
"dataset_shuffle": true,
|
| 215 |
-
"val_dataset_shuffle": false,
|
| 216 |
-
"streaming": false,
|
| 217 |
-
"interleave_prob": null,
|
| 218 |
-
"stopping_strategy": "first_exhausted",
|
| 219 |
-
"shuffle_buffer_size": 1000,
|
| 220 |
-
"download_mode": "reuse_dataset_if_exists",
|
| 221 |
-
"columns": {},
|
| 222 |
-
"strict": false,
|
| 223 |
-
"disable_auto_column_mapping": false,
|
| 224 |
-
"model_name": null,
|
| 225 |
-
"model_author": null,
|
| 226 |
-
"custom_dataset_info": [],
|
| 227 |
-
"quant_method": null,
|
| 228 |
-
"quant_bits": null,
|
| 229 |
-
"hqq_axis": null,
|
| 230 |
-
"bnb_4bit_compute_dtype": "bfloat16",
|
| 231 |
-
"bnb_4bit_quant_type": "nf4",
|
| 232 |
-
"bnb_4bit_use_double_quant": true,
|
| 233 |
-
"bnb_4bit_quant_storage": null,
|
| 234 |
-
"max_new_tokens": 64,
|
| 235 |
-
"temperature": 0.0,
|
| 236 |
-
"top_k": null,
|
| 237 |
-
"top_p": null,
|
| 238 |
-
"repetition_penalty": null,
|
| 239 |
-
"num_beams": 1,
|
| 240 |
-
"stream": false,
|
| 241 |
-
"stop_words": [],
|
| 242 |
-
"logprobs": false,
|
| 243 |
-
"top_logprobs": null,
|
| 244 |
-
"structured_outputs_regex": null,
|
| 245 |
-
"adapters": [],
|
| 246 |
-
"external_plugins": [],
|
| 247 |
-
"custom_register_path": [],
|
| 248 |
-
"model_kwargs": {},
|
| 249 |
-
"enable_npu_model_patch": true,
|
| 250 |
-
"load_args": false,
|
| 251 |
-
"load_data_args": false,
|
| 252 |
-
"packing": false,
|
| 253 |
-
"packing_length": null,
|
| 254 |
-
"packing_num_proc": 1,
|
| 255 |
-
"lazy_tokenize": true,
|
| 256 |
-
"use_hf": true,
|
| 257 |
-
"ignore_args_error": false,
|
| 258 |
-
"use_swift_lora": false,
|
| 259 |
-
"freeze_parameters": [],
|
| 260 |
-
"freeze_parameters_regex": null,
|
| 261 |
-
"freeze_parameters_ratio": 0.0,
|
| 262 |
-
"trainable_parameters": [],
|
| 263 |
-
"trainable_parameters_regex": null,
|
| 264 |
-
"freeze_llm": false,
|
| 265 |
-
"freeze_vit": true,
|
| 266 |
-
"freeze_aligner": true,
|
| 267 |
-
"target_modules": [
|
| 268 |
-
"all-linear"
|
| 269 |
-
],
|
| 270 |
-
"target_regex": null,
|
| 271 |
-
"target_parameters": null,
|
| 272 |
-
"modules_to_save": [],
|
| 273 |
-
"lora_rank": 16,
|
| 274 |
-
"lora_alpha": 32,
|
| 275 |
-
"lora_dropout": 0.05,
|
| 276 |
-
"lora_bias": "none",
|
| 277 |
-
"lora_dtype": null,
|
| 278 |
-
"lorap_lr_ratio": null,
|
| 279 |
-
"use_rslora": false,
|
| 280 |
-
"use_dora": false,
|
| 281 |
-
"lora_ga_batch_size": 2,
|
| 282 |
-
"lora_ga_iters": 2,
|
| 283 |
-
"lora_ga_max_length": 1024,
|
| 284 |
-
"lora_ga_direction": "ArB2r",
|
| 285 |
-
"lora_ga_scale": "stable",
|
| 286 |
-
"lora_ga_stable_gamma": 16,
|
| 287 |
-
"init_weights": true,
|
| 288 |
-
"fourier_n_frequency": 2000,
|
| 289 |
-
"fourier_scaling": 300.0,
|
| 290 |
-
"boft_block_size": 4,
|
| 291 |
-
"boft_block_num": 0,
|
| 292 |
-
"boft_n_butterfly_factor": 1,
|
| 293 |
-
"boft_dropout": 0.0,
|
| 294 |
-
"vera_rank": 256,
|
| 295 |
-
"vera_projection_prng_key": 0,
|
| 296 |
-
"vera_dropout": 0.0,
|
| 297 |
-
"vera_d_initial": 0.1,
|
| 298 |
-
"adapter_act": "gelu",
|
| 299 |
-
"adapter_length": 128,
|
| 300 |
-
"adalora_target_r": 8,
|
| 301 |
-
"adalora_init_r": 12,
|
| 302 |
-
"adalora_tinit": 0,
|
| 303 |
-
"adalora_tfinal": 0,
|
| 304 |
-
"adalora_deltaT": 1,
|
| 305 |
-
"adalora_beta1": 0.85,
|
| 306 |
-
"adalora_beta2": 0.85,
|
| 307 |
-
"adalora_orth_reg_weight": 0.5,
|
| 308 |
-
"llamapro_num_new_blocks": 4,
|
| 309 |
-
"llamapro_num_groups": null,
|
| 310 |
-
"reft_layer_key": null,
|
| 311 |
-
"reft_layers": null,
|
| 312 |
-
"reft_rank": 4,
|
| 313 |
-
"reft_intervention_type": "LoreftIntervention",
|
| 314 |
-
"reft_args": null,
|
| 315 |
-
"swanlab_token": null,
|
| 316 |
-
"swanlab_project": "ms-swift",
|
| 317 |
-
"swanlab_workspace": null,
|
| 318 |
-
"swanlab_exp_name": null,
|
| 319 |
-
"swanlab_notification_method": null,
|
| 320 |
-
"swanlab_webhook_url": null,
|
| 321 |
-
"swanlab_secret": null,
|
| 322 |
-
"swanlab_sender_email": null,
|
| 323 |
-
"swanlab_receiver_email": null,
|
| 324 |
-
"swanlab_smtp_server": null,
|
| 325 |
-
"swanlab_smtp_port": null,
|
| 326 |
-
"swanlab_email_language": "zh",
|
| 327 |
-
"swanlab_mode": "cloud",
|
| 328 |
-
"add_version": true,
|
| 329 |
-
"create_checkpoint_symlink": false,
|
| 330 |
-
"zero_hpz_partition_size": null,
|
| 331 |
-
"deepspeed_autotp_size": null,
|
| 332 |
-
"swift_version": "4.2.0",
|
| 333 |
-
"ckpt_dir": null,
|
| 334 |
-
"rank": 0,
|
| 335 |
-
"global_world_size": 1,
|
| 336 |
-
"local_world_size": 1,
|
| 337 |
-
"model_suffix": "Qwen3-Reranker-4B",
|
| 338 |
-
"model_info": "ModelInfo(model_type='qwen3_reranker', model_dir='/nfs/turbo/umms-drjieliu/usr/yctao/HF_HOME/hub/models--Qwen--Qwen3-Reranker-4B/snapshots/22e683669bc0f0bd69640a1354a6d0aebcfeede5', torch_dtype=torch.bfloat16, max_model_len=40960, quant_method=None, quant_bits=None, rope_scaling={'rope_theta': 1000000, 'rope_type': 'default'}, is_moe_model=False, is_multimodal=False, config=None, task_type='generative_reranker', num_labels=None)",
|
| 339 |
-
"model_meta": "ModelMeta(model_type='qwen3_reranker', model_groups=[ModelGroup(models=[Model(ms_model_id='Qwen/Qwen3-Reranker-0.6B', hf_model_id='Qwen/Qwen3-Reranker-0.6B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-Reranker-4B', hf_model_id='Qwen/Qwen3-Reranker-4B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-Reranker-8B', hf_model_id='Qwen/Qwen3-Reranker-8B', model_path=None, ms_revision=None, hf_revision=None)], template=None, ignore_patterns=None, requires=None, tags=[])], loader=<class 'swift.model.register.ModelLoader'>, template='qwen3_reranker', model_arch=None, mcore_model_type='gpt', architectures=['Qwen3ForCausalLM'], additional_saved_files=[], torch_dtype=None, is_multimodal=False, is_reward=False, task_type=None, ignore_patterns=None, requires=[], tags=[])",
|
| 340 |
-
"model_dir": "/nfs/turbo/umms-drjieliu/usr/yctao/HF_HOME/hub/models--Qwen--Qwen3-Reranker-4B/snapshots/22e683669bc0f0bd69640a1354a6d0aebcfeede5",
|
| 341 |
-
"template_meta": "Qwen3MixedTemplateMeta(template_type='qwen3_reranker', 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.templates.qwen.Qwen3RerankerTemplate'>, system_prefix=['<|im_start|>system\\n{{SYSTEM}}<|im_end|>\\n'], default_system='Judge whether the Document meets the requirements based on the Query and the Instruct provided. Note that the answer can only be \"yes\" or \"no\".', auto_add_bos=False, stop_words=['<|endoftext|>'], agent_template='hermes', is_thinking=False, thinking_prefix='', non_thinking_prefix='<think>\\n\\n</think>\\n\\n', history_thinking_prefix='')",
|
| 342 |
-
"_val_dataset_exists": false,
|
| 343 |
-
"hub": "<class 'swift.hub.hub.HFHub'>",
|
| 344 |
-
"evaluation_strategy": "steps",
|
| 345 |
-
"training_args": "TrainingArguments(output_dir='/nfs/turbo/umms-drjieliu/usr/yctao/ANGEL/models/rerank/aap_fold0_saphn8fix_2ep_r1/v0-20260608-020619', per_device_train_batch_size=4, num_train_epochs=2.0, max_steps=-1, learning_rate=5e-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=2, 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=False, gradient_checkpointing_kwargs=None, 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=20, 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=['wandb'], run_name='aap_fold0_saphn8fix_2ep_r1_j27270826', project='huggingface', trackio_space_id=None, trackio_bucket_id=None, trackio_static_space_id=None, eval_strategy=<IntervalStrategy.NO: 'no'>, eval_steps=0.25, 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=0.25, save_on_each_node=False, save_total_limit=5, 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=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_static_graph=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=None, debug=[], skip_memory_metrics=True, do_train=False, do_eval=False, do_predict=False, resume_from_checkpoint=None, warmup_ratio=0.05, logging_dir='/nfs/turbo/umms-drjieliu/usr/yctao/ANGEL/models/rerank/aap_fold0_saphn8fix_2ep_r1/v0-20260608-020619/runs', local_rank=0, tuner_backend='peft', vit_gradient_checkpointing=False, 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=None, use_logits_to_keep=None, ds3_gather_for_generation=True, resume_only_model=False, optimizer=None, loss_type='pointwise_reranker', eval_metric='reranker', 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='lora', 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)"
|
| 346 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
reranker/aap_fold1/adapter_config.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
"alpha_pattern": {},
|
| 4 |
"arrow_config": null,
|
| 5 |
"auto_mapping": null,
|
| 6 |
-
"base_model_name_or_path": "
|
| 7 |
"bias": "none",
|
| 8 |
"corda_config": null,
|
| 9 |
"ensure_weight_tying": false,
|
|
|
|
| 3 |
"alpha_pattern": {},
|
| 4 |
"arrow_config": null,
|
| 5 |
"auto_mapping": null,
|
| 6 |
+
"base_model_name_or_path": "Qwen/Qwen3-Reranker-4B",
|
| 7 |
"bias": "none",
|
| 8 |
"corda_config": null,
|
| 9 |
"ensure_weight_tying": false,
|
reranker/aap_fold1/args.json
DELETED
|
@@ -1,346 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"output_dir": "/nfs/turbo/umms-drjieliu/usr/yctao/ANGEL/models/rerank/aap_fold1_saphn8fix_2ep_r1/v0-20260608-055424",
|
| 3 |
-
"per_device_train_batch_size": 4,
|
| 4 |
-
"num_train_epochs": 2.0,
|
| 5 |
-
"max_steps": -1,
|
| 6 |
-
"learning_rate": 5e-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": 2,
|
| 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": false,
|
| 27 |
-
"gradient_checkpointing_kwargs": null,
|
| 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": 20,
|
| 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 |
-
"wandb"
|
| 48 |
-
],
|
| 49 |
-
"run_name": "aap_fold1_saphn8fix_2ep_r1_j27270939",
|
| 50 |
-
"project": "huggingface",
|
| 51 |
-
"trackio_space_id": null,
|
| 52 |
-
"trackio_bucket_id": null,
|
| 53 |
-
"trackio_static_space_id": null,
|
| 54 |
-
"eval_strategy": "no",
|
| 55 |
-
"eval_steps": 0.25,
|
| 56 |
-
"eval_delay": 0,
|
| 57 |
-
"per_device_eval_batch_size": 1,
|
| 58 |
-
"prediction_loss_only": false,
|
| 59 |
-
"eval_on_start": false,
|
| 60 |
-
"eval_do_concat_batches": true,
|
| 61 |
-
"eval_use_gather_object": false,
|
| 62 |
-
"eval_accumulation_steps": null,
|
| 63 |
-
"include_for_metrics": [],
|
| 64 |
-
"batch_eval_metrics": false,
|
| 65 |
-
"save_only_model": false,
|
| 66 |
-
"save_strategy": "steps",
|
| 67 |
-
"save_steps": 0.25,
|
| 68 |
-
"save_on_each_node": false,
|
| 69 |
-
"save_total_limit": 5,
|
| 70 |
-
"enable_jit_checkpoint": false,
|
| 71 |
-
"push_to_hub": false,
|
| 72 |
-
"hub_token": null,
|
| 73 |
-
"hub_private_repo": null,
|
| 74 |
-
"hub_model_id": null,
|
| 75 |
-
"hub_strategy": "every_save",
|
| 76 |
-
"hub_always_push": false,
|
| 77 |
-
"hub_revision": null,
|
| 78 |
-
"load_best_model_at_end": false,
|
| 79 |
-
"metric_for_best_model": "loss",
|
| 80 |
-
"greater_is_better": false,
|
| 81 |
-
"ignore_data_skip": false,
|
| 82 |
-
"restore_callback_states_from_checkpoint": false,
|
| 83 |
-
"full_determinism": false,
|
| 84 |
-
"seed": 42,
|
| 85 |
-
"data_seed": 42,
|
| 86 |
-
"use_cpu": false,
|
| 87 |
-
"accelerator_config": {
|
| 88 |
-
"dispatch_batches": false
|
| 89 |
-
},
|
| 90 |
-
"parallelism_config": null,
|
| 91 |
-
"dataloader_drop_last": false,
|
| 92 |
-
"dataloader_num_workers": 4,
|
| 93 |
-
"dataloader_pin_memory": true,
|
| 94 |
-
"dataloader_persistent_workers": false,
|
| 95 |
-
"dataloader_prefetch_factor": null,
|
| 96 |
-
"remove_unused_columns": true,
|
| 97 |
-
"label_names": null,
|
| 98 |
-
"train_sampling_strategy": "random",
|
| 99 |
-
"length_column_name": "length",
|
| 100 |
-
"ddp_find_unused_parameters": null,
|
| 101 |
-
"ddp_bucket_cap_mb": null,
|
| 102 |
-
"ddp_broadcast_buffers": null,
|
| 103 |
-
"ddp_static_graph": null,
|
| 104 |
-
"ddp_backend": null,
|
| 105 |
-
"ddp_timeout": 18000000,
|
| 106 |
-
"fsdp": [],
|
| 107 |
-
"fsdp_config": null,
|
| 108 |
-
"deepspeed": null,
|
| 109 |
-
"debug": null,
|
| 110 |
-
"skip_memory_metrics": true,
|
| 111 |
-
"do_train": false,
|
| 112 |
-
"do_eval": false,
|
| 113 |
-
"do_predict": false,
|
| 114 |
-
"resume_from_checkpoint": null,
|
| 115 |
-
"warmup_ratio": 0.05,
|
| 116 |
-
"logging_dir": "/nfs/turbo/umms-drjieliu/usr/yctao/ANGEL/models/rerank/aap_fold1_saphn8fix_2ep_r1/v0-20260608-055424/runs",
|
| 117 |
-
"local_rank": 0,
|
| 118 |
-
"sortish_sampler": false,
|
| 119 |
-
"predict_with_generate": false,
|
| 120 |
-
"generation_max_length": null,
|
| 121 |
-
"generation_num_beams": null,
|
| 122 |
-
"generation_config": null,
|
| 123 |
-
"tuner_backend": "peft",
|
| 124 |
-
"vit_gradient_checkpointing": false,
|
| 125 |
-
"router_aux_loss_coef": 0.0,
|
| 126 |
-
"enable_dft_loss": false,
|
| 127 |
-
"enable_channel_loss": false,
|
| 128 |
-
"safe_serialization": true,
|
| 129 |
-
"max_shard_size": "5GB",
|
| 130 |
-
"check_model": true,
|
| 131 |
-
"acc_strategy": "token",
|
| 132 |
-
"train_dataloader_shuffle": true,
|
| 133 |
-
"group_by_length": false,
|
| 134 |
-
"max_epochs": null,
|
| 135 |
-
"aligner_lr": null,
|
| 136 |
-
"vit_lr": null,
|
| 137 |
-
"use_logits_to_keep": null,
|
| 138 |
-
"ds3_gather_for_generation": true,
|
| 139 |
-
"resume_only_model": false,
|
| 140 |
-
"optimizer": null,
|
| 141 |
-
"loss_type": "pointwise_reranker",
|
| 142 |
-
"eval_metric": "reranker",
|
| 143 |
-
"callbacks": [],
|
| 144 |
-
"early_stop_interval": null,
|
| 145 |
-
"eval_use_evalscope": false,
|
| 146 |
-
"eval_dataset": [],
|
| 147 |
-
"eval_dataset_args": null,
|
| 148 |
-
"eval_limit": null,
|
| 149 |
-
"eval_generation_config": null,
|
| 150 |
-
"extra_eval_args": null,
|
| 151 |
-
"tuner_type": "lora",
|
| 152 |
-
"use_galore": false,
|
| 153 |
-
"galore_target_modules": null,
|
| 154 |
-
"galore_rank": 128,
|
| 155 |
-
"galore_update_proj_gap": 50,
|
| 156 |
-
"galore_scale": 1.0,
|
| 157 |
-
"galore_proj_type": "std",
|
| 158 |
-
"galore_optim_per_parameter": false,
|
| 159 |
-
"galore_with_embedding": false,
|
| 160 |
-
"galore_quantization": false,
|
| 161 |
-
"galore_proj_quant": false,
|
| 162 |
-
"galore_proj_bits": 4,
|
| 163 |
-
"galore_proj_group_size": 256,
|
| 164 |
-
"galore_cos_threshold": 0.4,
|
| 165 |
-
"galore_gamma_proj": 2,
|
| 166 |
-
"galore_queue_size": 5,
|
| 167 |
-
"lisa_activated_layers": 0,
|
| 168 |
-
"lisa_step_interval": 20,
|
| 169 |
-
"use_flash_ckpt": false,
|
| 170 |
-
"use_ray": false,
|
| 171 |
-
"ray_exp_name": null,
|
| 172 |
-
"device_groups": null,
|
| 173 |
-
"model": "Qwen/Qwen3-Reranker-4B",
|
| 174 |
-
"model_type": "qwen3_reranker",
|
| 175 |
-
"model_revision": null,
|
| 176 |
-
"task_type": "generative_reranker",
|
| 177 |
-
"torch_dtype": "bfloat16",
|
| 178 |
-
"attn_impl": "flash_attn",
|
| 179 |
-
"experts_impl": null,
|
| 180 |
-
"new_special_tokens": [],
|
| 181 |
-
"num_labels": null,
|
| 182 |
-
"problem_type": null,
|
| 183 |
-
"rope_scaling": null,
|
| 184 |
-
"device_map": null,
|
| 185 |
-
"max_memory": {},
|
| 186 |
-
"max_model_len": null,
|
| 187 |
-
"local_repo_path": null,
|
| 188 |
-
"init_strategy": null,
|
| 189 |
-
"template": "qwen3_reranker",
|
| 190 |
-
"system": null,
|
| 191 |
-
"max_length": 512,
|
| 192 |
-
"truncation_strategy": "delete",
|
| 193 |
-
"max_pixels": null,
|
| 194 |
-
"agent_template": null,
|
| 195 |
-
"norm_bbox": null,
|
| 196 |
-
"use_chat_template": true,
|
| 197 |
-
"padding_side": "right",
|
| 198 |
-
"padding_free": true,
|
| 199 |
-
"loss_scale": "default",
|
| 200 |
-
"sequence_parallel_size": 1,
|
| 201 |
-
"template_backend": "swift",
|
| 202 |
-
"response_prefix": null,
|
| 203 |
-
"enable_thinking": null,
|
| 204 |
-
"add_non_thinking_prefix": true,
|
| 205 |
-
"dataset": [
|
| 206 |
-
"data/rerank_swift/aap_fold1_saphn8fix_2ep_r1.jsonl"
|
| 207 |
-
],
|
| 208 |
-
"val_dataset": [],
|
| 209 |
-
"cached_dataset": [],
|
| 210 |
-
"cached_val_dataset": [],
|
| 211 |
-
"split_dataset_ratio": 0.0,
|
| 212 |
-
"dataset_num_proc": 1,
|
| 213 |
-
"load_from_cache_file": false,
|
| 214 |
-
"dataset_shuffle": true,
|
| 215 |
-
"val_dataset_shuffle": false,
|
| 216 |
-
"streaming": false,
|
| 217 |
-
"interleave_prob": null,
|
| 218 |
-
"stopping_strategy": "first_exhausted",
|
| 219 |
-
"shuffle_buffer_size": 1000,
|
| 220 |
-
"download_mode": "reuse_dataset_if_exists",
|
| 221 |
-
"columns": {},
|
| 222 |
-
"strict": false,
|
| 223 |
-
"disable_auto_column_mapping": false,
|
| 224 |
-
"model_name": null,
|
| 225 |
-
"model_author": null,
|
| 226 |
-
"custom_dataset_info": [],
|
| 227 |
-
"quant_method": null,
|
| 228 |
-
"quant_bits": null,
|
| 229 |
-
"hqq_axis": null,
|
| 230 |
-
"bnb_4bit_compute_dtype": "bfloat16",
|
| 231 |
-
"bnb_4bit_quant_type": "nf4",
|
| 232 |
-
"bnb_4bit_use_double_quant": true,
|
| 233 |
-
"bnb_4bit_quant_storage": null,
|
| 234 |
-
"max_new_tokens": 64,
|
| 235 |
-
"temperature": 0.0,
|
| 236 |
-
"top_k": null,
|
| 237 |
-
"top_p": null,
|
| 238 |
-
"repetition_penalty": null,
|
| 239 |
-
"num_beams": 1,
|
| 240 |
-
"stream": false,
|
| 241 |
-
"stop_words": [],
|
| 242 |
-
"logprobs": false,
|
| 243 |
-
"top_logprobs": null,
|
| 244 |
-
"structured_outputs_regex": null,
|
| 245 |
-
"adapters": [],
|
| 246 |
-
"external_plugins": [],
|
| 247 |
-
"custom_register_path": [],
|
| 248 |
-
"model_kwargs": {},
|
| 249 |
-
"enable_npu_model_patch": true,
|
| 250 |
-
"load_args": false,
|
| 251 |
-
"load_data_args": false,
|
| 252 |
-
"packing": false,
|
| 253 |
-
"packing_length": null,
|
| 254 |
-
"packing_num_proc": 1,
|
| 255 |
-
"lazy_tokenize": true,
|
| 256 |
-
"use_hf": true,
|
| 257 |
-
"ignore_args_error": false,
|
| 258 |
-
"use_swift_lora": false,
|
| 259 |
-
"freeze_parameters": [],
|
| 260 |
-
"freeze_parameters_regex": null,
|
| 261 |
-
"freeze_parameters_ratio": 0.0,
|
| 262 |
-
"trainable_parameters": [],
|
| 263 |
-
"trainable_parameters_regex": null,
|
| 264 |
-
"freeze_llm": false,
|
| 265 |
-
"freeze_vit": true,
|
| 266 |
-
"freeze_aligner": true,
|
| 267 |
-
"target_modules": [
|
| 268 |
-
"all-linear"
|
| 269 |
-
],
|
| 270 |
-
"target_regex": null,
|
| 271 |
-
"target_parameters": null,
|
| 272 |
-
"modules_to_save": [],
|
| 273 |
-
"lora_rank": 16,
|
| 274 |
-
"lora_alpha": 32,
|
| 275 |
-
"lora_dropout": 0.05,
|
| 276 |
-
"lora_bias": "none",
|
| 277 |
-
"lora_dtype": null,
|
| 278 |
-
"lorap_lr_ratio": null,
|
| 279 |
-
"use_rslora": false,
|
| 280 |
-
"use_dora": false,
|
| 281 |
-
"lora_ga_batch_size": 2,
|
| 282 |
-
"lora_ga_iters": 2,
|
| 283 |
-
"lora_ga_max_length": 1024,
|
| 284 |
-
"lora_ga_direction": "ArB2r",
|
| 285 |
-
"lora_ga_scale": "stable",
|
| 286 |
-
"lora_ga_stable_gamma": 16,
|
| 287 |
-
"init_weights": true,
|
| 288 |
-
"fourier_n_frequency": 2000,
|
| 289 |
-
"fourier_scaling": 300.0,
|
| 290 |
-
"boft_block_size": 4,
|
| 291 |
-
"boft_block_num": 0,
|
| 292 |
-
"boft_n_butterfly_factor": 1,
|
| 293 |
-
"boft_dropout": 0.0,
|
| 294 |
-
"vera_rank": 256,
|
| 295 |
-
"vera_projection_prng_key": 0,
|
| 296 |
-
"vera_dropout": 0.0,
|
| 297 |
-
"vera_d_initial": 0.1,
|
| 298 |
-
"adapter_act": "gelu",
|
| 299 |
-
"adapter_length": 128,
|
| 300 |
-
"adalora_target_r": 8,
|
| 301 |
-
"adalora_init_r": 12,
|
| 302 |
-
"adalora_tinit": 0,
|
| 303 |
-
"adalora_tfinal": 0,
|
| 304 |
-
"adalora_deltaT": 1,
|
| 305 |
-
"adalora_beta1": 0.85,
|
| 306 |
-
"adalora_beta2": 0.85,
|
| 307 |
-
"adalora_orth_reg_weight": 0.5,
|
| 308 |
-
"llamapro_num_new_blocks": 4,
|
| 309 |
-
"llamapro_num_groups": null,
|
| 310 |
-
"reft_layer_key": null,
|
| 311 |
-
"reft_layers": null,
|
| 312 |
-
"reft_rank": 4,
|
| 313 |
-
"reft_intervention_type": "LoreftIntervention",
|
| 314 |
-
"reft_args": null,
|
| 315 |
-
"swanlab_token": null,
|
| 316 |
-
"swanlab_project": "ms-swift",
|
| 317 |
-
"swanlab_workspace": null,
|
| 318 |
-
"swanlab_exp_name": null,
|
| 319 |
-
"swanlab_notification_method": null,
|
| 320 |
-
"swanlab_webhook_url": null,
|
| 321 |
-
"swanlab_secret": null,
|
| 322 |
-
"swanlab_sender_email": null,
|
| 323 |
-
"swanlab_receiver_email": null,
|
| 324 |
-
"swanlab_smtp_server": null,
|
| 325 |
-
"swanlab_smtp_port": null,
|
| 326 |
-
"swanlab_email_language": "zh",
|
| 327 |
-
"swanlab_mode": "cloud",
|
| 328 |
-
"add_version": true,
|
| 329 |
-
"create_checkpoint_symlink": false,
|
| 330 |
-
"zero_hpz_partition_size": null,
|
| 331 |
-
"deepspeed_autotp_size": null,
|
| 332 |
-
"swift_version": "4.2.0",
|
| 333 |
-
"ckpt_dir": null,
|
| 334 |
-
"rank": 0,
|
| 335 |
-
"global_world_size": 1,
|
| 336 |
-
"local_world_size": 1,
|
| 337 |
-
"model_suffix": "Qwen3-Reranker-4B",
|
| 338 |
-
"model_info": "ModelInfo(model_type='qwen3_reranker', model_dir='/nfs/turbo/umms-drjieliu/usr/yctao/HF_HOME/hub/models--Qwen--Qwen3-Reranker-4B/snapshots/22e683669bc0f0bd69640a1354a6d0aebcfeede5', torch_dtype=torch.bfloat16, max_model_len=40960, quant_method=None, quant_bits=None, rope_scaling={'rope_theta': 1000000, 'rope_type': 'default'}, is_moe_model=False, is_multimodal=False, config=None, task_type='generative_reranker', num_labels=None)",
|
| 339 |
-
"model_meta": "ModelMeta(model_type='qwen3_reranker', model_groups=[ModelGroup(models=[Model(ms_model_id='Qwen/Qwen3-Reranker-0.6B', hf_model_id='Qwen/Qwen3-Reranker-0.6B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-Reranker-4B', hf_model_id='Qwen/Qwen3-Reranker-4B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-Reranker-8B', hf_model_id='Qwen/Qwen3-Reranker-8B', model_path=None, ms_revision=None, hf_revision=None)], template=None, ignore_patterns=None, requires=None, tags=[])], loader=<class 'swift.model.register.ModelLoader'>, template='qwen3_reranker', model_arch=None, mcore_model_type='gpt', architectures=['Qwen3ForCausalLM'], additional_saved_files=[], torch_dtype=None, is_multimodal=False, is_reward=False, task_type=None, ignore_patterns=None, requires=[], tags=[])",
|
| 340 |
-
"model_dir": "/nfs/turbo/umms-drjieliu/usr/yctao/HF_HOME/hub/models--Qwen--Qwen3-Reranker-4B/snapshots/22e683669bc0f0bd69640a1354a6d0aebcfeede5",
|
| 341 |
-
"template_meta": "Qwen3MixedTemplateMeta(template_type='qwen3_reranker', 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.templates.qwen.Qwen3RerankerTemplate'>, system_prefix=['<|im_start|>system\\n{{SYSTEM}}<|im_end|>\\n'], default_system='Judge whether the Document meets the requirements based on the Query and the Instruct provided. Note that the answer can only be \"yes\" or \"no\".', auto_add_bos=False, stop_words=['<|endoftext|>'], agent_template='hermes', is_thinking=False, thinking_prefix='', non_thinking_prefix='<think>\\n\\n</think>\\n\\n', history_thinking_prefix='')",
|
| 342 |
-
"_val_dataset_exists": false,
|
| 343 |
-
"hub": "<class 'swift.hub.hub.HFHub'>",
|
| 344 |
-
"evaluation_strategy": "steps",
|
| 345 |
-
"training_args": "TrainingArguments(output_dir='/nfs/turbo/umms-drjieliu/usr/yctao/ANGEL/models/rerank/aap_fold1_saphn8fix_2ep_r1/v0-20260608-055424', per_device_train_batch_size=4, num_train_epochs=2.0, max_steps=-1, learning_rate=5e-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=2, 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=False, gradient_checkpointing_kwargs=None, 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=20, 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=['wandb'], run_name='aap_fold1_saphn8fix_2ep_r1_j27270939', project='huggingface', trackio_space_id=None, trackio_bucket_id=None, trackio_static_space_id=None, eval_strategy=<IntervalStrategy.NO: 'no'>, eval_steps=0.25, 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=0.25, save_on_each_node=False, save_total_limit=5, 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=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_static_graph=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=None, debug=[], skip_memory_metrics=True, do_train=False, do_eval=False, do_predict=False, resume_from_checkpoint=None, warmup_ratio=0.05, logging_dir='/nfs/turbo/umms-drjieliu/usr/yctao/ANGEL/models/rerank/aap_fold1_saphn8fix_2ep_r1/v0-20260608-055424/runs', local_rank=0, tuner_backend='peft', vit_gradient_checkpointing=False, 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=None, use_logits_to_keep=None, ds3_gather_for_generation=True, resume_only_model=False, optimizer=None, loss_type='pointwise_reranker', eval_metric='reranker', 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='lora', 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)"
|
| 346 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
reranker/aap_fold2/adapter_config.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
"alpha_pattern": {},
|
| 4 |
"arrow_config": null,
|
| 5 |
"auto_mapping": null,
|
| 6 |
-
"base_model_name_or_path": "
|
| 7 |
"bias": "none",
|
| 8 |
"corda_config": null,
|
| 9 |
"ensure_weight_tying": false,
|
|
|
|
| 3 |
"alpha_pattern": {},
|
| 4 |
"arrow_config": null,
|
| 5 |
"auto_mapping": null,
|
| 6 |
+
"base_model_name_or_path": "Qwen/Qwen3-Reranker-4B",
|
| 7 |
"bias": "none",
|
| 8 |
"corda_config": null,
|
| 9 |
"ensure_weight_tying": false,
|
reranker/aap_fold2/args.json
DELETED
|
@@ -1,346 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"output_dir": "/nfs/turbo/umms-drjieliu/usr/yctao/ANGEL/models/rerank/aap_fold2_saphn8fix_2ep_r1/v0-20260608-055425",
|
| 3 |
-
"per_device_train_batch_size": 4,
|
| 4 |
-
"num_train_epochs": 2.0,
|
| 5 |
-
"max_steps": -1,
|
| 6 |
-
"learning_rate": 5e-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": 2,
|
| 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": false,
|
| 27 |
-
"gradient_checkpointing_kwargs": null,
|
| 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": 20,
|
| 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 |
-
"wandb"
|
| 48 |
-
],
|
| 49 |
-
"run_name": "aap_fold2_saphn8fix_2ep_r1_j27270940",
|
| 50 |
-
"project": "huggingface",
|
| 51 |
-
"trackio_space_id": null,
|
| 52 |
-
"trackio_bucket_id": null,
|
| 53 |
-
"trackio_static_space_id": null,
|
| 54 |
-
"eval_strategy": "no",
|
| 55 |
-
"eval_steps": 0.25,
|
| 56 |
-
"eval_delay": 0,
|
| 57 |
-
"per_device_eval_batch_size": 1,
|
| 58 |
-
"prediction_loss_only": false,
|
| 59 |
-
"eval_on_start": false,
|
| 60 |
-
"eval_do_concat_batches": true,
|
| 61 |
-
"eval_use_gather_object": false,
|
| 62 |
-
"eval_accumulation_steps": null,
|
| 63 |
-
"include_for_metrics": [],
|
| 64 |
-
"batch_eval_metrics": false,
|
| 65 |
-
"save_only_model": false,
|
| 66 |
-
"save_strategy": "steps",
|
| 67 |
-
"save_steps": 0.25,
|
| 68 |
-
"save_on_each_node": false,
|
| 69 |
-
"save_total_limit": 5,
|
| 70 |
-
"enable_jit_checkpoint": false,
|
| 71 |
-
"push_to_hub": false,
|
| 72 |
-
"hub_token": null,
|
| 73 |
-
"hub_private_repo": null,
|
| 74 |
-
"hub_model_id": null,
|
| 75 |
-
"hub_strategy": "every_save",
|
| 76 |
-
"hub_always_push": false,
|
| 77 |
-
"hub_revision": null,
|
| 78 |
-
"load_best_model_at_end": false,
|
| 79 |
-
"metric_for_best_model": "loss",
|
| 80 |
-
"greater_is_better": false,
|
| 81 |
-
"ignore_data_skip": false,
|
| 82 |
-
"restore_callback_states_from_checkpoint": false,
|
| 83 |
-
"full_determinism": false,
|
| 84 |
-
"seed": 42,
|
| 85 |
-
"data_seed": 42,
|
| 86 |
-
"use_cpu": false,
|
| 87 |
-
"accelerator_config": {
|
| 88 |
-
"dispatch_batches": false
|
| 89 |
-
},
|
| 90 |
-
"parallelism_config": null,
|
| 91 |
-
"dataloader_drop_last": false,
|
| 92 |
-
"dataloader_num_workers": 4,
|
| 93 |
-
"dataloader_pin_memory": true,
|
| 94 |
-
"dataloader_persistent_workers": false,
|
| 95 |
-
"dataloader_prefetch_factor": null,
|
| 96 |
-
"remove_unused_columns": true,
|
| 97 |
-
"label_names": null,
|
| 98 |
-
"train_sampling_strategy": "random",
|
| 99 |
-
"length_column_name": "length",
|
| 100 |
-
"ddp_find_unused_parameters": null,
|
| 101 |
-
"ddp_bucket_cap_mb": null,
|
| 102 |
-
"ddp_broadcast_buffers": null,
|
| 103 |
-
"ddp_static_graph": null,
|
| 104 |
-
"ddp_backend": null,
|
| 105 |
-
"ddp_timeout": 18000000,
|
| 106 |
-
"fsdp": [],
|
| 107 |
-
"fsdp_config": null,
|
| 108 |
-
"deepspeed": null,
|
| 109 |
-
"debug": null,
|
| 110 |
-
"skip_memory_metrics": true,
|
| 111 |
-
"do_train": false,
|
| 112 |
-
"do_eval": false,
|
| 113 |
-
"do_predict": false,
|
| 114 |
-
"resume_from_checkpoint": null,
|
| 115 |
-
"warmup_ratio": 0.05,
|
| 116 |
-
"logging_dir": "/nfs/turbo/umms-drjieliu/usr/yctao/ANGEL/models/rerank/aap_fold2_saphn8fix_2ep_r1/v0-20260608-055425/runs",
|
| 117 |
-
"local_rank": 0,
|
| 118 |
-
"sortish_sampler": false,
|
| 119 |
-
"predict_with_generate": false,
|
| 120 |
-
"generation_max_length": null,
|
| 121 |
-
"generation_num_beams": null,
|
| 122 |
-
"generation_config": null,
|
| 123 |
-
"tuner_backend": "peft",
|
| 124 |
-
"vit_gradient_checkpointing": false,
|
| 125 |
-
"router_aux_loss_coef": 0.0,
|
| 126 |
-
"enable_dft_loss": false,
|
| 127 |
-
"enable_channel_loss": false,
|
| 128 |
-
"safe_serialization": true,
|
| 129 |
-
"max_shard_size": "5GB",
|
| 130 |
-
"check_model": true,
|
| 131 |
-
"acc_strategy": "token",
|
| 132 |
-
"train_dataloader_shuffle": true,
|
| 133 |
-
"group_by_length": false,
|
| 134 |
-
"max_epochs": null,
|
| 135 |
-
"aligner_lr": null,
|
| 136 |
-
"vit_lr": null,
|
| 137 |
-
"use_logits_to_keep": null,
|
| 138 |
-
"ds3_gather_for_generation": true,
|
| 139 |
-
"resume_only_model": false,
|
| 140 |
-
"optimizer": null,
|
| 141 |
-
"loss_type": "pointwise_reranker",
|
| 142 |
-
"eval_metric": "reranker",
|
| 143 |
-
"callbacks": [],
|
| 144 |
-
"early_stop_interval": null,
|
| 145 |
-
"eval_use_evalscope": false,
|
| 146 |
-
"eval_dataset": [],
|
| 147 |
-
"eval_dataset_args": null,
|
| 148 |
-
"eval_limit": null,
|
| 149 |
-
"eval_generation_config": null,
|
| 150 |
-
"extra_eval_args": null,
|
| 151 |
-
"tuner_type": "lora",
|
| 152 |
-
"use_galore": false,
|
| 153 |
-
"galore_target_modules": null,
|
| 154 |
-
"galore_rank": 128,
|
| 155 |
-
"galore_update_proj_gap": 50,
|
| 156 |
-
"galore_scale": 1.0,
|
| 157 |
-
"galore_proj_type": "std",
|
| 158 |
-
"galore_optim_per_parameter": false,
|
| 159 |
-
"galore_with_embedding": false,
|
| 160 |
-
"galore_quantization": false,
|
| 161 |
-
"galore_proj_quant": false,
|
| 162 |
-
"galore_proj_bits": 4,
|
| 163 |
-
"galore_proj_group_size": 256,
|
| 164 |
-
"galore_cos_threshold": 0.4,
|
| 165 |
-
"galore_gamma_proj": 2,
|
| 166 |
-
"galore_queue_size": 5,
|
| 167 |
-
"lisa_activated_layers": 0,
|
| 168 |
-
"lisa_step_interval": 20,
|
| 169 |
-
"use_flash_ckpt": false,
|
| 170 |
-
"use_ray": false,
|
| 171 |
-
"ray_exp_name": null,
|
| 172 |
-
"device_groups": null,
|
| 173 |
-
"model": "Qwen/Qwen3-Reranker-4B",
|
| 174 |
-
"model_type": "qwen3_reranker",
|
| 175 |
-
"model_revision": null,
|
| 176 |
-
"task_type": "generative_reranker",
|
| 177 |
-
"torch_dtype": "bfloat16",
|
| 178 |
-
"attn_impl": "flash_attn",
|
| 179 |
-
"experts_impl": null,
|
| 180 |
-
"new_special_tokens": [],
|
| 181 |
-
"num_labels": null,
|
| 182 |
-
"problem_type": null,
|
| 183 |
-
"rope_scaling": null,
|
| 184 |
-
"device_map": null,
|
| 185 |
-
"max_memory": {},
|
| 186 |
-
"max_model_len": null,
|
| 187 |
-
"local_repo_path": null,
|
| 188 |
-
"init_strategy": null,
|
| 189 |
-
"template": "qwen3_reranker",
|
| 190 |
-
"system": null,
|
| 191 |
-
"max_length": 512,
|
| 192 |
-
"truncation_strategy": "delete",
|
| 193 |
-
"max_pixels": null,
|
| 194 |
-
"agent_template": null,
|
| 195 |
-
"norm_bbox": null,
|
| 196 |
-
"use_chat_template": true,
|
| 197 |
-
"padding_side": "right",
|
| 198 |
-
"padding_free": true,
|
| 199 |
-
"loss_scale": "default",
|
| 200 |
-
"sequence_parallel_size": 1,
|
| 201 |
-
"template_backend": "swift",
|
| 202 |
-
"response_prefix": null,
|
| 203 |
-
"enable_thinking": null,
|
| 204 |
-
"add_non_thinking_prefix": true,
|
| 205 |
-
"dataset": [
|
| 206 |
-
"data/rerank_swift/aap_fold2_saphn8fix_2ep_r1.jsonl"
|
| 207 |
-
],
|
| 208 |
-
"val_dataset": [],
|
| 209 |
-
"cached_dataset": [],
|
| 210 |
-
"cached_val_dataset": [],
|
| 211 |
-
"split_dataset_ratio": 0.0,
|
| 212 |
-
"dataset_num_proc": 1,
|
| 213 |
-
"load_from_cache_file": false,
|
| 214 |
-
"dataset_shuffle": true,
|
| 215 |
-
"val_dataset_shuffle": false,
|
| 216 |
-
"streaming": false,
|
| 217 |
-
"interleave_prob": null,
|
| 218 |
-
"stopping_strategy": "first_exhausted",
|
| 219 |
-
"shuffle_buffer_size": 1000,
|
| 220 |
-
"download_mode": "reuse_dataset_if_exists",
|
| 221 |
-
"columns": {},
|
| 222 |
-
"strict": false,
|
| 223 |
-
"disable_auto_column_mapping": false,
|
| 224 |
-
"model_name": null,
|
| 225 |
-
"model_author": null,
|
| 226 |
-
"custom_dataset_info": [],
|
| 227 |
-
"quant_method": null,
|
| 228 |
-
"quant_bits": null,
|
| 229 |
-
"hqq_axis": null,
|
| 230 |
-
"bnb_4bit_compute_dtype": "bfloat16",
|
| 231 |
-
"bnb_4bit_quant_type": "nf4",
|
| 232 |
-
"bnb_4bit_use_double_quant": true,
|
| 233 |
-
"bnb_4bit_quant_storage": null,
|
| 234 |
-
"max_new_tokens": 64,
|
| 235 |
-
"temperature": 0.0,
|
| 236 |
-
"top_k": null,
|
| 237 |
-
"top_p": null,
|
| 238 |
-
"repetition_penalty": null,
|
| 239 |
-
"num_beams": 1,
|
| 240 |
-
"stream": false,
|
| 241 |
-
"stop_words": [],
|
| 242 |
-
"logprobs": false,
|
| 243 |
-
"top_logprobs": null,
|
| 244 |
-
"structured_outputs_regex": null,
|
| 245 |
-
"adapters": [],
|
| 246 |
-
"external_plugins": [],
|
| 247 |
-
"custom_register_path": [],
|
| 248 |
-
"model_kwargs": {},
|
| 249 |
-
"enable_npu_model_patch": true,
|
| 250 |
-
"load_args": false,
|
| 251 |
-
"load_data_args": false,
|
| 252 |
-
"packing": false,
|
| 253 |
-
"packing_length": null,
|
| 254 |
-
"packing_num_proc": 1,
|
| 255 |
-
"lazy_tokenize": true,
|
| 256 |
-
"use_hf": true,
|
| 257 |
-
"ignore_args_error": false,
|
| 258 |
-
"use_swift_lora": false,
|
| 259 |
-
"freeze_parameters": [],
|
| 260 |
-
"freeze_parameters_regex": null,
|
| 261 |
-
"freeze_parameters_ratio": 0.0,
|
| 262 |
-
"trainable_parameters": [],
|
| 263 |
-
"trainable_parameters_regex": null,
|
| 264 |
-
"freeze_llm": false,
|
| 265 |
-
"freeze_vit": true,
|
| 266 |
-
"freeze_aligner": true,
|
| 267 |
-
"target_modules": [
|
| 268 |
-
"all-linear"
|
| 269 |
-
],
|
| 270 |
-
"target_regex": null,
|
| 271 |
-
"target_parameters": null,
|
| 272 |
-
"modules_to_save": [],
|
| 273 |
-
"lora_rank": 16,
|
| 274 |
-
"lora_alpha": 32,
|
| 275 |
-
"lora_dropout": 0.05,
|
| 276 |
-
"lora_bias": "none",
|
| 277 |
-
"lora_dtype": null,
|
| 278 |
-
"lorap_lr_ratio": null,
|
| 279 |
-
"use_rslora": false,
|
| 280 |
-
"use_dora": false,
|
| 281 |
-
"lora_ga_batch_size": 2,
|
| 282 |
-
"lora_ga_iters": 2,
|
| 283 |
-
"lora_ga_max_length": 1024,
|
| 284 |
-
"lora_ga_direction": "ArB2r",
|
| 285 |
-
"lora_ga_scale": "stable",
|
| 286 |
-
"lora_ga_stable_gamma": 16,
|
| 287 |
-
"init_weights": true,
|
| 288 |
-
"fourier_n_frequency": 2000,
|
| 289 |
-
"fourier_scaling": 300.0,
|
| 290 |
-
"boft_block_size": 4,
|
| 291 |
-
"boft_block_num": 0,
|
| 292 |
-
"boft_n_butterfly_factor": 1,
|
| 293 |
-
"boft_dropout": 0.0,
|
| 294 |
-
"vera_rank": 256,
|
| 295 |
-
"vera_projection_prng_key": 0,
|
| 296 |
-
"vera_dropout": 0.0,
|
| 297 |
-
"vera_d_initial": 0.1,
|
| 298 |
-
"adapter_act": "gelu",
|
| 299 |
-
"adapter_length": 128,
|
| 300 |
-
"adalora_target_r": 8,
|
| 301 |
-
"adalora_init_r": 12,
|
| 302 |
-
"adalora_tinit": 0,
|
| 303 |
-
"adalora_tfinal": 0,
|
| 304 |
-
"adalora_deltaT": 1,
|
| 305 |
-
"adalora_beta1": 0.85,
|
| 306 |
-
"adalora_beta2": 0.85,
|
| 307 |
-
"adalora_orth_reg_weight": 0.5,
|
| 308 |
-
"llamapro_num_new_blocks": 4,
|
| 309 |
-
"llamapro_num_groups": null,
|
| 310 |
-
"reft_layer_key": null,
|
| 311 |
-
"reft_layers": null,
|
| 312 |
-
"reft_rank": 4,
|
| 313 |
-
"reft_intervention_type": "LoreftIntervention",
|
| 314 |
-
"reft_args": null,
|
| 315 |
-
"swanlab_token": null,
|
| 316 |
-
"swanlab_project": "ms-swift",
|
| 317 |
-
"swanlab_workspace": null,
|
| 318 |
-
"swanlab_exp_name": null,
|
| 319 |
-
"swanlab_notification_method": null,
|
| 320 |
-
"swanlab_webhook_url": null,
|
| 321 |
-
"swanlab_secret": null,
|
| 322 |
-
"swanlab_sender_email": null,
|
| 323 |
-
"swanlab_receiver_email": null,
|
| 324 |
-
"swanlab_smtp_server": null,
|
| 325 |
-
"swanlab_smtp_port": null,
|
| 326 |
-
"swanlab_email_language": "zh",
|
| 327 |
-
"swanlab_mode": "cloud",
|
| 328 |
-
"add_version": true,
|
| 329 |
-
"create_checkpoint_symlink": false,
|
| 330 |
-
"zero_hpz_partition_size": null,
|
| 331 |
-
"deepspeed_autotp_size": null,
|
| 332 |
-
"swift_version": "4.2.0",
|
| 333 |
-
"ckpt_dir": null,
|
| 334 |
-
"rank": 0,
|
| 335 |
-
"global_world_size": 1,
|
| 336 |
-
"local_world_size": 1,
|
| 337 |
-
"model_suffix": "Qwen3-Reranker-4B",
|
| 338 |
-
"model_info": "ModelInfo(model_type='qwen3_reranker', model_dir='/nfs/turbo/umms-drjieliu/usr/yctao/HF_HOME/hub/models--Qwen--Qwen3-Reranker-4B/snapshots/22e683669bc0f0bd69640a1354a6d0aebcfeede5', torch_dtype=torch.bfloat16, max_model_len=40960, quant_method=None, quant_bits=None, rope_scaling={'rope_theta': 1000000, 'rope_type': 'default'}, is_moe_model=False, is_multimodal=False, config=None, task_type='generative_reranker', num_labels=None)",
|
| 339 |
-
"model_meta": "ModelMeta(model_type='qwen3_reranker', model_groups=[ModelGroup(models=[Model(ms_model_id='Qwen/Qwen3-Reranker-0.6B', hf_model_id='Qwen/Qwen3-Reranker-0.6B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-Reranker-4B', hf_model_id='Qwen/Qwen3-Reranker-4B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-Reranker-8B', hf_model_id='Qwen/Qwen3-Reranker-8B', model_path=None, ms_revision=None, hf_revision=None)], template=None, ignore_patterns=None, requires=None, tags=[])], loader=<class 'swift.model.register.ModelLoader'>, template='qwen3_reranker', model_arch=None, mcore_model_type='gpt', architectures=['Qwen3ForCausalLM'], additional_saved_files=[], torch_dtype=None, is_multimodal=False, is_reward=False, task_type=None, ignore_patterns=None, requires=[], tags=[])",
|
| 340 |
-
"model_dir": "/nfs/turbo/umms-drjieliu/usr/yctao/HF_HOME/hub/models--Qwen--Qwen3-Reranker-4B/snapshots/22e683669bc0f0bd69640a1354a6d0aebcfeede5",
|
| 341 |
-
"template_meta": "Qwen3MixedTemplateMeta(template_type='qwen3_reranker', 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.templates.qwen.Qwen3RerankerTemplate'>, system_prefix=['<|im_start|>system\\n{{SYSTEM}}<|im_end|>\\n'], default_system='Judge whether the Document meets the requirements based on the Query and the Instruct provided. Note that the answer can only be \"yes\" or \"no\".', auto_add_bos=False, stop_words=['<|endoftext|>'], agent_template='hermes', is_thinking=False, thinking_prefix='', non_thinking_prefix='<think>\\n\\n</think>\\n\\n', history_thinking_prefix='')",
|
| 342 |
-
"_val_dataset_exists": false,
|
| 343 |
-
"hub": "<class 'swift.hub.hub.HFHub'>",
|
| 344 |
-
"evaluation_strategy": "steps",
|
| 345 |
-
"training_args": "TrainingArguments(output_dir='/nfs/turbo/umms-drjieliu/usr/yctao/ANGEL/models/rerank/aap_fold2_saphn8fix_2ep_r1/v0-20260608-055425', per_device_train_batch_size=4, num_train_epochs=2.0, max_steps=-1, learning_rate=5e-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=2, 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=False, gradient_checkpointing_kwargs=None, 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=20, 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=['wandb'], run_name='aap_fold2_saphn8fix_2ep_r1_j27270940', project='huggingface', trackio_space_id=None, trackio_bucket_id=None, trackio_static_space_id=None, eval_strategy=<IntervalStrategy.NO: 'no'>, eval_steps=0.25, 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=0.25, save_on_each_node=False, save_total_limit=5, 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=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_static_graph=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=None, debug=[], skip_memory_metrics=True, do_train=False, do_eval=False, do_predict=False, resume_from_checkpoint=None, warmup_ratio=0.05, logging_dir='/nfs/turbo/umms-drjieliu/usr/yctao/ANGEL/models/rerank/aap_fold2_saphn8fix_2ep_r1/v0-20260608-055425/runs', local_rank=0, tuner_backend='peft', vit_gradient_checkpointing=False, 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=None, use_logits_to_keep=None, ds3_gather_for_generation=True, resume_only_model=False, optimizer=None, loss_type='pointwise_reranker', eval_metric='reranker', 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='lora', 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)"
|
| 346 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
reranker/aap_fold3/adapter_config.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
"alpha_pattern": {},
|
| 4 |
"arrow_config": null,
|
| 5 |
"auto_mapping": null,
|
| 6 |
-
"base_model_name_or_path": "
|
| 7 |
"bias": "none",
|
| 8 |
"corda_config": null,
|
| 9 |
"ensure_weight_tying": false,
|
|
|
|
| 3 |
"alpha_pattern": {},
|
| 4 |
"arrow_config": null,
|
| 5 |
"auto_mapping": null,
|
| 6 |
+
"base_model_name_or_path": "Qwen/Qwen3-Reranker-4B",
|
| 7 |
"bias": "none",
|
| 8 |
"corda_config": null,
|
| 9 |
"ensure_weight_tying": false,
|
reranker/aap_fold3/args.json
DELETED
|
@@ -1,346 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"output_dir": "/nfs/turbo/umms-drjieliu/usr/yctao/ANGEL/models/rerank/aap_fold3_saphn8fix_2ep_r1/v0-20260608-055425",
|
| 3 |
-
"per_device_train_batch_size": 4,
|
| 4 |
-
"num_train_epochs": 2.0,
|
| 5 |
-
"max_steps": -1,
|
| 6 |
-
"learning_rate": 5e-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": 2,
|
| 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": false,
|
| 27 |
-
"gradient_checkpointing_kwargs": null,
|
| 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": 20,
|
| 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 |
-
"wandb"
|
| 48 |
-
],
|
| 49 |
-
"run_name": "aap_fold3_saphn8fix_2ep_r1_j27270941",
|
| 50 |
-
"project": "huggingface",
|
| 51 |
-
"trackio_space_id": null,
|
| 52 |
-
"trackio_bucket_id": null,
|
| 53 |
-
"trackio_static_space_id": null,
|
| 54 |
-
"eval_strategy": "no",
|
| 55 |
-
"eval_steps": 0.25,
|
| 56 |
-
"eval_delay": 0,
|
| 57 |
-
"per_device_eval_batch_size": 1,
|
| 58 |
-
"prediction_loss_only": false,
|
| 59 |
-
"eval_on_start": false,
|
| 60 |
-
"eval_do_concat_batches": true,
|
| 61 |
-
"eval_use_gather_object": false,
|
| 62 |
-
"eval_accumulation_steps": null,
|
| 63 |
-
"include_for_metrics": [],
|
| 64 |
-
"batch_eval_metrics": false,
|
| 65 |
-
"save_only_model": false,
|
| 66 |
-
"save_strategy": "steps",
|
| 67 |
-
"save_steps": 0.25,
|
| 68 |
-
"save_on_each_node": false,
|
| 69 |
-
"save_total_limit": 5,
|
| 70 |
-
"enable_jit_checkpoint": false,
|
| 71 |
-
"push_to_hub": false,
|
| 72 |
-
"hub_token": null,
|
| 73 |
-
"hub_private_repo": null,
|
| 74 |
-
"hub_model_id": null,
|
| 75 |
-
"hub_strategy": "every_save",
|
| 76 |
-
"hub_always_push": false,
|
| 77 |
-
"hub_revision": null,
|
| 78 |
-
"load_best_model_at_end": false,
|
| 79 |
-
"metric_for_best_model": "loss",
|
| 80 |
-
"greater_is_better": false,
|
| 81 |
-
"ignore_data_skip": false,
|
| 82 |
-
"restore_callback_states_from_checkpoint": false,
|
| 83 |
-
"full_determinism": false,
|
| 84 |
-
"seed": 42,
|
| 85 |
-
"data_seed": 42,
|
| 86 |
-
"use_cpu": false,
|
| 87 |
-
"accelerator_config": {
|
| 88 |
-
"dispatch_batches": false
|
| 89 |
-
},
|
| 90 |
-
"parallelism_config": null,
|
| 91 |
-
"dataloader_drop_last": false,
|
| 92 |
-
"dataloader_num_workers": 4,
|
| 93 |
-
"dataloader_pin_memory": true,
|
| 94 |
-
"dataloader_persistent_workers": false,
|
| 95 |
-
"dataloader_prefetch_factor": null,
|
| 96 |
-
"remove_unused_columns": true,
|
| 97 |
-
"label_names": null,
|
| 98 |
-
"train_sampling_strategy": "random",
|
| 99 |
-
"length_column_name": "length",
|
| 100 |
-
"ddp_find_unused_parameters": null,
|
| 101 |
-
"ddp_bucket_cap_mb": null,
|
| 102 |
-
"ddp_broadcast_buffers": null,
|
| 103 |
-
"ddp_static_graph": null,
|
| 104 |
-
"ddp_backend": null,
|
| 105 |
-
"ddp_timeout": 18000000,
|
| 106 |
-
"fsdp": [],
|
| 107 |
-
"fsdp_config": null,
|
| 108 |
-
"deepspeed": null,
|
| 109 |
-
"debug": null,
|
| 110 |
-
"skip_memory_metrics": true,
|
| 111 |
-
"do_train": false,
|
| 112 |
-
"do_eval": false,
|
| 113 |
-
"do_predict": false,
|
| 114 |
-
"resume_from_checkpoint": null,
|
| 115 |
-
"warmup_ratio": 0.05,
|
| 116 |
-
"logging_dir": "/nfs/turbo/umms-drjieliu/usr/yctao/ANGEL/models/rerank/aap_fold3_saphn8fix_2ep_r1/v0-20260608-055425/runs",
|
| 117 |
-
"local_rank": 0,
|
| 118 |
-
"sortish_sampler": false,
|
| 119 |
-
"predict_with_generate": false,
|
| 120 |
-
"generation_max_length": null,
|
| 121 |
-
"generation_num_beams": null,
|
| 122 |
-
"generation_config": null,
|
| 123 |
-
"tuner_backend": "peft",
|
| 124 |
-
"vit_gradient_checkpointing": false,
|
| 125 |
-
"router_aux_loss_coef": 0.0,
|
| 126 |
-
"enable_dft_loss": false,
|
| 127 |
-
"enable_channel_loss": false,
|
| 128 |
-
"safe_serialization": true,
|
| 129 |
-
"max_shard_size": "5GB",
|
| 130 |
-
"check_model": true,
|
| 131 |
-
"acc_strategy": "token",
|
| 132 |
-
"train_dataloader_shuffle": true,
|
| 133 |
-
"group_by_length": false,
|
| 134 |
-
"max_epochs": null,
|
| 135 |
-
"aligner_lr": null,
|
| 136 |
-
"vit_lr": null,
|
| 137 |
-
"use_logits_to_keep": null,
|
| 138 |
-
"ds3_gather_for_generation": true,
|
| 139 |
-
"resume_only_model": false,
|
| 140 |
-
"optimizer": null,
|
| 141 |
-
"loss_type": "pointwise_reranker",
|
| 142 |
-
"eval_metric": "reranker",
|
| 143 |
-
"callbacks": [],
|
| 144 |
-
"early_stop_interval": null,
|
| 145 |
-
"eval_use_evalscope": false,
|
| 146 |
-
"eval_dataset": [],
|
| 147 |
-
"eval_dataset_args": null,
|
| 148 |
-
"eval_limit": null,
|
| 149 |
-
"eval_generation_config": null,
|
| 150 |
-
"extra_eval_args": null,
|
| 151 |
-
"tuner_type": "lora",
|
| 152 |
-
"use_galore": false,
|
| 153 |
-
"galore_target_modules": null,
|
| 154 |
-
"galore_rank": 128,
|
| 155 |
-
"galore_update_proj_gap": 50,
|
| 156 |
-
"galore_scale": 1.0,
|
| 157 |
-
"galore_proj_type": "std",
|
| 158 |
-
"galore_optim_per_parameter": false,
|
| 159 |
-
"galore_with_embedding": false,
|
| 160 |
-
"galore_quantization": false,
|
| 161 |
-
"galore_proj_quant": false,
|
| 162 |
-
"galore_proj_bits": 4,
|
| 163 |
-
"galore_proj_group_size": 256,
|
| 164 |
-
"galore_cos_threshold": 0.4,
|
| 165 |
-
"galore_gamma_proj": 2,
|
| 166 |
-
"galore_queue_size": 5,
|
| 167 |
-
"lisa_activated_layers": 0,
|
| 168 |
-
"lisa_step_interval": 20,
|
| 169 |
-
"use_flash_ckpt": false,
|
| 170 |
-
"use_ray": false,
|
| 171 |
-
"ray_exp_name": null,
|
| 172 |
-
"device_groups": null,
|
| 173 |
-
"model": "Qwen/Qwen3-Reranker-4B",
|
| 174 |
-
"model_type": "qwen3_reranker",
|
| 175 |
-
"model_revision": null,
|
| 176 |
-
"task_type": "generative_reranker",
|
| 177 |
-
"torch_dtype": "bfloat16",
|
| 178 |
-
"attn_impl": "flash_attn",
|
| 179 |
-
"experts_impl": null,
|
| 180 |
-
"new_special_tokens": [],
|
| 181 |
-
"num_labels": null,
|
| 182 |
-
"problem_type": null,
|
| 183 |
-
"rope_scaling": null,
|
| 184 |
-
"device_map": null,
|
| 185 |
-
"max_memory": {},
|
| 186 |
-
"max_model_len": null,
|
| 187 |
-
"local_repo_path": null,
|
| 188 |
-
"init_strategy": null,
|
| 189 |
-
"template": "qwen3_reranker",
|
| 190 |
-
"system": null,
|
| 191 |
-
"max_length": 512,
|
| 192 |
-
"truncation_strategy": "delete",
|
| 193 |
-
"max_pixels": null,
|
| 194 |
-
"agent_template": null,
|
| 195 |
-
"norm_bbox": null,
|
| 196 |
-
"use_chat_template": true,
|
| 197 |
-
"padding_side": "right",
|
| 198 |
-
"padding_free": true,
|
| 199 |
-
"loss_scale": "default",
|
| 200 |
-
"sequence_parallel_size": 1,
|
| 201 |
-
"template_backend": "swift",
|
| 202 |
-
"response_prefix": null,
|
| 203 |
-
"enable_thinking": null,
|
| 204 |
-
"add_non_thinking_prefix": true,
|
| 205 |
-
"dataset": [
|
| 206 |
-
"data/rerank_swift/aap_fold3_saphn8fix_2ep_r1.jsonl"
|
| 207 |
-
],
|
| 208 |
-
"val_dataset": [],
|
| 209 |
-
"cached_dataset": [],
|
| 210 |
-
"cached_val_dataset": [],
|
| 211 |
-
"split_dataset_ratio": 0.0,
|
| 212 |
-
"dataset_num_proc": 1,
|
| 213 |
-
"load_from_cache_file": false,
|
| 214 |
-
"dataset_shuffle": true,
|
| 215 |
-
"val_dataset_shuffle": false,
|
| 216 |
-
"streaming": false,
|
| 217 |
-
"interleave_prob": null,
|
| 218 |
-
"stopping_strategy": "first_exhausted",
|
| 219 |
-
"shuffle_buffer_size": 1000,
|
| 220 |
-
"download_mode": "reuse_dataset_if_exists",
|
| 221 |
-
"columns": {},
|
| 222 |
-
"strict": false,
|
| 223 |
-
"disable_auto_column_mapping": false,
|
| 224 |
-
"model_name": null,
|
| 225 |
-
"model_author": null,
|
| 226 |
-
"custom_dataset_info": [],
|
| 227 |
-
"quant_method": null,
|
| 228 |
-
"quant_bits": null,
|
| 229 |
-
"hqq_axis": null,
|
| 230 |
-
"bnb_4bit_compute_dtype": "bfloat16",
|
| 231 |
-
"bnb_4bit_quant_type": "nf4",
|
| 232 |
-
"bnb_4bit_use_double_quant": true,
|
| 233 |
-
"bnb_4bit_quant_storage": null,
|
| 234 |
-
"max_new_tokens": 64,
|
| 235 |
-
"temperature": 0.0,
|
| 236 |
-
"top_k": null,
|
| 237 |
-
"top_p": null,
|
| 238 |
-
"repetition_penalty": null,
|
| 239 |
-
"num_beams": 1,
|
| 240 |
-
"stream": false,
|
| 241 |
-
"stop_words": [],
|
| 242 |
-
"logprobs": false,
|
| 243 |
-
"top_logprobs": null,
|
| 244 |
-
"structured_outputs_regex": null,
|
| 245 |
-
"adapters": [],
|
| 246 |
-
"external_plugins": [],
|
| 247 |
-
"custom_register_path": [],
|
| 248 |
-
"model_kwargs": {},
|
| 249 |
-
"enable_npu_model_patch": true,
|
| 250 |
-
"load_args": false,
|
| 251 |
-
"load_data_args": false,
|
| 252 |
-
"packing": false,
|
| 253 |
-
"packing_length": null,
|
| 254 |
-
"packing_num_proc": 1,
|
| 255 |
-
"lazy_tokenize": true,
|
| 256 |
-
"use_hf": true,
|
| 257 |
-
"ignore_args_error": false,
|
| 258 |
-
"use_swift_lora": false,
|
| 259 |
-
"freeze_parameters": [],
|
| 260 |
-
"freeze_parameters_regex": null,
|
| 261 |
-
"freeze_parameters_ratio": 0.0,
|
| 262 |
-
"trainable_parameters": [],
|
| 263 |
-
"trainable_parameters_regex": null,
|
| 264 |
-
"freeze_llm": false,
|
| 265 |
-
"freeze_vit": true,
|
| 266 |
-
"freeze_aligner": true,
|
| 267 |
-
"target_modules": [
|
| 268 |
-
"all-linear"
|
| 269 |
-
],
|
| 270 |
-
"target_regex": null,
|
| 271 |
-
"target_parameters": null,
|
| 272 |
-
"modules_to_save": [],
|
| 273 |
-
"lora_rank": 16,
|
| 274 |
-
"lora_alpha": 32,
|
| 275 |
-
"lora_dropout": 0.05,
|
| 276 |
-
"lora_bias": "none",
|
| 277 |
-
"lora_dtype": null,
|
| 278 |
-
"lorap_lr_ratio": null,
|
| 279 |
-
"use_rslora": false,
|
| 280 |
-
"use_dora": false,
|
| 281 |
-
"lora_ga_batch_size": 2,
|
| 282 |
-
"lora_ga_iters": 2,
|
| 283 |
-
"lora_ga_max_length": 1024,
|
| 284 |
-
"lora_ga_direction": "ArB2r",
|
| 285 |
-
"lora_ga_scale": "stable",
|
| 286 |
-
"lora_ga_stable_gamma": 16,
|
| 287 |
-
"init_weights": true,
|
| 288 |
-
"fourier_n_frequency": 2000,
|
| 289 |
-
"fourier_scaling": 300.0,
|
| 290 |
-
"boft_block_size": 4,
|
| 291 |
-
"boft_block_num": 0,
|
| 292 |
-
"boft_n_butterfly_factor": 1,
|
| 293 |
-
"boft_dropout": 0.0,
|
| 294 |
-
"vera_rank": 256,
|
| 295 |
-
"vera_projection_prng_key": 0,
|
| 296 |
-
"vera_dropout": 0.0,
|
| 297 |
-
"vera_d_initial": 0.1,
|
| 298 |
-
"adapter_act": "gelu",
|
| 299 |
-
"adapter_length": 128,
|
| 300 |
-
"adalora_target_r": 8,
|
| 301 |
-
"adalora_init_r": 12,
|
| 302 |
-
"adalora_tinit": 0,
|
| 303 |
-
"adalora_tfinal": 0,
|
| 304 |
-
"adalora_deltaT": 1,
|
| 305 |
-
"adalora_beta1": 0.85,
|
| 306 |
-
"adalora_beta2": 0.85,
|
| 307 |
-
"adalora_orth_reg_weight": 0.5,
|
| 308 |
-
"llamapro_num_new_blocks": 4,
|
| 309 |
-
"llamapro_num_groups": null,
|
| 310 |
-
"reft_layer_key": null,
|
| 311 |
-
"reft_layers": null,
|
| 312 |
-
"reft_rank": 4,
|
| 313 |
-
"reft_intervention_type": "LoreftIntervention",
|
| 314 |
-
"reft_args": null,
|
| 315 |
-
"swanlab_token": null,
|
| 316 |
-
"swanlab_project": "ms-swift",
|
| 317 |
-
"swanlab_workspace": null,
|
| 318 |
-
"swanlab_exp_name": null,
|
| 319 |
-
"swanlab_notification_method": null,
|
| 320 |
-
"swanlab_webhook_url": null,
|
| 321 |
-
"swanlab_secret": null,
|
| 322 |
-
"swanlab_sender_email": null,
|
| 323 |
-
"swanlab_receiver_email": null,
|
| 324 |
-
"swanlab_smtp_server": null,
|
| 325 |
-
"swanlab_smtp_port": null,
|
| 326 |
-
"swanlab_email_language": "zh",
|
| 327 |
-
"swanlab_mode": "cloud",
|
| 328 |
-
"add_version": true,
|
| 329 |
-
"create_checkpoint_symlink": false,
|
| 330 |
-
"zero_hpz_partition_size": null,
|
| 331 |
-
"deepspeed_autotp_size": null,
|
| 332 |
-
"swift_version": "4.2.0",
|
| 333 |
-
"ckpt_dir": null,
|
| 334 |
-
"rank": 0,
|
| 335 |
-
"global_world_size": 1,
|
| 336 |
-
"local_world_size": 1,
|
| 337 |
-
"model_suffix": "Qwen3-Reranker-4B",
|
| 338 |
-
"model_info": "ModelInfo(model_type='qwen3_reranker', model_dir='/nfs/turbo/umms-drjieliu/usr/yctao/HF_HOME/hub/models--Qwen--Qwen3-Reranker-4B/snapshots/22e683669bc0f0bd69640a1354a6d0aebcfeede5', torch_dtype=torch.bfloat16, max_model_len=40960, quant_method=None, quant_bits=None, rope_scaling={'rope_theta': 1000000, 'rope_type': 'default'}, is_moe_model=False, is_multimodal=False, config=None, task_type='generative_reranker', num_labels=None)",
|
| 339 |
-
"model_meta": "ModelMeta(model_type='qwen3_reranker', model_groups=[ModelGroup(models=[Model(ms_model_id='Qwen/Qwen3-Reranker-0.6B', hf_model_id='Qwen/Qwen3-Reranker-0.6B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-Reranker-4B', hf_model_id='Qwen/Qwen3-Reranker-4B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-Reranker-8B', hf_model_id='Qwen/Qwen3-Reranker-8B', model_path=None, ms_revision=None, hf_revision=None)], template=None, ignore_patterns=None, requires=None, tags=[])], loader=<class 'swift.model.register.ModelLoader'>, template='qwen3_reranker', model_arch=None, mcore_model_type='gpt', architectures=['Qwen3ForCausalLM'], additional_saved_files=[], torch_dtype=None, is_multimodal=False, is_reward=False, task_type=None, ignore_patterns=None, requires=[], tags=[])",
|
| 340 |
-
"model_dir": "/nfs/turbo/umms-drjieliu/usr/yctao/HF_HOME/hub/models--Qwen--Qwen3-Reranker-4B/snapshots/22e683669bc0f0bd69640a1354a6d0aebcfeede5",
|
| 341 |
-
"template_meta": "Qwen3MixedTemplateMeta(template_type='qwen3_reranker', 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.templates.qwen.Qwen3RerankerTemplate'>, system_prefix=['<|im_start|>system\\n{{SYSTEM}}<|im_end|>\\n'], default_system='Judge whether the Document meets the requirements based on the Query and the Instruct provided. Note that the answer can only be \"yes\" or \"no\".', auto_add_bos=False, stop_words=['<|endoftext|>'], agent_template='hermes', is_thinking=False, thinking_prefix='', non_thinking_prefix='<think>\\n\\n</think>\\n\\n', history_thinking_prefix='')",
|
| 342 |
-
"_val_dataset_exists": false,
|
| 343 |
-
"hub": "<class 'swift.hub.hub.HFHub'>",
|
| 344 |
-
"evaluation_strategy": "steps",
|
| 345 |
-
"training_args": "TrainingArguments(output_dir='/nfs/turbo/umms-drjieliu/usr/yctao/ANGEL/models/rerank/aap_fold3_saphn8fix_2ep_r1/v0-20260608-055425', per_device_train_batch_size=4, num_train_epochs=2.0, max_steps=-1, learning_rate=5e-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=2, 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=False, gradient_checkpointing_kwargs=None, 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=20, 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=['wandb'], run_name='aap_fold3_saphn8fix_2ep_r1_j27270941', project='huggingface', trackio_space_id=None, trackio_bucket_id=None, trackio_static_space_id=None, eval_strategy=<IntervalStrategy.NO: 'no'>, eval_steps=0.25, 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=0.25, save_on_each_node=False, save_total_limit=5, 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=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_static_graph=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=None, debug=[], skip_memory_metrics=True, do_train=False, do_eval=False, do_predict=False, resume_from_checkpoint=None, warmup_ratio=0.05, logging_dir='/nfs/turbo/umms-drjieliu/usr/yctao/ANGEL/models/rerank/aap_fold3_saphn8fix_2ep_r1/v0-20260608-055425/runs', local_rank=0, tuner_backend='peft', vit_gradient_checkpointing=False, 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=None, use_logits_to_keep=None, ds3_gather_for_generation=True, resume_only_model=False, optimizer=None, loss_type='pointwise_reranker', eval_metric='reranker', 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='lora', 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)"
|
| 346 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
reranker/aap_fold4/adapter_config.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
"alpha_pattern": {},
|
| 4 |
"arrow_config": null,
|
| 5 |
"auto_mapping": null,
|
| 6 |
-
"base_model_name_or_path": "
|
| 7 |
"bias": "none",
|
| 8 |
"corda_config": null,
|
| 9 |
"ensure_weight_tying": false,
|
|
|
|
| 3 |
"alpha_pattern": {},
|
| 4 |
"arrow_config": null,
|
| 5 |
"auto_mapping": null,
|
| 6 |
+
"base_model_name_or_path": "Qwen/Qwen3-Reranker-4B",
|
| 7 |
"bias": "none",
|
| 8 |
"corda_config": null,
|
| 9 |
"ensure_weight_tying": false,
|
reranker/aap_fold4/args.json
DELETED
|
@@ -1,346 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"output_dir": "/nfs/turbo/umms-drjieliu/usr/yctao/ANGEL/models/rerank/aap_fold4_saphn8fix_2ep_r1/v0-20260608-075600",
|
| 3 |
-
"per_device_train_batch_size": 4,
|
| 4 |
-
"num_train_epochs": 2.0,
|
| 5 |
-
"max_steps": -1,
|
| 6 |
-
"learning_rate": 5e-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": 2,
|
| 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": false,
|
| 27 |
-
"gradient_checkpointing_kwargs": null,
|
| 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": 20,
|
| 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 |
-
"wandb"
|
| 48 |
-
],
|
| 49 |
-
"run_name": "aap_fold4_saphn8fix_2ep_r1_j27270942",
|
| 50 |
-
"project": "huggingface",
|
| 51 |
-
"trackio_space_id": null,
|
| 52 |
-
"trackio_bucket_id": null,
|
| 53 |
-
"trackio_static_space_id": null,
|
| 54 |
-
"eval_strategy": "no",
|
| 55 |
-
"eval_steps": 0.25,
|
| 56 |
-
"eval_delay": 0,
|
| 57 |
-
"per_device_eval_batch_size": 1,
|
| 58 |
-
"prediction_loss_only": false,
|
| 59 |
-
"eval_on_start": false,
|
| 60 |
-
"eval_do_concat_batches": true,
|
| 61 |
-
"eval_use_gather_object": false,
|
| 62 |
-
"eval_accumulation_steps": null,
|
| 63 |
-
"include_for_metrics": [],
|
| 64 |
-
"batch_eval_metrics": false,
|
| 65 |
-
"save_only_model": false,
|
| 66 |
-
"save_strategy": "steps",
|
| 67 |
-
"save_steps": 0.25,
|
| 68 |
-
"save_on_each_node": false,
|
| 69 |
-
"save_total_limit": 5,
|
| 70 |
-
"enable_jit_checkpoint": false,
|
| 71 |
-
"push_to_hub": false,
|
| 72 |
-
"hub_token": null,
|
| 73 |
-
"hub_private_repo": null,
|
| 74 |
-
"hub_model_id": null,
|
| 75 |
-
"hub_strategy": "every_save",
|
| 76 |
-
"hub_always_push": false,
|
| 77 |
-
"hub_revision": null,
|
| 78 |
-
"load_best_model_at_end": false,
|
| 79 |
-
"metric_for_best_model": "loss",
|
| 80 |
-
"greater_is_better": false,
|
| 81 |
-
"ignore_data_skip": false,
|
| 82 |
-
"restore_callback_states_from_checkpoint": false,
|
| 83 |
-
"full_determinism": false,
|
| 84 |
-
"seed": 42,
|
| 85 |
-
"data_seed": 42,
|
| 86 |
-
"use_cpu": false,
|
| 87 |
-
"accelerator_config": {
|
| 88 |
-
"dispatch_batches": false
|
| 89 |
-
},
|
| 90 |
-
"parallelism_config": null,
|
| 91 |
-
"dataloader_drop_last": false,
|
| 92 |
-
"dataloader_num_workers": 4,
|
| 93 |
-
"dataloader_pin_memory": true,
|
| 94 |
-
"dataloader_persistent_workers": false,
|
| 95 |
-
"dataloader_prefetch_factor": null,
|
| 96 |
-
"remove_unused_columns": true,
|
| 97 |
-
"label_names": null,
|
| 98 |
-
"train_sampling_strategy": "random",
|
| 99 |
-
"length_column_name": "length",
|
| 100 |
-
"ddp_find_unused_parameters": null,
|
| 101 |
-
"ddp_bucket_cap_mb": null,
|
| 102 |
-
"ddp_broadcast_buffers": null,
|
| 103 |
-
"ddp_static_graph": null,
|
| 104 |
-
"ddp_backend": null,
|
| 105 |
-
"ddp_timeout": 18000000,
|
| 106 |
-
"fsdp": [],
|
| 107 |
-
"fsdp_config": null,
|
| 108 |
-
"deepspeed": null,
|
| 109 |
-
"debug": null,
|
| 110 |
-
"skip_memory_metrics": true,
|
| 111 |
-
"do_train": false,
|
| 112 |
-
"do_eval": false,
|
| 113 |
-
"do_predict": false,
|
| 114 |
-
"resume_from_checkpoint": null,
|
| 115 |
-
"warmup_ratio": 0.05,
|
| 116 |
-
"logging_dir": "/nfs/turbo/umms-drjieliu/usr/yctao/ANGEL/models/rerank/aap_fold4_saphn8fix_2ep_r1/v0-20260608-075600/runs",
|
| 117 |
-
"local_rank": 0,
|
| 118 |
-
"sortish_sampler": false,
|
| 119 |
-
"predict_with_generate": false,
|
| 120 |
-
"generation_max_length": null,
|
| 121 |
-
"generation_num_beams": null,
|
| 122 |
-
"generation_config": null,
|
| 123 |
-
"tuner_backend": "peft",
|
| 124 |
-
"vit_gradient_checkpointing": false,
|
| 125 |
-
"router_aux_loss_coef": 0.0,
|
| 126 |
-
"enable_dft_loss": false,
|
| 127 |
-
"enable_channel_loss": false,
|
| 128 |
-
"safe_serialization": true,
|
| 129 |
-
"max_shard_size": "5GB",
|
| 130 |
-
"check_model": true,
|
| 131 |
-
"acc_strategy": "token",
|
| 132 |
-
"train_dataloader_shuffle": true,
|
| 133 |
-
"group_by_length": false,
|
| 134 |
-
"max_epochs": null,
|
| 135 |
-
"aligner_lr": null,
|
| 136 |
-
"vit_lr": null,
|
| 137 |
-
"use_logits_to_keep": null,
|
| 138 |
-
"ds3_gather_for_generation": true,
|
| 139 |
-
"resume_only_model": false,
|
| 140 |
-
"optimizer": null,
|
| 141 |
-
"loss_type": "pointwise_reranker",
|
| 142 |
-
"eval_metric": "reranker",
|
| 143 |
-
"callbacks": [],
|
| 144 |
-
"early_stop_interval": null,
|
| 145 |
-
"eval_use_evalscope": false,
|
| 146 |
-
"eval_dataset": [],
|
| 147 |
-
"eval_dataset_args": null,
|
| 148 |
-
"eval_limit": null,
|
| 149 |
-
"eval_generation_config": null,
|
| 150 |
-
"extra_eval_args": null,
|
| 151 |
-
"tuner_type": "lora",
|
| 152 |
-
"use_galore": false,
|
| 153 |
-
"galore_target_modules": null,
|
| 154 |
-
"galore_rank": 128,
|
| 155 |
-
"galore_update_proj_gap": 50,
|
| 156 |
-
"galore_scale": 1.0,
|
| 157 |
-
"galore_proj_type": "std",
|
| 158 |
-
"galore_optim_per_parameter": false,
|
| 159 |
-
"galore_with_embedding": false,
|
| 160 |
-
"galore_quantization": false,
|
| 161 |
-
"galore_proj_quant": false,
|
| 162 |
-
"galore_proj_bits": 4,
|
| 163 |
-
"galore_proj_group_size": 256,
|
| 164 |
-
"galore_cos_threshold": 0.4,
|
| 165 |
-
"galore_gamma_proj": 2,
|
| 166 |
-
"galore_queue_size": 5,
|
| 167 |
-
"lisa_activated_layers": 0,
|
| 168 |
-
"lisa_step_interval": 20,
|
| 169 |
-
"use_flash_ckpt": false,
|
| 170 |
-
"use_ray": false,
|
| 171 |
-
"ray_exp_name": null,
|
| 172 |
-
"device_groups": null,
|
| 173 |
-
"model": "Qwen/Qwen3-Reranker-4B",
|
| 174 |
-
"model_type": "qwen3_reranker",
|
| 175 |
-
"model_revision": null,
|
| 176 |
-
"task_type": "generative_reranker",
|
| 177 |
-
"torch_dtype": "bfloat16",
|
| 178 |
-
"attn_impl": "flash_attn",
|
| 179 |
-
"experts_impl": null,
|
| 180 |
-
"new_special_tokens": [],
|
| 181 |
-
"num_labels": null,
|
| 182 |
-
"problem_type": null,
|
| 183 |
-
"rope_scaling": null,
|
| 184 |
-
"device_map": null,
|
| 185 |
-
"max_memory": {},
|
| 186 |
-
"max_model_len": null,
|
| 187 |
-
"local_repo_path": null,
|
| 188 |
-
"init_strategy": null,
|
| 189 |
-
"template": "qwen3_reranker",
|
| 190 |
-
"system": null,
|
| 191 |
-
"max_length": 512,
|
| 192 |
-
"truncation_strategy": "delete",
|
| 193 |
-
"max_pixels": null,
|
| 194 |
-
"agent_template": null,
|
| 195 |
-
"norm_bbox": null,
|
| 196 |
-
"use_chat_template": true,
|
| 197 |
-
"padding_side": "right",
|
| 198 |
-
"padding_free": true,
|
| 199 |
-
"loss_scale": "default",
|
| 200 |
-
"sequence_parallel_size": 1,
|
| 201 |
-
"template_backend": "swift",
|
| 202 |
-
"response_prefix": null,
|
| 203 |
-
"enable_thinking": null,
|
| 204 |
-
"add_non_thinking_prefix": true,
|
| 205 |
-
"dataset": [
|
| 206 |
-
"data/rerank_swift/aap_fold4_saphn8fix_2ep_r1.jsonl"
|
| 207 |
-
],
|
| 208 |
-
"val_dataset": [],
|
| 209 |
-
"cached_dataset": [],
|
| 210 |
-
"cached_val_dataset": [],
|
| 211 |
-
"split_dataset_ratio": 0.0,
|
| 212 |
-
"dataset_num_proc": 1,
|
| 213 |
-
"load_from_cache_file": false,
|
| 214 |
-
"dataset_shuffle": true,
|
| 215 |
-
"val_dataset_shuffle": false,
|
| 216 |
-
"streaming": false,
|
| 217 |
-
"interleave_prob": null,
|
| 218 |
-
"stopping_strategy": "first_exhausted",
|
| 219 |
-
"shuffle_buffer_size": 1000,
|
| 220 |
-
"download_mode": "reuse_dataset_if_exists",
|
| 221 |
-
"columns": {},
|
| 222 |
-
"strict": false,
|
| 223 |
-
"disable_auto_column_mapping": false,
|
| 224 |
-
"model_name": null,
|
| 225 |
-
"model_author": null,
|
| 226 |
-
"custom_dataset_info": [],
|
| 227 |
-
"quant_method": null,
|
| 228 |
-
"quant_bits": null,
|
| 229 |
-
"hqq_axis": null,
|
| 230 |
-
"bnb_4bit_compute_dtype": "bfloat16",
|
| 231 |
-
"bnb_4bit_quant_type": "nf4",
|
| 232 |
-
"bnb_4bit_use_double_quant": true,
|
| 233 |
-
"bnb_4bit_quant_storage": null,
|
| 234 |
-
"max_new_tokens": 64,
|
| 235 |
-
"temperature": 0.0,
|
| 236 |
-
"top_k": null,
|
| 237 |
-
"top_p": null,
|
| 238 |
-
"repetition_penalty": null,
|
| 239 |
-
"num_beams": 1,
|
| 240 |
-
"stream": false,
|
| 241 |
-
"stop_words": [],
|
| 242 |
-
"logprobs": false,
|
| 243 |
-
"top_logprobs": null,
|
| 244 |
-
"structured_outputs_regex": null,
|
| 245 |
-
"adapters": [],
|
| 246 |
-
"external_plugins": [],
|
| 247 |
-
"custom_register_path": [],
|
| 248 |
-
"model_kwargs": {},
|
| 249 |
-
"enable_npu_model_patch": true,
|
| 250 |
-
"load_args": false,
|
| 251 |
-
"load_data_args": false,
|
| 252 |
-
"packing": false,
|
| 253 |
-
"packing_length": null,
|
| 254 |
-
"packing_num_proc": 1,
|
| 255 |
-
"lazy_tokenize": true,
|
| 256 |
-
"use_hf": true,
|
| 257 |
-
"ignore_args_error": false,
|
| 258 |
-
"use_swift_lora": false,
|
| 259 |
-
"freeze_parameters": [],
|
| 260 |
-
"freeze_parameters_regex": null,
|
| 261 |
-
"freeze_parameters_ratio": 0.0,
|
| 262 |
-
"trainable_parameters": [],
|
| 263 |
-
"trainable_parameters_regex": null,
|
| 264 |
-
"freeze_llm": false,
|
| 265 |
-
"freeze_vit": true,
|
| 266 |
-
"freeze_aligner": true,
|
| 267 |
-
"target_modules": [
|
| 268 |
-
"all-linear"
|
| 269 |
-
],
|
| 270 |
-
"target_regex": null,
|
| 271 |
-
"target_parameters": null,
|
| 272 |
-
"modules_to_save": [],
|
| 273 |
-
"lora_rank": 16,
|
| 274 |
-
"lora_alpha": 32,
|
| 275 |
-
"lora_dropout": 0.05,
|
| 276 |
-
"lora_bias": "none",
|
| 277 |
-
"lora_dtype": null,
|
| 278 |
-
"lorap_lr_ratio": null,
|
| 279 |
-
"use_rslora": false,
|
| 280 |
-
"use_dora": false,
|
| 281 |
-
"lora_ga_batch_size": 2,
|
| 282 |
-
"lora_ga_iters": 2,
|
| 283 |
-
"lora_ga_max_length": 1024,
|
| 284 |
-
"lora_ga_direction": "ArB2r",
|
| 285 |
-
"lora_ga_scale": "stable",
|
| 286 |
-
"lora_ga_stable_gamma": 16,
|
| 287 |
-
"init_weights": true,
|
| 288 |
-
"fourier_n_frequency": 2000,
|
| 289 |
-
"fourier_scaling": 300.0,
|
| 290 |
-
"boft_block_size": 4,
|
| 291 |
-
"boft_block_num": 0,
|
| 292 |
-
"boft_n_butterfly_factor": 1,
|
| 293 |
-
"boft_dropout": 0.0,
|
| 294 |
-
"vera_rank": 256,
|
| 295 |
-
"vera_projection_prng_key": 0,
|
| 296 |
-
"vera_dropout": 0.0,
|
| 297 |
-
"vera_d_initial": 0.1,
|
| 298 |
-
"adapter_act": "gelu",
|
| 299 |
-
"adapter_length": 128,
|
| 300 |
-
"adalora_target_r": 8,
|
| 301 |
-
"adalora_init_r": 12,
|
| 302 |
-
"adalora_tinit": 0,
|
| 303 |
-
"adalora_tfinal": 0,
|
| 304 |
-
"adalora_deltaT": 1,
|
| 305 |
-
"adalora_beta1": 0.85,
|
| 306 |
-
"adalora_beta2": 0.85,
|
| 307 |
-
"adalora_orth_reg_weight": 0.5,
|
| 308 |
-
"llamapro_num_new_blocks": 4,
|
| 309 |
-
"llamapro_num_groups": null,
|
| 310 |
-
"reft_layer_key": null,
|
| 311 |
-
"reft_layers": null,
|
| 312 |
-
"reft_rank": 4,
|
| 313 |
-
"reft_intervention_type": "LoreftIntervention",
|
| 314 |
-
"reft_args": null,
|
| 315 |
-
"swanlab_token": null,
|
| 316 |
-
"swanlab_project": "ms-swift",
|
| 317 |
-
"swanlab_workspace": null,
|
| 318 |
-
"swanlab_exp_name": null,
|
| 319 |
-
"swanlab_notification_method": null,
|
| 320 |
-
"swanlab_webhook_url": null,
|
| 321 |
-
"swanlab_secret": null,
|
| 322 |
-
"swanlab_sender_email": null,
|
| 323 |
-
"swanlab_receiver_email": null,
|
| 324 |
-
"swanlab_smtp_server": null,
|
| 325 |
-
"swanlab_smtp_port": null,
|
| 326 |
-
"swanlab_email_language": "zh",
|
| 327 |
-
"swanlab_mode": "cloud",
|
| 328 |
-
"add_version": true,
|
| 329 |
-
"create_checkpoint_symlink": false,
|
| 330 |
-
"zero_hpz_partition_size": null,
|
| 331 |
-
"deepspeed_autotp_size": null,
|
| 332 |
-
"swift_version": "4.2.0",
|
| 333 |
-
"ckpt_dir": null,
|
| 334 |
-
"rank": 0,
|
| 335 |
-
"global_world_size": 1,
|
| 336 |
-
"local_world_size": 1,
|
| 337 |
-
"model_suffix": "Qwen3-Reranker-4B",
|
| 338 |
-
"model_info": "ModelInfo(model_type='qwen3_reranker', model_dir='/nfs/turbo/umms-drjieliu/usr/yctao/HF_HOME/hub/models--Qwen--Qwen3-Reranker-4B/snapshots/22e683669bc0f0bd69640a1354a6d0aebcfeede5', torch_dtype=torch.bfloat16, max_model_len=40960, quant_method=None, quant_bits=None, rope_scaling={'rope_theta': 1000000, 'rope_type': 'default'}, is_moe_model=False, is_multimodal=False, config=None, task_type='generative_reranker', num_labels=None)",
|
| 339 |
-
"model_meta": "ModelMeta(model_type='qwen3_reranker', model_groups=[ModelGroup(models=[Model(ms_model_id='Qwen/Qwen3-Reranker-0.6B', hf_model_id='Qwen/Qwen3-Reranker-0.6B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-Reranker-4B', hf_model_id='Qwen/Qwen3-Reranker-4B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-Reranker-8B', hf_model_id='Qwen/Qwen3-Reranker-8B', model_path=None, ms_revision=None, hf_revision=None)], template=None, ignore_patterns=None, requires=None, tags=[])], loader=<class 'swift.model.register.ModelLoader'>, template='qwen3_reranker', model_arch=None, mcore_model_type='gpt', architectures=['Qwen3ForCausalLM'], additional_saved_files=[], torch_dtype=None, is_multimodal=False, is_reward=False, task_type=None, ignore_patterns=None, requires=[], tags=[])",
|
| 340 |
-
"model_dir": "/nfs/turbo/umms-drjieliu/usr/yctao/HF_HOME/hub/models--Qwen--Qwen3-Reranker-4B/snapshots/22e683669bc0f0bd69640a1354a6d0aebcfeede5",
|
| 341 |
-
"template_meta": "Qwen3MixedTemplateMeta(template_type='qwen3_reranker', 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.templates.qwen.Qwen3RerankerTemplate'>, system_prefix=['<|im_start|>system\\n{{SYSTEM}}<|im_end|>\\n'], default_system='Judge whether the Document meets the requirements based on the Query and the Instruct provided. Note that the answer can only be \"yes\" or \"no\".', auto_add_bos=False, stop_words=['<|endoftext|>'], agent_template='hermes', is_thinking=False, thinking_prefix='', non_thinking_prefix='<think>\\n\\n</think>\\n\\n', history_thinking_prefix='')",
|
| 342 |
-
"_val_dataset_exists": false,
|
| 343 |
-
"hub": "<class 'swift.hub.hub.HFHub'>",
|
| 344 |
-
"evaluation_strategy": "steps",
|
| 345 |
-
"training_args": "TrainingArguments(output_dir='/nfs/turbo/umms-drjieliu/usr/yctao/ANGEL/models/rerank/aap_fold4_saphn8fix_2ep_r1/v0-20260608-075600', per_device_train_batch_size=4, num_train_epochs=2.0, max_steps=-1, learning_rate=5e-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=2, 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=False, gradient_checkpointing_kwargs=None, 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=20, 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=['wandb'], run_name='aap_fold4_saphn8fix_2ep_r1_j27270942', project='huggingface', trackio_space_id=None, trackio_bucket_id=None, trackio_static_space_id=None, eval_strategy=<IntervalStrategy.NO: 'no'>, eval_steps=0.25, 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=0.25, save_on_each_node=False, save_total_limit=5, 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=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_static_graph=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=None, debug=[], skip_memory_metrics=True, do_train=False, do_eval=False, do_predict=False, resume_from_checkpoint=None, warmup_ratio=0.05, logging_dir='/nfs/turbo/umms-drjieliu/usr/yctao/ANGEL/models/rerank/aap_fold4_saphn8fix_2ep_r1/v0-20260608-075600/runs', local_rank=0, tuner_backend='peft', vit_gradient_checkpointing=False, 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=None, use_logits_to_keep=None, ds3_gather_for_generation=True, resume_only_model=False, optimizer=None, loss_type='pointwise_reranker', eval_metric='reranker', 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='lora', 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)"
|
| 346 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
reranker/aap_fold5/adapter_config.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
"alpha_pattern": {},
|
| 4 |
"arrow_config": null,
|
| 5 |
"auto_mapping": null,
|
| 6 |
-
"base_model_name_or_path": "
|
| 7 |
"bias": "none",
|
| 8 |
"corda_config": null,
|
| 9 |
"ensure_weight_tying": false,
|
|
|
|
| 3 |
"alpha_pattern": {},
|
| 4 |
"arrow_config": null,
|
| 5 |
"auto_mapping": null,
|
| 6 |
+
"base_model_name_or_path": "Qwen/Qwen3-Reranker-4B",
|
| 7 |
"bias": "none",
|
| 8 |
"corda_config": null,
|
| 9 |
"ensure_weight_tying": false,
|
reranker/aap_fold5/args.json
DELETED
|
@@ -1,346 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"output_dir": "/nfs/turbo/umms-drjieliu/usr/yctao/ANGEL/models/rerank/aap_fold5_saphn8fix_2ep_r1/v0-20260608-075657",
|
| 3 |
-
"per_device_train_batch_size": 4,
|
| 4 |
-
"num_train_epochs": 2.0,
|
| 5 |
-
"max_steps": -1,
|
| 6 |
-
"learning_rate": 5e-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": 2,
|
| 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": false,
|
| 27 |
-
"gradient_checkpointing_kwargs": null,
|
| 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": 20,
|
| 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 |
-
"wandb"
|
| 48 |
-
],
|
| 49 |
-
"run_name": "aap_fold5_saphn8fix_2ep_r1_j27270943",
|
| 50 |
-
"project": "huggingface",
|
| 51 |
-
"trackio_space_id": null,
|
| 52 |
-
"trackio_bucket_id": null,
|
| 53 |
-
"trackio_static_space_id": null,
|
| 54 |
-
"eval_strategy": "no",
|
| 55 |
-
"eval_steps": 0.25,
|
| 56 |
-
"eval_delay": 0,
|
| 57 |
-
"per_device_eval_batch_size": 1,
|
| 58 |
-
"prediction_loss_only": false,
|
| 59 |
-
"eval_on_start": false,
|
| 60 |
-
"eval_do_concat_batches": true,
|
| 61 |
-
"eval_use_gather_object": false,
|
| 62 |
-
"eval_accumulation_steps": null,
|
| 63 |
-
"include_for_metrics": [],
|
| 64 |
-
"batch_eval_metrics": false,
|
| 65 |
-
"save_only_model": false,
|
| 66 |
-
"save_strategy": "steps",
|
| 67 |
-
"save_steps": 0.25,
|
| 68 |
-
"save_on_each_node": false,
|
| 69 |
-
"save_total_limit": 5,
|
| 70 |
-
"enable_jit_checkpoint": false,
|
| 71 |
-
"push_to_hub": false,
|
| 72 |
-
"hub_token": null,
|
| 73 |
-
"hub_private_repo": null,
|
| 74 |
-
"hub_model_id": null,
|
| 75 |
-
"hub_strategy": "every_save",
|
| 76 |
-
"hub_always_push": false,
|
| 77 |
-
"hub_revision": null,
|
| 78 |
-
"load_best_model_at_end": false,
|
| 79 |
-
"metric_for_best_model": "loss",
|
| 80 |
-
"greater_is_better": false,
|
| 81 |
-
"ignore_data_skip": false,
|
| 82 |
-
"restore_callback_states_from_checkpoint": false,
|
| 83 |
-
"full_determinism": false,
|
| 84 |
-
"seed": 42,
|
| 85 |
-
"data_seed": 42,
|
| 86 |
-
"use_cpu": false,
|
| 87 |
-
"accelerator_config": {
|
| 88 |
-
"dispatch_batches": false
|
| 89 |
-
},
|
| 90 |
-
"parallelism_config": null,
|
| 91 |
-
"dataloader_drop_last": false,
|
| 92 |
-
"dataloader_num_workers": 4,
|
| 93 |
-
"dataloader_pin_memory": true,
|
| 94 |
-
"dataloader_persistent_workers": false,
|
| 95 |
-
"dataloader_prefetch_factor": null,
|
| 96 |
-
"remove_unused_columns": true,
|
| 97 |
-
"label_names": null,
|
| 98 |
-
"train_sampling_strategy": "random",
|
| 99 |
-
"length_column_name": "length",
|
| 100 |
-
"ddp_find_unused_parameters": null,
|
| 101 |
-
"ddp_bucket_cap_mb": null,
|
| 102 |
-
"ddp_broadcast_buffers": null,
|
| 103 |
-
"ddp_static_graph": null,
|
| 104 |
-
"ddp_backend": null,
|
| 105 |
-
"ddp_timeout": 18000000,
|
| 106 |
-
"fsdp": [],
|
| 107 |
-
"fsdp_config": null,
|
| 108 |
-
"deepspeed": null,
|
| 109 |
-
"debug": null,
|
| 110 |
-
"skip_memory_metrics": true,
|
| 111 |
-
"do_train": false,
|
| 112 |
-
"do_eval": false,
|
| 113 |
-
"do_predict": false,
|
| 114 |
-
"resume_from_checkpoint": null,
|
| 115 |
-
"warmup_ratio": 0.05,
|
| 116 |
-
"logging_dir": "/nfs/turbo/umms-drjieliu/usr/yctao/ANGEL/models/rerank/aap_fold5_saphn8fix_2ep_r1/v0-20260608-075657/runs",
|
| 117 |
-
"local_rank": 0,
|
| 118 |
-
"sortish_sampler": false,
|
| 119 |
-
"predict_with_generate": false,
|
| 120 |
-
"generation_max_length": null,
|
| 121 |
-
"generation_num_beams": null,
|
| 122 |
-
"generation_config": null,
|
| 123 |
-
"tuner_backend": "peft",
|
| 124 |
-
"vit_gradient_checkpointing": false,
|
| 125 |
-
"router_aux_loss_coef": 0.0,
|
| 126 |
-
"enable_dft_loss": false,
|
| 127 |
-
"enable_channel_loss": false,
|
| 128 |
-
"safe_serialization": true,
|
| 129 |
-
"max_shard_size": "5GB",
|
| 130 |
-
"check_model": true,
|
| 131 |
-
"acc_strategy": "token",
|
| 132 |
-
"train_dataloader_shuffle": true,
|
| 133 |
-
"group_by_length": false,
|
| 134 |
-
"max_epochs": null,
|
| 135 |
-
"aligner_lr": null,
|
| 136 |
-
"vit_lr": null,
|
| 137 |
-
"use_logits_to_keep": null,
|
| 138 |
-
"ds3_gather_for_generation": true,
|
| 139 |
-
"resume_only_model": false,
|
| 140 |
-
"optimizer": null,
|
| 141 |
-
"loss_type": "pointwise_reranker",
|
| 142 |
-
"eval_metric": "reranker",
|
| 143 |
-
"callbacks": [],
|
| 144 |
-
"early_stop_interval": null,
|
| 145 |
-
"eval_use_evalscope": false,
|
| 146 |
-
"eval_dataset": [],
|
| 147 |
-
"eval_dataset_args": null,
|
| 148 |
-
"eval_limit": null,
|
| 149 |
-
"eval_generation_config": null,
|
| 150 |
-
"extra_eval_args": null,
|
| 151 |
-
"tuner_type": "lora",
|
| 152 |
-
"use_galore": false,
|
| 153 |
-
"galore_target_modules": null,
|
| 154 |
-
"galore_rank": 128,
|
| 155 |
-
"galore_update_proj_gap": 50,
|
| 156 |
-
"galore_scale": 1.0,
|
| 157 |
-
"galore_proj_type": "std",
|
| 158 |
-
"galore_optim_per_parameter": false,
|
| 159 |
-
"galore_with_embedding": false,
|
| 160 |
-
"galore_quantization": false,
|
| 161 |
-
"galore_proj_quant": false,
|
| 162 |
-
"galore_proj_bits": 4,
|
| 163 |
-
"galore_proj_group_size": 256,
|
| 164 |
-
"galore_cos_threshold": 0.4,
|
| 165 |
-
"galore_gamma_proj": 2,
|
| 166 |
-
"galore_queue_size": 5,
|
| 167 |
-
"lisa_activated_layers": 0,
|
| 168 |
-
"lisa_step_interval": 20,
|
| 169 |
-
"use_flash_ckpt": false,
|
| 170 |
-
"use_ray": false,
|
| 171 |
-
"ray_exp_name": null,
|
| 172 |
-
"device_groups": null,
|
| 173 |
-
"model": "Qwen/Qwen3-Reranker-4B",
|
| 174 |
-
"model_type": "qwen3_reranker",
|
| 175 |
-
"model_revision": null,
|
| 176 |
-
"task_type": "generative_reranker",
|
| 177 |
-
"torch_dtype": "bfloat16",
|
| 178 |
-
"attn_impl": "flash_attn",
|
| 179 |
-
"experts_impl": null,
|
| 180 |
-
"new_special_tokens": [],
|
| 181 |
-
"num_labels": null,
|
| 182 |
-
"problem_type": null,
|
| 183 |
-
"rope_scaling": null,
|
| 184 |
-
"device_map": null,
|
| 185 |
-
"max_memory": {},
|
| 186 |
-
"max_model_len": null,
|
| 187 |
-
"local_repo_path": null,
|
| 188 |
-
"init_strategy": null,
|
| 189 |
-
"template": "qwen3_reranker",
|
| 190 |
-
"system": null,
|
| 191 |
-
"max_length": 512,
|
| 192 |
-
"truncation_strategy": "delete",
|
| 193 |
-
"max_pixels": null,
|
| 194 |
-
"agent_template": null,
|
| 195 |
-
"norm_bbox": null,
|
| 196 |
-
"use_chat_template": true,
|
| 197 |
-
"padding_side": "right",
|
| 198 |
-
"padding_free": true,
|
| 199 |
-
"loss_scale": "default",
|
| 200 |
-
"sequence_parallel_size": 1,
|
| 201 |
-
"template_backend": "swift",
|
| 202 |
-
"response_prefix": null,
|
| 203 |
-
"enable_thinking": null,
|
| 204 |
-
"add_non_thinking_prefix": true,
|
| 205 |
-
"dataset": [
|
| 206 |
-
"data/rerank_swift/aap_fold5_saphn8fix_2ep_r1.jsonl"
|
| 207 |
-
],
|
| 208 |
-
"val_dataset": [],
|
| 209 |
-
"cached_dataset": [],
|
| 210 |
-
"cached_val_dataset": [],
|
| 211 |
-
"split_dataset_ratio": 0.0,
|
| 212 |
-
"dataset_num_proc": 1,
|
| 213 |
-
"load_from_cache_file": false,
|
| 214 |
-
"dataset_shuffle": true,
|
| 215 |
-
"val_dataset_shuffle": false,
|
| 216 |
-
"streaming": false,
|
| 217 |
-
"interleave_prob": null,
|
| 218 |
-
"stopping_strategy": "first_exhausted",
|
| 219 |
-
"shuffle_buffer_size": 1000,
|
| 220 |
-
"download_mode": "reuse_dataset_if_exists",
|
| 221 |
-
"columns": {},
|
| 222 |
-
"strict": false,
|
| 223 |
-
"disable_auto_column_mapping": false,
|
| 224 |
-
"model_name": null,
|
| 225 |
-
"model_author": null,
|
| 226 |
-
"custom_dataset_info": [],
|
| 227 |
-
"quant_method": null,
|
| 228 |
-
"quant_bits": null,
|
| 229 |
-
"hqq_axis": null,
|
| 230 |
-
"bnb_4bit_compute_dtype": "bfloat16",
|
| 231 |
-
"bnb_4bit_quant_type": "nf4",
|
| 232 |
-
"bnb_4bit_use_double_quant": true,
|
| 233 |
-
"bnb_4bit_quant_storage": null,
|
| 234 |
-
"max_new_tokens": 64,
|
| 235 |
-
"temperature": 0.0,
|
| 236 |
-
"top_k": null,
|
| 237 |
-
"top_p": null,
|
| 238 |
-
"repetition_penalty": null,
|
| 239 |
-
"num_beams": 1,
|
| 240 |
-
"stream": false,
|
| 241 |
-
"stop_words": [],
|
| 242 |
-
"logprobs": false,
|
| 243 |
-
"top_logprobs": null,
|
| 244 |
-
"structured_outputs_regex": null,
|
| 245 |
-
"adapters": [],
|
| 246 |
-
"external_plugins": [],
|
| 247 |
-
"custom_register_path": [],
|
| 248 |
-
"model_kwargs": {},
|
| 249 |
-
"enable_npu_model_patch": true,
|
| 250 |
-
"load_args": false,
|
| 251 |
-
"load_data_args": false,
|
| 252 |
-
"packing": false,
|
| 253 |
-
"packing_length": null,
|
| 254 |
-
"packing_num_proc": 1,
|
| 255 |
-
"lazy_tokenize": true,
|
| 256 |
-
"use_hf": true,
|
| 257 |
-
"ignore_args_error": false,
|
| 258 |
-
"use_swift_lora": false,
|
| 259 |
-
"freeze_parameters": [],
|
| 260 |
-
"freeze_parameters_regex": null,
|
| 261 |
-
"freeze_parameters_ratio": 0.0,
|
| 262 |
-
"trainable_parameters": [],
|
| 263 |
-
"trainable_parameters_regex": null,
|
| 264 |
-
"freeze_llm": false,
|
| 265 |
-
"freeze_vit": true,
|
| 266 |
-
"freeze_aligner": true,
|
| 267 |
-
"target_modules": [
|
| 268 |
-
"all-linear"
|
| 269 |
-
],
|
| 270 |
-
"target_regex": null,
|
| 271 |
-
"target_parameters": null,
|
| 272 |
-
"modules_to_save": [],
|
| 273 |
-
"lora_rank": 16,
|
| 274 |
-
"lora_alpha": 32,
|
| 275 |
-
"lora_dropout": 0.05,
|
| 276 |
-
"lora_bias": "none",
|
| 277 |
-
"lora_dtype": null,
|
| 278 |
-
"lorap_lr_ratio": null,
|
| 279 |
-
"use_rslora": false,
|
| 280 |
-
"use_dora": false,
|
| 281 |
-
"lora_ga_batch_size": 2,
|
| 282 |
-
"lora_ga_iters": 2,
|
| 283 |
-
"lora_ga_max_length": 1024,
|
| 284 |
-
"lora_ga_direction": "ArB2r",
|
| 285 |
-
"lora_ga_scale": "stable",
|
| 286 |
-
"lora_ga_stable_gamma": 16,
|
| 287 |
-
"init_weights": true,
|
| 288 |
-
"fourier_n_frequency": 2000,
|
| 289 |
-
"fourier_scaling": 300.0,
|
| 290 |
-
"boft_block_size": 4,
|
| 291 |
-
"boft_block_num": 0,
|
| 292 |
-
"boft_n_butterfly_factor": 1,
|
| 293 |
-
"boft_dropout": 0.0,
|
| 294 |
-
"vera_rank": 256,
|
| 295 |
-
"vera_projection_prng_key": 0,
|
| 296 |
-
"vera_dropout": 0.0,
|
| 297 |
-
"vera_d_initial": 0.1,
|
| 298 |
-
"adapter_act": "gelu",
|
| 299 |
-
"adapter_length": 128,
|
| 300 |
-
"adalora_target_r": 8,
|
| 301 |
-
"adalora_init_r": 12,
|
| 302 |
-
"adalora_tinit": 0,
|
| 303 |
-
"adalora_tfinal": 0,
|
| 304 |
-
"adalora_deltaT": 1,
|
| 305 |
-
"adalora_beta1": 0.85,
|
| 306 |
-
"adalora_beta2": 0.85,
|
| 307 |
-
"adalora_orth_reg_weight": 0.5,
|
| 308 |
-
"llamapro_num_new_blocks": 4,
|
| 309 |
-
"llamapro_num_groups": null,
|
| 310 |
-
"reft_layer_key": null,
|
| 311 |
-
"reft_layers": null,
|
| 312 |
-
"reft_rank": 4,
|
| 313 |
-
"reft_intervention_type": "LoreftIntervention",
|
| 314 |
-
"reft_args": null,
|
| 315 |
-
"swanlab_token": null,
|
| 316 |
-
"swanlab_project": "ms-swift",
|
| 317 |
-
"swanlab_workspace": null,
|
| 318 |
-
"swanlab_exp_name": null,
|
| 319 |
-
"swanlab_notification_method": null,
|
| 320 |
-
"swanlab_webhook_url": null,
|
| 321 |
-
"swanlab_secret": null,
|
| 322 |
-
"swanlab_sender_email": null,
|
| 323 |
-
"swanlab_receiver_email": null,
|
| 324 |
-
"swanlab_smtp_server": null,
|
| 325 |
-
"swanlab_smtp_port": null,
|
| 326 |
-
"swanlab_email_language": "zh",
|
| 327 |
-
"swanlab_mode": "cloud",
|
| 328 |
-
"add_version": true,
|
| 329 |
-
"create_checkpoint_symlink": false,
|
| 330 |
-
"zero_hpz_partition_size": null,
|
| 331 |
-
"deepspeed_autotp_size": null,
|
| 332 |
-
"swift_version": "4.2.0",
|
| 333 |
-
"ckpt_dir": null,
|
| 334 |
-
"rank": 0,
|
| 335 |
-
"global_world_size": 1,
|
| 336 |
-
"local_world_size": 1,
|
| 337 |
-
"model_suffix": "Qwen3-Reranker-4B",
|
| 338 |
-
"model_info": "ModelInfo(model_type='qwen3_reranker', model_dir='/nfs/turbo/umms-drjieliu/usr/yctao/HF_HOME/hub/models--Qwen--Qwen3-Reranker-4B/snapshots/22e683669bc0f0bd69640a1354a6d0aebcfeede5', torch_dtype=torch.bfloat16, max_model_len=40960, quant_method=None, quant_bits=None, rope_scaling={'rope_theta': 1000000, 'rope_type': 'default'}, is_moe_model=False, is_multimodal=False, config=None, task_type='generative_reranker', num_labels=None)",
|
| 339 |
-
"model_meta": "ModelMeta(model_type='qwen3_reranker', model_groups=[ModelGroup(models=[Model(ms_model_id='Qwen/Qwen3-Reranker-0.6B', hf_model_id='Qwen/Qwen3-Reranker-0.6B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-Reranker-4B', hf_model_id='Qwen/Qwen3-Reranker-4B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-Reranker-8B', hf_model_id='Qwen/Qwen3-Reranker-8B', model_path=None, ms_revision=None, hf_revision=None)], template=None, ignore_patterns=None, requires=None, tags=[])], loader=<class 'swift.model.register.ModelLoader'>, template='qwen3_reranker', model_arch=None, mcore_model_type='gpt', architectures=['Qwen3ForCausalLM'], additional_saved_files=[], torch_dtype=None, is_multimodal=False, is_reward=False, task_type=None, ignore_patterns=None, requires=[], tags=[])",
|
| 340 |
-
"model_dir": "/nfs/turbo/umms-drjieliu/usr/yctao/HF_HOME/hub/models--Qwen--Qwen3-Reranker-4B/snapshots/22e683669bc0f0bd69640a1354a6d0aebcfeede5",
|
| 341 |
-
"template_meta": "Qwen3MixedTemplateMeta(template_type='qwen3_reranker', 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.templates.qwen.Qwen3RerankerTemplate'>, system_prefix=['<|im_start|>system\\n{{SYSTEM}}<|im_end|>\\n'], default_system='Judge whether the Document meets the requirements based on the Query and the Instruct provided. Note that the answer can only be \"yes\" or \"no\".', auto_add_bos=False, stop_words=['<|endoftext|>'], agent_template='hermes', is_thinking=False, thinking_prefix='', non_thinking_prefix='<think>\\n\\n</think>\\n\\n', history_thinking_prefix='')",
|
| 342 |
-
"_val_dataset_exists": false,
|
| 343 |
-
"hub": "<class 'swift.hub.hub.HFHub'>",
|
| 344 |
-
"evaluation_strategy": "steps",
|
| 345 |
-
"training_args": "TrainingArguments(output_dir='/nfs/turbo/umms-drjieliu/usr/yctao/ANGEL/models/rerank/aap_fold5_saphn8fix_2ep_r1/v0-20260608-075657', per_device_train_batch_size=4, num_train_epochs=2.0, max_steps=-1, learning_rate=5e-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=2, 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=False, gradient_checkpointing_kwargs=None, 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=20, 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=['wandb'], run_name='aap_fold5_saphn8fix_2ep_r1_j27270943', project='huggingface', trackio_space_id=None, trackio_bucket_id=None, trackio_static_space_id=None, eval_strategy=<IntervalStrategy.NO: 'no'>, eval_steps=0.25, 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=0.25, save_on_each_node=False, save_total_limit=5, 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=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_static_graph=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=None, debug=[], skip_memory_metrics=True, do_train=False, do_eval=False, do_predict=False, resume_from_checkpoint=None, warmup_ratio=0.05, logging_dir='/nfs/turbo/umms-drjieliu/usr/yctao/ANGEL/models/rerank/aap_fold5_saphn8fix_2ep_r1/v0-20260608-075657/runs', local_rank=0, tuner_backend='peft', vit_gradient_checkpointing=False, 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=None, use_logits_to_keep=None, ds3_gather_for_generation=True, resume_only_model=False, optimizer=None, loss_type='pointwise_reranker', eval_metric='reranker', 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='lora', 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)"
|
| 346 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
reranker/aap_fold6/adapter_config.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
"alpha_pattern": {},
|
| 4 |
"arrow_config": null,
|
| 5 |
"auto_mapping": null,
|
| 6 |
-
"base_model_name_or_path": "
|
| 7 |
"bias": "none",
|
| 8 |
"corda_config": null,
|
| 9 |
"ensure_weight_tying": false,
|
|
|
|
| 3 |
"alpha_pattern": {},
|
| 4 |
"arrow_config": null,
|
| 5 |
"auto_mapping": null,
|
| 6 |
+
"base_model_name_or_path": "Qwen/Qwen3-Reranker-4B",
|
| 7 |
"bias": "none",
|
| 8 |
"corda_config": null,
|
| 9 |
"ensure_weight_tying": false,
|
reranker/aap_fold6/args.json
DELETED
|
@@ -1,346 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"output_dir": "/nfs/turbo/umms-drjieliu/usr/yctao/ANGEL/models/rerank/aap_fold6_saphn8fix_2ep_r1/v0-20260608-091620",
|
| 3 |
-
"per_device_train_batch_size": 4,
|
| 4 |
-
"num_train_epochs": 2.0,
|
| 5 |
-
"max_steps": -1,
|
| 6 |
-
"learning_rate": 5e-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": 2,
|
| 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": false,
|
| 27 |
-
"gradient_checkpointing_kwargs": null,
|
| 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": 20,
|
| 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 |
-
"wandb"
|
| 48 |
-
],
|
| 49 |
-
"run_name": "aap_fold6_saphn8fix_2ep_r1_j27270944",
|
| 50 |
-
"project": "huggingface",
|
| 51 |
-
"trackio_space_id": null,
|
| 52 |
-
"trackio_bucket_id": null,
|
| 53 |
-
"trackio_static_space_id": null,
|
| 54 |
-
"eval_strategy": "no",
|
| 55 |
-
"eval_steps": 0.25,
|
| 56 |
-
"eval_delay": 0,
|
| 57 |
-
"per_device_eval_batch_size": 1,
|
| 58 |
-
"prediction_loss_only": false,
|
| 59 |
-
"eval_on_start": false,
|
| 60 |
-
"eval_do_concat_batches": true,
|
| 61 |
-
"eval_use_gather_object": false,
|
| 62 |
-
"eval_accumulation_steps": null,
|
| 63 |
-
"include_for_metrics": [],
|
| 64 |
-
"batch_eval_metrics": false,
|
| 65 |
-
"save_only_model": false,
|
| 66 |
-
"save_strategy": "steps",
|
| 67 |
-
"save_steps": 0.25,
|
| 68 |
-
"save_on_each_node": false,
|
| 69 |
-
"save_total_limit": 5,
|
| 70 |
-
"enable_jit_checkpoint": false,
|
| 71 |
-
"push_to_hub": false,
|
| 72 |
-
"hub_token": null,
|
| 73 |
-
"hub_private_repo": null,
|
| 74 |
-
"hub_model_id": null,
|
| 75 |
-
"hub_strategy": "every_save",
|
| 76 |
-
"hub_always_push": false,
|
| 77 |
-
"hub_revision": null,
|
| 78 |
-
"load_best_model_at_end": false,
|
| 79 |
-
"metric_for_best_model": "loss",
|
| 80 |
-
"greater_is_better": false,
|
| 81 |
-
"ignore_data_skip": false,
|
| 82 |
-
"restore_callback_states_from_checkpoint": false,
|
| 83 |
-
"full_determinism": false,
|
| 84 |
-
"seed": 42,
|
| 85 |
-
"data_seed": 42,
|
| 86 |
-
"use_cpu": false,
|
| 87 |
-
"accelerator_config": {
|
| 88 |
-
"dispatch_batches": false
|
| 89 |
-
},
|
| 90 |
-
"parallelism_config": null,
|
| 91 |
-
"dataloader_drop_last": false,
|
| 92 |
-
"dataloader_num_workers": 4,
|
| 93 |
-
"dataloader_pin_memory": true,
|
| 94 |
-
"dataloader_persistent_workers": false,
|
| 95 |
-
"dataloader_prefetch_factor": null,
|
| 96 |
-
"remove_unused_columns": true,
|
| 97 |
-
"label_names": null,
|
| 98 |
-
"train_sampling_strategy": "random",
|
| 99 |
-
"length_column_name": "length",
|
| 100 |
-
"ddp_find_unused_parameters": null,
|
| 101 |
-
"ddp_bucket_cap_mb": null,
|
| 102 |
-
"ddp_broadcast_buffers": null,
|
| 103 |
-
"ddp_static_graph": null,
|
| 104 |
-
"ddp_backend": null,
|
| 105 |
-
"ddp_timeout": 18000000,
|
| 106 |
-
"fsdp": [],
|
| 107 |
-
"fsdp_config": null,
|
| 108 |
-
"deepspeed": null,
|
| 109 |
-
"debug": null,
|
| 110 |
-
"skip_memory_metrics": true,
|
| 111 |
-
"do_train": false,
|
| 112 |
-
"do_eval": false,
|
| 113 |
-
"do_predict": false,
|
| 114 |
-
"resume_from_checkpoint": null,
|
| 115 |
-
"warmup_ratio": 0.05,
|
| 116 |
-
"logging_dir": "/nfs/turbo/umms-drjieliu/usr/yctao/ANGEL/models/rerank/aap_fold6_saphn8fix_2ep_r1/v0-20260608-091620/runs",
|
| 117 |
-
"local_rank": 0,
|
| 118 |
-
"sortish_sampler": false,
|
| 119 |
-
"predict_with_generate": false,
|
| 120 |
-
"generation_max_length": null,
|
| 121 |
-
"generation_num_beams": null,
|
| 122 |
-
"generation_config": null,
|
| 123 |
-
"tuner_backend": "peft",
|
| 124 |
-
"vit_gradient_checkpointing": false,
|
| 125 |
-
"router_aux_loss_coef": 0.0,
|
| 126 |
-
"enable_dft_loss": false,
|
| 127 |
-
"enable_channel_loss": false,
|
| 128 |
-
"safe_serialization": true,
|
| 129 |
-
"max_shard_size": "5GB",
|
| 130 |
-
"check_model": true,
|
| 131 |
-
"acc_strategy": "token",
|
| 132 |
-
"train_dataloader_shuffle": true,
|
| 133 |
-
"group_by_length": false,
|
| 134 |
-
"max_epochs": null,
|
| 135 |
-
"aligner_lr": null,
|
| 136 |
-
"vit_lr": null,
|
| 137 |
-
"use_logits_to_keep": null,
|
| 138 |
-
"ds3_gather_for_generation": true,
|
| 139 |
-
"resume_only_model": false,
|
| 140 |
-
"optimizer": null,
|
| 141 |
-
"loss_type": "pointwise_reranker",
|
| 142 |
-
"eval_metric": "reranker",
|
| 143 |
-
"callbacks": [],
|
| 144 |
-
"early_stop_interval": null,
|
| 145 |
-
"eval_use_evalscope": false,
|
| 146 |
-
"eval_dataset": [],
|
| 147 |
-
"eval_dataset_args": null,
|
| 148 |
-
"eval_limit": null,
|
| 149 |
-
"eval_generation_config": null,
|
| 150 |
-
"extra_eval_args": null,
|
| 151 |
-
"tuner_type": "lora",
|
| 152 |
-
"use_galore": false,
|
| 153 |
-
"galore_target_modules": null,
|
| 154 |
-
"galore_rank": 128,
|
| 155 |
-
"galore_update_proj_gap": 50,
|
| 156 |
-
"galore_scale": 1.0,
|
| 157 |
-
"galore_proj_type": "std",
|
| 158 |
-
"galore_optim_per_parameter": false,
|
| 159 |
-
"galore_with_embedding": false,
|
| 160 |
-
"galore_quantization": false,
|
| 161 |
-
"galore_proj_quant": false,
|
| 162 |
-
"galore_proj_bits": 4,
|
| 163 |
-
"galore_proj_group_size": 256,
|
| 164 |
-
"galore_cos_threshold": 0.4,
|
| 165 |
-
"galore_gamma_proj": 2,
|
| 166 |
-
"galore_queue_size": 5,
|
| 167 |
-
"lisa_activated_layers": 0,
|
| 168 |
-
"lisa_step_interval": 20,
|
| 169 |
-
"use_flash_ckpt": false,
|
| 170 |
-
"use_ray": false,
|
| 171 |
-
"ray_exp_name": null,
|
| 172 |
-
"device_groups": null,
|
| 173 |
-
"model": "Qwen/Qwen3-Reranker-4B",
|
| 174 |
-
"model_type": "qwen3_reranker",
|
| 175 |
-
"model_revision": null,
|
| 176 |
-
"task_type": "generative_reranker",
|
| 177 |
-
"torch_dtype": "bfloat16",
|
| 178 |
-
"attn_impl": "flash_attn",
|
| 179 |
-
"experts_impl": null,
|
| 180 |
-
"new_special_tokens": [],
|
| 181 |
-
"num_labels": null,
|
| 182 |
-
"problem_type": null,
|
| 183 |
-
"rope_scaling": null,
|
| 184 |
-
"device_map": null,
|
| 185 |
-
"max_memory": {},
|
| 186 |
-
"max_model_len": null,
|
| 187 |
-
"local_repo_path": null,
|
| 188 |
-
"init_strategy": null,
|
| 189 |
-
"template": "qwen3_reranker",
|
| 190 |
-
"system": null,
|
| 191 |
-
"max_length": 512,
|
| 192 |
-
"truncation_strategy": "delete",
|
| 193 |
-
"max_pixels": null,
|
| 194 |
-
"agent_template": null,
|
| 195 |
-
"norm_bbox": null,
|
| 196 |
-
"use_chat_template": true,
|
| 197 |
-
"padding_side": "right",
|
| 198 |
-
"padding_free": true,
|
| 199 |
-
"loss_scale": "default",
|
| 200 |
-
"sequence_parallel_size": 1,
|
| 201 |
-
"template_backend": "swift",
|
| 202 |
-
"response_prefix": null,
|
| 203 |
-
"enable_thinking": null,
|
| 204 |
-
"add_non_thinking_prefix": true,
|
| 205 |
-
"dataset": [
|
| 206 |
-
"data/rerank_swift/aap_fold6_saphn8fix_2ep_r1.jsonl"
|
| 207 |
-
],
|
| 208 |
-
"val_dataset": [],
|
| 209 |
-
"cached_dataset": [],
|
| 210 |
-
"cached_val_dataset": [],
|
| 211 |
-
"split_dataset_ratio": 0.0,
|
| 212 |
-
"dataset_num_proc": 1,
|
| 213 |
-
"load_from_cache_file": false,
|
| 214 |
-
"dataset_shuffle": true,
|
| 215 |
-
"val_dataset_shuffle": false,
|
| 216 |
-
"streaming": false,
|
| 217 |
-
"interleave_prob": null,
|
| 218 |
-
"stopping_strategy": "first_exhausted",
|
| 219 |
-
"shuffle_buffer_size": 1000,
|
| 220 |
-
"download_mode": "reuse_dataset_if_exists",
|
| 221 |
-
"columns": {},
|
| 222 |
-
"strict": false,
|
| 223 |
-
"disable_auto_column_mapping": false,
|
| 224 |
-
"model_name": null,
|
| 225 |
-
"model_author": null,
|
| 226 |
-
"custom_dataset_info": [],
|
| 227 |
-
"quant_method": null,
|
| 228 |
-
"quant_bits": null,
|
| 229 |
-
"hqq_axis": null,
|
| 230 |
-
"bnb_4bit_compute_dtype": "bfloat16",
|
| 231 |
-
"bnb_4bit_quant_type": "nf4",
|
| 232 |
-
"bnb_4bit_use_double_quant": true,
|
| 233 |
-
"bnb_4bit_quant_storage": null,
|
| 234 |
-
"max_new_tokens": 64,
|
| 235 |
-
"temperature": 0.0,
|
| 236 |
-
"top_k": null,
|
| 237 |
-
"top_p": null,
|
| 238 |
-
"repetition_penalty": null,
|
| 239 |
-
"num_beams": 1,
|
| 240 |
-
"stream": false,
|
| 241 |
-
"stop_words": [],
|
| 242 |
-
"logprobs": false,
|
| 243 |
-
"top_logprobs": null,
|
| 244 |
-
"structured_outputs_regex": null,
|
| 245 |
-
"adapters": [],
|
| 246 |
-
"external_plugins": [],
|
| 247 |
-
"custom_register_path": [],
|
| 248 |
-
"model_kwargs": {},
|
| 249 |
-
"enable_npu_model_patch": true,
|
| 250 |
-
"load_args": false,
|
| 251 |
-
"load_data_args": false,
|
| 252 |
-
"packing": false,
|
| 253 |
-
"packing_length": null,
|
| 254 |
-
"packing_num_proc": 1,
|
| 255 |
-
"lazy_tokenize": true,
|
| 256 |
-
"use_hf": true,
|
| 257 |
-
"ignore_args_error": false,
|
| 258 |
-
"use_swift_lora": false,
|
| 259 |
-
"freeze_parameters": [],
|
| 260 |
-
"freeze_parameters_regex": null,
|
| 261 |
-
"freeze_parameters_ratio": 0.0,
|
| 262 |
-
"trainable_parameters": [],
|
| 263 |
-
"trainable_parameters_regex": null,
|
| 264 |
-
"freeze_llm": false,
|
| 265 |
-
"freeze_vit": true,
|
| 266 |
-
"freeze_aligner": true,
|
| 267 |
-
"target_modules": [
|
| 268 |
-
"all-linear"
|
| 269 |
-
],
|
| 270 |
-
"target_regex": null,
|
| 271 |
-
"target_parameters": null,
|
| 272 |
-
"modules_to_save": [],
|
| 273 |
-
"lora_rank": 16,
|
| 274 |
-
"lora_alpha": 32,
|
| 275 |
-
"lora_dropout": 0.05,
|
| 276 |
-
"lora_bias": "none",
|
| 277 |
-
"lora_dtype": null,
|
| 278 |
-
"lorap_lr_ratio": null,
|
| 279 |
-
"use_rslora": false,
|
| 280 |
-
"use_dora": false,
|
| 281 |
-
"lora_ga_batch_size": 2,
|
| 282 |
-
"lora_ga_iters": 2,
|
| 283 |
-
"lora_ga_max_length": 1024,
|
| 284 |
-
"lora_ga_direction": "ArB2r",
|
| 285 |
-
"lora_ga_scale": "stable",
|
| 286 |
-
"lora_ga_stable_gamma": 16,
|
| 287 |
-
"init_weights": true,
|
| 288 |
-
"fourier_n_frequency": 2000,
|
| 289 |
-
"fourier_scaling": 300.0,
|
| 290 |
-
"boft_block_size": 4,
|
| 291 |
-
"boft_block_num": 0,
|
| 292 |
-
"boft_n_butterfly_factor": 1,
|
| 293 |
-
"boft_dropout": 0.0,
|
| 294 |
-
"vera_rank": 256,
|
| 295 |
-
"vera_projection_prng_key": 0,
|
| 296 |
-
"vera_dropout": 0.0,
|
| 297 |
-
"vera_d_initial": 0.1,
|
| 298 |
-
"adapter_act": "gelu",
|
| 299 |
-
"adapter_length": 128,
|
| 300 |
-
"adalora_target_r": 8,
|
| 301 |
-
"adalora_init_r": 12,
|
| 302 |
-
"adalora_tinit": 0,
|
| 303 |
-
"adalora_tfinal": 0,
|
| 304 |
-
"adalora_deltaT": 1,
|
| 305 |
-
"adalora_beta1": 0.85,
|
| 306 |
-
"adalora_beta2": 0.85,
|
| 307 |
-
"adalora_orth_reg_weight": 0.5,
|
| 308 |
-
"llamapro_num_new_blocks": 4,
|
| 309 |
-
"llamapro_num_groups": null,
|
| 310 |
-
"reft_layer_key": null,
|
| 311 |
-
"reft_layers": null,
|
| 312 |
-
"reft_rank": 4,
|
| 313 |
-
"reft_intervention_type": "LoreftIntervention",
|
| 314 |
-
"reft_args": null,
|
| 315 |
-
"swanlab_token": null,
|
| 316 |
-
"swanlab_project": "ms-swift",
|
| 317 |
-
"swanlab_workspace": null,
|
| 318 |
-
"swanlab_exp_name": null,
|
| 319 |
-
"swanlab_notification_method": null,
|
| 320 |
-
"swanlab_webhook_url": null,
|
| 321 |
-
"swanlab_secret": null,
|
| 322 |
-
"swanlab_sender_email": null,
|
| 323 |
-
"swanlab_receiver_email": null,
|
| 324 |
-
"swanlab_smtp_server": null,
|
| 325 |
-
"swanlab_smtp_port": null,
|
| 326 |
-
"swanlab_email_language": "zh",
|
| 327 |
-
"swanlab_mode": "cloud",
|
| 328 |
-
"add_version": true,
|
| 329 |
-
"create_checkpoint_symlink": false,
|
| 330 |
-
"zero_hpz_partition_size": null,
|
| 331 |
-
"deepspeed_autotp_size": null,
|
| 332 |
-
"swift_version": "4.2.0",
|
| 333 |
-
"ckpt_dir": null,
|
| 334 |
-
"rank": 0,
|
| 335 |
-
"global_world_size": 1,
|
| 336 |
-
"local_world_size": 1,
|
| 337 |
-
"model_suffix": "Qwen3-Reranker-4B",
|
| 338 |
-
"model_info": "ModelInfo(model_type='qwen3_reranker', model_dir='/nfs/turbo/umms-drjieliu/usr/yctao/HF_HOME/hub/models--Qwen--Qwen3-Reranker-4B/snapshots/22e683669bc0f0bd69640a1354a6d0aebcfeede5', torch_dtype=torch.bfloat16, max_model_len=40960, quant_method=None, quant_bits=None, rope_scaling={'rope_theta': 1000000, 'rope_type': 'default'}, is_moe_model=False, is_multimodal=False, config=None, task_type='generative_reranker', num_labels=None)",
|
| 339 |
-
"model_meta": "ModelMeta(model_type='qwen3_reranker', model_groups=[ModelGroup(models=[Model(ms_model_id='Qwen/Qwen3-Reranker-0.6B', hf_model_id='Qwen/Qwen3-Reranker-0.6B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-Reranker-4B', hf_model_id='Qwen/Qwen3-Reranker-4B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-Reranker-8B', hf_model_id='Qwen/Qwen3-Reranker-8B', model_path=None, ms_revision=None, hf_revision=None)], template=None, ignore_patterns=None, requires=None, tags=[])], loader=<class 'swift.model.register.ModelLoader'>, template='qwen3_reranker', model_arch=None, mcore_model_type='gpt', architectures=['Qwen3ForCausalLM'], additional_saved_files=[], torch_dtype=None, is_multimodal=False, is_reward=False, task_type=None, ignore_patterns=None, requires=[], tags=[])",
|
| 340 |
-
"model_dir": "/nfs/turbo/umms-drjieliu/usr/yctao/HF_HOME/hub/models--Qwen--Qwen3-Reranker-4B/snapshots/22e683669bc0f0bd69640a1354a6d0aebcfeede5",
|
| 341 |
-
"template_meta": "Qwen3MixedTemplateMeta(template_type='qwen3_reranker', 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.templates.qwen.Qwen3RerankerTemplate'>, system_prefix=['<|im_start|>system\\n{{SYSTEM}}<|im_end|>\\n'], default_system='Judge whether the Document meets the requirements based on the Query and the Instruct provided. Note that the answer can only be \"yes\" or \"no\".', auto_add_bos=False, stop_words=['<|endoftext|>'], agent_template='hermes', is_thinking=False, thinking_prefix='', non_thinking_prefix='<think>\\n\\n</think>\\n\\n', history_thinking_prefix='')",
|
| 342 |
-
"_val_dataset_exists": false,
|
| 343 |
-
"hub": "<class 'swift.hub.hub.HFHub'>",
|
| 344 |
-
"evaluation_strategy": "steps",
|
| 345 |
-
"training_args": "TrainingArguments(output_dir='/nfs/turbo/umms-drjieliu/usr/yctao/ANGEL/models/rerank/aap_fold6_saphn8fix_2ep_r1/v0-20260608-091620', per_device_train_batch_size=4, num_train_epochs=2.0, max_steps=-1, learning_rate=5e-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=2, 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=False, gradient_checkpointing_kwargs=None, 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=20, 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=['wandb'], run_name='aap_fold6_saphn8fix_2ep_r1_j27270944', project='huggingface', trackio_space_id=None, trackio_bucket_id=None, trackio_static_space_id=None, eval_strategy=<IntervalStrategy.NO: 'no'>, eval_steps=0.25, 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=0.25, save_on_each_node=False, save_total_limit=5, 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=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_static_graph=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=None, debug=[], skip_memory_metrics=True, do_train=False, do_eval=False, do_predict=False, resume_from_checkpoint=None, warmup_ratio=0.05, logging_dir='/nfs/turbo/umms-drjieliu/usr/yctao/ANGEL/models/rerank/aap_fold6_saphn8fix_2ep_r1/v0-20260608-091620/runs', local_rank=0, tuner_backend='peft', vit_gradient_checkpointing=False, 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=None, use_logits_to_keep=None, ds3_gather_for_generation=True, resume_only_model=False, optimizer=None, loss_type='pointwise_reranker', eval_metric='reranker', 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='lora', 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)"
|
| 346 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
reranker/aap_fold7/adapter_config.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
"alpha_pattern": {},
|
| 4 |
"arrow_config": null,
|
| 5 |
"auto_mapping": null,
|
| 6 |
-
"base_model_name_or_path": "
|
| 7 |
"bias": "none",
|
| 8 |
"corda_config": null,
|
| 9 |
"ensure_weight_tying": false,
|
|
|
|
| 3 |
"alpha_pattern": {},
|
| 4 |
"arrow_config": null,
|
| 5 |
"auto_mapping": null,
|
| 6 |
+
"base_model_name_or_path": "Qwen/Qwen3-Reranker-4B",
|
| 7 |
"bias": "none",
|
| 8 |
"corda_config": null,
|
| 9 |
"ensure_weight_tying": false,
|
reranker/aap_fold7/args.json
DELETED
|
@@ -1,346 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"output_dir": "/nfs/turbo/umms-drjieliu/usr/yctao/ANGEL/models/rerank/aap_fold7_saphn8fix_2ep_r1/v0-20260608-091650",
|
| 3 |
-
"per_device_train_batch_size": 4,
|
| 4 |
-
"num_train_epochs": 2.0,
|
| 5 |
-
"max_steps": -1,
|
| 6 |
-
"learning_rate": 5e-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": 2,
|
| 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": false,
|
| 27 |
-
"gradient_checkpointing_kwargs": null,
|
| 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": 20,
|
| 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 |
-
"wandb"
|
| 48 |
-
],
|
| 49 |
-
"run_name": "aap_fold7_saphn8fix_2ep_r1_j27270945",
|
| 50 |
-
"project": "huggingface",
|
| 51 |
-
"trackio_space_id": null,
|
| 52 |
-
"trackio_bucket_id": null,
|
| 53 |
-
"trackio_static_space_id": null,
|
| 54 |
-
"eval_strategy": "no",
|
| 55 |
-
"eval_steps": 0.25,
|
| 56 |
-
"eval_delay": 0,
|
| 57 |
-
"per_device_eval_batch_size": 1,
|
| 58 |
-
"prediction_loss_only": false,
|
| 59 |
-
"eval_on_start": false,
|
| 60 |
-
"eval_do_concat_batches": true,
|
| 61 |
-
"eval_use_gather_object": false,
|
| 62 |
-
"eval_accumulation_steps": null,
|
| 63 |
-
"include_for_metrics": [],
|
| 64 |
-
"batch_eval_metrics": false,
|
| 65 |
-
"save_only_model": false,
|
| 66 |
-
"save_strategy": "steps",
|
| 67 |
-
"save_steps": 0.25,
|
| 68 |
-
"save_on_each_node": false,
|
| 69 |
-
"save_total_limit": 5,
|
| 70 |
-
"enable_jit_checkpoint": false,
|
| 71 |
-
"push_to_hub": false,
|
| 72 |
-
"hub_token": null,
|
| 73 |
-
"hub_private_repo": null,
|
| 74 |
-
"hub_model_id": null,
|
| 75 |
-
"hub_strategy": "every_save",
|
| 76 |
-
"hub_always_push": false,
|
| 77 |
-
"hub_revision": null,
|
| 78 |
-
"load_best_model_at_end": false,
|
| 79 |
-
"metric_for_best_model": "loss",
|
| 80 |
-
"greater_is_better": false,
|
| 81 |
-
"ignore_data_skip": false,
|
| 82 |
-
"restore_callback_states_from_checkpoint": false,
|
| 83 |
-
"full_determinism": false,
|
| 84 |
-
"seed": 42,
|
| 85 |
-
"data_seed": 42,
|
| 86 |
-
"use_cpu": false,
|
| 87 |
-
"accelerator_config": {
|
| 88 |
-
"dispatch_batches": false
|
| 89 |
-
},
|
| 90 |
-
"parallelism_config": null,
|
| 91 |
-
"dataloader_drop_last": false,
|
| 92 |
-
"dataloader_num_workers": 4,
|
| 93 |
-
"dataloader_pin_memory": true,
|
| 94 |
-
"dataloader_persistent_workers": false,
|
| 95 |
-
"dataloader_prefetch_factor": null,
|
| 96 |
-
"remove_unused_columns": true,
|
| 97 |
-
"label_names": null,
|
| 98 |
-
"train_sampling_strategy": "random",
|
| 99 |
-
"length_column_name": "length",
|
| 100 |
-
"ddp_find_unused_parameters": null,
|
| 101 |
-
"ddp_bucket_cap_mb": null,
|
| 102 |
-
"ddp_broadcast_buffers": null,
|
| 103 |
-
"ddp_static_graph": null,
|
| 104 |
-
"ddp_backend": null,
|
| 105 |
-
"ddp_timeout": 18000000,
|
| 106 |
-
"fsdp": [],
|
| 107 |
-
"fsdp_config": null,
|
| 108 |
-
"deepspeed": null,
|
| 109 |
-
"debug": null,
|
| 110 |
-
"skip_memory_metrics": true,
|
| 111 |
-
"do_train": false,
|
| 112 |
-
"do_eval": false,
|
| 113 |
-
"do_predict": false,
|
| 114 |
-
"resume_from_checkpoint": null,
|
| 115 |
-
"warmup_ratio": 0.05,
|
| 116 |
-
"logging_dir": "/nfs/turbo/umms-drjieliu/usr/yctao/ANGEL/models/rerank/aap_fold7_saphn8fix_2ep_r1/v0-20260608-091650/runs",
|
| 117 |
-
"local_rank": 0,
|
| 118 |
-
"sortish_sampler": false,
|
| 119 |
-
"predict_with_generate": false,
|
| 120 |
-
"generation_max_length": null,
|
| 121 |
-
"generation_num_beams": null,
|
| 122 |
-
"generation_config": null,
|
| 123 |
-
"tuner_backend": "peft",
|
| 124 |
-
"vit_gradient_checkpointing": false,
|
| 125 |
-
"router_aux_loss_coef": 0.0,
|
| 126 |
-
"enable_dft_loss": false,
|
| 127 |
-
"enable_channel_loss": false,
|
| 128 |
-
"safe_serialization": true,
|
| 129 |
-
"max_shard_size": "5GB",
|
| 130 |
-
"check_model": true,
|
| 131 |
-
"acc_strategy": "token",
|
| 132 |
-
"train_dataloader_shuffle": true,
|
| 133 |
-
"group_by_length": false,
|
| 134 |
-
"max_epochs": null,
|
| 135 |
-
"aligner_lr": null,
|
| 136 |
-
"vit_lr": null,
|
| 137 |
-
"use_logits_to_keep": null,
|
| 138 |
-
"ds3_gather_for_generation": true,
|
| 139 |
-
"resume_only_model": false,
|
| 140 |
-
"optimizer": null,
|
| 141 |
-
"loss_type": "pointwise_reranker",
|
| 142 |
-
"eval_metric": "reranker",
|
| 143 |
-
"callbacks": [],
|
| 144 |
-
"early_stop_interval": null,
|
| 145 |
-
"eval_use_evalscope": false,
|
| 146 |
-
"eval_dataset": [],
|
| 147 |
-
"eval_dataset_args": null,
|
| 148 |
-
"eval_limit": null,
|
| 149 |
-
"eval_generation_config": null,
|
| 150 |
-
"extra_eval_args": null,
|
| 151 |
-
"tuner_type": "lora",
|
| 152 |
-
"use_galore": false,
|
| 153 |
-
"galore_target_modules": null,
|
| 154 |
-
"galore_rank": 128,
|
| 155 |
-
"galore_update_proj_gap": 50,
|
| 156 |
-
"galore_scale": 1.0,
|
| 157 |
-
"galore_proj_type": "std",
|
| 158 |
-
"galore_optim_per_parameter": false,
|
| 159 |
-
"galore_with_embedding": false,
|
| 160 |
-
"galore_quantization": false,
|
| 161 |
-
"galore_proj_quant": false,
|
| 162 |
-
"galore_proj_bits": 4,
|
| 163 |
-
"galore_proj_group_size": 256,
|
| 164 |
-
"galore_cos_threshold": 0.4,
|
| 165 |
-
"galore_gamma_proj": 2,
|
| 166 |
-
"galore_queue_size": 5,
|
| 167 |
-
"lisa_activated_layers": 0,
|
| 168 |
-
"lisa_step_interval": 20,
|
| 169 |
-
"use_flash_ckpt": false,
|
| 170 |
-
"use_ray": false,
|
| 171 |
-
"ray_exp_name": null,
|
| 172 |
-
"device_groups": null,
|
| 173 |
-
"model": "Qwen/Qwen3-Reranker-4B",
|
| 174 |
-
"model_type": "qwen3_reranker",
|
| 175 |
-
"model_revision": null,
|
| 176 |
-
"task_type": "generative_reranker",
|
| 177 |
-
"torch_dtype": "bfloat16",
|
| 178 |
-
"attn_impl": "flash_attn",
|
| 179 |
-
"experts_impl": null,
|
| 180 |
-
"new_special_tokens": [],
|
| 181 |
-
"num_labels": null,
|
| 182 |
-
"problem_type": null,
|
| 183 |
-
"rope_scaling": null,
|
| 184 |
-
"device_map": null,
|
| 185 |
-
"max_memory": {},
|
| 186 |
-
"max_model_len": null,
|
| 187 |
-
"local_repo_path": null,
|
| 188 |
-
"init_strategy": null,
|
| 189 |
-
"template": "qwen3_reranker",
|
| 190 |
-
"system": null,
|
| 191 |
-
"max_length": 512,
|
| 192 |
-
"truncation_strategy": "delete",
|
| 193 |
-
"max_pixels": null,
|
| 194 |
-
"agent_template": null,
|
| 195 |
-
"norm_bbox": null,
|
| 196 |
-
"use_chat_template": true,
|
| 197 |
-
"padding_side": "right",
|
| 198 |
-
"padding_free": true,
|
| 199 |
-
"loss_scale": "default",
|
| 200 |
-
"sequence_parallel_size": 1,
|
| 201 |
-
"template_backend": "swift",
|
| 202 |
-
"response_prefix": null,
|
| 203 |
-
"enable_thinking": null,
|
| 204 |
-
"add_non_thinking_prefix": true,
|
| 205 |
-
"dataset": [
|
| 206 |
-
"data/rerank_swift/aap_fold7_saphn8fix_2ep_r1.jsonl"
|
| 207 |
-
],
|
| 208 |
-
"val_dataset": [],
|
| 209 |
-
"cached_dataset": [],
|
| 210 |
-
"cached_val_dataset": [],
|
| 211 |
-
"split_dataset_ratio": 0.0,
|
| 212 |
-
"dataset_num_proc": 1,
|
| 213 |
-
"load_from_cache_file": false,
|
| 214 |
-
"dataset_shuffle": true,
|
| 215 |
-
"val_dataset_shuffle": false,
|
| 216 |
-
"streaming": false,
|
| 217 |
-
"interleave_prob": null,
|
| 218 |
-
"stopping_strategy": "first_exhausted",
|
| 219 |
-
"shuffle_buffer_size": 1000,
|
| 220 |
-
"download_mode": "reuse_dataset_if_exists",
|
| 221 |
-
"columns": {},
|
| 222 |
-
"strict": false,
|
| 223 |
-
"disable_auto_column_mapping": false,
|
| 224 |
-
"model_name": null,
|
| 225 |
-
"model_author": null,
|
| 226 |
-
"custom_dataset_info": [],
|
| 227 |
-
"quant_method": null,
|
| 228 |
-
"quant_bits": null,
|
| 229 |
-
"hqq_axis": null,
|
| 230 |
-
"bnb_4bit_compute_dtype": "bfloat16",
|
| 231 |
-
"bnb_4bit_quant_type": "nf4",
|
| 232 |
-
"bnb_4bit_use_double_quant": true,
|
| 233 |
-
"bnb_4bit_quant_storage": null,
|
| 234 |
-
"max_new_tokens": 64,
|
| 235 |
-
"temperature": 0.0,
|
| 236 |
-
"top_k": null,
|
| 237 |
-
"top_p": null,
|
| 238 |
-
"repetition_penalty": null,
|
| 239 |
-
"num_beams": 1,
|
| 240 |
-
"stream": false,
|
| 241 |
-
"stop_words": [],
|
| 242 |
-
"logprobs": false,
|
| 243 |
-
"top_logprobs": null,
|
| 244 |
-
"structured_outputs_regex": null,
|
| 245 |
-
"adapters": [],
|
| 246 |
-
"external_plugins": [],
|
| 247 |
-
"custom_register_path": [],
|
| 248 |
-
"model_kwargs": {},
|
| 249 |
-
"enable_npu_model_patch": true,
|
| 250 |
-
"load_args": false,
|
| 251 |
-
"load_data_args": false,
|
| 252 |
-
"packing": false,
|
| 253 |
-
"packing_length": null,
|
| 254 |
-
"packing_num_proc": 1,
|
| 255 |
-
"lazy_tokenize": true,
|
| 256 |
-
"use_hf": true,
|
| 257 |
-
"ignore_args_error": false,
|
| 258 |
-
"use_swift_lora": false,
|
| 259 |
-
"freeze_parameters": [],
|
| 260 |
-
"freeze_parameters_regex": null,
|
| 261 |
-
"freeze_parameters_ratio": 0.0,
|
| 262 |
-
"trainable_parameters": [],
|
| 263 |
-
"trainable_parameters_regex": null,
|
| 264 |
-
"freeze_llm": false,
|
| 265 |
-
"freeze_vit": true,
|
| 266 |
-
"freeze_aligner": true,
|
| 267 |
-
"target_modules": [
|
| 268 |
-
"all-linear"
|
| 269 |
-
],
|
| 270 |
-
"target_regex": null,
|
| 271 |
-
"target_parameters": null,
|
| 272 |
-
"modules_to_save": [],
|
| 273 |
-
"lora_rank": 16,
|
| 274 |
-
"lora_alpha": 32,
|
| 275 |
-
"lora_dropout": 0.05,
|
| 276 |
-
"lora_bias": "none",
|
| 277 |
-
"lora_dtype": null,
|
| 278 |
-
"lorap_lr_ratio": null,
|
| 279 |
-
"use_rslora": false,
|
| 280 |
-
"use_dora": false,
|
| 281 |
-
"lora_ga_batch_size": 2,
|
| 282 |
-
"lora_ga_iters": 2,
|
| 283 |
-
"lora_ga_max_length": 1024,
|
| 284 |
-
"lora_ga_direction": "ArB2r",
|
| 285 |
-
"lora_ga_scale": "stable",
|
| 286 |
-
"lora_ga_stable_gamma": 16,
|
| 287 |
-
"init_weights": true,
|
| 288 |
-
"fourier_n_frequency": 2000,
|
| 289 |
-
"fourier_scaling": 300.0,
|
| 290 |
-
"boft_block_size": 4,
|
| 291 |
-
"boft_block_num": 0,
|
| 292 |
-
"boft_n_butterfly_factor": 1,
|
| 293 |
-
"boft_dropout": 0.0,
|
| 294 |
-
"vera_rank": 256,
|
| 295 |
-
"vera_projection_prng_key": 0,
|
| 296 |
-
"vera_dropout": 0.0,
|
| 297 |
-
"vera_d_initial": 0.1,
|
| 298 |
-
"adapter_act": "gelu",
|
| 299 |
-
"adapter_length": 128,
|
| 300 |
-
"adalora_target_r": 8,
|
| 301 |
-
"adalora_init_r": 12,
|
| 302 |
-
"adalora_tinit": 0,
|
| 303 |
-
"adalora_tfinal": 0,
|
| 304 |
-
"adalora_deltaT": 1,
|
| 305 |
-
"adalora_beta1": 0.85,
|
| 306 |
-
"adalora_beta2": 0.85,
|
| 307 |
-
"adalora_orth_reg_weight": 0.5,
|
| 308 |
-
"llamapro_num_new_blocks": 4,
|
| 309 |
-
"llamapro_num_groups": null,
|
| 310 |
-
"reft_layer_key": null,
|
| 311 |
-
"reft_layers": null,
|
| 312 |
-
"reft_rank": 4,
|
| 313 |
-
"reft_intervention_type": "LoreftIntervention",
|
| 314 |
-
"reft_args": null,
|
| 315 |
-
"swanlab_token": null,
|
| 316 |
-
"swanlab_project": "ms-swift",
|
| 317 |
-
"swanlab_workspace": null,
|
| 318 |
-
"swanlab_exp_name": null,
|
| 319 |
-
"swanlab_notification_method": null,
|
| 320 |
-
"swanlab_webhook_url": null,
|
| 321 |
-
"swanlab_secret": null,
|
| 322 |
-
"swanlab_sender_email": null,
|
| 323 |
-
"swanlab_receiver_email": null,
|
| 324 |
-
"swanlab_smtp_server": null,
|
| 325 |
-
"swanlab_smtp_port": null,
|
| 326 |
-
"swanlab_email_language": "zh",
|
| 327 |
-
"swanlab_mode": "cloud",
|
| 328 |
-
"add_version": true,
|
| 329 |
-
"create_checkpoint_symlink": false,
|
| 330 |
-
"zero_hpz_partition_size": null,
|
| 331 |
-
"deepspeed_autotp_size": null,
|
| 332 |
-
"swift_version": "4.2.0",
|
| 333 |
-
"ckpt_dir": null,
|
| 334 |
-
"rank": 0,
|
| 335 |
-
"global_world_size": 1,
|
| 336 |
-
"local_world_size": 1,
|
| 337 |
-
"model_suffix": "Qwen3-Reranker-4B",
|
| 338 |
-
"model_info": "ModelInfo(model_type='qwen3_reranker', model_dir='/nfs/turbo/umms-drjieliu/usr/yctao/HF_HOME/hub/models--Qwen--Qwen3-Reranker-4B/snapshots/22e683669bc0f0bd69640a1354a6d0aebcfeede5', torch_dtype=torch.bfloat16, max_model_len=40960, quant_method=None, quant_bits=None, rope_scaling={'rope_theta': 1000000, 'rope_type': 'default'}, is_moe_model=False, is_multimodal=False, config=None, task_type='generative_reranker', num_labels=None)",
|
| 339 |
-
"model_meta": "ModelMeta(model_type='qwen3_reranker', model_groups=[ModelGroup(models=[Model(ms_model_id='Qwen/Qwen3-Reranker-0.6B', hf_model_id='Qwen/Qwen3-Reranker-0.6B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-Reranker-4B', hf_model_id='Qwen/Qwen3-Reranker-4B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-Reranker-8B', hf_model_id='Qwen/Qwen3-Reranker-8B', model_path=None, ms_revision=None, hf_revision=None)], template=None, ignore_patterns=None, requires=None, tags=[])], loader=<class 'swift.model.register.ModelLoader'>, template='qwen3_reranker', model_arch=None, mcore_model_type='gpt', architectures=['Qwen3ForCausalLM'], additional_saved_files=[], torch_dtype=None, is_multimodal=False, is_reward=False, task_type=None, ignore_patterns=None, requires=[], tags=[])",
|
| 340 |
-
"model_dir": "/nfs/turbo/umms-drjieliu/usr/yctao/HF_HOME/hub/models--Qwen--Qwen3-Reranker-4B/snapshots/22e683669bc0f0bd69640a1354a6d0aebcfeede5",
|
| 341 |
-
"template_meta": "Qwen3MixedTemplateMeta(template_type='qwen3_reranker', 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.templates.qwen.Qwen3RerankerTemplate'>, system_prefix=['<|im_start|>system\\n{{SYSTEM}}<|im_end|>\\n'], default_system='Judge whether the Document meets the requirements based on the Query and the Instruct provided. Note that the answer can only be \"yes\" or \"no\".', auto_add_bos=False, stop_words=['<|endoftext|>'], agent_template='hermes', is_thinking=False, thinking_prefix='', non_thinking_prefix='<think>\\n\\n</think>\\n\\n', history_thinking_prefix='')",
|
| 342 |
-
"_val_dataset_exists": false,
|
| 343 |
-
"hub": "<class 'swift.hub.hub.HFHub'>",
|
| 344 |
-
"evaluation_strategy": "steps",
|
| 345 |
-
"training_args": "TrainingArguments(output_dir='/nfs/turbo/umms-drjieliu/usr/yctao/ANGEL/models/rerank/aap_fold7_saphn8fix_2ep_r1/v0-20260608-091650', per_device_train_batch_size=4, num_train_epochs=2.0, max_steps=-1, learning_rate=5e-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=2, 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=False, gradient_checkpointing_kwargs=None, 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=20, 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=['wandb'], run_name='aap_fold7_saphn8fix_2ep_r1_j27270945', project='huggingface', trackio_space_id=None, trackio_bucket_id=None, trackio_static_space_id=None, eval_strategy=<IntervalStrategy.NO: 'no'>, eval_steps=0.25, 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=0.25, save_on_each_node=False, save_total_limit=5, 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=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_static_graph=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=None, debug=[], skip_memory_metrics=True, do_train=False, do_eval=False, do_predict=False, resume_from_checkpoint=None, warmup_ratio=0.05, logging_dir='/nfs/turbo/umms-drjieliu/usr/yctao/ANGEL/models/rerank/aap_fold7_saphn8fix_2ep_r1/v0-20260608-091650/runs', local_rank=0, tuner_backend='peft', vit_gradient_checkpointing=False, 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=None, use_logits_to_keep=None, ds3_gather_for_generation=True, resume_only_model=False, optimizer=None, loss_type='pointwise_reranker', eval_metric='reranker', 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='lora', 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)"
|
| 346 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
reranker/aap_fold8/adapter_config.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
"alpha_pattern": {},
|
| 4 |
"arrow_config": null,
|
| 5 |
"auto_mapping": null,
|
| 6 |
-
"base_model_name_or_path": "
|
| 7 |
"bias": "none",
|
| 8 |
"corda_config": null,
|
| 9 |
"ensure_weight_tying": false,
|
|
|
|
| 3 |
"alpha_pattern": {},
|
| 4 |
"arrow_config": null,
|
| 5 |
"auto_mapping": null,
|
| 6 |
+
"base_model_name_or_path": "Qwen/Qwen3-Reranker-4B",
|
| 7 |
"bias": "none",
|
| 8 |
"corda_config": null,
|
| 9 |
"ensure_weight_tying": false,
|
reranker/aap_fold8/args.json
DELETED
|
@@ -1,346 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"output_dir": "/nfs/turbo/umms-drjieliu/usr/yctao/ANGEL/models/rerank/aap_fold8_saphn8fix_2ep_r1/v0-20260608-092503",
|
| 3 |
-
"per_device_train_batch_size": 4,
|
| 4 |
-
"num_train_epochs": 2.0,
|
| 5 |
-
"max_steps": -1,
|
| 6 |
-
"learning_rate": 5e-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": 2,
|
| 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": false,
|
| 27 |
-
"gradient_checkpointing_kwargs": null,
|
| 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": 20,
|
| 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 |
-
"wandb"
|
| 48 |
-
],
|
| 49 |
-
"run_name": "aap_fold8_saphn8fix_2ep_r1_j27270946",
|
| 50 |
-
"project": "huggingface",
|
| 51 |
-
"trackio_space_id": null,
|
| 52 |
-
"trackio_bucket_id": null,
|
| 53 |
-
"trackio_static_space_id": null,
|
| 54 |
-
"eval_strategy": "no",
|
| 55 |
-
"eval_steps": 0.25,
|
| 56 |
-
"eval_delay": 0,
|
| 57 |
-
"per_device_eval_batch_size": 1,
|
| 58 |
-
"prediction_loss_only": false,
|
| 59 |
-
"eval_on_start": false,
|
| 60 |
-
"eval_do_concat_batches": true,
|
| 61 |
-
"eval_use_gather_object": false,
|
| 62 |
-
"eval_accumulation_steps": null,
|
| 63 |
-
"include_for_metrics": [],
|
| 64 |
-
"batch_eval_metrics": false,
|
| 65 |
-
"save_only_model": false,
|
| 66 |
-
"save_strategy": "steps",
|
| 67 |
-
"save_steps": 0.25,
|
| 68 |
-
"save_on_each_node": false,
|
| 69 |
-
"save_total_limit": 5,
|
| 70 |
-
"enable_jit_checkpoint": false,
|
| 71 |
-
"push_to_hub": false,
|
| 72 |
-
"hub_token": null,
|
| 73 |
-
"hub_private_repo": null,
|
| 74 |
-
"hub_model_id": null,
|
| 75 |
-
"hub_strategy": "every_save",
|
| 76 |
-
"hub_always_push": false,
|
| 77 |
-
"hub_revision": null,
|
| 78 |
-
"load_best_model_at_end": false,
|
| 79 |
-
"metric_for_best_model": "loss",
|
| 80 |
-
"greater_is_better": false,
|
| 81 |
-
"ignore_data_skip": false,
|
| 82 |
-
"restore_callback_states_from_checkpoint": false,
|
| 83 |
-
"full_determinism": false,
|
| 84 |
-
"seed": 42,
|
| 85 |
-
"data_seed": 42,
|
| 86 |
-
"use_cpu": false,
|
| 87 |
-
"accelerator_config": {
|
| 88 |
-
"dispatch_batches": false
|
| 89 |
-
},
|
| 90 |
-
"parallelism_config": null,
|
| 91 |
-
"dataloader_drop_last": false,
|
| 92 |
-
"dataloader_num_workers": 4,
|
| 93 |
-
"dataloader_pin_memory": true,
|
| 94 |
-
"dataloader_persistent_workers": false,
|
| 95 |
-
"dataloader_prefetch_factor": null,
|
| 96 |
-
"remove_unused_columns": true,
|
| 97 |
-
"label_names": null,
|
| 98 |
-
"train_sampling_strategy": "random",
|
| 99 |
-
"length_column_name": "length",
|
| 100 |
-
"ddp_find_unused_parameters": null,
|
| 101 |
-
"ddp_bucket_cap_mb": null,
|
| 102 |
-
"ddp_broadcast_buffers": null,
|
| 103 |
-
"ddp_static_graph": null,
|
| 104 |
-
"ddp_backend": null,
|
| 105 |
-
"ddp_timeout": 18000000,
|
| 106 |
-
"fsdp": [],
|
| 107 |
-
"fsdp_config": null,
|
| 108 |
-
"deepspeed": null,
|
| 109 |
-
"debug": null,
|
| 110 |
-
"skip_memory_metrics": true,
|
| 111 |
-
"do_train": false,
|
| 112 |
-
"do_eval": false,
|
| 113 |
-
"do_predict": false,
|
| 114 |
-
"resume_from_checkpoint": null,
|
| 115 |
-
"warmup_ratio": 0.05,
|
| 116 |
-
"logging_dir": "/nfs/turbo/umms-drjieliu/usr/yctao/ANGEL/models/rerank/aap_fold8_saphn8fix_2ep_r1/v0-20260608-092503/runs",
|
| 117 |
-
"local_rank": 0,
|
| 118 |
-
"sortish_sampler": false,
|
| 119 |
-
"predict_with_generate": false,
|
| 120 |
-
"generation_max_length": null,
|
| 121 |
-
"generation_num_beams": null,
|
| 122 |
-
"generation_config": null,
|
| 123 |
-
"tuner_backend": "peft",
|
| 124 |
-
"vit_gradient_checkpointing": false,
|
| 125 |
-
"router_aux_loss_coef": 0.0,
|
| 126 |
-
"enable_dft_loss": false,
|
| 127 |
-
"enable_channel_loss": false,
|
| 128 |
-
"safe_serialization": true,
|
| 129 |
-
"max_shard_size": "5GB",
|
| 130 |
-
"check_model": true,
|
| 131 |
-
"acc_strategy": "token",
|
| 132 |
-
"train_dataloader_shuffle": true,
|
| 133 |
-
"group_by_length": false,
|
| 134 |
-
"max_epochs": null,
|
| 135 |
-
"aligner_lr": null,
|
| 136 |
-
"vit_lr": null,
|
| 137 |
-
"use_logits_to_keep": null,
|
| 138 |
-
"ds3_gather_for_generation": true,
|
| 139 |
-
"resume_only_model": false,
|
| 140 |
-
"optimizer": null,
|
| 141 |
-
"loss_type": "pointwise_reranker",
|
| 142 |
-
"eval_metric": "reranker",
|
| 143 |
-
"callbacks": [],
|
| 144 |
-
"early_stop_interval": null,
|
| 145 |
-
"eval_use_evalscope": false,
|
| 146 |
-
"eval_dataset": [],
|
| 147 |
-
"eval_dataset_args": null,
|
| 148 |
-
"eval_limit": null,
|
| 149 |
-
"eval_generation_config": null,
|
| 150 |
-
"extra_eval_args": null,
|
| 151 |
-
"tuner_type": "lora",
|
| 152 |
-
"use_galore": false,
|
| 153 |
-
"galore_target_modules": null,
|
| 154 |
-
"galore_rank": 128,
|
| 155 |
-
"galore_update_proj_gap": 50,
|
| 156 |
-
"galore_scale": 1.0,
|
| 157 |
-
"galore_proj_type": "std",
|
| 158 |
-
"galore_optim_per_parameter": false,
|
| 159 |
-
"galore_with_embedding": false,
|
| 160 |
-
"galore_quantization": false,
|
| 161 |
-
"galore_proj_quant": false,
|
| 162 |
-
"galore_proj_bits": 4,
|
| 163 |
-
"galore_proj_group_size": 256,
|
| 164 |
-
"galore_cos_threshold": 0.4,
|
| 165 |
-
"galore_gamma_proj": 2,
|
| 166 |
-
"galore_queue_size": 5,
|
| 167 |
-
"lisa_activated_layers": 0,
|
| 168 |
-
"lisa_step_interval": 20,
|
| 169 |
-
"use_flash_ckpt": false,
|
| 170 |
-
"use_ray": false,
|
| 171 |
-
"ray_exp_name": null,
|
| 172 |
-
"device_groups": null,
|
| 173 |
-
"model": "Qwen/Qwen3-Reranker-4B",
|
| 174 |
-
"model_type": "qwen3_reranker",
|
| 175 |
-
"model_revision": null,
|
| 176 |
-
"task_type": "generative_reranker",
|
| 177 |
-
"torch_dtype": "bfloat16",
|
| 178 |
-
"attn_impl": "flash_attn",
|
| 179 |
-
"experts_impl": null,
|
| 180 |
-
"new_special_tokens": [],
|
| 181 |
-
"num_labels": null,
|
| 182 |
-
"problem_type": null,
|
| 183 |
-
"rope_scaling": null,
|
| 184 |
-
"device_map": null,
|
| 185 |
-
"max_memory": {},
|
| 186 |
-
"max_model_len": null,
|
| 187 |
-
"local_repo_path": null,
|
| 188 |
-
"init_strategy": null,
|
| 189 |
-
"template": "qwen3_reranker",
|
| 190 |
-
"system": null,
|
| 191 |
-
"max_length": 512,
|
| 192 |
-
"truncation_strategy": "delete",
|
| 193 |
-
"max_pixels": null,
|
| 194 |
-
"agent_template": null,
|
| 195 |
-
"norm_bbox": null,
|
| 196 |
-
"use_chat_template": true,
|
| 197 |
-
"padding_side": "right",
|
| 198 |
-
"padding_free": true,
|
| 199 |
-
"loss_scale": "default",
|
| 200 |
-
"sequence_parallel_size": 1,
|
| 201 |
-
"template_backend": "swift",
|
| 202 |
-
"response_prefix": null,
|
| 203 |
-
"enable_thinking": null,
|
| 204 |
-
"add_non_thinking_prefix": true,
|
| 205 |
-
"dataset": [
|
| 206 |
-
"data/rerank_swift/aap_fold8_saphn8fix_2ep_r1.jsonl"
|
| 207 |
-
],
|
| 208 |
-
"val_dataset": [],
|
| 209 |
-
"cached_dataset": [],
|
| 210 |
-
"cached_val_dataset": [],
|
| 211 |
-
"split_dataset_ratio": 0.0,
|
| 212 |
-
"dataset_num_proc": 1,
|
| 213 |
-
"load_from_cache_file": false,
|
| 214 |
-
"dataset_shuffle": true,
|
| 215 |
-
"val_dataset_shuffle": false,
|
| 216 |
-
"streaming": false,
|
| 217 |
-
"interleave_prob": null,
|
| 218 |
-
"stopping_strategy": "first_exhausted",
|
| 219 |
-
"shuffle_buffer_size": 1000,
|
| 220 |
-
"download_mode": "reuse_dataset_if_exists",
|
| 221 |
-
"columns": {},
|
| 222 |
-
"strict": false,
|
| 223 |
-
"disable_auto_column_mapping": false,
|
| 224 |
-
"model_name": null,
|
| 225 |
-
"model_author": null,
|
| 226 |
-
"custom_dataset_info": [],
|
| 227 |
-
"quant_method": null,
|
| 228 |
-
"quant_bits": null,
|
| 229 |
-
"hqq_axis": null,
|
| 230 |
-
"bnb_4bit_compute_dtype": "bfloat16",
|
| 231 |
-
"bnb_4bit_quant_type": "nf4",
|
| 232 |
-
"bnb_4bit_use_double_quant": true,
|
| 233 |
-
"bnb_4bit_quant_storage": null,
|
| 234 |
-
"max_new_tokens": 64,
|
| 235 |
-
"temperature": 0.0,
|
| 236 |
-
"top_k": null,
|
| 237 |
-
"top_p": null,
|
| 238 |
-
"repetition_penalty": null,
|
| 239 |
-
"num_beams": 1,
|
| 240 |
-
"stream": false,
|
| 241 |
-
"stop_words": [],
|
| 242 |
-
"logprobs": false,
|
| 243 |
-
"top_logprobs": null,
|
| 244 |
-
"structured_outputs_regex": null,
|
| 245 |
-
"adapters": [],
|
| 246 |
-
"external_plugins": [],
|
| 247 |
-
"custom_register_path": [],
|
| 248 |
-
"model_kwargs": {},
|
| 249 |
-
"enable_npu_model_patch": true,
|
| 250 |
-
"load_args": false,
|
| 251 |
-
"load_data_args": false,
|
| 252 |
-
"packing": false,
|
| 253 |
-
"packing_length": null,
|
| 254 |
-
"packing_num_proc": 1,
|
| 255 |
-
"lazy_tokenize": true,
|
| 256 |
-
"use_hf": true,
|
| 257 |
-
"ignore_args_error": false,
|
| 258 |
-
"use_swift_lora": false,
|
| 259 |
-
"freeze_parameters": [],
|
| 260 |
-
"freeze_parameters_regex": null,
|
| 261 |
-
"freeze_parameters_ratio": 0.0,
|
| 262 |
-
"trainable_parameters": [],
|
| 263 |
-
"trainable_parameters_regex": null,
|
| 264 |
-
"freeze_llm": false,
|
| 265 |
-
"freeze_vit": true,
|
| 266 |
-
"freeze_aligner": true,
|
| 267 |
-
"target_modules": [
|
| 268 |
-
"all-linear"
|
| 269 |
-
],
|
| 270 |
-
"target_regex": null,
|
| 271 |
-
"target_parameters": null,
|
| 272 |
-
"modules_to_save": [],
|
| 273 |
-
"lora_rank": 16,
|
| 274 |
-
"lora_alpha": 32,
|
| 275 |
-
"lora_dropout": 0.05,
|
| 276 |
-
"lora_bias": "none",
|
| 277 |
-
"lora_dtype": null,
|
| 278 |
-
"lorap_lr_ratio": null,
|
| 279 |
-
"use_rslora": false,
|
| 280 |
-
"use_dora": false,
|
| 281 |
-
"lora_ga_batch_size": 2,
|
| 282 |
-
"lora_ga_iters": 2,
|
| 283 |
-
"lora_ga_max_length": 1024,
|
| 284 |
-
"lora_ga_direction": "ArB2r",
|
| 285 |
-
"lora_ga_scale": "stable",
|
| 286 |
-
"lora_ga_stable_gamma": 16,
|
| 287 |
-
"init_weights": true,
|
| 288 |
-
"fourier_n_frequency": 2000,
|
| 289 |
-
"fourier_scaling": 300.0,
|
| 290 |
-
"boft_block_size": 4,
|
| 291 |
-
"boft_block_num": 0,
|
| 292 |
-
"boft_n_butterfly_factor": 1,
|
| 293 |
-
"boft_dropout": 0.0,
|
| 294 |
-
"vera_rank": 256,
|
| 295 |
-
"vera_projection_prng_key": 0,
|
| 296 |
-
"vera_dropout": 0.0,
|
| 297 |
-
"vera_d_initial": 0.1,
|
| 298 |
-
"adapter_act": "gelu",
|
| 299 |
-
"adapter_length": 128,
|
| 300 |
-
"adalora_target_r": 8,
|
| 301 |
-
"adalora_init_r": 12,
|
| 302 |
-
"adalora_tinit": 0,
|
| 303 |
-
"adalora_tfinal": 0,
|
| 304 |
-
"adalora_deltaT": 1,
|
| 305 |
-
"adalora_beta1": 0.85,
|
| 306 |
-
"adalora_beta2": 0.85,
|
| 307 |
-
"adalora_orth_reg_weight": 0.5,
|
| 308 |
-
"llamapro_num_new_blocks": 4,
|
| 309 |
-
"llamapro_num_groups": null,
|
| 310 |
-
"reft_layer_key": null,
|
| 311 |
-
"reft_layers": null,
|
| 312 |
-
"reft_rank": 4,
|
| 313 |
-
"reft_intervention_type": "LoreftIntervention",
|
| 314 |
-
"reft_args": null,
|
| 315 |
-
"swanlab_token": null,
|
| 316 |
-
"swanlab_project": "ms-swift",
|
| 317 |
-
"swanlab_workspace": null,
|
| 318 |
-
"swanlab_exp_name": null,
|
| 319 |
-
"swanlab_notification_method": null,
|
| 320 |
-
"swanlab_webhook_url": null,
|
| 321 |
-
"swanlab_secret": null,
|
| 322 |
-
"swanlab_sender_email": null,
|
| 323 |
-
"swanlab_receiver_email": null,
|
| 324 |
-
"swanlab_smtp_server": null,
|
| 325 |
-
"swanlab_smtp_port": null,
|
| 326 |
-
"swanlab_email_language": "zh",
|
| 327 |
-
"swanlab_mode": "cloud",
|
| 328 |
-
"add_version": true,
|
| 329 |
-
"create_checkpoint_symlink": false,
|
| 330 |
-
"zero_hpz_partition_size": null,
|
| 331 |
-
"deepspeed_autotp_size": null,
|
| 332 |
-
"swift_version": "4.2.0",
|
| 333 |
-
"ckpt_dir": null,
|
| 334 |
-
"rank": 0,
|
| 335 |
-
"global_world_size": 1,
|
| 336 |
-
"local_world_size": 1,
|
| 337 |
-
"model_suffix": "Qwen3-Reranker-4B",
|
| 338 |
-
"model_info": "ModelInfo(model_type='qwen3_reranker', model_dir='/nfs/turbo/umms-drjieliu/usr/yctao/HF_HOME/hub/models--Qwen--Qwen3-Reranker-4B/snapshots/22e683669bc0f0bd69640a1354a6d0aebcfeede5', torch_dtype=torch.bfloat16, max_model_len=40960, quant_method=None, quant_bits=None, rope_scaling={'rope_theta': 1000000, 'rope_type': 'default'}, is_moe_model=False, is_multimodal=False, config=None, task_type='generative_reranker', num_labels=None)",
|
| 339 |
-
"model_meta": "ModelMeta(model_type='qwen3_reranker', model_groups=[ModelGroup(models=[Model(ms_model_id='Qwen/Qwen3-Reranker-0.6B', hf_model_id='Qwen/Qwen3-Reranker-0.6B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-Reranker-4B', hf_model_id='Qwen/Qwen3-Reranker-4B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-Reranker-8B', hf_model_id='Qwen/Qwen3-Reranker-8B', model_path=None, ms_revision=None, hf_revision=None)], template=None, ignore_patterns=None, requires=None, tags=[])], loader=<class 'swift.model.register.ModelLoader'>, template='qwen3_reranker', model_arch=None, mcore_model_type='gpt', architectures=['Qwen3ForCausalLM'], additional_saved_files=[], torch_dtype=None, is_multimodal=False, is_reward=False, task_type=None, ignore_patterns=None, requires=[], tags=[])",
|
| 340 |
-
"model_dir": "/nfs/turbo/umms-drjieliu/usr/yctao/HF_HOME/hub/models--Qwen--Qwen3-Reranker-4B/snapshots/22e683669bc0f0bd69640a1354a6d0aebcfeede5",
|
| 341 |
-
"template_meta": "Qwen3MixedTemplateMeta(template_type='qwen3_reranker', 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.templates.qwen.Qwen3RerankerTemplate'>, system_prefix=['<|im_start|>system\\n{{SYSTEM}}<|im_end|>\\n'], default_system='Judge whether the Document meets the requirements based on the Query and the Instruct provided. Note that the answer can only be \"yes\" or \"no\".', auto_add_bos=False, stop_words=['<|endoftext|>'], agent_template='hermes', is_thinking=False, thinking_prefix='', non_thinking_prefix='<think>\\n\\n</think>\\n\\n', history_thinking_prefix='')",
|
| 342 |
-
"_val_dataset_exists": false,
|
| 343 |
-
"hub": "<class 'swift.hub.hub.HFHub'>",
|
| 344 |
-
"evaluation_strategy": "steps",
|
| 345 |
-
"training_args": "TrainingArguments(output_dir='/nfs/turbo/umms-drjieliu/usr/yctao/ANGEL/models/rerank/aap_fold8_saphn8fix_2ep_r1/v0-20260608-092503', per_device_train_batch_size=4, num_train_epochs=2.0, max_steps=-1, learning_rate=5e-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=2, 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=False, gradient_checkpointing_kwargs=None, 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=20, 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=['wandb'], run_name='aap_fold8_saphn8fix_2ep_r1_j27270946', project='huggingface', trackio_space_id=None, trackio_bucket_id=None, trackio_static_space_id=None, eval_strategy=<IntervalStrategy.NO: 'no'>, eval_steps=0.25, 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=0.25, save_on_each_node=False, save_total_limit=5, 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=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_static_graph=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=None, debug=[], skip_memory_metrics=True, do_train=False, do_eval=False, do_predict=False, resume_from_checkpoint=None, warmup_ratio=0.05, logging_dir='/nfs/turbo/umms-drjieliu/usr/yctao/ANGEL/models/rerank/aap_fold8_saphn8fix_2ep_r1/v0-20260608-092503/runs', local_rank=0, tuner_backend='peft', vit_gradient_checkpointing=False, 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=None, use_logits_to_keep=None, ds3_gather_for_generation=True, resume_only_model=False, optimizer=None, loss_type='pointwise_reranker', eval_metric='reranker', 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='lora', 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)"
|
| 346 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
reranker/aap_fold9/adapter_config.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
"alpha_pattern": {},
|
| 4 |
"arrow_config": null,
|
| 5 |
"auto_mapping": null,
|
| 6 |
-
"base_model_name_or_path": "
|
| 7 |
"bias": "none",
|
| 8 |
"corda_config": null,
|
| 9 |
"ensure_weight_tying": false,
|
|
|
|
| 3 |
"alpha_pattern": {},
|
| 4 |
"arrow_config": null,
|
| 5 |
"auto_mapping": null,
|
| 6 |
+
"base_model_name_or_path": "Qwen/Qwen3-Reranker-4B",
|
| 7 |
"bias": "none",
|
| 8 |
"corda_config": null,
|
| 9 |
"ensure_weight_tying": false,
|
reranker/aap_fold9/args.json
DELETED
|
@@ -1,346 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"output_dir": "/nfs/turbo/umms-drjieliu/usr/yctao/ANGEL/models/rerank/aap_fold9_saphn8fix_2ep_r1/v0-20260608-112110",
|
| 3 |
-
"per_device_train_batch_size": 4,
|
| 4 |
-
"num_train_epochs": 2.0,
|
| 5 |
-
"max_steps": -1,
|
| 6 |
-
"learning_rate": 5e-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": 2,
|
| 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": false,
|
| 27 |
-
"gradient_checkpointing_kwargs": null,
|
| 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": 20,
|
| 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 |
-
"wandb"
|
| 48 |
-
],
|
| 49 |
-
"run_name": "aap_fold9_saphn8fix_2ep_r1_j27270938",
|
| 50 |
-
"project": "huggingface",
|
| 51 |
-
"trackio_space_id": null,
|
| 52 |
-
"trackio_bucket_id": null,
|
| 53 |
-
"trackio_static_space_id": null,
|
| 54 |
-
"eval_strategy": "no",
|
| 55 |
-
"eval_steps": 0.25,
|
| 56 |
-
"eval_delay": 0,
|
| 57 |
-
"per_device_eval_batch_size": 1,
|
| 58 |
-
"prediction_loss_only": false,
|
| 59 |
-
"eval_on_start": false,
|
| 60 |
-
"eval_do_concat_batches": true,
|
| 61 |
-
"eval_use_gather_object": false,
|
| 62 |
-
"eval_accumulation_steps": null,
|
| 63 |
-
"include_for_metrics": [],
|
| 64 |
-
"batch_eval_metrics": false,
|
| 65 |
-
"save_only_model": false,
|
| 66 |
-
"save_strategy": "steps",
|
| 67 |
-
"save_steps": 0.25,
|
| 68 |
-
"save_on_each_node": false,
|
| 69 |
-
"save_total_limit": 5,
|
| 70 |
-
"enable_jit_checkpoint": false,
|
| 71 |
-
"push_to_hub": false,
|
| 72 |
-
"hub_token": null,
|
| 73 |
-
"hub_private_repo": null,
|
| 74 |
-
"hub_model_id": null,
|
| 75 |
-
"hub_strategy": "every_save",
|
| 76 |
-
"hub_always_push": false,
|
| 77 |
-
"hub_revision": null,
|
| 78 |
-
"load_best_model_at_end": false,
|
| 79 |
-
"metric_for_best_model": "loss",
|
| 80 |
-
"greater_is_better": false,
|
| 81 |
-
"ignore_data_skip": false,
|
| 82 |
-
"restore_callback_states_from_checkpoint": false,
|
| 83 |
-
"full_determinism": false,
|
| 84 |
-
"seed": 42,
|
| 85 |
-
"data_seed": 42,
|
| 86 |
-
"use_cpu": false,
|
| 87 |
-
"accelerator_config": {
|
| 88 |
-
"dispatch_batches": false
|
| 89 |
-
},
|
| 90 |
-
"parallelism_config": null,
|
| 91 |
-
"dataloader_drop_last": false,
|
| 92 |
-
"dataloader_num_workers": 4,
|
| 93 |
-
"dataloader_pin_memory": true,
|
| 94 |
-
"dataloader_persistent_workers": false,
|
| 95 |
-
"dataloader_prefetch_factor": null,
|
| 96 |
-
"remove_unused_columns": true,
|
| 97 |
-
"label_names": null,
|
| 98 |
-
"train_sampling_strategy": "random",
|
| 99 |
-
"length_column_name": "length",
|
| 100 |
-
"ddp_find_unused_parameters": null,
|
| 101 |
-
"ddp_bucket_cap_mb": null,
|
| 102 |
-
"ddp_broadcast_buffers": null,
|
| 103 |
-
"ddp_static_graph": null,
|
| 104 |
-
"ddp_backend": null,
|
| 105 |
-
"ddp_timeout": 18000000,
|
| 106 |
-
"fsdp": [],
|
| 107 |
-
"fsdp_config": null,
|
| 108 |
-
"deepspeed": null,
|
| 109 |
-
"debug": null,
|
| 110 |
-
"skip_memory_metrics": true,
|
| 111 |
-
"do_train": false,
|
| 112 |
-
"do_eval": false,
|
| 113 |
-
"do_predict": false,
|
| 114 |
-
"resume_from_checkpoint": null,
|
| 115 |
-
"warmup_ratio": 0.05,
|
| 116 |
-
"logging_dir": "/nfs/turbo/umms-drjieliu/usr/yctao/ANGEL/models/rerank/aap_fold9_saphn8fix_2ep_r1/v0-20260608-112110/runs",
|
| 117 |
-
"local_rank": 0,
|
| 118 |
-
"sortish_sampler": false,
|
| 119 |
-
"predict_with_generate": false,
|
| 120 |
-
"generation_max_length": null,
|
| 121 |
-
"generation_num_beams": null,
|
| 122 |
-
"generation_config": null,
|
| 123 |
-
"tuner_backend": "peft",
|
| 124 |
-
"vit_gradient_checkpointing": false,
|
| 125 |
-
"router_aux_loss_coef": 0.0,
|
| 126 |
-
"enable_dft_loss": false,
|
| 127 |
-
"enable_channel_loss": false,
|
| 128 |
-
"safe_serialization": true,
|
| 129 |
-
"max_shard_size": "5GB",
|
| 130 |
-
"check_model": true,
|
| 131 |
-
"acc_strategy": "token",
|
| 132 |
-
"train_dataloader_shuffle": true,
|
| 133 |
-
"group_by_length": false,
|
| 134 |
-
"max_epochs": null,
|
| 135 |
-
"aligner_lr": null,
|
| 136 |
-
"vit_lr": null,
|
| 137 |
-
"use_logits_to_keep": null,
|
| 138 |
-
"ds3_gather_for_generation": true,
|
| 139 |
-
"resume_only_model": false,
|
| 140 |
-
"optimizer": null,
|
| 141 |
-
"loss_type": "pointwise_reranker",
|
| 142 |
-
"eval_metric": "reranker",
|
| 143 |
-
"callbacks": [],
|
| 144 |
-
"early_stop_interval": null,
|
| 145 |
-
"eval_use_evalscope": false,
|
| 146 |
-
"eval_dataset": [],
|
| 147 |
-
"eval_dataset_args": null,
|
| 148 |
-
"eval_limit": null,
|
| 149 |
-
"eval_generation_config": null,
|
| 150 |
-
"extra_eval_args": null,
|
| 151 |
-
"tuner_type": "lora",
|
| 152 |
-
"use_galore": false,
|
| 153 |
-
"galore_target_modules": null,
|
| 154 |
-
"galore_rank": 128,
|
| 155 |
-
"galore_update_proj_gap": 50,
|
| 156 |
-
"galore_scale": 1.0,
|
| 157 |
-
"galore_proj_type": "std",
|
| 158 |
-
"galore_optim_per_parameter": false,
|
| 159 |
-
"galore_with_embedding": false,
|
| 160 |
-
"galore_quantization": false,
|
| 161 |
-
"galore_proj_quant": false,
|
| 162 |
-
"galore_proj_bits": 4,
|
| 163 |
-
"galore_proj_group_size": 256,
|
| 164 |
-
"galore_cos_threshold": 0.4,
|
| 165 |
-
"galore_gamma_proj": 2,
|
| 166 |
-
"galore_queue_size": 5,
|
| 167 |
-
"lisa_activated_layers": 0,
|
| 168 |
-
"lisa_step_interval": 20,
|
| 169 |
-
"use_flash_ckpt": false,
|
| 170 |
-
"use_ray": false,
|
| 171 |
-
"ray_exp_name": null,
|
| 172 |
-
"device_groups": null,
|
| 173 |
-
"model": "Qwen/Qwen3-Reranker-4B",
|
| 174 |
-
"model_type": "qwen3_reranker",
|
| 175 |
-
"model_revision": null,
|
| 176 |
-
"task_type": "generative_reranker",
|
| 177 |
-
"torch_dtype": "bfloat16",
|
| 178 |
-
"attn_impl": "flash_attn",
|
| 179 |
-
"experts_impl": null,
|
| 180 |
-
"new_special_tokens": [],
|
| 181 |
-
"num_labels": null,
|
| 182 |
-
"problem_type": null,
|
| 183 |
-
"rope_scaling": null,
|
| 184 |
-
"device_map": null,
|
| 185 |
-
"max_memory": {},
|
| 186 |
-
"max_model_len": null,
|
| 187 |
-
"local_repo_path": null,
|
| 188 |
-
"init_strategy": null,
|
| 189 |
-
"template": "qwen3_reranker",
|
| 190 |
-
"system": null,
|
| 191 |
-
"max_length": 512,
|
| 192 |
-
"truncation_strategy": "delete",
|
| 193 |
-
"max_pixels": null,
|
| 194 |
-
"agent_template": null,
|
| 195 |
-
"norm_bbox": null,
|
| 196 |
-
"use_chat_template": true,
|
| 197 |
-
"padding_side": "right",
|
| 198 |
-
"padding_free": true,
|
| 199 |
-
"loss_scale": "default",
|
| 200 |
-
"sequence_parallel_size": 1,
|
| 201 |
-
"template_backend": "swift",
|
| 202 |
-
"response_prefix": null,
|
| 203 |
-
"enable_thinking": null,
|
| 204 |
-
"add_non_thinking_prefix": true,
|
| 205 |
-
"dataset": [
|
| 206 |
-
"data/rerank_swift/aap_fold9_saphn8fix_2ep_r1.jsonl"
|
| 207 |
-
],
|
| 208 |
-
"val_dataset": [],
|
| 209 |
-
"cached_dataset": [],
|
| 210 |
-
"cached_val_dataset": [],
|
| 211 |
-
"split_dataset_ratio": 0.0,
|
| 212 |
-
"dataset_num_proc": 1,
|
| 213 |
-
"load_from_cache_file": false,
|
| 214 |
-
"dataset_shuffle": true,
|
| 215 |
-
"val_dataset_shuffle": false,
|
| 216 |
-
"streaming": false,
|
| 217 |
-
"interleave_prob": null,
|
| 218 |
-
"stopping_strategy": "first_exhausted",
|
| 219 |
-
"shuffle_buffer_size": 1000,
|
| 220 |
-
"download_mode": "reuse_dataset_if_exists",
|
| 221 |
-
"columns": {},
|
| 222 |
-
"strict": false,
|
| 223 |
-
"disable_auto_column_mapping": false,
|
| 224 |
-
"model_name": null,
|
| 225 |
-
"model_author": null,
|
| 226 |
-
"custom_dataset_info": [],
|
| 227 |
-
"quant_method": null,
|
| 228 |
-
"quant_bits": null,
|
| 229 |
-
"hqq_axis": null,
|
| 230 |
-
"bnb_4bit_compute_dtype": "bfloat16",
|
| 231 |
-
"bnb_4bit_quant_type": "nf4",
|
| 232 |
-
"bnb_4bit_use_double_quant": true,
|
| 233 |
-
"bnb_4bit_quant_storage": null,
|
| 234 |
-
"max_new_tokens": 64,
|
| 235 |
-
"temperature": 0.0,
|
| 236 |
-
"top_k": null,
|
| 237 |
-
"top_p": null,
|
| 238 |
-
"repetition_penalty": null,
|
| 239 |
-
"num_beams": 1,
|
| 240 |
-
"stream": false,
|
| 241 |
-
"stop_words": [],
|
| 242 |
-
"logprobs": false,
|
| 243 |
-
"top_logprobs": null,
|
| 244 |
-
"structured_outputs_regex": null,
|
| 245 |
-
"adapters": [],
|
| 246 |
-
"external_plugins": [],
|
| 247 |
-
"custom_register_path": [],
|
| 248 |
-
"model_kwargs": {},
|
| 249 |
-
"enable_npu_model_patch": true,
|
| 250 |
-
"load_args": false,
|
| 251 |
-
"load_data_args": false,
|
| 252 |
-
"packing": false,
|
| 253 |
-
"packing_length": null,
|
| 254 |
-
"packing_num_proc": 1,
|
| 255 |
-
"lazy_tokenize": true,
|
| 256 |
-
"use_hf": true,
|
| 257 |
-
"ignore_args_error": false,
|
| 258 |
-
"use_swift_lora": false,
|
| 259 |
-
"freeze_parameters": [],
|
| 260 |
-
"freeze_parameters_regex": null,
|
| 261 |
-
"freeze_parameters_ratio": 0.0,
|
| 262 |
-
"trainable_parameters": [],
|
| 263 |
-
"trainable_parameters_regex": null,
|
| 264 |
-
"freeze_llm": false,
|
| 265 |
-
"freeze_vit": true,
|
| 266 |
-
"freeze_aligner": true,
|
| 267 |
-
"target_modules": [
|
| 268 |
-
"all-linear"
|
| 269 |
-
],
|
| 270 |
-
"target_regex": null,
|
| 271 |
-
"target_parameters": null,
|
| 272 |
-
"modules_to_save": [],
|
| 273 |
-
"lora_rank": 16,
|
| 274 |
-
"lora_alpha": 32,
|
| 275 |
-
"lora_dropout": 0.05,
|
| 276 |
-
"lora_bias": "none",
|
| 277 |
-
"lora_dtype": null,
|
| 278 |
-
"lorap_lr_ratio": null,
|
| 279 |
-
"use_rslora": false,
|
| 280 |
-
"use_dora": false,
|
| 281 |
-
"lora_ga_batch_size": 2,
|
| 282 |
-
"lora_ga_iters": 2,
|
| 283 |
-
"lora_ga_max_length": 1024,
|
| 284 |
-
"lora_ga_direction": "ArB2r",
|
| 285 |
-
"lora_ga_scale": "stable",
|
| 286 |
-
"lora_ga_stable_gamma": 16,
|
| 287 |
-
"init_weights": true,
|
| 288 |
-
"fourier_n_frequency": 2000,
|
| 289 |
-
"fourier_scaling": 300.0,
|
| 290 |
-
"boft_block_size": 4,
|
| 291 |
-
"boft_block_num": 0,
|
| 292 |
-
"boft_n_butterfly_factor": 1,
|
| 293 |
-
"boft_dropout": 0.0,
|
| 294 |
-
"vera_rank": 256,
|
| 295 |
-
"vera_projection_prng_key": 0,
|
| 296 |
-
"vera_dropout": 0.0,
|
| 297 |
-
"vera_d_initial": 0.1,
|
| 298 |
-
"adapter_act": "gelu",
|
| 299 |
-
"adapter_length": 128,
|
| 300 |
-
"adalora_target_r": 8,
|
| 301 |
-
"adalora_init_r": 12,
|
| 302 |
-
"adalora_tinit": 0,
|
| 303 |
-
"adalora_tfinal": 0,
|
| 304 |
-
"adalora_deltaT": 1,
|
| 305 |
-
"adalora_beta1": 0.85,
|
| 306 |
-
"adalora_beta2": 0.85,
|
| 307 |
-
"adalora_orth_reg_weight": 0.5,
|
| 308 |
-
"llamapro_num_new_blocks": 4,
|
| 309 |
-
"llamapro_num_groups": null,
|
| 310 |
-
"reft_layer_key": null,
|
| 311 |
-
"reft_layers": null,
|
| 312 |
-
"reft_rank": 4,
|
| 313 |
-
"reft_intervention_type": "LoreftIntervention",
|
| 314 |
-
"reft_args": null,
|
| 315 |
-
"swanlab_token": null,
|
| 316 |
-
"swanlab_project": "ms-swift",
|
| 317 |
-
"swanlab_workspace": null,
|
| 318 |
-
"swanlab_exp_name": null,
|
| 319 |
-
"swanlab_notification_method": null,
|
| 320 |
-
"swanlab_webhook_url": null,
|
| 321 |
-
"swanlab_secret": null,
|
| 322 |
-
"swanlab_sender_email": null,
|
| 323 |
-
"swanlab_receiver_email": null,
|
| 324 |
-
"swanlab_smtp_server": null,
|
| 325 |
-
"swanlab_smtp_port": null,
|
| 326 |
-
"swanlab_email_language": "zh",
|
| 327 |
-
"swanlab_mode": "cloud",
|
| 328 |
-
"add_version": true,
|
| 329 |
-
"create_checkpoint_symlink": false,
|
| 330 |
-
"zero_hpz_partition_size": null,
|
| 331 |
-
"deepspeed_autotp_size": null,
|
| 332 |
-
"swift_version": "4.2.0",
|
| 333 |
-
"ckpt_dir": null,
|
| 334 |
-
"rank": 0,
|
| 335 |
-
"global_world_size": 1,
|
| 336 |
-
"local_world_size": 1,
|
| 337 |
-
"model_suffix": "Qwen3-Reranker-4B",
|
| 338 |
-
"model_info": "ModelInfo(model_type='qwen3_reranker', model_dir='/nfs/turbo/umms-drjieliu/usr/yctao/HF_HOME/hub/models--Qwen--Qwen3-Reranker-4B/snapshots/22e683669bc0f0bd69640a1354a6d0aebcfeede5', torch_dtype=torch.bfloat16, max_model_len=40960, quant_method=None, quant_bits=None, rope_scaling={'rope_theta': 1000000, 'rope_type': 'default'}, is_moe_model=False, is_multimodal=False, config=None, task_type='generative_reranker', num_labels=None)",
|
| 339 |
-
"model_meta": "ModelMeta(model_type='qwen3_reranker', model_groups=[ModelGroup(models=[Model(ms_model_id='Qwen/Qwen3-Reranker-0.6B', hf_model_id='Qwen/Qwen3-Reranker-0.6B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-Reranker-4B', hf_model_id='Qwen/Qwen3-Reranker-4B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-Reranker-8B', hf_model_id='Qwen/Qwen3-Reranker-8B', model_path=None, ms_revision=None, hf_revision=None)], template=None, ignore_patterns=None, requires=None, tags=[])], loader=<class 'swift.model.register.ModelLoader'>, template='qwen3_reranker', model_arch=None, mcore_model_type='gpt', architectures=['Qwen3ForCausalLM'], additional_saved_files=[], torch_dtype=None, is_multimodal=False, is_reward=False, task_type=None, ignore_patterns=None, requires=[], tags=[])",
|
| 340 |
-
"model_dir": "/nfs/turbo/umms-drjieliu/usr/yctao/HF_HOME/hub/models--Qwen--Qwen3-Reranker-4B/snapshots/22e683669bc0f0bd69640a1354a6d0aebcfeede5",
|
| 341 |
-
"template_meta": "Qwen3MixedTemplateMeta(template_type='qwen3_reranker', 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.templates.qwen.Qwen3RerankerTemplate'>, system_prefix=['<|im_start|>system\\n{{SYSTEM}}<|im_end|>\\n'], default_system='Judge whether the Document meets the requirements based on the Query and the Instruct provided. Note that the answer can only be \"yes\" or \"no\".', auto_add_bos=False, stop_words=['<|endoftext|>'], agent_template='hermes', is_thinking=False, thinking_prefix='', non_thinking_prefix='<think>\\n\\n</think>\\n\\n', history_thinking_prefix='')",
|
| 342 |
-
"_val_dataset_exists": false,
|
| 343 |
-
"hub": "<class 'swift.hub.hub.HFHub'>",
|
| 344 |
-
"evaluation_strategy": "steps",
|
| 345 |
-
"training_args": "TrainingArguments(output_dir='/nfs/turbo/umms-drjieliu/usr/yctao/ANGEL/models/rerank/aap_fold9_saphn8fix_2ep_r1/v0-20260608-112110', per_device_train_batch_size=4, num_train_epochs=2.0, max_steps=-1, learning_rate=5e-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=2, 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=False, gradient_checkpointing_kwargs=None, 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=20, 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=['wandb'], run_name='aap_fold9_saphn8fix_2ep_r1_j27270938', project='huggingface', trackio_space_id=None, trackio_bucket_id=None, trackio_static_space_id=None, eval_strategy=<IntervalStrategy.NO: 'no'>, eval_steps=0.25, 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=0.25, save_on_each_node=False, save_total_limit=5, 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=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_static_graph=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=None, debug=[], skip_memory_metrics=True, do_train=False, do_eval=False, do_predict=False, resume_from_checkpoint=None, warmup_ratio=0.05, logging_dir='/nfs/turbo/umms-drjieliu/usr/yctao/ANGEL/models/rerank/aap_fold9_saphn8fix_2ep_r1/v0-20260608-112110/runs', local_rank=0, tuner_backend='peft', vit_gradient_checkpointing=False, 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=None, use_logits_to_keep=None, ds3_gather_for_generation=True, resume_only_model=False, optimizer=None, loss_type='pointwise_reranker', eval_metric='reranker', 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='lora', 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)"
|
| 346 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
reranker/bc5cdr/adapter_config.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
"alpha_pattern": {},
|
| 4 |
"arrow_config": null,
|
| 5 |
"auto_mapping": null,
|
| 6 |
-
"base_model_name_or_path": "
|
| 7 |
"bias": "none",
|
| 8 |
"corda_config": null,
|
| 9 |
"ensure_weight_tying": false,
|
|
|
|
| 3 |
"alpha_pattern": {},
|
| 4 |
"arrow_config": null,
|
| 5 |
"auto_mapping": null,
|
| 6 |
+
"base_model_name_or_path": "Qwen/Qwen3-Reranker-4B",
|
| 7 |
"bias": "none",
|
| 8 |
"corda_config": null,
|
| 9 |
"ensure_weight_tying": false,
|
reranker/bc5cdr/args.json
DELETED
|
@@ -1,346 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"output_dir": "/nfs/turbo/umms-drjieliu/usr/yctao/ANGEL/models/rerank/bc5cdr_saphn8fix_2ep_r1/v0-20260608-005253",
|
| 3 |
-
"per_device_train_batch_size": 2,
|
| 4 |
-
"num_train_epochs": 2.0,
|
| 5 |
-
"max_steps": -1,
|
| 6 |
-
"learning_rate": 5e-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": 2,
|
| 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": false,
|
| 27 |
-
"gradient_checkpointing_kwargs": null,
|
| 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": 20,
|
| 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 |
-
"wandb"
|
| 48 |
-
],
|
| 49 |
-
"run_name": "bc5cdr_saphn8fix_2ep_r1_j27270721",
|
| 50 |
-
"project": "huggingface",
|
| 51 |
-
"trackio_space_id": null,
|
| 52 |
-
"trackio_bucket_id": null,
|
| 53 |
-
"trackio_static_space_id": null,
|
| 54 |
-
"eval_strategy": "no",
|
| 55 |
-
"eval_steps": 0.25,
|
| 56 |
-
"eval_delay": 0,
|
| 57 |
-
"per_device_eval_batch_size": 1,
|
| 58 |
-
"prediction_loss_only": false,
|
| 59 |
-
"eval_on_start": false,
|
| 60 |
-
"eval_do_concat_batches": true,
|
| 61 |
-
"eval_use_gather_object": false,
|
| 62 |
-
"eval_accumulation_steps": null,
|
| 63 |
-
"include_for_metrics": [],
|
| 64 |
-
"batch_eval_metrics": false,
|
| 65 |
-
"save_only_model": false,
|
| 66 |
-
"save_strategy": "steps",
|
| 67 |
-
"save_steps": 0.25,
|
| 68 |
-
"save_on_each_node": false,
|
| 69 |
-
"save_total_limit": 5,
|
| 70 |
-
"enable_jit_checkpoint": false,
|
| 71 |
-
"push_to_hub": false,
|
| 72 |
-
"hub_token": null,
|
| 73 |
-
"hub_private_repo": null,
|
| 74 |
-
"hub_model_id": null,
|
| 75 |
-
"hub_strategy": "every_save",
|
| 76 |
-
"hub_always_push": false,
|
| 77 |
-
"hub_revision": null,
|
| 78 |
-
"load_best_model_at_end": false,
|
| 79 |
-
"metric_for_best_model": "loss",
|
| 80 |
-
"greater_is_better": false,
|
| 81 |
-
"ignore_data_skip": false,
|
| 82 |
-
"restore_callback_states_from_checkpoint": false,
|
| 83 |
-
"full_determinism": false,
|
| 84 |
-
"seed": 42,
|
| 85 |
-
"data_seed": 42,
|
| 86 |
-
"use_cpu": false,
|
| 87 |
-
"accelerator_config": {
|
| 88 |
-
"dispatch_batches": false
|
| 89 |
-
},
|
| 90 |
-
"parallelism_config": null,
|
| 91 |
-
"dataloader_drop_last": false,
|
| 92 |
-
"dataloader_num_workers": 4,
|
| 93 |
-
"dataloader_pin_memory": true,
|
| 94 |
-
"dataloader_persistent_workers": false,
|
| 95 |
-
"dataloader_prefetch_factor": null,
|
| 96 |
-
"remove_unused_columns": true,
|
| 97 |
-
"label_names": null,
|
| 98 |
-
"train_sampling_strategy": "random",
|
| 99 |
-
"length_column_name": "length",
|
| 100 |
-
"ddp_find_unused_parameters": null,
|
| 101 |
-
"ddp_bucket_cap_mb": null,
|
| 102 |
-
"ddp_broadcast_buffers": null,
|
| 103 |
-
"ddp_static_graph": null,
|
| 104 |
-
"ddp_backend": null,
|
| 105 |
-
"ddp_timeout": 18000000,
|
| 106 |
-
"fsdp": [],
|
| 107 |
-
"fsdp_config": null,
|
| 108 |
-
"deepspeed": null,
|
| 109 |
-
"debug": null,
|
| 110 |
-
"skip_memory_metrics": true,
|
| 111 |
-
"do_train": false,
|
| 112 |
-
"do_eval": false,
|
| 113 |
-
"do_predict": false,
|
| 114 |
-
"resume_from_checkpoint": null,
|
| 115 |
-
"warmup_ratio": 0.05,
|
| 116 |
-
"logging_dir": "/nfs/turbo/umms-drjieliu/usr/yctao/ANGEL/models/rerank/bc5cdr_saphn8fix_2ep_r1/v0-20260608-005253/runs",
|
| 117 |
-
"local_rank": 0,
|
| 118 |
-
"sortish_sampler": false,
|
| 119 |
-
"predict_with_generate": false,
|
| 120 |
-
"generation_max_length": null,
|
| 121 |
-
"generation_num_beams": null,
|
| 122 |
-
"generation_config": null,
|
| 123 |
-
"tuner_backend": "peft",
|
| 124 |
-
"vit_gradient_checkpointing": false,
|
| 125 |
-
"router_aux_loss_coef": 0.0,
|
| 126 |
-
"enable_dft_loss": false,
|
| 127 |
-
"enable_channel_loss": false,
|
| 128 |
-
"safe_serialization": true,
|
| 129 |
-
"max_shard_size": "5GB",
|
| 130 |
-
"check_model": true,
|
| 131 |
-
"acc_strategy": "token",
|
| 132 |
-
"train_dataloader_shuffle": true,
|
| 133 |
-
"group_by_length": false,
|
| 134 |
-
"max_epochs": null,
|
| 135 |
-
"aligner_lr": null,
|
| 136 |
-
"vit_lr": null,
|
| 137 |
-
"use_logits_to_keep": null,
|
| 138 |
-
"ds3_gather_for_generation": true,
|
| 139 |
-
"resume_only_model": false,
|
| 140 |
-
"optimizer": null,
|
| 141 |
-
"loss_type": "pointwise_reranker",
|
| 142 |
-
"eval_metric": "reranker",
|
| 143 |
-
"callbacks": [],
|
| 144 |
-
"early_stop_interval": null,
|
| 145 |
-
"eval_use_evalscope": false,
|
| 146 |
-
"eval_dataset": [],
|
| 147 |
-
"eval_dataset_args": null,
|
| 148 |
-
"eval_limit": null,
|
| 149 |
-
"eval_generation_config": null,
|
| 150 |
-
"extra_eval_args": null,
|
| 151 |
-
"tuner_type": "lora",
|
| 152 |
-
"use_galore": false,
|
| 153 |
-
"galore_target_modules": null,
|
| 154 |
-
"galore_rank": 128,
|
| 155 |
-
"galore_update_proj_gap": 50,
|
| 156 |
-
"galore_scale": 1.0,
|
| 157 |
-
"galore_proj_type": "std",
|
| 158 |
-
"galore_optim_per_parameter": false,
|
| 159 |
-
"galore_with_embedding": false,
|
| 160 |
-
"galore_quantization": false,
|
| 161 |
-
"galore_proj_quant": false,
|
| 162 |
-
"galore_proj_bits": 4,
|
| 163 |
-
"galore_proj_group_size": 256,
|
| 164 |
-
"galore_cos_threshold": 0.4,
|
| 165 |
-
"galore_gamma_proj": 2,
|
| 166 |
-
"galore_queue_size": 5,
|
| 167 |
-
"lisa_activated_layers": 0,
|
| 168 |
-
"lisa_step_interval": 20,
|
| 169 |
-
"use_flash_ckpt": false,
|
| 170 |
-
"use_ray": false,
|
| 171 |
-
"ray_exp_name": null,
|
| 172 |
-
"device_groups": null,
|
| 173 |
-
"model": "Qwen/Qwen3-Reranker-4B",
|
| 174 |
-
"model_type": "qwen3_reranker",
|
| 175 |
-
"model_revision": null,
|
| 176 |
-
"task_type": "generative_reranker",
|
| 177 |
-
"torch_dtype": "bfloat16",
|
| 178 |
-
"attn_impl": "flash_attn",
|
| 179 |
-
"experts_impl": null,
|
| 180 |
-
"new_special_tokens": [],
|
| 181 |
-
"num_labels": null,
|
| 182 |
-
"problem_type": null,
|
| 183 |
-
"rope_scaling": null,
|
| 184 |
-
"device_map": null,
|
| 185 |
-
"max_memory": {},
|
| 186 |
-
"max_model_len": null,
|
| 187 |
-
"local_repo_path": null,
|
| 188 |
-
"init_strategy": null,
|
| 189 |
-
"template": "qwen3_reranker",
|
| 190 |
-
"system": null,
|
| 191 |
-
"max_length": 512,
|
| 192 |
-
"truncation_strategy": "delete",
|
| 193 |
-
"max_pixels": null,
|
| 194 |
-
"agent_template": null,
|
| 195 |
-
"norm_bbox": null,
|
| 196 |
-
"use_chat_template": true,
|
| 197 |
-
"padding_side": "right",
|
| 198 |
-
"padding_free": true,
|
| 199 |
-
"loss_scale": "default",
|
| 200 |
-
"sequence_parallel_size": 1,
|
| 201 |
-
"template_backend": "swift",
|
| 202 |
-
"response_prefix": null,
|
| 203 |
-
"enable_thinking": null,
|
| 204 |
-
"add_non_thinking_prefix": true,
|
| 205 |
-
"dataset": [
|
| 206 |
-
"data/rerank_swift/bc5cdr_saphn8fix_2ep_r1.jsonl"
|
| 207 |
-
],
|
| 208 |
-
"val_dataset": [],
|
| 209 |
-
"cached_dataset": [],
|
| 210 |
-
"cached_val_dataset": [],
|
| 211 |
-
"split_dataset_ratio": 0.0,
|
| 212 |
-
"dataset_num_proc": 1,
|
| 213 |
-
"load_from_cache_file": false,
|
| 214 |
-
"dataset_shuffle": true,
|
| 215 |
-
"val_dataset_shuffle": false,
|
| 216 |
-
"streaming": false,
|
| 217 |
-
"interleave_prob": null,
|
| 218 |
-
"stopping_strategy": "first_exhausted",
|
| 219 |
-
"shuffle_buffer_size": 1000,
|
| 220 |
-
"download_mode": "reuse_dataset_if_exists",
|
| 221 |
-
"columns": {},
|
| 222 |
-
"strict": false,
|
| 223 |
-
"disable_auto_column_mapping": false,
|
| 224 |
-
"model_name": null,
|
| 225 |
-
"model_author": null,
|
| 226 |
-
"custom_dataset_info": [],
|
| 227 |
-
"quant_method": null,
|
| 228 |
-
"quant_bits": null,
|
| 229 |
-
"hqq_axis": null,
|
| 230 |
-
"bnb_4bit_compute_dtype": "bfloat16",
|
| 231 |
-
"bnb_4bit_quant_type": "nf4",
|
| 232 |
-
"bnb_4bit_use_double_quant": true,
|
| 233 |
-
"bnb_4bit_quant_storage": null,
|
| 234 |
-
"max_new_tokens": 64,
|
| 235 |
-
"temperature": 0.0,
|
| 236 |
-
"top_k": null,
|
| 237 |
-
"top_p": null,
|
| 238 |
-
"repetition_penalty": null,
|
| 239 |
-
"num_beams": 1,
|
| 240 |
-
"stream": false,
|
| 241 |
-
"stop_words": [],
|
| 242 |
-
"logprobs": false,
|
| 243 |
-
"top_logprobs": null,
|
| 244 |
-
"structured_outputs_regex": null,
|
| 245 |
-
"adapters": [],
|
| 246 |
-
"external_plugins": [],
|
| 247 |
-
"custom_register_path": [],
|
| 248 |
-
"model_kwargs": {},
|
| 249 |
-
"enable_npu_model_patch": true,
|
| 250 |
-
"load_args": false,
|
| 251 |
-
"load_data_args": false,
|
| 252 |
-
"packing": false,
|
| 253 |
-
"packing_length": null,
|
| 254 |
-
"packing_num_proc": 1,
|
| 255 |
-
"lazy_tokenize": true,
|
| 256 |
-
"use_hf": true,
|
| 257 |
-
"ignore_args_error": false,
|
| 258 |
-
"use_swift_lora": false,
|
| 259 |
-
"freeze_parameters": [],
|
| 260 |
-
"freeze_parameters_regex": null,
|
| 261 |
-
"freeze_parameters_ratio": 0.0,
|
| 262 |
-
"trainable_parameters": [],
|
| 263 |
-
"trainable_parameters_regex": null,
|
| 264 |
-
"freeze_llm": false,
|
| 265 |
-
"freeze_vit": true,
|
| 266 |
-
"freeze_aligner": true,
|
| 267 |
-
"target_modules": [
|
| 268 |
-
"all-linear"
|
| 269 |
-
],
|
| 270 |
-
"target_regex": null,
|
| 271 |
-
"target_parameters": null,
|
| 272 |
-
"modules_to_save": [],
|
| 273 |
-
"lora_rank": 16,
|
| 274 |
-
"lora_alpha": 32,
|
| 275 |
-
"lora_dropout": 0.05,
|
| 276 |
-
"lora_bias": "none",
|
| 277 |
-
"lora_dtype": null,
|
| 278 |
-
"lorap_lr_ratio": null,
|
| 279 |
-
"use_rslora": false,
|
| 280 |
-
"use_dora": false,
|
| 281 |
-
"lora_ga_batch_size": 2,
|
| 282 |
-
"lora_ga_iters": 2,
|
| 283 |
-
"lora_ga_max_length": 1024,
|
| 284 |
-
"lora_ga_direction": "ArB2r",
|
| 285 |
-
"lora_ga_scale": "stable",
|
| 286 |
-
"lora_ga_stable_gamma": 16,
|
| 287 |
-
"init_weights": true,
|
| 288 |
-
"fourier_n_frequency": 2000,
|
| 289 |
-
"fourier_scaling": 300.0,
|
| 290 |
-
"boft_block_size": 4,
|
| 291 |
-
"boft_block_num": 0,
|
| 292 |
-
"boft_n_butterfly_factor": 1,
|
| 293 |
-
"boft_dropout": 0.0,
|
| 294 |
-
"vera_rank": 256,
|
| 295 |
-
"vera_projection_prng_key": 0,
|
| 296 |
-
"vera_dropout": 0.0,
|
| 297 |
-
"vera_d_initial": 0.1,
|
| 298 |
-
"adapter_act": "gelu",
|
| 299 |
-
"adapter_length": 128,
|
| 300 |
-
"adalora_target_r": 8,
|
| 301 |
-
"adalora_init_r": 12,
|
| 302 |
-
"adalora_tinit": 0,
|
| 303 |
-
"adalora_tfinal": 0,
|
| 304 |
-
"adalora_deltaT": 1,
|
| 305 |
-
"adalora_beta1": 0.85,
|
| 306 |
-
"adalora_beta2": 0.85,
|
| 307 |
-
"adalora_orth_reg_weight": 0.5,
|
| 308 |
-
"llamapro_num_new_blocks": 4,
|
| 309 |
-
"llamapro_num_groups": null,
|
| 310 |
-
"reft_layer_key": null,
|
| 311 |
-
"reft_layers": null,
|
| 312 |
-
"reft_rank": 4,
|
| 313 |
-
"reft_intervention_type": "LoreftIntervention",
|
| 314 |
-
"reft_args": null,
|
| 315 |
-
"swanlab_token": null,
|
| 316 |
-
"swanlab_project": "ms-swift",
|
| 317 |
-
"swanlab_workspace": null,
|
| 318 |
-
"swanlab_exp_name": null,
|
| 319 |
-
"swanlab_notification_method": null,
|
| 320 |
-
"swanlab_webhook_url": null,
|
| 321 |
-
"swanlab_secret": null,
|
| 322 |
-
"swanlab_sender_email": null,
|
| 323 |
-
"swanlab_receiver_email": null,
|
| 324 |
-
"swanlab_smtp_server": null,
|
| 325 |
-
"swanlab_smtp_port": null,
|
| 326 |
-
"swanlab_email_language": "zh",
|
| 327 |
-
"swanlab_mode": "cloud",
|
| 328 |
-
"add_version": true,
|
| 329 |
-
"create_checkpoint_symlink": false,
|
| 330 |
-
"zero_hpz_partition_size": null,
|
| 331 |
-
"deepspeed_autotp_size": null,
|
| 332 |
-
"swift_version": "4.2.0",
|
| 333 |
-
"ckpt_dir": null,
|
| 334 |
-
"rank": 0,
|
| 335 |
-
"global_world_size": 2,
|
| 336 |
-
"local_world_size": 2,
|
| 337 |
-
"model_suffix": "Qwen3-Reranker-4B",
|
| 338 |
-
"model_info": "ModelInfo(model_type='qwen3_reranker', model_dir='/nfs/turbo/umms-drjieliu/usr/yctao/HF_HOME/hub/models--Qwen--Qwen3-Reranker-4B/snapshots/22e683669bc0f0bd69640a1354a6d0aebcfeede5', torch_dtype=torch.bfloat16, max_model_len=40960, quant_method=None, quant_bits=None, rope_scaling={'rope_theta': 1000000, 'rope_type': 'default'}, is_moe_model=False, is_multimodal=False, config=None, task_type='generative_reranker', num_labels=None)",
|
| 339 |
-
"model_meta": "ModelMeta(model_type='qwen3_reranker', model_groups=[ModelGroup(models=[Model(ms_model_id='Qwen/Qwen3-Reranker-0.6B', hf_model_id='Qwen/Qwen3-Reranker-0.6B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-Reranker-4B', hf_model_id='Qwen/Qwen3-Reranker-4B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-Reranker-8B', hf_model_id='Qwen/Qwen3-Reranker-8B', model_path=None, ms_revision=None, hf_revision=None)], template=None, ignore_patterns=None, requires=None, tags=[])], loader=<class 'swift.model.register.ModelLoader'>, template='qwen3_reranker', model_arch=None, mcore_model_type='gpt', architectures=['Qwen3ForCausalLM'], additional_saved_files=[], torch_dtype=None, is_multimodal=False, is_reward=False, task_type=None, ignore_patterns=None, requires=[], tags=[])",
|
| 340 |
-
"model_dir": "/nfs/turbo/umms-drjieliu/usr/yctao/HF_HOME/hub/models--Qwen--Qwen3-Reranker-4B/snapshots/22e683669bc0f0bd69640a1354a6d0aebcfeede5",
|
| 341 |
-
"template_meta": "Qwen3MixedTemplateMeta(template_type='qwen3_reranker', 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.templates.qwen.Qwen3RerankerTemplate'>, system_prefix=['<|im_start|>system\\n{{SYSTEM}}<|im_end|>\\n'], default_system='Judge whether the Document meets the requirements based on the Query and the Instruct provided. Note that the answer can only be \"yes\" or \"no\".', auto_add_bos=False, stop_words=['<|endoftext|>'], agent_template='hermes', is_thinking=False, thinking_prefix='', non_thinking_prefix='<think>\\n\\n</think>\\n\\n', history_thinking_prefix='')",
|
| 342 |
-
"_val_dataset_exists": false,
|
| 343 |
-
"hub": "<class 'swift.hub.hub.HFHub'>",
|
| 344 |
-
"evaluation_strategy": "steps",
|
| 345 |
-
"training_args": "TrainingArguments(output_dir='/nfs/turbo/umms-drjieliu/usr/yctao/ANGEL/models/rerank/bc5cdr_saphn8fix_2ep_r1/v0-20260608-005253', per_device_train_batch_size=2, num_train_epochs=2.0, max_steps=-1, learning_rate=5e-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=2, 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=False, gradient_checkpointing_kwargs=None, 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=20, 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=['wandb'], run_name='bc5cdr_saphn8fix_2ep_r1_j27270721', project='huggingface', trackio_space_id=None, trackio_bucket_id=None, trackio_static_space_id=None, eval_strategy=<IntervalStrategy.NO: 'no'>, eval_steps=0.25, 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=0.25, save_on_each_node=False, save_total_limit=5, 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=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_static_graph=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=None, debug=[], skip_memory_metrics=True, do_train=False, do_eval=False, do_predict=False, resume_from_checkpoint=None, warmup_ratio=0.05, logging_dir='/nfs/turbo/umms-drjieliu/usr/yctao/ANGEL/models/rerank/bc5cdr_saphn8fix_2ep_r1/v0-20260608-005253/runs', local_rank=0, tuner_backend='peft', vit_gradient_checkpointing=False, 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=None, use_logits_to_keep=None, ds3_gather_for_generation=True, resume_only_model=False, optimizer=None, loss_type='pointwise_reranker', eval_metric='reranker', 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='lora', 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)"
|
| 346 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
reranker/cometa/adapter_config.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
"alpha_pattern": {},
|
| 4 |
"arrow_config": null,
|
| 5 |
"auto_mapping": null,
|
| 6 |
-
"base_model_name_or_path": "
|
| 7 |
"bias": "none",
|
| 8 |
"corda_config": null,
|
| 9 |
"ensure_weight_tying": false,
|
|
|
|
| 3 |
"alpha_pattern": {},
|
| 4 |
"arrow_config": null,
|
| 5 |
"auto_mapping": null,
|
| 6 |
+
"base_model_name_or_path": "Qwen/Qwen3-Reranker-4B",
|
| 7 |
"bias": "none",
|
| 8 |
"corda_config": null,
|
| 9 |
"ensure_weight_tying": false,
|
reranker/cometa/args.json
DELETED
|
@@ -1,346 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"output_dir": "/nfs/turbo/umms-drjieliu/usr/yctao/ANGEL/models/rerank/cometa_nobrand_saphn8fix_2ep_r1/v0-20260608-005251",
|
| 3 |
-
"per_device_train_batch_size": 2,
|
| 4 |
-
"num_train_epochs": 2.0,
|
| 5 |
-
"max_steps": -1,
|
| 6 |
-
"learning_rate": 5e-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": 2,
|
| 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": false,
|
| 27 |
-
"gradient_checkpointing_kwargs": null,
|
| 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": 20,
|
| 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 |
-
"wandb"
|
| 48 |
-
],
|
| 49 |
-
"run_name": "cometa_nobrand_saphn8fix_2ep_r1_j27270722",
|
| 50 |
-
"project": "huggingface",
|
| 51 |
-
"trackio_space_id": null,
|
| 52 |
-
"trackio_bucket_id": null,
|
| 53 |
-
"trackio_static_space_id": null,
|
| 54 |
-
"eval_strategy": "no",
|
| 55 |
-
"eval_steps": 0.25,
|
| 56 |
-
"eval_delay": 0,
|
| 57 |
-
"per_device_eval_batch_size": 1,
|
| 58 |
-
"prediction_loss_only": false,
|
| 59 |
-
"eval_on_start": false,
|
| 60 |
-
"eval_do_concat_batches": true,
|
| 61 |
-
"eval_use_gather_object": false,
|
| 62 |
-
"eval_accumulation_steps": null,
|
| 63 |
-
"include_for_metrics": [],
|
| 64 |
-
"batch_eval_metrics": false,
|
| 65 |
-
"save_only_model": false,
|
| 66 |
-
"save_strategy": "steps",
|
| 67 |
-
"save_steps": 0.25,
|
| 68 |
-
"save_on_each_node": false,
|
| 69 |
-
"save_total_limit": 5,
|
| 70 |
-
"enable_jit_checkpoint": false,
|
| 71 |
-
"push_to_hub": false,
|
| 72 |
-
"hub_token": null,
|
| 73 |
-
"hub_private_repo": null,
|
| 74 |
-
"hub_model_id": null,
|
| 75 |
-
"hub_strategy": "every_save",
|
| 76 |
-
"hub_always_push": false,
|
| 77 |
-
"hub_revision": null,
|
| 78 |
-
"load_best_model_at_end": false,
|
| 79 |
-
"metric_for_best_model": "loss",
|
| 80 |
-
"greater_is_better": false,
|
| 81 |
-
"ignore_data_skip": false,
|
| 82 |
-
"restore_callback_states_from_checkpoint": false,
|
| 83 |
-
"full_determinism": false,
|
| 84 |
-
"seed": 42,
|
| 85 |
-
"data_seed": 42,
|
| 86 |
-
"use_cpu": false,
|
| 87 |
-
"accelerator_config": {
|
| 88 |
-
"dispatch_batches": false
|
| 89 |
-
},
|
| 90 |
-
"parallelism_config": null,
|
| 91 |
-
"dataloader_drop_last": false,
|
| 92 |
-
"dataloader_num_workers": 4,
|
| 93 |
-
"dataloader_pin_memory": true,
|
| 94 |
-
"dataloader_persistent_workers": false,
|
| 95 |
-
"dataloader_prefetch_factor": null,
|
| 96 |
-
"remove_unused_columns": true,
|
| 97 |
-
"label_names": null,
|
| 98 |
-
"train_sampling_strategy": "random",
|
| 99 |
-
"length_column_name": "length",
|
| 100 |
-
"ddp_find_unused_parameters": null,
|
| 101 |
-
"ddp_bucket_cap_mb": null,
|
| 102 |
-
"ddp_broadcast_buffers": null,
|
| 103 |
-
"ddp_static_graph": null,
|
| 104 |
-
"ddp_backend": null,
|
| 105 |
-
"ddp_timeout": 18000000,
|
| 106 |
-
"fsdp": [],
|
| 107 |
-
"fsdp_config": null,
|
| 108 |
-
"deepspeed": null,
|
| 109 |
-
"debug": null,
|
| 110 |
-
"skip_memory_metrics": true,
|
| 111 |
-
"do_train": false,
|
| 112 |
-
"do_eval": false,
|
| 113 |
-
"do_predict": false,
|
| 114 |
-
"resume_from_checkpoint": null,
|
| 115 |
-
"warmup_ratio": 0.05,
|
| 116 |
-
"logging_dir": "/nfs/turbo/umms-drjieliu/usr/yctao/ANGEL/models/rerank/cometa_nobrand_saphn8fix_2ep_r1/v0-20260608-005251/runs",
|
| 117 |
-
"local_rank": 0,
|
| 118 |
-
"sortish_sampler": false,
|
| 119 |
-
"predict_with_generate": false,
|
| 120 |
-
"generation_max_length": null,
|
| 121 |
-
"generation_num_beams": null,
|
| 122 |
-
"generation_config": null,
|
| 123 |
-
"tuner_backend": "peft",
|
| 124 |
-
"vit_gradient_checkpointing": false,
|
| 125 |
-
"router_aux_loss_coef": 0.0,
|
| 126 |
-
"enable_dft_loss": false,
|
| 127 |
-
"enable_channel_loss": false,
|
| 128 |
-
"safe_serialization": true,
|
| 129 |
-
"max_shard_size": "5GB",
|
| 130 |
-
"check_model": true,
|
| 131 |
-
"acc_strategy": "token",
|
| 132 |
-
"train_dataloader_shuffle": true,
|
| 133 |
-
"group_by_length": false,
|
| 134 |
-
"max_epochs": null,
|
| 135 |
-
"aligner_lr": null,
|
| 136 |
-
"vit_lr": null,
|
| 137 |
-
"use_logits_to_keep": null,
|
| 138 |
-
"ds3_gather_for_generation": true,
|
| 139 |
-
"resume_only_model": false,
|
| 140 |
-
"optimizer": null,
|
| 141 |
-
"loss_type": "pointwise_reranker",
|
| 142 |
-
"eval_metric": "reranker",
|
| 143 |
-
"callbacks": [],
|
| 144 |
-
"early_stop_interval": null,
|
| 145 |
-
"eval_use_evalscope": false,
|
| 146 |
-
"eval_dataset": [],
|
| 147 |
-
"eval_dataset_args": null,
|
| 148 |
-
"eval_limit": null,
|
| 149 |
-
"eval_generation_config": null,
|
| 150 |
-
"extra_eval_args": null,
|
| 151 |
-
"tuner_type": "lora",
|
| 152 |
-
"use_galore": false,
|
| 153 |
-
"galore_target_modules": null,
|
| 154 |
-
"galore_rank": 128,
|
| 155 |
-
"galore_update_proj_gap": 50,
|
| 156 |
-
"galore_scale": 1.0,
|
| 157 |
-
"galore_proj_type": "std",
|
| 158 |
-
"galore_optim_per_parameter": false,
|
| 159 |
-
"galore_with_embedding": false,
|
| 160 |
-
"galore_quantization": false,
|
| 161 |
-
"galore_proj_quant": false,
|
| 162 |
-
"galore_proj_bits": 4,
|
| 163 |
-
"galore_proj_group_size": 256,
|
| 164 |
-
"galore_cos_threshold": 0.4,
|
| 165 |
-
"galore_gamma_proj": 2,
|
| 166 |
-
"galore_queue_size": 5,
|
| 167 |
-
"lisa_activated_layers": 0,
|
| 168 |
-
"lisa_step_interval": 20,
|
| 169 |
-
"use_flash_ckpt": false,
|
| 170 |
-
"use_ray": false,
|
| 171 |
-
"ray_exp_name": null,
|
| 172 |
-
"device_groups": null,
|
| 173 |
-
"model": "Qwen/Qwen3-Reranker-4B",
|
| 174 |
-
"model_type": "qwen3_reranker",
|
| 175 |
-
"model_revision": null,
|
| 176 |
-
"task_type": "generative_reranker",
|
| 177 |
-
"torch_dtype": "bfloat16",
|
| 178 |
-
"attn_impl": "flash_attn",
|
| 179 |
-
"experts_impl": null,
|
| 180 |
-
"new_special_tokens": [],
|
| 181 |
-
"num_labels": null,
|
| 182 |
-
"problem_type": null,
|
| 183 |
-
"rope_scaling": null,
|
| 184 |
-
"device_map": null,
|
| 185 |
-
"max_memory": {},
|
| 186 |
-
"max_model_len": null,
|
| 187 |
-
"local_repo_path": null,
|
| 188 |
-
"init_strategy": null,
|
| 189 |
-
"template": "qwen3_reranker",
|
| 190 |
-
"system": null,
|
| 191 |
-
"max_length": 512,
|
| 192 |
-
"truncation_strategy": "delete",
|
| 193 |
-
"max_pixels": null,
|
| 194 |
-
"agent_template": null,
|
| 195 |
-
"norm_bbox": null,
|
| 196 |
-
"use_chat_template": true,
|
| 197 |
-
"padding_side": "right",
|
| 198 |
-
"padding_free": true,
|
| 199 |
-
"loss_scale": "default",
|
| 200 |
-
"sequence_parallel_size": 1,
|
| 201 |
-
"template_backend": "swift",
|
| 202 |
-
"response_prefix": null,
|
| 203 |
-
"enable_thinking": null,
|
| 204 |
-
"add_non_thinking_prefix": true,
|
| 205 |
-
"dataset": [
|
| 206 |
-
"data/rerank_swift/cometa_nobrand_saphn8fix_2ep_r1.jsonl"
|
| 207 |
-
],
|
| 208 |
-
"val_dataset": [],
|
| 209 |
-
"cached_dataset": [],
|
| 210 |
-
"cached_val_dataset": [],
|
| 211 |
-
"split_dataset_ratio": 0.0,
|
| 212 |
-
"dataset_num_proc": 1,
|
| 213 |
-
"load_from_cache_file": false,
|
| 214 |
-
"dataset_shuffle": true,
|
| 215 |
-
"val_dataset_shuffle": false,
|
| 216 |
-
"streaming": false,
|
| 217 |
-
"interleave_prob": null,
|
| 218 |
-
"stopping_strategy": "first_exhausted",
|
| 219 |
-
"shuffle_buffer_size": 1000,
|
| 220 |
-
"download_mode": "reuse_dataset_if_exists",
|
| 221 |
-
"columns": {},
|
| 222 |
-
"strict": false,
|
| 223 |
-
"disable_auto_column_mapping": false,
|
| 224 |
-
"model_name": null,
|
| 225 |
-
"model_author": null,
|
| 226 |
-
"custom_dataset_info": [],
|
| 227 |
-
"quant_method": null,
|
| 228 |
-
"quant_bits": null,
|
| 229 |
-
"hqq_axis": null,
|
| 230 |
-
"bnb_4bit_compute_dtype": "bfloat16",
|
| 231 |
-
"bnb_4bit_quant_type": "nf4",
|
| 232 |
-
"bnb_4bit_use_double_quant": true,
|
| 233 |
-
"bnb_4bit_quant_storage": null,
|
| 234 |
-
"max_new_tokens": 64,
|
| 235 |
-
"temperature": 0.0,
|
| 236 |
-
"top_k": null,
|
| 237 |
-
"top_p": null,
|
| 238 |
-
"repetition_penalty": null,
|
| 239 |
-
"num_beams": 1,
|
| 240 |
-
"stream": false,
|
| 241 |
-
"stop_words": [],
|
| 242 |
-
"logprobs": false,
|
| 243 |
-
"top_logprobs": null,
|
| 244 |
-
"structured_outputs_regex": null,
|
| 245 |
-
"adapters": [],
|
| 246 |
-
"external_plugins": [],
|
| 247 |
-
"custom_register_path": [],
|
| 248 |
-
"model_kwargs": {},
|
| 249 |
-
"enable_npu_model_patch": true,
|
| 250 |
-
"load_args": false,
|
| 251 |
-
"load_data_args": false,
|
| 252 |
-
"packing": false,
|
| 253 |
-
"packing_length": null,
|
| 254 |
-
"packing_num_proc": 1,
|
| 255 |
-
"lazy_tokenize": true,
|
| 256 |
-
"use_hf": true,
|
| 257 |
-
"ignore_args_error": false,
|
| 258 |
-
"use_swift_lora": false,
|
| 259 |
-
"freeze_parameters": [],
|
| 260 |
-
"freeze_parameters_regex": null,
|
| 261 |
-
"freeze_parameters_ratio": 0.0,
|
| 262 |
-
"trainable_parameters": [],
|
| 263 |
-
"trainable_parameters_regex": null,
|
| 264 |
-
"freeze_llm": false,
|
| 265 |
-
"freeze_vit": true,
|
| 266 |
-
"freeze_aligner": true,
|
| 267 |
-
"target_modules": [
|
| 268 |
-
"all-linear"
|
| 269 |
-
],
|
| 270 |
-
"target_regex": null,
|
| 271 |
-
"target_parameters": null,
|
| 272 |
-
"modules_to_save": [],
|
| 273 |
-
"lora_rank": 16,
|
| 274 |
-
"lora_alpha": 32,
|
| 275 |
-
"lora_dropout": 0.05,
|
| 276 |
-
"lora_bias": "none",
|
| 277 |
-
"lora_dtype": null,
|
| 278 |
-
"lorap_lr_ratio": null,
|
| 279 |
-
"use_rslora": false,
|
| 280 |
-
"use_dora": false,
|
| 281 |
-
"lora_ga_batch_size": 2,
|
| 282 |
-
"lora_ga_iters": 2,
|
| 283 |
-
"lora_ga_max_length": 1024,
|
| 284 |
-
"lora_ga_direction": "ArB2r",
|
| 285 |
-
"lora_ga_scale": "stable",
|
| 286 |
-
"lora_ga_stable_gamma": 16,
|
| 287 |
-
"init_weights": true,
|
| 288 |
-
"fourier_n_frequency": 2000,
|
| 289 |
-
"fourier_scaling": 300.0,
|
| 290 |
-
"boft_block_size": 4,
|
| 291 |
-
"boft_block_num": 0,
|
| 292 |
-
"boft_n_butterfly_factor": 1,
|
| 293 |
-
"boft_dropout": 0.0,
|
| 294 |
-
"vera_rank": 256,
|
| 295 |
-
"vera_projection_prng_key": 0,
|
| 296 |
-
"vera_dropout": 0.0,
|
| 297 |
-
"vera_d_initial": 0.1,
|
| 298 |
-
"adapter_act": "gelu",
|
| 299 |
-
"adapter_length": 128,
|
| 300 |
-
"adalora_target_r": 8,
|
| 301 |
-
"adalora_init_r": 12,
|
| 302 |
-
"adalora_tinit": 0,
|
| 303 |
-
"adalora_tfinal": 0,
|
| 304 |
-
"adalora_deltaT": 1,
|
| 305 |
-
"adalora_beta1": 0.85,
|
| 306 |
-
"adalora_beta2": 0.85,
|
| 307 |
-
"adalora_orth_reg_weight": 0.5,
|
| 308 |
-
"llamapro_num_new_blocks": 4,
|
| 309 |
-
"llamapro_num_groups": null,
|
| 310 |
-
"reft_layer_key": null,
|
| 311 |
-
"reft_layers": null,
|
| 312 |
-
"reft_rank": 4,
|
| 313 |
-
"reft_intervention_type": "LoreftIntervention",
|
| 314 |
-
"reft_args": null,
|
| 315 |
-
"swanlab_token": null,
|
| 316 |
-
"swanlab_project": "ms-swift",
|
| 317 |
-
"swanlab_workspace": null,
|
| 318 |
-
"swanlab_exp_name": null,
|
| 319 |
-
"swanlab_notification_method": null,
|
| 320 |
-
"swanlab_webhook_url": null,
|
| 321 |
-
"swanlab_secret": null,
|
| 322 |
-
"swanlab_sender_email": null,
|
| 323 |
-
"swanlab_receiver_email": null,
|
| 324 |
-
"swanlab_smtp_server": null,
|
| 325 |
-
"swanlab_smtp_port": null,
|
| 326 |
-
"swanlab_email_language": "zh",
|
| 327 |
-
"swanlab_mode": "cloud",
|
| 328 |
-
"add_version": true,
|
| 329 |
-
"create_checkpoint_symlink": false,
|
| 330 |
-
"zero_hpz_partition_size": null,
|
| 331 |
-
"deepspeed_autotp_size": null,
|
| 332 |
-
"swift_version": "4.2.0",
|
| 333 |
-
"ckpt_dir": null,
|
| 334 |
-
"rank": 0,
|
| 335 |
-
"global_world_size": 2,
|
| 336 |
-
"local_world_size": 2,
|
| 337 |
-
"model_suffix": "Qwen3-Reranker-4B",
|
| 338 |
-
"model_info": "ModelInfo(model_type='qwen3_reranker', model_dir='/nfs/turbo/umms-drjieliu/usr/yctao/HF_HOME/hub/models--Qwen--Qwen3-Reranker-4B/snapshots/22e683669bc0f0bd69640a1354a6d0aebcfeede5', torch_dtype=torch.bfloat16, max_model_len=40960, quant_method=None, quant_bits=None, rope_scaling={'rope_theta': 1000000, 'rope_type': 'default'}, is_moe_model=False, is_multimodal=False, config=None, task_type='generative_reranker', num_labels=None)",
|
| 339 |
-
"model_meta": "ModelMeta(model_type='qwen3_reranker', model_groups=[ModelGroup(models=[Model(ms_model_id='Qwen/Qwen3-Reranker-0.6B', hf_model_id='Qwen/Qwen3-Reranker-0.6B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-Reranker-4B', hf_model_id='Qwen/Qwen3-Reranker-4B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-Reranker-8B', hf_model_id='Qwen/Qwen3-Reranker-8B', model_path=None, ms_revision=None, hf_revision=None)], template=None, ignore_patterns=None, requires=None, tags=[])], loader=<class 'swift.model.register.ModelLoader'>, template='qwen3_reranker', model_arch=None, mcore_model_type='gpt', architectures=['Qwen3ForCausalLM'], additional_saved_files=[], torch_dtype=None, is_multimodal=False, is_reward=False, task_type=None, ignore_patterns=None, requires=[], tags=[])",
|
| 340 |
-
"model_dir": "/nfs/turbo/umms-drjieliu/usr/yctao/HF_HOME/hub/models--Qwen--Qwen3-Reranker-4B/snapshots/22e683669bc0f0bd69640a1354a6d0aebcfeede5",
|
| 341 |
-
"template_meta": "Qwen3MixedTemplateMeta(template_type='qwen3_reranker', 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.templates.qwen.Qwen3RerankerTemplate'>, system_prefix=['<|im_start|>system\\n{{SYSTEM}}<|im_end|>\\n'], default_system='Judge whether the Document meets the requirements based on the Query and the Instruct provided. Note that the answer can only be \"yes\" or \"no\".', auto_add_bos=False, stop_words=['<|endoftext|>'], agent_template='hermes', is_thinking=False, thinking_prefix='', non_thinking_prefix='<think>\\n\\n</think>\\n\\n', history_thinking_prefix='')",
|
| 342 |
-
"_val_dataset_exists": false,
|
| 343 |
-
"hub": "<class 'swift.hub.hub.HFHub'>",
|
| 344 |
-
"evaluation_strategy": "steps",
|
| 345 |
-
"training_args": "TrainingArguments(output_dir='/nfs/turbo/umms-drjieliu/usr/yctao/ANGEL/models/rerank/cometa_nobrand_saphn8fix_2ep_r1/v0-20260608-005251', per_device_train_batch_size=2, num_train_epochs=2.0, max_steps=-1, learning_rate=5e-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=2, 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=False, gradient_checkpointing_kwargs=None, 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=20, 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=['wandb'], run_name='cometa_nobrand_saphn8fix_2ep_r1_j27270722', project='huggingface', trackio_space_id=None, trackio_bucket_id=None, trackio_static_space_id=None, eval_strategy=<IntervalStrategy.NO: 'no'>, eval_steps=0.25, 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=0.25, save_on_each_node=False, save_total_limit=5, 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=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_static_graph=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=None, debug=[], skip_memory_metrics=True, do_train=False, do_eval=False, do_predict=False, resume_from_checkpoint=None, warmup_ratio=0.05, logging_dir='/nfs/turbo/umms-drjieliu/usr/yctao/ANGEL/models/rerank/cometa_nobrand_saphn8fix_2ep_r1/v0-20260608-005251/runs', local_rank=0, tuner_backend='peft', vit_gradient_checkpointing=False, 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=None, use_logits_to_keep=None, ds3_gather_for_generation=True, resume_only_model=False, optimizer=None, loss_type='pointwise_reranker', eval_metric='reranker', 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='lora', 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)"
|
| 346 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
reranker/mm/adapter_config.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
"alpha_pattern": {},
|
| 4 |
"arrow_config": null,
|
| 5 |
"auto_mapping": null,
|
| 6 |
-
"base_model_name_or_path": "
|
| 7 |
"bias": "none",
|
| 8 |
"corda_config": null,
|
| 9 |
"ensure_weight_tying": false,
|
|
|
|
| 3 |
"alpha_pattern": {},
|
| 4 |
"arrow_config": null,
|
| 5 |
"auto_mapping": null,
|
| 6 |
+
"base_model_name_or_path": "Qwen/Qwen3-Reranker-0.6B",
|
| 7 |
"bias": "none",
|
| 8 |
"corda_config": null,
|
| 9 |
"ensure_weight_tying": false,
|
reranker/mm/args.json
DELETED
|
@@ -1,346 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"output_dir": "/nfs/turbo/umms-drjieliu/usr/yctao/ANGEL/models/rerank/mm_saphn8fix_2ep_r1/v0-20260608-015924",
|
| 3 |
-
"per_device_train_batch_size": 2,
|
| 4 |
-
"num_train_epochs": 2.0,
|
| 5 |
-
"max_steps": -1,
|
| 6 |
-
"learning_rate": 5e-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": 2,
|
| 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": false,
|
| 27 |
-
"gradient_checkpointing_kwargs": null,
|
| 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": 20,
|
| 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 |
-
"wandb"
|
| 48 |
-
],
|
| 49 |
-
"run_name": "mm_saphn8fix_2ep_r1_j27270824",
|
| 50 |
-
"project": "huggingface",
|
| 51 |
-
"trackio_space_id": null,
|
| 52 |
-
"trackio_bucket_id": null,
|
| 53 |
-
"trackio_static_space_id": null,
|
| 54 |
-
"eval_strategy": "no",
|
| 55 |
-
"eval_steps": 0.25,
|
| 56 |
-
"eval_delay": 0,
|
| 57 |
-
"per_device_eval_batch_size": 1,
|
| 58 |
-
"prediction_loss_only": false,
|
| 59 |
-
"eval_on_start": false,
|
| 60 |
-
"eval_do_concat_batches": true,
|
| 61 |
-
"eval_use_gather_object": false,
|
| 62 |
-
"eval_accumulation_steps": null,
|
| 63 |
-
"include_for_metrics": [],
|
| 64 |
-
"batch_eval_metrics": false,
|
| 65 |
-
"save_only_model": false,
|
| 66 |
-
"save_strategy": "steps",
|
| 67 |
-
"save_steps": 0.25,
|
| 68 |
-
"save_on_each_node": false,
|
| 69 |
-
"save_total_limit": 5,
|
| 70 |
-
"enable_jit_checkpoint": false,
|
| 71 |
-
"push_to_hub": false,
|
| 72 |
-
"hub_token": null,
|
| 73 |
-
"hub_private_repo": null,
|
| 74 |
-
"hub_model_id": null,
|
| 75 |
-
"hub_strategy": "every_save",
|
| 76 |
-
"hub_always_push": false,
|
| 77 |
-
"hub_revision": null,
|
| 78 |
-
"load_best_model_at_end": false,
|
| 79 |
-
"metric_for_best_model": "loss",
|
| 80 |
-
"greater_is_better": false,
|
| 81 |
-
"ignore_data_skip": false,
|
| 82 |
-
"restore_callback_states_from_checkpoint": false,
|
| 83 |
-
"full_determinism": false,
|
| 84 |
-
"seed": 42,
|
| 85 |
-
"data_seed": 42,
|
| 86 |
-
"use_cpu": false,
|
| 87 |
-
"accelerator_config": {
|
| 88 |
-
"dispatch_batches": false
|
| 89 |
-
},
|
| 90 |
-
"parallelism_config": null,
|
| 91 |
-
"dataloader_drop_last": false,
|
| 92 |
-
"dataloader_num_workers": 4,
|
| 93 |
-
"dataloader_pin_memory": true,
|
| 94 |
-
"dataloader_persistent_workers": false,
|
| 95 |
-
"dataloader_prefetch_factor": null,
|
| 96 |
-
"remove_unused_columns": true,
|
| 97 |
-
"label_names": null,
|
| 98 |
-
"train_sampling_strategy": "random",
|
| 99 |
-
"length_column_name": "length",
|
| 100 |
-
"ddp_find_unused_parameters": null,
|
| 101 |
-
"ddp_bucket_cap_mb": null,
|
| 102 |
-
"ddp_broadcast_buffers": null,
|
| 103 |
-
"ddp_static_graph": null,
|
| 104 |
-
"ddp_backend": null,
|
| 105 |
-
"ddp_timeout": 18000000,
|
| 106 |
-
"fsdp": [],
|
| 107 |
-
"fsdp_config": null,
|
| 108 |
-
"deepspeed": null,
|
| 109 |
-
"debug": null,
|
| 110 |
-
"skip_memory_metrics": true,
|
| 111 |
-
"do_train": false,
|
| 112 |
-
"do_eval": false,
|
| 113 |
-
"do_predict": false,
|
| 114 |
-
"resume_from_checkpoint": null,
|
| 115 |
-
"warmup_ratio": 0.05,
|
| 116 |
-
"logging_dir": "/nfs/turbo/umms-drjieliu/usr/yctao/ANGEL/models/rerank/mm_saphn8fix_2ep_r1/v0-20260608-015924/runs",
|
| 117 |
-
"local_rank": 0,
|
| 118 |
-
"sortish_sampler": false,
|
| 119 |
-
"predict_with_generate": false,
|
| 120 |
-
"generation_max_length": null,
|
| 121 |
-
"generation_num_beams": null,
|
| 122 |
-
"generation_config": null,
|
| 123 |
-
"tuner_backend": "peft",
|
| 124 |
-
"vit_gradient_checkpointing": false,
|
| 125 |
-
"router_aux_loss_coef": 0.0,
|
| 126 |
-
"enable_dft_loss": false,
|
| 127 |
-
"enable_channel_loss": false,
|
| 128 |
-
"safe_serialization": true,
|
| 129 |
-
"max_shard_size": "5GB",
|
| 130 |
-
"check_model": true,
|
| 131 |
-
"acc_strategy": "token",
|
| 132 |
-
"train_dataloader_shuffle": true,
|
| 133 |
-
"group_by_length": false,
|
| 134 |
-
"max_epochs": null,
|
| 135 |
-
"aligner_lr": null,
|
| 136 |
-
"vit_lr": null,
|
| 137 |
-
"use_logits_to_keep": null,
|
| 138 |
-
"ds3_gather_for_generation": true,
|
| 139 |
-
"resume_only_model": false,
|
| 140 |
-
"optimizer": null,
|
| 141 |
-
"loss_type": "pointwise_reranker",
|
| 142 |
-
"eval_metric": "reranker",
|
| 143 |
-
"callbacks": [],
|
| 144 |
-
"early_stop_interval": null,
|
| 145 |
-
"eval_use_evalscope": false,
|
| 146 |
-
"eval_dataset": [],
|
| 147 |
-
"eval_dataset_args": null,
|
| 148 |
-
"eval_limit": null,
|
| 149 |
-
"eval_generation_config": null,
|
| 150 |
-
"extra_eval_args": null,
|
| 151 |
-
"tuner_type": "lora",
|
| 152 |
-
"use_galore": false,
|
| 153 |
-
"galore_target_modules": null,
|
| 154 |
-
"galore_rank": 128,
|
| 155 |
-
"galore_update_proj_gap": 50,
|
| 156 |
-
"galore_scale": 1.0,
|
| 157 |
-
"galore_proj_type": "std",
|
| 158 |
-
"galore_optim_per_parameter": false,
|
| 159 |
-
"galore_with_embedding": false,
|
| 160 |
-
"galore_quantization": false,
|
| 161 |
-
"galore_proj_quant": false,
|
| 162 |
-
"galore_proj_bits": 4,
|
| 163 |
-
"galore_proj_group_size": 256,
|
| 164 |
-
"galore_cos_threshold": 0.4,
|
| 165 |
-
"galore_gamma_proj": 2,
|
| 166 |
-
"galore_queue_size": 5,
|
| 167 |
-
"lisa_activated_layers": 0,
|
| 168 |
-
"lisa_step_interval": 20,
|
| 169 |
-
"use_flash_ckpt": false,
|
| 170 |
-
"use_ray": false,
|
| 171 |
-
"ray_exp_name": null,
|
| 172 |
-
"device_groups": null,
|
| 173 |
-
"model": "Qwen/Qwen3-Reranker-0.6B",
|
| 174 |
-
"model_type": "qwen3_reranker",
|
| 175 |
-
"model_revision": null,
|
| 176 |
-
"task_type": "generative_reranker",
|
| 177 |
-
"torch_dtype": "bfloat16",
|
| 178 |
-
"attn_impl": "flash_attn",
|
| 179 |
-
"experts_impl": null,
|
| 180 |
-
"new_special_tokens": [],
|
| 181 |
-
"num_labels": null,
|
| 182 |
-
"problem_type": null,
|
| 183 |
-
"rope_scaling": null,
|
| 184 |
-
"device_map": null,
|
| 185 |
-
"max_memory": {},
|
| 186 |
-
"max_model_len": null,
|
| 187 |
-
"local_repo_path": null,
|
| 188 |
-
"init_strategy": null,
|
| 189 |
-
"template": "qwen3_reranker",
|
| 190 |
-
"system": null,
|
| 191 |
-
"max_length": 512,
|
| 192 |
-
"truncation_strategy": "delete",
|
| 193 |
-
"max_pixels": null,
|
| 194 |
-
"agent_template": null,
|
| 195 |
-
"norm_bbox": null,
|
| 196 |
-
"use_chat_template": true,
|
| 197 |
-
"padding_side": "right",
|
| 198 |
-
"padding_free": true,
|
| 199 |
-
"loss_scale": "default",
|
| 200 |
-
"sequence_parallel_size": 1,
|
| 201 |
-
"template_backend": "swift",
|
| 202 |
-
"response_prefix": null,
|
| 203 |
-
"enable_thinking": null,
|
| 204 |
-
"add_non_thinking_prefix": true,
|
| 205 |
-
"dataset": [
|
| 206 |
-
"data/rerank_swift/mm_saphn8fix_2ep_r1.jsonl"
|
| 207 |
-
],
|
| 208 |
-
"val_dataset": [],
|
| 209 |
-
"cached_dataset": [],
|
| 210 |
-
"cached_val_dataset": [],
|
| 211 |
-
"split_dataset_ratio": 0.0,
|
| 212 |
-
"dataset_num_proc": 1,
|
| 213 |
-
"load_from_cache_file": false,
|
| 214 |
-
"dataset_shuffle": true,
|
| 215 |
-
"val_dataset_shuffle": false,
|
| 216 |
-
"streaming": false,
|
| 217 |
-
"interleave_prob": null,
|
| 218 |
-
"stopping_strategy": "first_exhausted",
|
| 219 |
-
"shuffle_buffer_size": 1000,
|
| 220 |
-
"download_mode": "reuse_dataset_if_exists",
|
| 221 |
-
"columns": {},
|
| 222 |
-
"strict": false,
|
| 223 |
-
"disable_auto_column_mapping": false,
|
| 224 |
-
"model_name": null,
|
| 225 |
-
"model_author": null,
|
| 226 |
-
"custom_dataset_info": [],
|
| 227 |
-
"quant_method": null,
|
| 228 |
-
"quant_bits": null,
|
| 229 |
-
"hqq_axis": null,
|
| 230 |
-
"bnb_4bit_compute_dtype": "bfloat16",
|
| 231 |
-
"bnb_4bit_quant_type": "nf4",
|
| 232 |
-
"bnb_4bit_use_double_quant": true,
|
| 233 |
-
"bnb_4bit_quant_storage": null,
|
| 234 |
-
"max_new_tokens": 64,
|
| 235 |
-
"temperature": 0.0,
|
| 236 |
-
"top_k": null,
|
| 237 |
-
"top_p": null,
|
| 238 |
-
"repetition_penalty": null,
|
| 239 |
-
"num_beams": 1,
|
| 240 |
-
"stream": false,
|
| 241 |
-
"stop_words": [],
|
| 242 |
-
"logprobs": false,
|
| 243 |
-
"top_logprobs": null,
|
| 244 |
-
"structured_outputs_regex": null,
|
| 245 |
-
"adapters": [],
|
| 246 |
-
"external_plugins": [],
|
| 247 |
-
"custom_register_path": [],
|
| 248 |
-
"model_kwargs": {},
|
| 249 |
-
"enable_npu_model_patch": true,
|
| 250 |
-
"load_args": false,
|
| 251 |
-
"load_data_args": false,
|
| 252 |
-
"packing": false,
|
| 253 |
-
"packing_length": null,
|
| 254 |
-
"packing_num_proc": 1,
|
| 255 |
-
"lazy_tokenize": true,
|
| 256 |
-
"use_hf": true,
|
| 257 |
-
"ignore_args_error": false,
|
| 258 |
-
"use_swift_lora": false,
|
| 259 |
-
"freeze_parameters": [],
|
| 260 |
-
"freeze_parameters_regex": null,
|
| 261 |
-
"freeze_parameters_ratio": 0.0,
|
| 262 |
-
"trainable_parameters": [],
|
| 263 |
-
"trainable_parameters_regex": null,
|
| 264 |
-
"freeze_llm": false,
|
| 265 |
-
"freeze_vit": true,
|
| 266 |
-
"freeze_aligner": true,
|
| 267 |
-
"target_modules": [
|
| 268 |
-
"all-linear"
|
| 269 |
-
],
|
| 270 |
-
"target_regex": null,
|
| 271 |
-
"target_parameters": null,
|
| 272 |
-
"modules_to_save": [],
|
| 273 |
-
"lora_rank": 16,
|
| 274 |
-
"lora_alpha": 32,
|
| 275 |
-
"lora_dropout": 0.05,
|
| 276 |
-
"lora_bias": "none",
|
| 277 |
-
"lora_dtype": null,
|
| 278 |
-
"lorap_lr_ratio": null,
|
| 279 |
-
"use_rslora": false,
|
| 280 |
-
"use_dora": false,
|
| 281 |
-
"lora_ga_batch_size": 2,
|
| 282 |
-
"lora_ga_iters": 2,
|
| 283 |
-
"lora_ga_max_length": 1024,
|
| 284 |
-
"lora_ga_direction": "ArB2r",
|
| 285 |
-
"lora_ga_scale": "stable",
|
| 286 |
-
"lora_ga_stable_gamma": 16,
|
| 287 |
-
"init_weights": true,
|
| 288 |
-
"fourier_n_frequency": 2000,
|
| 289 |
-
"fourier_scaling": 300.0,
|
| 290 |
-
"boft_block_size": 4,
|
| 291 |
-
"boft_block_num": 0,
|
| 292 |
-
"boft_n_butterfly_factor": 1,
|
| 293 |
-
"boft_dropout": 0.0,
|
| 294 |
-
"vera_rank": 256,
|
| 295 |
-
"vera_projection_prng_key": 0,
|
| 296 |
-
"vera_dropout": 0.0,
|
| 297 |
-
"vera_d_initial": 0.1,
|
| 298 |
-
"adapter_act": "gelu",
|
| 299 |
-
"adapter_length": 128,
|
| 300 |
-
"adalora_target_r": 8,
|
| 301 |
-
"adalora_init_r": 12,
|
| 302 |
-
"adalora_tinit": 0,
|
| 303 |
-
"adalora_tfinal": 0,
|
| 304 |
-
"adalora_deltaT": 1,
|
| 305 |
-
"adalora_beta1": 0.85,
|
| 306 |
-
"adalora_beta2": 0.85,
|
| 307 |
-
"adalora_orth_reg_weight": 0.5,
|
| 308 |
-
"llamapro_num_new_blocks": 4,
|
| 309 |
-
"llamapro_num_groups": null,
|
| 310 |
-
"reft_layer_key": null,
|
| 311 |
-
"reft_layers": null,
|
| 312 |
-
"reft_rank": 4,
|
| 313 |
-
"reft_intervention_type": "LoreftIntervention",
|
| 314 |
-
"reft_args": null,
|
| 315 |
-
"swanlab_token": null,
|
| 316 |
-
"swanlab_project": "ms-swift",
|
| 317 |
-
"swanlab_workspace": null,
|
| 318 |
-
"swanlab_exp_name": null,
|
| 319 |
-
"swanlab_notification_method": null,
|
| 320 |
-
"swanlab_webhook_url": null,
|
| 321 |
-
"swanlab_secret": null,
|
| 322 |
-
"swanlab_sender_email": null,
|
| 323 |
-
"swanlab_receiver_email": null,
|
| 324 |
-
"swanlab_smtp_server": null,
|
| 325 |
-
"swanlab_smtp_port": null,
|
| 326 |
-
"swanlab_email_language": "zh",
|
| 327 |
-
"swanlab_mode": "cloud",
|
| 328 |
-
"add_version": true,
|
| 329 |
-
"create_checkpoint_symlink": false,
|
| 330 |
-
"zero_hpz_partition_size": null,
|
| 331 |
-
"deepspeed_autotp_size": null,
|
| 332 |
-
"swift_version": "4.2.0",
|
| 333 |
-
"ckpt_dir": null,
|
| 334 |
-
"rank": 0,
|
| 335 |
-
"global_world_size": 2,
|
| 336 |
-
"local_world_size": 2,
|
| 337 |
-
"model_suffix": "Qwen3-Reranker-0.6B",
|
| 338 |
-
"model_info": "ModelInfo(model_type='qwen3_reranker', model_dir='/nfs/turbo/umms-drjieliu/usr/yctao/HF_HOME/hub/models--Qwen--Qwen3-Reranker-0.6B/snapshots/e61197ed45024b0ed8a2d74b80b4d909f1255473', torch_dtype=torch.bfloat16, max_model_len=40960, quant_method=None, quant_bits=None, rope_scaling={'rope_theta': 1000000, 'rope_type': 'default'}, is_moe_model=False, is_multimodal=False, config=None, task_type='generative_reranker', num_labels=None)",
|
| 339 |
-
"model_meta": "ModelMeta(model_type='qwen3_reranker', model_groups=[ModelGroup(models=[Model(ms_model_id='Qwen/Qwen3-Reranker-0.6B', hf_model_id='Qwen/Qwen3-Reranker-0.6B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-Reranker-4B', hf_model_id='Qwen/Qwen3-Reranker-4B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-Reranker-8B', hf_model_id='Qwen/Qwen3-Reranker-8B', model_path=None, ms_revision=None, hf_revision=None)], template=None, ignore_patterns=None, requires=None, tags=[])], loader=<class 'swift.model.register.ModelLoader'>, template='qwen3_reranker', model_arch=None, mcore_model_type='gpt', architectures=['Qwen3ForCausalLM'], additional_saved_files=[], torch_dtype=None, is_multimodal=False, is_reward=False, task_type=None, ignore_patterns=None, requires=[], tags=[])",
|
| 340 |
-
"model_dir": "/nfs/turbo/umms-drjieliu/usr/yctao/HF_HOME/hub/models--Qwen--Qwen3-Reranker-0.6B/snapshots/e61197ed45024b0ed8a2d74b80b4d909f1255473",
|
| 341 |
-
"template_meta": "Qwen3MixedTemplateMeta(template_type='qwen3_reranker', 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.templates.qwen.Qwen3RerankerTemplate'>, system_prefix=['<|im_start|>system\\n{{SYSTEM}}<|im_end|>\\n'], default_system='Judge whether the Document meets the requirements based on the Query and the Instruct provided. Note that the answer can only be \"yes\" or \"no\".', auto_add_bos=False, stop_words=['<|endoftext|>'], agent_template='hermes', is_thinking=False, thinking_prefix='', non_thinking_prefix='<think>\\n\\n</think>\\n\\n', history_thinking_prefix='')",
|
| 342 |
-
"_val_dataset_exists": false,
|
| 343 |
-
"hub": "<class 'swift.hub.hub.HFHub'>",
|
| 344 |
-
"evaluation_strategy": "steps",
|
| 345 |
-
"training_args": "TrainingArguments(output_dir='/nfs/turbo/umms-drjieliu/usr/yctao/ANGEL/models/rerank/mm_saphn8fix_2ep_r1/v0-20260608-015924', per_device_train_batch_size=2, num_train_epochs=2.0, max_steps=-1, learning_rate=5e-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=2, 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=False, gradient_checkpointing_kwargs=None, 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=20, 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=['wandb'], run_name='mm_saphn8fix_2ep_r1_j27270824', project='huggingface', trackio_space_id=None, trackio_bucket_id=None, trackio_static_space_id=None, eval_strategy=<IntervalStrategy.NO: 'no'>, eval_steps=0.25, 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=0.25, save_on_each_node=False, save_total_limit=5, 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=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_static_graph=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=None, debug=[], skip_memory_metrics=True, do_train=False, do_eval=False, do_predict=False, resume_from_checkpoint=None, warmup_ratio=0.05, logging_dir='/nfs/turbo/umms-drjieliu/usr/yctao/ANGEL/models/rerank/mm_saphn8fix_2ep_r1/v0-20260608-015924/runs', local_rank=0, tuner_backend='peft', vit_gradient_checkpointing=False, 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=None, use_logits_to_keep=None, ds3_gather_for_generation=True, resume_only_model=False, optimizer=None, loss_type='pointwise_reranker', eval_metric='reranker', 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='lora', 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)"
|
| 346 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
reranker/ncbi/adapter_config.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
"alpha_pattern": {},
|
| 4 |
"arrow_config": null,
|
| 5 |
"auto_mapping": null,
|
| 6 |
-
"base_model_name_or_path": "
|
| 7 |
"bias": "none",
|
| 8 |
"corda_config": null,
|
| 9 |
"ensure_weight_tying": false,
|
|
|
|
| 3 |
"alpha_pattern": {},
|
| 4 |
"arrow_config": null,
|
| 5 |
"auto_mapping": null,
|
| 6 |
+
"base_model_name_or_path": "Qwen/Qwen3-Reranker-4B",
|
| 7 |
"bias": "none",
|
| 8 |
"corda_config": null,
|
| 9 |
"ensure_weight_tying": false,
|
reranker/ncbi/args.json
DELETED
|
@@ -1,346 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"output_dir": "/nfs/turbo/umms-drjieliu/usr/yctao/ANGEL/models/rerank/ncbi_saphn8fix_2ep_r1/v0-20260608-005251",
|
| 3 |
-
"per_device_train_batch_size": 2,
|
| 4 |
-
"num_train_epochs": 2.0,
|
| 5 |
-
"max_steps": -1,
|
| 6 |
-
"learning_rate": 5e-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": false,
|
| 27 |
-
"gradient_checkpointing_kwargs": null,
|
| 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": 20,
|
| 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 |
-
"wandb"
|
| 48 |
-
],
|
| 49 |
-
"run_name": "ncbi_saphn8fix_2ep_r1_j27270720",
|
| 50 |
-
"project": "huggingface",
|
| 51 |
-
"trackio_space_id": null,
|
| 52 |
-
"trackio_bucket_id": null,
|
| 53 |
-
"trackio_static_space_id": null,
|
| 54 |
-
"eval_strategy": "no",
|
| 55 |
-
"eval_steps": 0.25,
|
| 56 |
-
"eval_delay": 0,
|
| 57 |
-
"per_device_eval_batch_size": 1,
|
| 58 |
-
"prediction_loss_only": false,
|
| 59 |
-
"eval_on_start": false,
|
| 60 |
-
"eval_do_concat_batches": true,
|
| 61 |
-
"eval_use_gather_object": false,
|
| 62 |
-
"eval_accumulation_steps": null,
|
| 63 |
-
"include_for_metrics": [],
|
| 64 |
-
"batch_eval_metrics": false,
|
| 65 |
-
"save_only_model": false,
|
| 66 |
-
"save_strategy": "steps",
|
| 67 |
-
"save_steps": 0.25,
|
| 68 |
-
"save_on_each_node": false,
|
| 69 |
-
"save_total_limit": 5,
|
| 70 |
-
"enable_jit_checkpoint": false,
|
| 71 |
-
"push_to_hub": false,
|
| 72 |
-
"hub_token": null,
|
| 73 |
-
"hub_private_repo": null,
|
| 74 |
-
"hub_model_id": null,
|
| 75 |
-
"hub_strategy": "every_save",
|
| 76 |
-
"hub_always_push": false,
|
| 77 |
-
"hub_revision": null,
|
| 78 |
-
"load_best_model_at_end": false,
|
| 79 |
-
"metric_for_best_model": "loss",
|
| 80 |
-
"greater_is_better": false,
|
| 81 |
-
"ignore_data_skip": false,
|
| 82 |
-
"restore_callback_states_from_checkpoint": false,
|
| 83 |
-
"full_determinism": false,
|
| 84 |
-
"seed": 42,
|
| 85 |
-
"data_seed": 42,
|
| 86 |
-
"use_cpu": false,
|
| 87 |
-
"accelerator_config": {
|
| 88 |
-
"dispatch_batches": false
|
| 89 |
-
},
|
| 90 |
-
"parallelism_config": null,
|
| 91 |
-
"dataloader_drop_last": false,
|
| 92 |
-
"dataloader_num_workers": 4,
|
| 93 |
-
"dataloader_pin_memory": true,
|
| 94 |
-
"dataloader_persistent_workers": false,
|
| 95 |
-
"dataloader_prefetch_factor": null,
|
| 96 |
-
"remove_unused_columns": true,
|
| 97 |
-
"label_names": null,
|
| 98 |
-
"train_sampling_strategy": "random",
|
| 99 |
-
"length_column_name": "length",
|
| 100 |
-
"ddp_find_unused_parameters": null,
|
| 101 |
-
"ddp_bucket_cap_mb": null,
|
| 102 |
-
"ddp_broadcast_buffers": null,
|
| 103 |
-
"ddp_static_graph": null,
|
| 104 |
-
"ddp_backend": null,
|
| 105 |
-
"ddp_timeout": 18000000,
|
| 106 |
-
"fsdp": [],
|
| 107 |
-
"fsdp_config": null,
|
| 108 |
-
"deepspeed": null,
|
| 109 |
-
"debug": null,
|
| 110 |
-
"skip_memory_metrics": true,
|
| 111 |
-
"do_train": false,
|
| 112 |
-
"do_eval": false,
|
| 113 |
-
"do_predict": false,
|
| 114 |
-
"resume_from_checkpoint": null,
|
| 115 |
-
"warmup_ratio": 0.05,
|
| 116 |
-
"logging_dir": "/nfs/turbo/umms-drjieliu/usr/yctao/ANGEL/models/rerank/ncbi_saphn8fix_2ep_r1/v0-20260608-005251/runs",
|
| 117 |
-
"local_rank": 0,
|
| 118 |
-
"sortish_sampler": false,
|
| 119 |
-
"predict_with_generate": false,
|
| 120 |
-
"generation_max_length": null,
|
| 121 |
-
"generation_num_beams": null,
|
| 122 |
-
"generation_config": null,
|
| 123 |
-
"tuner_backend": "peft",
|
| 124 |
-
"vit_gradient_checkpointing": false,
|
| 125 |
-
"router_aux_loss_coef": 0.0,
|
| 126 |
-
"enable_dft_loss": false,
|
| 127 |
-
"enable_channel_loss": false,
|
| 128 |
-
"safe_serialization": true,
|
| 129 |
-
"max_shard_size": "5GB",
|
| 130 |
-
"check_model": true,
|
| 131 |
-
"acc_strategy": "token",
|
| 132 |
-
"train_dataloader_shuffle": true,
|
| 133 |
-
"group_by_length": false,
|
| 134 |
-
"max_epochs": null,
|
| 135 |
-
"aligner_lr": null,
|
| 136 |
-
"vit_lr": null,
|
| 137 |
-
"use_logits_to_keep": null,
|
| 138 |
-
"ds3_gather_for_generation": true,
|
| 139 |
-
"resume_only_model": false,
|
| 140 |
-
"optimizer": null,
|
| 141 |
-
"loss_type": "pointwise_reranker",
|
| 142 |
-
"eval_metric": "reranker",
|
| 143 |
-
"callbacks": [],
|
| 144 |
-
"early_stop_interval": null,
|
| 145 |
-
"eval_use_evalscope": false,
|
| 146 |
-
"eval_dataset": [],
|
| 147 |
-
"eval_dataset_args": null,
|
| 148 |
-
"eval_limit": null,
|
| 149 |
-
"eval_generation_config": null,
|
| 150 |
-
"extra_eval_args": null,
|
| 151 |
-
"tuner_type": "lora",
|
| 152 |
-
"use_galore": false,
|
| 153 |
-
"galore_target_modules": null,
|
| 154 |
-
"galore_rank": 128,
|
| 155 |
-
"galore_update_proj_gap": 50,
|
| 156 |
-
"galore_scale": 1.0,
|
| 157 |
-
"galore_proj_type": "std",
|
| 158 |
-
"galore_optim_per_parameter": false,
|
| 159 |
-
"galore_with_embedding": false,
|
| 160 |
-
"galore_quantization": false,
|
| 161 |
-
"galore_proj_quant": false,
|
| 162 |
-
"galore_proj_bits": 4,
|
| 163 |
-
"galore_proj_group_size": 256,
|
| 164 |
-
"galore_cos_threshold": 0.4,
|
| 165 |
-
"galore_gamma_proj": 2,
|
| 166 |
-
"galore_queue_size": 5,
|
| 167 |
-
"lisa_activated_layers": 0,
|
| 168 |
-
"lisa_step_interval": 20,
|
| 169 |
-
"use_flash_ckpt": false,
|
| 170 |
-
"use_ray": false,
|
| 171 |
-
"ray_exp_name": null,
|
| 172 |
-
"device_groups": null,
|
| 173 |
-
"model": "Qwen/Qwen3-Reranker-4B",
|
| 174 |
-
"model_type": "qwen3_reranker",
|
| 175 |
-
"model_revision": null,
|
| 176 |
-
"task_type": "generative_reranker",
|
| 177 |
-
"torch_dtype": "bfloat16",
|
| 178 |
-
"attn_impl": "flash_attn",
|
| 179 |
-
"experts_impl": null,
|
| 180 |
-
"new_special_tokens": [],
|
| 181 |
-
"num_labels": null,
|
| 182 |
-
"problem_type": null,
|
| 183 |
-
"rope_scaling": null,
|
| 184 |
-
"device_map": null,
|
| 185 |
-
"max_memory": {},
|
| 186 |
-
"max_model_len": null,
|
| 187 |
-
"local_repo_path": null,
|
| 188 |
-
"init_strategy": null,
|
| 189 |
-
"template": "qwen3_reranker",
|
| 190 |
-
"system": null,
|
| 191 |
-
"max_length": 512,
|
| 192 |
-
"truncation_strategy": "delete",
|
| 193 |
-
"max_pixels": null,
|
| 194 |
-
"agent_template": null,
|
| 195 |
-
"norm_bbox": null,
|
| 196 |
-
"use_chat_template": true,
|
| 197 |
-
"padding_side": "right",
|
| 198 |
-
"padding_free": true,
|
| 199 |
-
"loss_scale": "default",
|
| 200 |
-
"sequence_parallel_size": 1,
|
| 201 |
-
"template_backend": "swift",
|
| 202 |
-
"response_prefix": null,
|
| 203 |
-
"enable_thinking": null,
|
| 204 |
-
"add_non_thinking_prefix": true,
|
| 205 |
-
"dataset": [
|
| 206 |
-
"data/rerank_swift/ncbi_saphn8fix_2ep_r1.jsonl"
|
| 207 |
-
],
|
| 208 |
-
"val_dataset": [],
|
| 209 |
-
"cached_dataset": [],
|
| 210 |
-
"cached_val_dataset": [],
|
| 211 |
-
"split_dataset_ratio": 0.0,
|
| 212 |
-
"dataset_num_proc": 1,
|
| 213 |
-
"load_from_cache_file": false,
|
| 214 |
-
"dataset_shuffle": true,
|
| 215 |
-
"val_dataset_shuffle": false,
|
| 216 |
-
"streaming": false,
|
| 217 |
-
"interleave_prob": null,
|
| 218 |
-
"stopping_strategy": "first_exhausted",
|
| 219 |
-
"shuffle_buffer_size": 1000,
|
| 220 |
-
"download_mode": "reuse_dataset_if_exists",
|
| 221 |
-
"columns": {},
|
| 222 |
-
"strict": false,
|
| 223 |
-
"disable_auto_column_mapping": false,
|
| 224 |
-
"model_name": null,
|
| 225 |
-
"model_author": null,
|
| 226 |
-
"custom_dataset_info": [],
|
| 227 |
-
"quant_method": null,
|
| 228 |
-
"quant_bits": null,
|
| 229 |
-
"hqq_axis": null,
|
| 230 |
-
"bnb_4bit_compute_dtype": "bfloat16",
|
| 231 |
-
"bnb_4bit_quant_type": "nf4",
|
| 232 |
-
"bnb_4bit_use_double_quant": true,
|
| 233 |
-
"bnb_4bit_quant_storage": null,
|
| 234 |
-
"max_new_tokens": 64,
|
| 235 |
-
"temperature": 0.0,
|
| 236 |
-
"top_k": null,
|
| 237 |
-
"top_p": null,
|
| 238 |
-
"repetition_penalty": null,
|
| 239 |
-
"num_beams": 1,
|
| 240 |
-
"stream": false,
|
| 241 |
-
"stop_words": [],
|
| 242 |
-
"logprobs": false,
|
| 243 |
-
"top_logprobs": null,
|
| 244 |
-
"structured_outputs_regex": null,
|
| 245 |
-
"adapters": [],
|
| 246 |
-
"external_plugins": [],
|
| 247 |
-
"custom_register_path": [],
|
| 248 |
-
"model_kwargs": {},
|
| 249 |
-
"enable_npu_model_patch": true,
|
| 250 |
-
"load_args": false,
|
| 251 |
-
"load_data_args": false,
|
| 252 |
-
"packing": false,
|
| 253 |
-
"packing_length": null,
|
| 254 |
-
"packing_num_proc": 1,
|
| 255 |
-
"lazy_tokenize": true,
|
| 256 |
-
"use_hf": true,
|
| 257 |
-
"ignore_args_error": false,
|
| 258 |
-
"use_swift_lora": false,
|
| 259 |
-
"freeze_parameters": [],
|
| 260 |
-
"freeze_parameters_regex": null,
|
| 261 |
-
"freeze_parameters_ratio": 0.0,
|
| 262 |
-
"trainable_parameters": [],
|
| 263 |
-
"trainable_parameters_regex": null,
|
| 264 |
-
"freeze_llm": false,
|
| 265 |
-
"freeze_vit": true,
|
| 266 |
-
"freeze_aligner": true,
|
| 267 |
-
"target_modules": [
|
| 268 |
-
"all-linear"
|
| 269 |
-
],
|
| 270 |
-
"target_regex": null,
|
| 271 |
-
"target_parameters": null,
|
| 272 |
-
"modules_to_save": [],
|
| 273 |
-
"lora_rank": 16,
|
| 274 |
-
"lora_alpha": 32,
|
| 275 |
-
"lora_dropout": 0.05,
|
| 276 |
-
"lora_bias": "none",
|
| 277 |
-
"lora_dtype": null,
|
| 278 |
-
"lorap_lr_ratio": null,
|
| 279 |
-
"use_rslora": false,
|
| 280 |
-
"use_dora": false,
|
| 281 |
-
"lora_ga_batch_size": 2,
|
| 282 |
-
"lora_ga_iters": 2,
|
| 283 |
-
"lora_ga_max_length": 1024,
|
| 284 |
-
"lora_ga_direction": "ArB2r",
|
| 285 |
-
"lora_ga_scale": "stable",
|
| 286 |
-
"lora_ga_stable_gamma": 16,
|
| 287 |
-
"init_weights": true,
|
| 288 |
-
"fourier_n_frequency": 2000,
|
| 289 |
-
"fourier_scaling": 300.0,
|
| 290 |
-
"boft_block_size": 4,
|
| 291 |
-
"boft_block_num": 0,
|
| 292 |
-
"boft_n_butterfly_factor": 1,
|
| 293 |
-
"boft_dropout": 0.0,
|
| 294 |
-
"vera_rank": 256,
|
| 295 |
-
"vera_projection_prng_key": 0,
|
| 296 |
-
"vera_dropout": 0.0,
|
| 297 |
-
"vera_d_initial": 0.1,
|
| 298 |
-
"adapter_act": "gelu",
|
| 299 |
-
"adapter_length": 128,
|
| 300 |
-
"adalora_target_r": 8,
|
| 301 |
-
"adalora_init_r": 12,
|
| 302 |
-
"adalora_tinit": 0,
|
| 303 |
-
"adalora_tfinal": 0,
|
| 304 |
-
"adalora_deltaT": 1,
|
| 305 |
-
"adalora_beta1": 0.85,
|
| 306 |
-
"adalora_beta2": 0.85,
|
| 307 |
-
"adalora_orth_reg_weight": 0.5,
|
| 308 |
-
"llamapro_num_new_blocks": 4,
|
| 309 |
-
"llamapro_num_groups": null,
|
| 310 |
-
"reft_layer_key": null,
|
| 311 |
-
"reft_layers": null,
|
| 312 |
-
"reft_rank": 4,
|
| 313 |
-
"reft_intervention_type": "LoreftIntervention",
|
| 314 |
-
"reft_args": null,
|
| 315 |
-
"swanlab_token": null,
|
| 316 |
-
"swanlab_project": "ms-swift",
|
| 317 |
-
"swanlab_workspace": null,
|
| 318 |
-
"swanlab_exp_name": null,
|
| 319 |
-
"swanlab_notification_method": null,
|
| 320 |
-
"swanlab_webhook_url": null,
|
| 321 |
-
"swanlab_secret": null,
|
| 322 |
-
"swanlab_sender_email": null,
|
| 323 |
-
"swanlab_receiver_email": null,
|
| 324 |
-
"swanlab_smtp_server": null,
|
| 325 |
-
"swanlab_smtp_port": null,
|
| 326 |
-
"swanlab_email_language": "zh",
|
| 327 |
-
"swanlab_mode": "cloud",
|
| 328 |
-
"add_version": true,
|
| 329 |
-
"create_checkpoint_symlink": false,
|
| 330 |
-
"zero_hpz_partition_size": null,
|
| 331 |
-
"deepspeed_autotp_size": null,
|
| 332 |
-
"swift_version": "4.2.0",
|
| 333 |
-
"ckpt_dir": null,
|
| 334 |
-
"rank": 0,
|
| 335 |
-
"global_world_size": 1,
|
| 336 |
-
"local_world_size": 1,
|
| 337 |
-
"model_suffix": "Qwen3-Reranker-4B",
|
| 338 |
-
"model_info": "ModelInfo(model_type='qwen3_reranker', model_dir='/nfs/turbo/umms-drjieliu/usr/yctao/HF_HOME/hub/models--Qwen--Qwen3-Reranker-4B/snapshots/22e683669bc0f0bd69640a1354a6d0aebcfeede5', torch_dtype=torch.bfloat16, max_model_len=40960, quant_method=None, quant_bits=None, rope_scaling={'rope_theta': 1000000, 'rope_type': 'default'}, is_moe_model=False, is_multimodal=False, config=None, task_type='generative_reranker', num_labels=None)",
|
| 339 |
-
"model_meta": "ModelMeta(model_type='qwen3_reranker', model_groups=[ModelGroup(models=[Model(ms_model_id='Qwen/Qwen3-Reranker-0.6B', hf_model_id='Qwen/Qwen3-Reranker-0.6B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-Reranker-4B', hf_model_id='Qwen/Qwen3-Reranker-4B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-Reranker-8B', hf_model_id='Qwen/Qwen3-Reranker-8B', model_path=None, ms_revision=None, hf_revision=None)], template=None, ignore_patterns=None, requires=None, tags=[])], loader=<class 'swift.model.register.ModelLoader'>, template='qwen3_reranker', model_arch=None, mcore_model_type='gpt', architectures=['Qwen3ForCausalLM'], additional_saved_files=[], torch_dtype=None, is_multimodal=False, is_reward=False, task_type=None, ignore_patterns=None, requires=[], tags=[])",
|
| 340 |
-
"model_dir": "/nfs/turbo/umms-drjieliu/usr/yctao/HF_HOME/hub/models--Qwen--Qwen3-Reranker-4B/snapshots/22e683669bc0f0bd69640a1354a6d0aebcfeede5",
|
| 341 |
-
"template_meta": "Qwen3MixedTemplateMeta(template_type='qwen3_reranker', 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.templates.qwen.Qwen3RerankerTemplate'>, system_prefix=['<|im_start|>system\\n{{SYSTEM}}<|im_end|>\\n'], default_system='Judge whether the Document meets the requirements based on the Query and the Instruct provided. Note that the answer can only be \"yes\" or \"no\".', auto_add_bos=False, stop_words=['<|endoftext|>'], agent_template='hermes', is_thinking=False, thinking_prefix='', non_thinking_prefix='<think>\\n\\n</think>\\n\\n', history_thinking_prefix='')",
|
| 342 |
-
"_val_dataset_exists": false,
|
| 343 |
-
"hub": "<class 'swift.hub.hub.HFHub'>",
|
| 344 |
-
"evaluation_strategy": "steps",
|
| 345 |
-
"training_args": "TrainingArguments(output_dir='/nfs/turbo/umms-drjieliu/usr/yctao/ANGEL/models/rerank/ncbi_saphn8fix_2ep_r1/v0-20260608-005251', per_device_train_batch_size=2, num_train_epochs=2.0, max_steps=-1, learning_rate=5e-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=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=False, gradient_checkpointing_kwargs=None, 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=20, 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=['wandb'], run_name='ncbi_saphn8fix_2ep_r1_j27270720', project='huggingface', trackio_space_id=None, trackio_bucket_id=None, trackio_static_space_id=None, eval_strategy=<IntervalStrategy.NO: 'no'>, eval_steps=0.25, 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=0.25, save_on_each_node=False, save_total_limit=5, 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=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_static_graph=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=None, debug=[], skip_memory_metrics=True, do_train=False, do_eval=False, do_predict=False, resume_from_checkpoint=None, warmup_ratio=0.05, logging_dir='/nfs/turbo/umms-drjieliu/usr/yctao/ANGEL/models/rerank/ncbi_saphn8fix_2ep_r1/v0-20260608-005251/runs', local_rank=0, tuner_backend='peft', vit_gradient_checkpointing=False, 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=None, use_logits_to_keep=None, ds3_gather_for_generation=True, resume_only_model=False, optimizer=None, loss_type='pointwise_reranker', eval_metric='reranker', 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='lora', 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)"
|
| 346 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|