Upload folder using huggingface_hub
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .gitattributes +3 -0
- log/20250818-22:28:29.log +0 -0
- log/20250819-16:15:09.log +26 -0
- log/20250819-16:16:54.log +16 -0
- log/20250819-16:18:09.log +296 -0
- log/20250819-16:19:01.log +506 -0
- log/20250819-16:21:22.log +549 -0
- log/20250819-16:23:55.log +0 -0
- log/20250820-11:02:14.log +0 -0
- log/20250820-14:41:17.log +0 -0
- qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/args.json +381 -0
- qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/checkpoint-497/added_tokens.json +24 -0
- qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/checkpoint-497/args.json +381 -0
- qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/checkpoint-497/chat_template.jinja +54 -0
- qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/checkpoint-497/config.json +59 -0
- qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/checkpoint-497/generation_config.json +14 -0
- qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/checkpoint-497/latest +1 -0
- qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/checkpoint-497/merges.txt +0 -0
- qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/checkpoint-497/model-00001-of-00004.safetensors +3 -0
- qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/checkpoint-497/model-00002-of-00004.safetensors +3 -0
- qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/checkpoint-497/model-00003-of-00004.safetensors +3 -0
- qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/checkpoint-497/model-00004-of-00004.safetensors +3 -0
- qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/checkpoint-497/model.safetensors.index.json +347 -0
- qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/checkpoint-497/scheduler.pt +3 -0
- qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/checkpoint-497/special_tokens_map.json +31 -0
- qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/checkpoint-497/tokenizer.json +3 -0
- qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/checkpoint-497/tokenizer_config.json +207 -0
- qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/checkpoint-497/trainer_state.json +0 -0
- qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/checkpoint-497/training_args.bin +3 -0
- qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/checkpoint-497/vocab.json +0 -0
- qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/checkpoint-497/zero_to_fp32.py +760 -0
- qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/images/eval_loss.png +0 -0
- qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/images/eval_runtime.png +0 -0
- qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/images/eval_samples_per_second.png +0 -0
- qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/images/eval_steps_per_second.png +0 -0
- qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/images/eval_token_acc.png +0 -0
- qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/images/train_epoch.png +0 -0
- qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/images/train_grad_norm.png +0 -0
- qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/images/train_learning_rate.png +0 -0
- qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/images/train_loss.png +0 -0
- qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/images/train_token_acc.png +0 -0
- qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/images/train_total_flos.png +0 -0
- qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/images/train_train_loss.png +0 -0
- qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/images/train_train_runtime.png +0 -0
- qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/images/train_train_samples_per_second.png +0 -0
- qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/images/train_train_steps_per_second.png +0 -0
- qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/logging.jsonl +0 -0
- qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/runs/events.out.tfevents.1755659098.TENCENT64.site.2314195.0 +3 -0
- qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/val_dataset.jsonl +7 -0
- qwen2.5-7b-2225q-661q-1e_6-old-click-1ep/args.json +381 -0
.gitattributes
CHANGED
|
@@ -40,3 +40,6 @@ qwen2.5-7b-2000q-1500q-600q-1e_6-old-click-1ep/checkpoint-922/tokenizer.json fil
|
|
| 40 |
qwen2.5-7b-2000q-2000q-600q-1e_6-old-click-1ep/checkpoint-1047/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 41 |
qwen2.5-7b-2225q-1089q-1e_6-old-click-1ep/checkpoint-650/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 42 |
checkpoint-197/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
qwen2.5-7b-2000q-2000q-600q-1e_6-old-click-1ep/checkpoint-1047/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 41 |
qwen2.5-7b-2225q-1089q-1e_6-old-click-1ep/checkpoint-650/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 42 |
checkpoint-197/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/checkpoint-497/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
qwen2.5-7b-2225q-661q-1e_6-old-click-1ep/checkpoint-607/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
qwen2.5-7b-rft-661q-all-1e_6-old-click-1ep/checkpoint-243/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
log/20250818-22:28:29.log
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
log/20250819-16:15:09.log
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
run sh: `/data/miniforge/envs/ms-swift/bin/python3.10 -m torch.distributed.run --nproc_per_node 8 /group/40143/hongzhuyi/ms-swift/swift/cli/sft.py --torch_dtype bfloat16 --freeze_llm false --freeze_aligner false --model Qwen/Qwen2.5-7B-Instruct --train_type full --dataset rft_661q_7b_click_nourl_all_swift.jsonl rft_661q_7b_click_nourl_long_swift.jsonl --model_type qwen2_5 --dataset_num_proc 100 --dataloader_num_workers 48 --split_dataset_ratio 0.001 --warmup_ratio 0.05 --num_train_epochs 1 --per_device_train_batch_size 1 --learning_rate 1e-6 --gradient_accumulation_steps 2 --eval_steps 20 --save_strategy epoch --logging_steps 1 --deepspeed zero3 --max_length 16240 --output_dir ./output`
|
| 2 |
+
|
| 3 |
+
*****************************************
|
| 4 |
+
Setting OMP_NUM_THREADS environment variable for each process to be 1 in default, to avoid your system being overloaded, please further tune the variable for optimal performance in your application as needed.
|
| 5 |
+
*****************************************
|
| 6 |
+
[INFO:swift] Successfully registered `/group/40143/hongzhuyi/ms-swift/swift/llm/dataset/data/dataset_info.json`.
|
| 7 |
+
[INFO:swift] rank: 0, local_rank: 0, world_size: 8, local_world_size: 8
|
| 8 |
+
Downloading Model from https://www.modelscope.cn to directory: /usr/local/app/.cache/modelscope/hub/models/Qwen/Qwen2.5-7B-Instruct
|
| 9 |
+
Downloading Model from https://www.modelscope.cn to directory: /usr/local/app/.cache/modelscope/hub/models/Qwen/Qwen2.5-7B-Instruct
|
| 10 |
+
[2025-08-19 16:15:31,200] [INFO] [real_accelerator.py:254:get_accelerator] Setting ds_accelerator to cuda (auto detect)
|
| 11 |
+
[2025-08-19 16:15:32,547] [INFO] [logging.py:107:log_dist] [Rank -1] [TorchCheckpointEngine] Initialized with serialization = False
|
| 12 |
+
[2025-08-19 16:15:32,555] [INFO] [comm.py:821:init_distributed] cdb=None
|
| 13 |
+
[2025-08-19 16:15:34,980] [INFO] [real_accelerator.py:254:get_accelerator] Setting ds_accelerator to cuda (auto detect)
|
| 14 |
+
[2025-08-19 16:15:36,331] [INFO] [logging.py:107:log_dist] [Rank -1] [TorchCheckpointEngine] Initialized with serialization = False
|
| 15 |
+
[2025-08-19 16:15:36,340] [INFO] [comm.py:821:init_distributed] cdb=None
|
| 16 |
+
Downloading Model from https://www.modelscope.cn to directory: /usr/local/app/.cache/modelscope/hub/models/Qwen/Qwen2.5-7B-Instruct
|
| 17 |
+
[INFO:swift] Downloading the model from ModelScope Hub, model_id: Qwen/Qwen2.5-7B-Instruct
|
| 18 |
+
[2025-08-19 16:15:39,359] [INFO] [real_accelerator.py:254:get_accelerator] Setting ds_accelerator to cuda (auto detect)
|
| 19 |
+
[2025-08-19 16:15:40,759] [INFO] [logging.py:107:log_dist] [Rank -1] [TorchCheckpointEngine] Initialized with serialization = False
|
| 20 |
+
[2025-08-19 16:15:40,767] [INFO] [comm.py:821:init_distributed] cdb=None
|
| 21 |
+
Downloading Model from https://www.modelscope.cn to directory: /usr/local/app/.cache/modelscope/hub/models/Qwen/Qwen2.5-7B-Instruct
|
| 22 |
+
[INFO:modelscope] Target directory already exists, skipping creation.
|
| 23 |
+
[INFO:swift] Loading the model using model_dir: /usr/local/app/.cache/modelscope/hub/models/Qwen/Qwen2___5-7B-Instruct
|
| 24 |
+
[INFO:swift] Setting args.lazy_tokenize: False
|
| 25 |
+
[INFO:swift] Using deepspeed: {'fp16': {'enabled': 'auto', 'loss_scale': 0, 'loss_scale_window': 1000, 'initial_scale_power': 16, 'hysteresis': 2, 'min_loss_scale': 1}, 'bf16': {'enabled': 'auto'}, 'zero_optimization': {'stage': 3, 'offload_optimizer': {'device': 'none', 'pin_memory': True}, 'offload_param': {'device': 'none', 'pin_memory': True}, 'overlap_comm': False, 'contiguous_gradients': True, 'sub_group_size': 1000000000.0, 'reduce_bucket_size': 'auto', 'zero_quantized_weights': False, 'zero_quantized_gradients': False, 'stage3_prefetch_bucket_size': 'auto', 'stage3_param_persistence_threshold': 'auto', 'stage3_max_live_parameters': 1000000000.0, 'stage3_max_reuse_distance': 1000000000.0, 'stage3_gather_16bit_weights_on_model_save': True}, 'gradient_accumulation_steps': 'auto', 'gradient_clipping': 'auto', 'steps_per_print': 2000, 'train_batch_size': 'auto', 'train_micro_batch_size_per_gpu': 'auto', 'wall_clock_breakdown': False}
|
| 26 |
+
[2025-08-19 16:15:44,588] [INFO] [real_accelerator.py:254:get_accelerator] Setting ds_accelerator to cuda (auto detect)
|
log/20250819-16:16:54.log
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Traceback (most recent call last):
|
| 2 |
+
File "/data/miniforge/envs/ms-swift/bin/swift", line 3, in <module>
|
| 3 |
+
from swift.cli.main import cli_main
|
| 4 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/__init__.py", line 4, in <module>
|
| 5 |
+
from .utils.import_utils import _LazyModule
|
| 6 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/utils/__init__.py", line 3, in <module>
|
| 7 |
+
from .env import (get_dist_setting, get_hf_endpoint, get_node_setting, get_pai_tensorboard_dir, is_deepspeed_enabled,
|
| 8 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/utils/env.py", line 9, in <module>
|
| 9 |
+
from .logger import get_logger
|
| 10 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/utils/logger.py", line 123, in <module>
|
| 11 |
+
ms_logger.setLevel(log_level)
|
| 12 |
+
File "/data/miniforge/envs/ms-swift/lib/python3.10/logging/__init__.py", line 1452, in setLevel
|
| 13 |
+
self.level = _checkLevel(level)
|
| 14 |
+
File "/data/miniforge/envs/ms-swift/lib/python3.10/logging/__init__.py", line 198, in _checkLevel
|
| 15 |
+
raise ValueError("Unknown level: %r" % level)
|
| 16 |
+
ValueError: Unknown level: 'TRACE'
|
log/20250819-16:18:09.log
ADDED
|
@@ -0,0 +1,296 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
run sh: `/data/miniforge/envs/ms-swift/bin/python3.10 -m torch.distributed.run --nproc_per_node 8 /group/40143/hongzhuyi/ms-swift/swift/cli/sft.py --torch_dtype bfloat16 --freeze_llm false --freeze_aligner false --model /mnt/public/yhz/yutao/model/Qwen2.5-7B-Instruct --train_type full --dataset ./rft_661q_7b_click_nourl_long_swift ./corr_data_2225q_old_click_nourl_swift.jsonl --model_type qwen2_5 --dataset_num_proc 100 --dataloader_num_workers 48 --split_dataset_ratio 0.001 --warmup_ratio 0.05 --num_train_epochs 1 --per_device_train_batch_size 1 --learning_rate 1e-6 --gradient_accumulation_steps 2 --eval_steps 20 --save_strategy epoch --logging_steps 1 --deepspeed zero3 --max_length 16240 --output_dir ./output`
|
| 2 |
+
|
| 3 |
+
*****************************************
|
| 4 |
+
Setting OMP_NUM_THREADS environment variable for each process to be 1 in default, to avoid your system being overloaded, please further tune the variable for optimal performance in your application as needed.
|
| 5 |
+
*****************************************
|
| 6 |
+
[INFO:swift] Successfully registered `/group/40143/hongzhuyi/ms-swift/swift/llm/dataset/data/dataset_info.json`.
|
| 7 |
+
Traceback (most recent call last):
|
| 8 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/cli/sft.py", line 10, in <module>
|
| 9 |
+
sft_main()
|
| 10 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/train/sft.py", line 328, in sft_main
|
| 11 |
+
Traceback (most recent call last):
|
| 12 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/cli/sft.py", line 10, in <module>
|
| 13 |
+
sft_main()
|
| 14 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/train/sft.py", line 328, in sft_main
|
| 15 |
+
Traceback (most recent call last):
|
| 16 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/cli/sft.py", line 10, in <module>
|
| 17 |
+
sft_main()
|
| 18 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/train/sft.py", line 328, in sft_main
|
| 19 |
+
[INFO:swift] rank: 0, local_rank: 0, world_size: 8, local_world_size: 8
|
| 20 |
+
Traceback (most recent call last):
|
| 21 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/cli/sft.py", line 10, in <module>
|
| 22 |
+
sft_main()
|
| 23 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/train/sft.py", line 328, in sft_main
|
| 24 |
+
Traceback (most recent call last):
|
| 25 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/cli/sft.py", line 10, in <module>
|
| 26 |
+
sft_main()
|
| 27 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/train/sft.py", line 328, in sft_main
|
| 28 |
+
Traceback (most recent call last):
|
| 29 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/cli/sft.py", line 10, in <module>
|
| 30 |
+
sft_main()
|
| 31 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/train/sft.py", line 328, in sft_main
|
| 32 |
+
Traceback (most recent call last):
|
| 33 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/cli/sft.py", line 10, in <module>
|
| 34 |
+
sft_main()
|
| 35 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/train/sft.py", line 328, in sft_main
|
| 36 |
+
Traceback (most recent call last):
|
| 37 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/cli/sft.py", line 10, in <module>
|
| 38 |
+
sft_main()
|
| 39 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/train/sft.py", line 328, in sft_main
|
| 40 |
+
return SwiftSft(args).main()
|
| 41 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/train/sft.py", line 27, in __init__
|
| 42 |
+
return SwiftSft(args).main()
|
| 43 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/train/sft.py", line 27, in __init__
|
| 44 |
+
return SwiftSft(args).main()
|
| 45 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/train/sft.py", line 27, in __init__
|
| 46 |
+
return SwiftSft(args).main()
|
| 47 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/train/sft.py", line 27, in __init__
|
| 48 |
+
return SwiftSft(args).main()
|
| 49 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/train/sft.py", line 27, in __init__
|
| 50 |
+
return SwiftSft(args).main()
|
| 51 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/train/sft.py", line 27, in __init__
|
| 52 |
+
return SwiftSft(args).main()
|
| 53 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/train/sft.py", line 27, in __init__
|
| 54 |
+
return SwiftSft(args).main()
|
| 55 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/train/sft.py", line 27, in __init__
|
| 56 |
+
super().__init__(args)
|
| 57 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/base.py", line 19, in __init__
|
| 58 |
+
super().__init__(args)
|
| 59 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/base.py", line 19, in __init__
|
| 60 |
+
super().__init__(args)
|
| 61 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/base.py", line 19, in __init__
|
| 62 |
+
super().__init__(args)
|
| 63 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/base.py", line 19, in __init__
|
| 64 |
+
super().__init__(args)
|
| 65 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/base.py", line 19, in __init__
|
| 66 |
+
super().__init__(args)
|
| 67 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/base.py", line 19, in __init__
|
| 68 |
+
super().__init__(args)
|
| 69 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/base.py", line 19, in __init__
|
| 70 |
+
super().__init__(args)
|
| 71 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/base.py", line 19, in __init__
|
| 72 |
+
self.args = self._parse_args(args)
|
| 73 |
+
self.args = self._parse_args(args) File "/group/40143/hongzhuyi/ms-swift/swift/llm/base.py", line 31, in _parse_args
|
| 74 |
+
|
| 75 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/base.py", line 31, in _parse_args
|
| 76 |
+
self.args = self._parse_args(args)
|
| 77 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/base.py", line 31, in _parse_args
|
| 78 |
+
self.args = self._parse_args(args)
|
| 79 |
+
self.args = self._parse_args(args)
|
| 80 |
+
self.args = self._parse_args(args) File "/group/40143/hongzhuyi/ms-swift/swift/llm/base.py", line 31, in _parse_args
|
| 81 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/base.py", line 31, in _parse_args
|
| 82 |
+
|
| 83 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/base.py", line 31, in _parse_args
|
| 84 |
+
self.args = self._parse_args(args)
|
| 85 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/base.py", line 31, in _parse_args
|
| 86 |
+
self.args = self._parse_args(args)
|
| 87 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/base.py", line 31, in _parse_args
|
| 88 |
+
args, remaining_argv = parse_args(self.args_class, args)
|
| 89 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/utils/utils.py", line 152, in parse_args
|
| 90 |
+
args, remaining_argv = parse_args(self.args_class, args)
|
| 91 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/utils/utils.py", line 152, in parse_args
|
| 92 |
+
args, remaining_argv = parse_args(self.args_class, args)
|
| 93 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/utils/utils.py", line 152, in parse_args
|
| 94 |
+
args, remaining_argv = parse_args(self.args_class, args)
|
| 95 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/utils/utils.py", line 152, in parse_args
|
| 96 |
+
args, remaining_argv = parse_args(self.args_class, args)
|
| 97 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/utils/utils.py", line 152, in parse_args
|
| 98 |
+
args, remaining_argv = parse_args(self.args_class, args)
|
| 99 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/utils/utils.py", line 152, in parse_args
|
| 100 |
+
args, remaining_argv = parse_args(self.args_class, args)
|
| 101 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/utils/utils.py", line 152, in parse_args
|
| 102 |
+
args, remaining_argv = parse_args(self.args_class, args)
|
| 103 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/utils/utils.py", line 152, in parse_args
|
| 104 |
+
args, remaining_args = parser.parse_args_into_dataclasses(argv, return_remaining_strings=True)
|
| 105 |
+
File "/data/miniforge/envs/ms-swift/lib/python3.10/site-packages/transformers/hf_argparser.py", line 358, in parse_args_into_dataclasses
|
| 106 |
+
args, remaining_args = parser.parse_args_into_dataclasses(argv, return_remaining_strings=True)
|
| 107 |
+
File "/data/miniforge/envs/ms-swift/lib/python3.10/site-packages/transformers/hf_argparser.py", line 358, in parse_args_into_dataclasses
|
| 108 |
+
args, remaining_args = parser.parse_args_into_dataclasses(argv, return_remaining_strings=True)
|
| 109 |
+
File "/data/miniforge/envs/ms-swift/lib/python3.10/site-packages/transformers/hf_argparser.py", line 358, in parse_args_into_dataclasses
|
| 110 |
+
args, remaining_args = parser.parse_args_into_dataclasses(argv, return_remaining_strings=True)
|
| 111 |
+
File "/data/miniforge/envs/ms-swift/lib/python3.10/site-packages/transformers/hf_argparser.py", line 358, in parse_args_into_dataclasses
|
| 112 |
+
args, remaining_args = parser.parse_args_into_dataclasses(argv, return_remaining_strings=True)
|
| 113 |
+
File "/data/miniforge/envs/ms-swift/lib/python3.10/site-packages/transformers/hf_argparser.py", line 358, in parse_args_into_dataclasses
|
| 114 |
+
args, remaining_args = parser.parse_args_into_dataclasses(argv, return_remaining_strings=True)args, remaining_args = parser.parse_args_into_dataclasses(argv, return_remaining_strings=True)
|
| 115 |
+
|
| 116 |
+
File "/data/miniforge/envs/ms-swift/lib/python3.10/site-packages/transformers/hf_argparser.py", line 358, in parse_args_into_dataclasses
|
| 117 |
+
File "/data/miniforge/envs/ms-swift/lib/python3.10/site-packages/transformers/hf_argparser.py", line 358, in parse_args_into_dataclasses
|
| 118 |
+
args, remaining_args = parser.parse_args_into_dataclasses(argv, return_remaining_strings=True)
|
| 119 |
+
File "/data/miniforge/envs/ms-swift/lib/python3.10/site-packages/transformers/hf_argparser.py", line 358, in parse_args_into_dataclasses
|
| 120 |
+
obj = dtype(**inputs)
|
| 121 |
+
File "<string>", line 323, in __init__
|
| 122 |
+
obj = dtype(**inputs)
|
| 123 |
+
File "<string>", line 323, in __init__
|
| 124 |
+
obj = dtype(**inputs)
|
| 125 |
+
File "<string>", line 323, in __init__
|
| 126 |
+
obj = dtype(**inputs)
|
| 127 |
+
File "<string>", line 323, in __init__
|
| 128 |
+
obj = dtype(**inputs)
|
| 129 |
+
File "<string>", line 323, in __init__
|
| 130 |
+
obj = dtype(**inputs)
|
| 131 |
+
obj = dtype(**inputs)
|
| 132 |
+
File "<string>", line 323, in __init__
|
| 133 |
+
File "<string>", line 323, in __init__
|
| 134 |
+
obj = dtype(**inputs)
|
| 135 |
+
File "<string>", line 323, in __init__
|
| 136 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/train_args.py", line 171, in __post_init__
|
| 137 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/train_args.py", line 171, in __post_init__
|
| 138 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/train_args.py", line 171, in __post_init__
|
| 139 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/train_args.py", line 171, in __post_init__
|
| 140 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/train_args.py", line 171, in __post_init__
|
| 141 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/train_args.py", line 171, in __post_init__
|
| 142 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/train_args.py", line 171, in __post_init__
|
| 143 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/train_args.py", line 171, in __post_init__
|
| 144 |
+
BaseArguments.__post_init__(self)
|
| 145 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/base_args.py", line 171, in __post_init__
|
| 146 |
+
BaseArguments.__post_init__(self)
|
| 147 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/base_args.py", line 171, in __post_init__
|
| 148 |
+
BaseArguments.__post_init__(self)
|
| 149 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/base_args.py", line 171, in __post_init__
|
| 150 |
+
BaseArguments.__post_init__(self)
|
| 151 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/base_args.py", line 171, in __post_init__
|
| 152 |
+
BaseArguments.__post_init__(self)
|
| 153 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/base_args.py", line 171, in __post_init__
|
| 154 |
+
BaseArguments.__post_init__(self)
|
| 155 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/base_args.py", line 171, in __post_init__
|
| 156 |
+
BaseArguments.__post_init__(self)
|
| 157 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/base_args.py", line 171, in __post_init__
|
| 158 |
+
BaseArguments.__post_init__(self)
|
| 159 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/base_args.py", line 171, in __post_init__
|
| 160 |
+
ModelArguments.__post_init__(self)ModelArguments.__post_init__(self)
|
| 161 |
+
|
| 162 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/model_args.py", line 176, in __post_init__
|
| 163 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/model_args.py", line 176, in __post_init__
|
| 164 |
+
ModelArguments.__post_init__(self)
|
| 165 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/model_args.py", line 176, in __post_init__
|
| 166 |
+
ModelArguments.__post_init__(self)
|
| 167 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/model_args.py", line 176, in __post_init__
|
| 168 |
+
ModelArguments.__post_init__(self)
|
| 169 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/model_args.py", line 176, in __post_init__
|
| 170 |
+
ModelArguments.__post_init__(self)
|
| 171 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/model_args.py", line 176, in __post_init__
|
| 172 |
+
ModelArguments.__post_init__(self)
|
| 173 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/model_args.py", line 176, in __post_init__
|
| 174 |
+
ModelArguments.__post_init__(self)
|
| 175 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/model_args.py", line 176, in __post_init__
|
| 176 |
+
self._init_torch_dtype()
|
| 177 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/model_args.py", line 90, in _init_torch_dtype
|
| 178 |
+
self._init_torch_dtype()
|
| 179 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/model_args.py", line 90, in _init_torch_dtype
|
| 180 |
+
self._init_torch_dtype()
|
| 181 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/model_args.py", line 90, in _init_torch_dtype
|
| 182 |
+
self._init_torch_dtype()
|
| 183 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/model_args.py", line 90, in _init_torch_dtype
|
| 184 |
+
self._init_torch_dtype()
|
| 185 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/model_args.py", line 90, in _init_torch_dtype
|
| 186 |
+
self._init_torch_dtype()
|
| 187 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/model_args.py", line 90, in _init_torch_dtype
|
| 188 |
+
self._init_torch_dtype()
|
| 189 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/model_args.py", line 90, in _init_torch_dtype
|
| 190 |
+
self._init_torch_dtype()
|
| 191 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/model_args.py", line 90, in _init_torch_dtype
|
| 192 |
+
self.torch_dtype: torch.dtype = self._init_model_info()
|
| 193 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/model_args.py", line 145, in _init_model_info
|
| 194 |
+
self.torch_dtype: torch.dtype = self._init_model_info()
|
| 195 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/model_args.py", line 145, in _init_model_info
|
| 196 |
+
self.torch_dtype: torch.dtype = self._init_model_info()
|
| 197 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/model_args.py", line 145, in _init_model_info
|
| 198 |
+
self.torch_dtype: torch.dtype = self._init_model_info()
|
| 199 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/model_args.py", line 145, in _init_model_info
|
| 200 |
+
self.torch_dtype: torch.dtype = self._init_model_info()self.torch_dtype: torch.dtype = self._init_model_info()
|
| 201 |
+
|
| 202 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/model_args.py", line 145, in _init_model_info
|
| 203 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/model_args.py", line 145, in _init_model_info
|
| 204 |
+
self.torch_dtype: torch.dtype = self._init_model_info()
|
| 205 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/model_args.py", line 145, in _init_model_info
|
| 206 |
+
self.torch_dtype: torch.dtype = self._init_model_info()
|
| 207 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/model_args.py", line 145, in _init_model_info
|
| 208 |
+
self.model_info, self.model_meta = get_model_info_meta(**self.get_model_kwargs())
|
| 209 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/model/register.py", line 533, in get_model_info_meta
|
| 210 |
+
self.model_info, self.model_meta = get_model_info_meta(**self.get_model_kwargs())
|
| 211 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/model/register.py", line 533, in get_model_info_meta
|
| 212 |
+
self.model_info, self.model_meta = get_model_info_meta(**self.get_model_kwargs())self.model_info, self.model_meta = get_model_info_meta(**self.get_model_kwargs())
|
| 213 |
+
|
| 214 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/model/register.py", line 533, in get_model_info_meta
|
| 215 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/model/register.py", line 533, in get_model_info_meta
|
| 216 |
+
self.model_info, self.model_meta = get_model_info_meta(**self.get_model_kwargs())
|
| 217 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/model/register.py", line 533, in get_model_info_meta
|
| 218 |
+
self.model_info, self.model_meta = get_model_info_meta(**self.get_model_kwargs())
|
| 219 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/model/register.py", line 533, in get_model_info_meta
|
| 220 |
+
self.model_info, self.model_meta = get_model_info_meta(**self.get_model_kwargs())
|
| 221 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/model/register.py", line 533, in get_model_info_meta
|
| 222 |
+
self.model_info, self.model_meta = get_model_info_meta(**self.get_model_kwargs())
|
| 223 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/model/register.py", line 533, in get_model_info_meta
|
| 224 |
+
model_dir = safe_snapshot_download( model_dir = safe_snapshot_download(
|
| 225 |
+
model_dir = safe_snapshot_download(model_dir = safe_snapshot_download(
|
| 226 |
+
|
| 227 |
+
|
| 228 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/model/utils.py", line 295, in safe_snapshot_download
|
| 229 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/model/utils.py", line 295, in safe_snapshot_download
|
| 230 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/model/utils.py", line 295, in safe_snapshot_download
|
| 231 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/model/utils.py", line 295, in safe_snapshot_download
|
| 232 |
+
model_dir = safe_snapshot_download(
|
| 233 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/model/utils.py", line 295, in safe_snapshot_download
|
| 234 |
+
model_dir = safe_snapshot_download(
|
| 235 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/model/utils.py", line 295, in safe_snapshot_download
|
| 236 |
+
model_dir = safe_snapshot_download(
|
| 237 |
+
model_dir = safe_snapshot_download(
|
| 238 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/model/utils.py", line 295, in safe_snapshot_download
|
| 239 |
+
File "/group/40143/hongzhuyi/ms-swift/swift/llm/model/utils.py", line 295, in safe_snapshot_download
|
| 240 |
+
raise ValueError(f"path: '{model_id_or_path}' not found")
|
| 241 |
+
ValueError: path: '/mnt/public/yhz/yutao/model/Qwen2.5-7B-Instruct' not found
|
| 242 |
+
raise ValueError(f"path: '{model_id_or_path}' not found")raise ValueError(f"path: '{model_id_or_path}' not found")
|
| 243 |
+
|
| 244 |
+
ValueErrorValueError: : path: '/mnt/public/yhz/yutao/model/Qwen2.5-7B-Instruct' not foundpath: '/mnt/public/yhz/yutao/model/Qwen2.5-7B-Instruct' not foundraise ValueError(f"path: '{model_id_or_path}' not found")
|
| 245 |
+
|
| 246 |
+
|
| 247 |
+
ValueError: path: '/mnt/public/yhz/yutao/model/Qwen2.5-7B-Instruct' not found
|
| 248 |
+
raise ValueError(f"path: '{model_id_or_path}' not found")
|
| 249 |
+
ValueError: path: '/mnt/public/yhz/yutao/model/Qwen2.5-7B-Instruct' not found
|
| 250 |
+
raise ValueError(f"path: '{model_id_or_path}' not found")
|
| 251 |
+
ValueError : path: '/mnt/public/yhz/yutao/model/Qwen2.5-7B-Instruct' not foundraise ValueError(f"path: '{model_id_or_path}' not found")
|
| 252 |
+
|
| 253 |
+
ValueError: path: '/mnt/public/yhz/yutao/model/Qwen2.5-7B-Instruct' not found
|
| 254 |
+
raise ValueError(f"path: '{model_id_or_path}' not found")
|
| 255 |
+
ValueError: path: '/mnt/public/yhz/yutao/model/Qwen2.5-7B-Instruct' not found
|
| 256 |
+
W0819 16:18:17.761000 2094221 site-packages/torch/distributed/elastic/multiprocessing/api.py:900] Sending process 2094299 closing signal SIGTERM
|
| 257 |
+
W0819 16:18:17.762000 2094221 site-packages/torch/distributed/elastic/multiprocessing/api.py:900] Sending process 2094300 closing signal SIGTERM
|
| 258 |
+
W0819 16:18:17.762000 2094221 site-packages/torch/distributed/elastic/multiprocessing/api.py:900] Sending process 2094301 closing signal SIGTERM
|
| 259 |
+
W0819 16:18:17.763000 2094221 site-packages/torch/distributed/elastic/multiprocessing/api.py:900] Sending process 2094302 closing signal SIGTERM
|
| 260 |
+
W0819 16:18:17.763000 2094221 site-packages/torch/distributed/elastic/multiprocessing/api.py:900] Sending process 2094303 closing signal SIGTERM
|
| 261 |
+
W0819 16:18:17.763000 2094221 site-packages/torch/distributed/elastic/multiprocessing/api.py:900] Sending process 2094304 closing signal SIGTERM
|
| 262 |
+
W0819 16:18:17.763000 2094221 site-packages/torch/distributed/elastic/multiprocessing/api.py:900] Sending process 2094306 closing signal SIGTERM
|
| 263 |
+
E0819 16:18:17.829000 2094221 site-packages/torch/distributed/elastic/multiprocessing/api.py:874] failed (exitcode: 1) local_rank: 6 (pid: 2094305) of binary: /data/miniforge/envs/ms-swift/bin/python3.10
|
| 264 |
+
Traceback (most recent call last):
|
| 265 |
+
File "/data/miniforge/envs/ms-swift/lib/python3.10/runpy.py", line 196, in _run_module_as_main
|
| 266 |
+
return _run_code(code, main_globals, None,
|
| 267 |
+
File "/data/miniforge/envs/ms-swift/lib/python3.10/runpy.py", line 86, in _run_code
|
| 268 |
+
exec(code, run_globals)
|
| 269 |
+
File "/data/miniforge/envs/ms-swift/lib/python3.10/site-packages/torch/distributed/run.py", line 905, in <module>
|
| 270 |
+
main()
|
| 271 |
+
File "/data/miniforge/envs/ms-swift/lib/python3.10/site-packages/torch/distributed/elastic/multiprocessing/errors/__init__.py", line 357, in wrapper
|
| 272 |
+
return f(*args, **kwargs)
|
| 273 |
+
File "/data/miniforge/envs/ms-swift/lib/python3.10/site-packages/torch/distributed/run.py", line 901, in main
|
| 274 |
+
run(args)
|
| 275 |
+
File "/data/miniforge/envs/ms-swift/lib/python3.10/site-packages/torch/distributed/run.py", line 892, in run
|
| 276 |
+
elastic_launch(
|
| 277 |
+
File "/data/miniforge/envs/ms-swift/lib/python3.10/site-packages/torch/distributed/launcher/api.py", line 143, in __call__
|
| 278 |
+
return launch_agent(self._config, self._entrypoint, list(args))
|
| 279 |
+
File "/data/miniforge/envs/ms-swift/lib/python3.10/site-packages/torch/distributed/launcher/api.py", line 277, in launch_agent
|
| 280 |
+
raise ChildFailedError(
|
| 281 |
+
torch.distributed.elastic.multiprocessing.errors.ChildFailedError:
|
| 282 |
+
============================================================
|
| 283 |
+
/group/40143/hongzhuyi/ms-swift/swift/cli/sft.py FAILED
|
| 284 |
+
------------------------------------------------------------
|
| 285 |
+
Failures:
|
| 286 |
+
<NO_OTHER_FAILURES>
|
| 287 |
+
------------------------------------------------------------
|
| 288 |
+
Root Cause (first observed failure):
|
| 289 |
+
[0]:
|
| 290 |
+
time : 2025-08-19_16:18:17
|
| 291 |
+
host : TENCENT64.site
|
| 292 |
+
rank : 6 (local_rank: 6)
|
| 293 |
+
exitcode : 1 (pid: 2094305)
|
| 294 |
+
error_file: <N/A>
|
| 295 |
+
traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
|
| 296 |
+
============================================================
|
log/20250819-16:19:01.log
ADDED
|
@@ -0,0 +1,506 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
run sh: `/data/miniforge/envs/ms-swift/bin/python3.10 -m torch.distributed.run --nproc_per_node 8 /group/40143/hongzhuyi/ms-swift/swift/cli/sft.py --torch_dtype bfloat16 --freeze_llm false --freeze_aligner false --model Qwen/Qwen2.5-7B-Instruct --train_type full --dataset ./rft_661q_7b_click_nourl_long_swift ./corr_data_2225q_old_click_nourl_swift.jsonl --model_type qwen2_5 --dataset_num_proc 100 --dataloader_num_workers 48 --split_dataset_ratio 0.001 --warmup_ratio 0.05 --num_train_epochs 1 --per_device_train_batch_size 1 --learning_rate 1e-6 --gradient_accumulation_steps 2 --eval_steps 20 --save_strategy epoch --logging_steps 1 --deepspeed zero3 --max_length 16240 --output_dir ./output`
|
| 2 |
+
|
| 3 |
+
*****************************************
|
| 4 |
+
Setting OMP_NUM_THREADS environment variable for each process to be 1 in default, to avoid your system being overloaded, please further tune the variable for optimal performance in your application as needed.
|
| 5 |
+
*****************************************
|
| 6 |
+
[INFO:swift] Successfully registered `/group/40143/hongzhuyi/ms-swift/swift/llm/dataset/data/dataset_info.json`.
|
| 7 |
+
[INFO:swift] rank: 0, local_rank: 0, world_size: 8, local_world_size: 8
|
| 8 |
+
Downloading Model from https://www.modelscope.cn to directory: /usr/local/app/.cache/modelscope/hub/models/Qwen/Qwen2.5-7B-Instruct
|
| 9 |
+
Downloading Model from https://www.modelscope.cn to directory: /usr/local/app/.cache/modelscope/hub/models/Qwen/Qwen2.5-7B-Instruct
|
| 10 |
+
[2025-08-19 16:19:16,373] [INFO] [real_accelerator.py:254:get_accelerator] Setting ds_accelerator to cuda (auto detect)
|
| 11 |
+
[INFO:swift] Downloading the model from ModelScope Hub, model_id: Qwen/Qwen2.5-7B-Instruct
|
| 12 |
+
[2025-08-19 16:19:18,036] [INFO] [logging.py:107:log_dist] [Rank -1] [TorchCheckpointEngine] Initialized with serialization = False
|
| 13 |
+
[2025-08-19 16:19:18,046] [INFO] [comm.py:821:init_distributed] cdb=None
|
| 14 |
+
[2025-08-19 16:19:18,418] [INFO] [real_accelerator.py:254:get_accelerator] Setting ds_accelerator to cuda (auto detect)
|
| 15 |
+
Downloading Model from https://www.modelscope.cn to directory: /usr/local/app/.cache/modelscope/hub/models/Qwen/Qwen2.5-7B-Instruct
|
| 16 |
+
[2025-08-19 16:19:19,859] [INFO] [logging.py:107:log_dist] [Rank -1] [TorchCheckpointEngine] Initialized with serialization = False
|
| 17 |
+
[2025-08-19 16:19:19,868] [INFO] [comm.py:821:init_distributed] cdb=None
|
| 18 |
+
[INFO:modelscope] Target directory already exists, skipping creation.
|
| 19 |
+
[INFO:swift] Loading the model using model_dir: /usr/local/app/.cache/modelscope/hub/models/Qwen/Qwen2___5-7B-Instruct
|
| 20 |
+
[INFO:swift] Setting args.lazy_tokenize: False
|
| 21 |
+
[INFO:swift] Using deepspeed: {'fp16': {'enabled': 'auto', 'loss_scale': 0, 'loss_scale_window': 1000, 'initial_scale_power': 16, 'hysteresis': 2, 'min_loss_scale': 1}, 'bf16': {'enabled': 'auto'}, 'zero_optimization': {'stage': 3, 'offload_optimizer': {'device': 'none', 'pin_memory': True}, 'offload_param': {'device': 'none', 'pin_memory': True}, 'overlap_comm': False, 'contiguous_gradients': True, 'sub_group_size': 1000000000.0, 'reduce_bucket_size': 'auto', 'zero_quantized_weights': False, 'zero_quantized_gradients': False, 'stage3_prefetch_bucket_size': 'auto', 'stage3_param_persistence_threshold': 'auto', 'stage3_max_live_parameters': 1000000000.0, 'stage3_max_reuse_distance': 1000000000.0, 'stage3_gather_16bit_weights_on_model_save': True}, 'gradient_accumulation_steps': 'auto', 'gradient_clipping': 'auto', 'steps_per_print': 2000, 'train_batch_size': 'auto', 'train_micro_batch_size_per_gpu': 'auto', 'wall_clock_breakdown': False}
|
| 22 |
+
[2025-08-19 16:19:22,266] [INFO] [real_accelerator.py:254:get_accelerator] Setting ds_accelerator to cuda (auto detect)
|
| 23 |
+
Downloading Model from https://www.modelscope.cn to directory: /usr/local/app/.cache/modelscope/hub/models/Qwen/Qwen2.5-7B-Instruct
|
| 24 |
+
[2025-08-19 16:19:23,811] [INFO] [logging.py:107:log_dist] [Rank -1] [TorchCheckpointEngine] Initialized with serialization = False
|
| 25 |
+
[2025-08-19 16:19:23,820] [INFO] [comm.py:821:init_distributed] cdb=None
|
| 26 |
+
[2025-08-19 16:19:23,820] [INFO] [comm.py:852:init_distributed] Initializing TorchBackend in DeepSpeed with backend nccl
|
| 27 |
+
[2025-08-19 16:19:26,112] [INFO] [real_accelerator.py:254:get_accelerator] Setting ds_accelerator to cuda (auto detect)
|
| 28 |
+
Downloading Model from https://www.modelscope.cn to directory: /usr/local/app/.cache/modelscope/hub/models/Qwen/Qwen2.5-7B-Instruct
|
| 29 |
+
[2025-08-19 16:19:27,569] [INFO] [logging.py:107:log_dist] [Rank -1] [TorchCheckpointEngine] Initialized with serialization = False
|
| 30 |
+
[2025-08-19 16:19:27,579] [INFO] [comm.py:821:init_distributed] cdb=None
|
| 31 |
+
[2025-08-19 16:19:29,771] [INFO] [real_accelerator.py:254:get_accelerator] Setting ds_accelerator to cuda (auto detect)
|
| 32 |
+
[2025-08-19 16:19:31,543] [INFO] [logging.py:107:log_dist] [Rank -1] [TorchCheckpointEngine] Initialized with serialization = False
|
| 33 |
+
[2025-08-19 16:19:31,553] [INFO] [comm.py:821:init_distributed] cdb=None
|
| 34 |
+
Downloading Model from https://www.modelscope.cn to directory: /usr/local/app/.cache/modelscope/hub/models/Qwen/Qwen2.5-7B-Instruct
|
| 35 |
+
[2025-08-19 16:19:34,907] [INFO] [real_accelerator.py:254:get_accelerator] Setting ds_accelerator to cuda (auto detect)
|
| 36 |
+
[2025-08-19 16:19:36,507] [INFO] [logging.py:107:log_dist] [Rank -1] [TorchCheckpointEngine] Initialized with serialization = False
|
| 37 |
+
[2025-08-19 16:19:36,517] [INFO] [comm.py:821:init_distributed] cdb=None
|
| 38 |
+
Downloading Model from https://www.modelscope.cn to directory: /usr/local/app/.cache/modelscope/hub/models/Qwen/Qwen2.5-7B-Instruct
|
| 39 |
+
[2025-08-19 16:19:39,171] [INFO] [real_accelerator.py:254:get_accelerator] Setting ds_accelerator to cuda (auto detect)
|
| 40 |
+
[2025-08-19 16:19:40,799] [INFO] [logging.py:107:log_dist] [Rank -1] [TorchCheckpointEngine] Initialized with serialization = False
|
| 41 |
+
[2025-08-19 16:19:40,808] [INFO] [comm.py:821:init_distributed] cdb=None
|
| 42 |
+
Downloading Model from https://www.modelscope.cn to directory: /usr/local/app/.cache/modelscope/hub/models/Qwen/Qwen2.5-7B-Instruct
|
| 43 |
+
[2025-08-19 16:19:43,894] [INFO] [real_accelerator.py:254:get_accelerator] Setting ds_accelerator to cuda (auto detect)
|
| 44 |
+
[2025-08-19 16:19:45,485] [INFO] [logging.py:107:log_dist] [Rank -1] [TorchCheckpointEngine] Initialized with serialization = False
|
| 45 |
+
[2025-08-19 16:19:45,494] [INFO] [comm.py:821:init_distributed] cdb=None
|
| 46 |
+
[INFO:swift] output_dir: /group/40143/hongzhuyi/ms-swift/output/v0-20250819-161947
|
| 47 |
+
[INFO:swift] Global seed set to 42
|
| 48 |
+
[INFO:swift] args: TrainArguments(
|
| 49 |
+
_n_gpu=-1,
|
| 50 |
+
acc_strategy=token,
|
| 51 |
+
accelerator_config={'dispatch_batches': False},
|
| 52 |
+
adafactor=False,
|
| 53 |
+
adalora_beta1=0.85,
|
| 54 |
+
adalora_beta2=0.85,
|
| 55 |
+
adalora_deltaT=1,
|
| 56 |
+
adalora_init_r=12,
|
| 57 |
+
adalora_orth_reg_weight=0.5,
|
| 58 |
+
adalora_target_r=8,
|
| 59 |
+
adalora_tfinal=0,
|
| 60 |
+
adalora_tinit=0,
|
| 61 |
+
adam_beta1=0.9,
|
| 62 |
+
adam_beta2=0.95,
|
| 63 |
+
adam_epsilon=1e-08,
|
| 64 |
+
adapter_act=gelu,
|
| 65 |
+
adapter_length=128,
|
| 66 |
+
adapters=[],
|
| 67 |
+
add_version=True,
|
| 68 |
+
agent_template=None,
|
| 69 |
+
aligner_lr=None,
|
| 70 |
+
attn_impl=None,
|
| 71 |
+
auto_find_batch_size=False,
|
| 72 |
+
average_tokens_across_devices=True,
|
| 73 |
+
batch_eval_metrics=False,
|
| 74 |
+
bf16=True,
|
| 75 |
+
bf16_full_eval=False,
|
| 76 |
+
bnb_4bit_compute_dtype=torch.bfloat16,
|
| 77 |
+
bnb_4bit_quant_storage=None,
|
| 78 |
+
bnb_4bit_quant_type=nf4,
|
| 79 |
+
bnb_4bit_use_double_quant=True,
|
| 80 |
+
boft_block_num=0,
|
| 81 |
+
boft_block_size=4,
|
| 82 |
+
boft_dropout=0.0,
|
| 83 |
+
boft_n_butterfly_factor=1,
|
| 84 |
+
cached_dataset=[],
|
| 85 |
+
channels=None,
|
| 86 |
+
check_model=True,
|
| 87 |
+
ckpt_dir=None,
|
| 88 |
+
columns={},
|
| 89 |
+
create_checkpoint_symlink=False,
|
| 90 |
+
custom_dataset_info=[],
|
| 91 |
+
custom_register_path=[],
|
| 92 |
+
data_seed=42,
|
| 93 |
+
dataloader_drop_last=False,
|
| 94 |
+
dataloader_num_workers=48,
|
| 95 |
+
dataloader_persistent_workers=False,
|
| 96 |
+
dataloader_pin_memory=True,
|
| 97 |
+
dataloader_prefetch_factor=None,
|
| 98 |
+
dataset=['./rft_661q_7b_click_nourl_long_swift', './corr_data_2225q_old_click_nourl_swift.jsonl'],
|
| 99 |
+
dataset_num_proc=100,
|
| 100 |
+
dataset_shuffle=True,
|
| 101 |
+
ddp_backend=None,
|
| 102 |
+
ddp_broadcast_buffers=None,
|
| 103 |
+
ddp_bucket_cap_mb=None,
|
| 104 |
+
ddp_find_unused_parameters=None,
|
| 105 |
+
ddp_timeout=18000000,
|
| 106 |
+
debug=None,
|
| 107 |
+
deepspeed={'fp16': {'enabled': 'auto', 'loss_scale': 0, 'loss_scale_window': 1000, 'initial_scale_power': 16, 'hysteresis': 2, 'min_loss_scale': 1}, 'bf16': {'enabled': 'auto'}, 'zero_optimization': {'stage': 3, 'offload_optimizer': {'device': 'none', 'pin_memory': True}, 'offload_param': {'device': 'none', 'pin_memory': True}, 'overlap_comm': False, 'contiguous_gradients': True, 'sub_group_size': 1000000000.0, 'reduce_bucket_size': 'auto', 'zero_quantized_weights': False, 'zero_quantized_gradients': False, 'stage3_prefetch_bucket_size': 'auto', 'stage3_param_persistence_threshold': 'auto', 'stage3_max_live_parameters': 1000000000.0, 'stage3_max_reuse_distance': 1000000000.0, 'stage3_gather_16bit_weights_on_model_save': True}, 'gradient_accumulation_steps': 'auto', 'gradient_clipping': 'auto', 'steps_per_print': 2000, 'train_batch_size': 'auto', 'train_micro_batch_size_per_gpu': 'auto', 'wall_clock_breakdown': False},
|
| 108 |
+
deepspeed_autotp_size=None,
|
| 109 |
+
device_map=None,
|
| 110 |
+
disable_tqdm=None,
|
| 111 |
+
do_eval=False,
|
| 112 |
+
do_predict=False,
|
| 113 |
+
do_train=False,
|
| 114 |
+
download_mode=reuse_dataset_if_exists,
|
| 115 |
+
ds3_gather_for_generation=True,
|
| 116 |
+
early_stop_interval=None,
|
| 117 |
+
enable_dft_loss=False,
|
| 118 |
+
eval_accumulation_steps=None,
|
| 119 |
+
eval_dataset=[],
|
| 120 |
+
eval_dataset_args=None,
|
| 121 |
+
eval_delay=0,
|
| 122 |
+
eval_do_concat_batches=True,
|
| 123 |
+
eval_generation_config=None,
|
| 124 |
+
eval_limit=None,
|
| 125 |
+
eval_on_start=False,
|
| 126 |
+
eval_steps=20.0,
|
| 127 |
+
eval_strategy=epoch,
|
| 128 |
+
eval_use_evalscope=False,
|
| 129 |
+
eval_use_gather_object=False,
|
| 130 |
+
external_plugins=[],
|
| 131 |
+
extra_eval_args=None,
|
| 132 |
+
fourier_n_frequency=2000,
|
| 133 |
+
fourier_scaling=300.0,
|
| 134 |
+
fp16=False,
|
| 135 |
+
fp16_backend=auto,
|
| 136 |
+
fp16_full_eval=False,
|
| 137 |
+
fp16_opt_level=O1,
|
| 138 |
+
freeze_aligner=False,
|
| 139 |
+
freeze_llm=False,
|
| 140 |
+
freeze_parameters=[],
|
| 141 |
+
freeze_parameters_ratio=0.0,
|
| 142 |
+
freeze_parameters_regex=None,
|
| 143 |
+
freeze_vit=True,
|
| 144 |
+
fsdp=,
|
| 145 |
+
fsdp_config=None,
|
| 146 |
+
fsdp_min_num_params=0,
|
| 147 |
+
fsdp_transformer_layer_cls_to_wrap=None,
|
| 148 |
+
full_determinism=False,
|
| 149 |
+
galore_cos_threshold=0.4,
|
| 150 |
+
galore_gamma_proj=2,
|
| 151 |
+
galore_optim_per_parameter=False,
|
| 152 |
+
galore_proj_bits=4,
|
| 153 |
+
galore_proj_group_size=256,
|
| 154 |
+
galore_proj_quant=False,
|
| 155 |
+
galore_proj_type=std,
|
| 156 |
+
galore_quantization=False,
|
| 157 |
+
galore_queue_size=5,
|
| 158 |
+
galore_rank=128,
|
| 159 |
+
galore_scale=1.0,
|
| 160 |
+
galore_target_modules=None,
|
| 161 |
+
galore_update_proj_gap=50,
|
| 162 |
+
galore_with_embedding=False,
|
| 163 |
+
generation_config=None,
|
| 164 |
+
generation_max_length=None,
|
| 165 |
+
generation_num_beams=None,
|
| 166 |
+
gradient_accumulation_steps=2,
|
| 167 |
+
gradient_checkpointing=True,
|
| 168 |
+
gradient_checkpointing_kwargs=None,
|
| 169 |
+
greater_is_better=False,
|
| 170 |
+
group_by_length=False,
|
| 171 |
+
half_precision_backend=auto,
|
| 172 |
+
hqq_axis=None,
|
| 173 |
+
hub_always_push=False,
|
| 174 |
+
hub_model_id=None,
|
| 175 |
+
hub_private_repo=None,
|
| 176 |
+
hub_revision=None,
|
| 177 |
+
hub_strategy=every_save,
|
| 178 |
+
hub_token=<HUB_TOKEN>,
|
| 179 |
+
ignore_args_error=False,
|
| 180 |
+
ignore_data_skip=False,
|
| 181 |
+
include_for_metrics=[],
|
| 182 |
+
include_inputs_for_metrics=False,
|
| 183 |
+
include_num_input_tokens_seen=False,
|
| 184 |
+
include_tokens_per_second=False,
|
| 185 |
+
init_strategy=None,
|
| 186 |
+
init_weights=True,
|
| 187 |
+
interleave_prob=None,
|
| 188 |
+
jit_mode_eval=False,
|
| 189 |
+
label_names=None,
|
| 190 |
+
label_smoothing_factor=0.0,
|
| 191 |
+
lazy_tokenize=False,
|
| 192 |
+
learning_rate=1e-06,
|
| 193 |
+
length_column_name=length,
|
| 194 |
+
liger_kernel_config=None,
|
| 195 |
+
lisa_activated_layers=0,
|
| 196 |
+
lisa_step_interval=20,
|
| 197 |
+
llamapro_num_groups=None,
|
| 198 |
+
llamapro_num_new_blocks=4,
|
| 199 |
+
load_args=False,
|
| 200 |
+
load_best_model_at_end=False,
|
| 201 |
+
load_data_args=False,
|
| 202 |
+
load_from_cache_file=True,
|
| 203 |
+
local_rank=0,
|
| 204 |
+
local_repo_path=None,
|
| 205 |
+
log_level=passive,
|
| 206 |
+
log_level_replica=warning,
|
| 207 |
+
log_on_each_node=True,
|
| 208 |
+
logging_dir=/group/40143/hongzhuyi/ms-swift/output/v0-20250819-161947/runs,
|
| 209 |
+
logging_first_step=True,
|
| 210 |
+
logging_nan_inf_filter=True,
|
| 211 |
+
logging_steps=1,
|
| 212 |
+
logging_strategy=steps,
|
| 213 |
+
logprobs=False,
|
| 214 |
+
lora_alpha=32,
|
| 215 |
+
lora_bias=none,
|
| 216 |
+
lora_dropout=0.05,
|
| 217 |
+
lora_dtype=None,
|
| 218 |
+
lora_ga_batch_size=2,
|
| 219 |
+
lora_ga_direction=ArB2r,
|
| 220 |
+
lora_ga_iters=2,
|
| 221 |
+
lora_ga_max_length=1024,
|
| 222 |
+
lora_ga_scale=stable,
|
| 223 |
+
lora_ga_stable_gamma=16,
|
| 224 |
+
lora_modules=[],
|
| 225 |
+
lora_rank=8,
|
| 226 |
+
lorap_lr_ratio=None,
|
| 227 |
+
loss_scale=default,
|
| 228 |
+
loss_type=None,
|
| 229 |
+
lr_scheduler_kwargs=None,
|
| 230 |
+
lr_scheduler_type=cosine,
|
| 231 |
+
max_epochs=None,
|
| 232 |
+
max_grad_norm=1.0,
|
| 233 |
+
max_length=16240,
|
| 234 |
+
max_memory={},
|
| 235 |
+
max_model_len=None,
|
| 236 |
+
max_new_tokens=64,
|
| 237 |
+
max_pixels=None,
|
| 238 |
+
max_steps=-1,
|
| 239 |
+
metric=None,
|
| 240 |
+
metric_for_best_model=loss,
|
| 241 |
+
model=Qwen/Qwen2.5-7B-Instruct,
|
| 242 |
+
model_author=None,
|
| 243 |
+
model_kwargs={},
|
| 244 |
+
model_name=None,
|
| 245 |
+
model_revision=None,
|
| 246 |
+
model_type=qwen2_5,
|
| 247 |
+
modules_to_save=[],
|
| 248 |
+
mp_parameters=,
|
| 249 |
+
neftune_noise_alpha=None,
|
| 250 |
+
new_special_tokens=[],
|
| 251 |
+
no_cuda=False,
|
| 252 |
+
norm_bbox=None,
|
| 253 |
+
num_beams=1,
|
| 254 |
+
num_labels=None,
|
| 255 |
+
num_train_epochs=1.0,
|
| 256 |
+
optim=adamw_torch_fused,
|
| 257 |
+
optim_args=None,
|
| 258 |
+
optim_target_modules=None,
|
| 259 |
+
optimizer=None,
|
| 260 |
+
output_dir=/group/40143/hongzhuyi/ms-swift/output/v0-20250819-161947,
|
| 261 |
+
overwrite_output_dir=False,
|
| 262 |
+
packing=False,
|
| 263 |
+
packing_length=None,
|
| 264 |
+
padding_free=False,
|
| 265 |
+
padding_side=right,
|
| 266 |
+
past_index=-1,
|
| 267 |
+
per_device_eval_batch_size=1,
|
| 268 |
+
per_device_train_batch_size=1,
|
| 269 |
+
predict_with_generate=False,
|
| 270 |
+
prediction_loss_only=False,
|
| 271 |
+
problem_type=None,
|
| 272 |
+
push_to_hub=False,
|
| 273 |
+
push_to_hub_model_id=None,
|
| 274 |
+
push_to_hub_organization=None,
|
| 275 |
+
push_to_hub_token=<PUSH_TO_HUB_TOKEN>,
|
| 276 |
+
quant_bits=None,
|
| 277 |
+
quant_method=None,
|
| 278 |
+
ray_scope=last,
|
| 279 |
+
reft_args=None,
|
| 280 |
+
reft_intervention_type=LoreftIntervention,
|
| 281 |
+
reft_layer_key=None,
|
| 282 |
+
reft_layers=None,
|
| 283 |
+
reft_rank=4,
|
| 284 |
+
remove_unused_columns=True,
|
| 285 |
+
repetition_penalty=None,
|
| 286 |
+
report_to=['tensorboard'],
|
| 287 |
+
response_prefix=None,
|
| 288 |
+
restore_callback_states_from_checkpoint=False,
|
| 289 |
+
resume_from_checkpoint=None,
|
| 290 |
+
resume_only_model=False,
|
| 291 |
+
rope_scaling=None,
|
| 292 |
+
router_aux_loss_coef=0.0,
|
| 293 |
+
run_name=/group/40143/hongzhuyi/ms-swift/output/v0-20250819-161947,
|
| 294 |
+
save_on_each_node=False,
|
| 295 |
+
save_only_model=False,
|
| 296 |
+
save_safetensors=True,
|
| 297 |
+
save_steps=500,
|
| 298 |
+
save_strategy=epoch,
|
| 299 |
+
save_total_limit=None,
|
| 300 |
+
seed=42,
|
| 301 |
+
sequence_parallel_size=1,
|
| 302 |
+
shuffle_buffer_size=1000,
|
| 303 |
+
skip_memory_metrics=True,
|
| 304 |
+
sortish_sampler=False,
|
| 305 |
+
split_dataset_ratio=0.001,
|
| 306 |
+
stop_words=[],
|
| 307 |
+
stopping_strategy=first_exhausted,
|
| 308 |
+
stream=False,
|
| 309 |
+
streaming=False,
|
| 310 |
+
strict=False,
|
| 311 |
+
swanlab_exp_name=None,
|
| 312 |
+
swanlab_lark_secret=None,
|
| 313 |
+
swanlab_lark_webhook_url=None,
|
| 314 |
+
swanlab_mode=cloud,
|
| 315 |
+
swanlab_project=None,
|
| 316 |
+
swanlab_token=<SWANLAB_TOKEN>,
|
| 317 |
+
swanlab_workspace=None,
|
| 318 |
+
system=None,
|
| 319 |
+
target_modules=['all-linear'],
|
| 320 |
+
target_regex=None,
|
| 321 |
+
task_type=causal_lm,
|
| 322 |
+
temperature=0.0,
|
| 323 |
+
template=qwen2_5,
|
| 324 |
+
template_backend=swift,
|
| 325 |
+
tf32=None,
|
| 326 |
+
top_k=None,
|
| 327 |
+
top_logprobs=None,
|
| 328 |
+
top_p=None,
|
| 329 |
+
torch_compile=False,
|
| 330 |
+
torch_compile_backend=None,
|
| 331 |
+
torch_compile_mode=None,
|
| 332 |
+
torch_dtype=torch.bfloat16,
|
| 333 |
+
torch_empty_cache_steps=None,
|
| 334 |
+
torchdynamo=None,
|
| 335 |
+
tpu_metrics_debug=False,
|
| 336 |
+
tpu_num_cores=None,
|
| 337 |
+
train_dataloader_shuffle=True,
|
| 338 |
+
train_type=full,
|
| 339 |
+
trainable_parameters=[],
|
| 340 |
+
trainable_parameters_regex=None,
|
| 341 |
+
truncation_strategy=delete,
|
| 342 |
+
tuner_backend=peft,
|
| 343 |
+
use_chat_template=True,
|
| 344 |
+
use_cpu=False,
|
| 345 |
+
use_dora=False,
|
| 346 |
+
use_flash_ckpt=False,
|
| 347 |
+
use_galore=False,
|
| 348 |
+
use_hf=False,
|
| 349 |
+
use_ipex=False,
|
| 350 |
+
use_legacy_prediction_loop=False,
|
| 351 |
+
use_liger_kernel=False,
|
| 352 |
+
use_logits_to_keep=None,
|
| 353 |
+
use_mps_device=False,
|
| 354 |
+
use_rslora=False,
|
| 355 |
+
use_swift_lora=False,
|
| 356 |
+
val_dataset=[],
|
| 357 |
+
val_dataset_shuffle=False,
|
| 358 |
+
vera_d_initial=0.1,
|
| 359 |
+
vera_dropout=0.0,
|
| 360 |
+
vera_projection_prng_key=0,
|
| 361 |
+
vera_rank=256,
|
| 362 |
+
vit_gradient_checkpointing=None,
|
| 363 |
+
vit_lr=None,
|
| 364 |
+
warmup_ratio=0.05,
|
| 365 |
+
warmup_steps=0,
|
| 366 |
+
weight_decay=0.1,
|
| 367 |
+
zero_hpz_partition_size=None,
|
| 368 |
+
)
|
| 369 |
+
Downloading Model from https://www.modelscope.cn to directory: /usr/local/app/.cache/modelscope/hub/models/Qwen/Qwen2.5-7B-Instruct
|
| 370 |
+
[2025-08-19 16:19:54,034] [INFO] [config.py:684:__init__] Config mesh_device None world_size = 8
|
| 371 |
+
Downloading Model from https://www.modelscope.cn to directory: /usr/local/app/.cache/modelscope/hub/models/Qwen/Qwen2.5-7B-Instruct
|
| 372 |
+
[2025-08-19 16:19:58,871] [INFO] [config.py:684:__init__] Config mesh_device None world_size = 8
|
| 373 |
+
Downloading Model from https://www.modelscope.cn to directory: /usr/local/app/.cache/modelscope/hub/models/Qwen/Qwen2.5-7B-Instruct
|
| 374 |
+
[INFO:swift] Downloading the model from ModelScope Hub, model_id: Qwen/Qwen2.5-7B-Instruct
|
| 375 |
+
[2025-08-19 16:20:02,684] [INFO] [config.py:684:__init__] Config mesh_device None world_size = 8
|
| 376 |
+
Downloading Model from https://www.modelscope.cn to directory: /usr/local/app/.cache/modelscope/hub/models/Qwen/Qwen2.5-7B-Instruct
|
| 377 |
+
[INFO:modelscope] Target directory already exists, skipping creation.
|
| 378 |
+
[INFO:swift] Loading the model using model_dir: /usr/local/app/.cache/modelscope/hub/models/Qwen/Qwen2___5-7B-Instruct
|
| 379 |
+
[INFO:swift] model_kwargs: {'device_map': None}
|
| 380 |
+
[2025-08-19 16:20:06,543] [INFO] [config.py:684:__init__] Config mesh_device None world_size = 8
|
| 381 |
+
Downloading Model from https://www.modelscope.cn to directory: /usr/local/app/.cache/modelscope/hub/models/Qwen/Qwen2.5-7B-Instruct
|
| 382 |
+
[2025-08-19 16:20:11,667] [INFO] [config.py:684:__init__] Config mesh_device None world_size = 8
|
| 383 |
+
Downloading Model from https://www.modelscope.cn to directory: /usr/local/app/.cache/modelscope/hub/models/Qwen/Qwen2.5-7B-Instruct
|
| 384 |
+
[2025-08-19 16:20:15,643] [INFO] [config.py:684:__init__] Config mesh_device None world_size = 8
|
| 385 |
+
Downloading Model from https://www.modelscope.cn to directory: /usr/local/app/.cache/modelscope/hub/models/Qwen/Qwen2.5-7B-Instruct
|
| 386 |
+
[2025-08-19 16:20:19,121] [INFO] [config.py:684:__init__] Config mesh_device None world_size = 8
|
| 387 |
+
Downloading Model from https://www.modelscope.cn to directory: /usr/local/app/.cache/modelscope/hub/models/Qwen/Qwen2.5-7B-Instruct
|
| 388 |
+
[2025-08-19 16:20:22,900] [INFO] [config.py:684:__init__] Config mesh_device None world_size = 8
|
| 389 |
+
[2025-08-19 16:20:23,038] [INFO] [partition_parameters.py:366:__exit__] finished initializing model - num_params = 339, num_elems = 7.62B
|
| 390 |
+
|
| 391 |
+
|
| 392 |
+
|
| 393 |
+
|
| 394 |
+
|
| 395 |
+
|
| 396 |
+
|
| 397 |
+
|
| 398 |
+
[INFO:swift] model_info: ModelInfo(model_type='qwen2_5', model_dir='/usr/local/app/.cache/modelscope/hub/models/Qwen/Qwen2___5-7B-Instruct', torch_dtype=torch.bfloat16, max_model_len=32768, quant_method=None, quant_bits=None, rope_scaling=None, is_moe_model=False, config=Qwen2Config {
|
| 399 |
+
"architectures": [
|
| 400 |
+
"Qwen2ForCausalLM"
|
| 401 |
+
],
|
| 402 |
+
"attention_dropout": 0.0,
|
| 403 |
+
"bos_token_id": 151643,
|
| 404 |
+
"eos_token_id": 151645,
|
| 405 |
+
"hidden_act": "silu",
|
| 406 |
+
"hidden_size": 3584,
|
| 407 |
+
"initializer_range": 0.02,
|
| 408 |
+
"intermediate_size": 18944,
|
| 409 |
+
"layer_types": [
|
| 410 |
+
"full_attention",
|
| 411 |
+
"full_attention",
|
| 412 |
+
"full_attention",
|
| 413 |
+
"full_attention",
|
| 414 |
+
"full_attention",
|
| 415 |
+
"full_attention",
|
| 416 |
+
"full_attention",
|
| 417 |
+
"full_attention",
|
| 418 |
+
"full_attention",
|
| 419 |
+
"full_attention",
|
| 420 |
+
"full_attention",
|
| 421 |
+
"full_attention",
|
| 422 |
+
"full_attention",
|
| 423 |
+
"full_attention",
|
| 424 |
+
"full_attention",
|
| 425 |
+
"full_attention",
|
| 426 |
+
"full_attention",
|
| 427 |
+
"full_attention",
|
| 428 |
+
"full_attention",
|
| 429 |
+
"full_attention",
|
| 430 |
+
"full_attention",
|
| 431 |
+
"full_attention",
|
| 432 |
+
"full_attention",
|
| 433 |
+
"full_attention",
|
| 434 |
+
"full_attention",
|
| 435 |
+
"full_attention",
|
| 436 |
+
"full_attention",
|
| 437 |
+
"full_attention"
|
| 438 |
+
],
|
| 439 |
+
"max_position_embeddings": 32768,
|
| 440 |
+
"max_window_layers": 28,
|
| 441 |
+
"model_type": "qwen2",
|
| 442 |
+
"num_attention_heads": 28,
|
| 443 |
+
"num_hidden_layers": 28,
|
| 444 |
+
"num_key_value_heads": 4,
|
| 445 |
+
"pad_token_id": 151643,
|
| 446 |
+
"rms_norm_eps": 1e-06,
|
| 447 |
+
"rope_scaling": null,
|
| 448 |
+
"rope_theta": 1000000.0,
|
| 449 |
+
"sliding_window": null,
|
| 450 |
+
"tie_word_embeddings": false,
|
| 451 |
+
"torch_dtype": "bfloat16",
|
| 452 |
+
"transformers_version": "4.55.2",
|
| 453 |
+
"use_cache": true,
|
| 454 |
+
"use_sliding_window": false,
|
| 455 |
+
"vocab_size": 152064
|
| 456 |
+
}
|
| 457 |
+
, task_type='causal_lm', num_labels=None)
|
| 458 |
+
[INFO:swift] model.generation_config: GenerationConfig {
|
| 459 |
+
"bos_token_id": 151643,
|
| 460 |
+
"eos_token_id": [
|
| 461 |
+
151645,
|
| 462 |
+
151643
|
| 463 |
+
],
|
| 464 |
+
"max_new_tokens": 64,
|
| 465 |
+
"pad_token_id": 151643,
|
| 466 |
+
"repetition_penalty": 1.05
|
| 467 |
+
}
|
| 468 |
+
|
| 469 |
+
[INFO:swift] default_system: 'You are Qwen, created by Alibaba Cloud. You are a helpful assistant.'
|
| 470 |
+
[INFO:swift] max_length: 16240
|
| 471 |
+
[INFO:swift] response_prefix: ''
|
| 472 |
+
[INFO:swift] agent_template: hermes
|
| 473 |
+
[INFO:swift] Start time of running main: 2025-08-19 16:20:26.206375
|
| 474 |
+
[INFO:swift] swift.__version__: 3.8.0.dev0
|
| 475 |
+
[INFO:swift] Downloading the dataset from ModelScope, dataset_id: ./rft_661q_7b_click_nourl_long_swift
|
| 476 |
+
[ERROR:swift] Dataset ./rft_661q_7b_click_nourl_long_swift load failed: subset_name=default,split=train with error: Failed to check existence of repo: dataset, make sure you have access authorization.
|
| 477 |
+
[ERROR:swift] Dataset ./rft_661q_7b_click_nourl_long_swift load failed: subset_name=default,split=train with error: Failed to check existence of repo: dataset, make sure you have access authorization.
|
| 478 |
+
[rank0]: Traceback (most recent call last):
|
| 479 |
+
[rank0]: File "/group/40143/hongzhuyi/ms-swift/swift/cli/sft.py", line 10, in <module>
|
| 480 |
+
[rank0]: sft_main()
|
| 481 |
+
[rank0]: File "/group/40143/hongzhuyi/ms-swift/swift/llm/train/sft.py", line 328, in sft_main
|
| 482 |
+
[rank0]: return SwiftSft(args).main()
|
| 483 |
+
[rank0]: File "/group/40143/hongzhuyi/ms-swift/swift/llm/base.py", line 49, in main
|
| 484 |
+
[rank0]: result = self.run()
|
| 485 |
+
[rank0]: File "/group/40143/hongzhuyi/ms-swift/swift/llm/train/sft.py", line 158, in run
|
| 486 |
+
[rank0]: train_dataset, val_dataset = self._prepare_dataset()
|
| 487 |
+
[rank0]: File "/group/40143/hongzhuyi/ms-swift/swift/llm/train/sft.py", line 117, in _prepare_dataset
|
| 488 |
+
[rank0]: train_dataset, val_dataset = self._get_dataset()
|
| 489 |
+
[rank0]: File "/group/40143/hongzhuyi/ms-swift/swift/llm/train/sft.py", line 71, in _get_dataset
|
| 490 |
+
[rank0]: train_dataset, val_dataset = load_dataset(
|
| 491 |
+
[rank0]: File "/group/40143/hongzhuyi/ms-swift/swift/llm/dataset/loader.py", line 533, in load_dataset
|
| 492 |
+
[rank0]: train_dataset = load_function(dataset_syntax, dataset_meta, **load_kwargs, use_hf=use_hf)
|
| 493 |
+
[rank0]: File "/group/40143/hongzhuyi/ms-swift/swift/llm/dataset/loader.py", line 408, in load
|
| 494 |
+
[rank0]: dataset = DatasetLoader._load_repo_dataset(
|
| 495 |
+
[rank0]: File "/group/40143/hongzhuyi/ms-swift/swift/llm/dataset/loader.py", line 266, in _load_repo_dataset
|
| 496 |
+
[rank0]: dataset = hub.load_dataset(
|
| 497 |
+
[rank0]: File "/group/40143/hongzhuyi/ms-swift/swift/hub/hub.py", line 296, in load_dataset
|
| 498 |
+
[rank0]: return MsDataset.load(
|
| 499 |
+
[rank0]: File "/data/miniforge/envs/ms-swift/lib/python3.10/site-packages/modelscope/msdatasets/ms_dataset.py", line 297, in load
|
| 500 |
+
[rank0]: endpoint = _api.get_endpoint_for_read(
|
| 501 |
+
[rank0]: File "/data/miniforge/envs/ms-swift/lib/python3.10/site-packages/modelscope/hub/api.py", line 384, in get_endpoint_for_read
|
| 502 |
+
[rank0]: if not self.repo_exists(
|
| 503 |
+
[rank0]: File "/data/miniforge/envs/ms-swift/lib/python3.10/site-packages/modelscope/hub/api.py", line 458, in repo_exists
|
| 504 |
+
[rank0]: raise Exception(
|
| 505 |
+
[rank0]: Exception: Failed to check existence of repo: dataset, make sure you have access authorization.
|
| 506 |
+
[rank0]:[W819 16:20:32.003939144 ProcessGroupNCCL.cpp:1538] Warning: WARNING: destroy_process_group() was not called before program exit, which can leak resources. For more info, please see https://pytorch.org/docs/stable/distributed.html#shutdown (function operator())
|
log/20250819-16:21:22.log
ADDED
|
@@ -0,0 +1,549 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
run sh: `/data/miniforge/envs/ms-swift/bin/python3.10 -m torch.distributed.run --nproc_per_node 8 /group/40143/hongzhuyi/ms-swift/swift/cli/sft.py --torch_dtype bfloat16 --freeze_llm false --freeze_aligner false --model Qwen/Qwen2.5-7B-Instruct --train_type full --dataset rft_661q_7b_click_nourl_long_swift corr_data_2225q_old_click_nourl_swift.jsonl --model_type qwen2_5 --dataset_num_proc 100 --dataloader_num_workers 48 --split_dataset_ratio 0.001 --warmup_ratio 0.05 --num_train_epochs 1 --per_device_train_batch_size 1 --learning_rate 1e-6 --gradient_accumulation_steps 2 --eval_steps 20 --save_strategy epoch --logging_steps 1 --deepspeed zero3 --max_length 16240 --output_dir ./output`
|
| 2 |
+
|
| 3 |
+
*****************************************
|
| 4 |
+
Setting OMP_NUM_THREADS environment variable for each process to be 1 in default, to avoid your system being overloaded, please further tune the variable for optimal performance in your application as needed.
|
| 5 |
+
*****************************************
|
| 6 |
+
[INFO:swift] Successfully registered `/group/40143/hongzhuyi/ms-swift/swift/llm/dataset/data/dataset_info.json`.
|
| 7 |
+
[INFO:swift] rank: 0, local_rank: 0, world_size: 8, local_world_size: 8
|
| 8 |
+
Downloading Model from https://www.modelscope.cn to directory: /usr/local/app/.cache/modelscope/hub/models/Qwen/Qwen2.5-7B-Instruct
|
| 9 |
+
[2025-08-19 16:21:34,627] [INFO] [real_accelerator.py:254:get_accelerator] Setting ds_accelerator to cuda (auto detect)
|
| 10 |
+
[2025-08-19 16:21:36,030] [INFO] [logging.py:107:log_dist] [Rank -1] [TorchCheckpointEngine] Initialized with serialization = False
|
| 11 |
+
[2025-08-19 16:21:36,039] [INFO] [comm.py:821:init_distributed] cdb=None
|
| 12 |
+
Downloading Model from https://www.modelscope.cn to directory: /usr/local/app/.cache/modelscope/hub/models/Qwen/Qwen2.5-7B-Instruct
|
| 13 |
+
[2025-08-19 16:21:38,557] [INFO] [real_accelerator.py:254:get_accelerator] Setting ds_accelerator to cuda (auto detect)
|
| 14 |
+
Downloading Model from https://www.modelscope.cn to directory: /usr/local/app/.cache/modelscope/hub/models/Qwen/Qwen2.5-7B-Instruct
|
| 15 |
+
[2025-08-19 16:21:39,915] [INFO] [logging.py:107:log_dist] [Rank -1] [TorchCheckpointEngine] Initialized with serialization = False
|
| 16 |
+
[2025-08-19 16:21:39,925] [INFO] [comm.py:821:init_distributed] cdb=None
|
| 17 |
+
[INFO:swift] Downloading the model from ModelScope Hub, model_id: Qwen/Qwen2.5-7B-Instruct
|
| 18 |
+
[2025-08-19 16:21:42,450] [INFO] [real_accelerator.py:254:get_accelerator] Setting ds_accelerator to cuda (auto detect)
|
| 19 |
+
[2025-08-19 16:21:43,815] [INFO] [logging.py:107:log_dist] [Rank -1] [TorchCheckpointEngine] Initialized with serialization = False
|
| 20 |
+
[2025-08-19 16:21:43,823] [INFO] [comm.py:821:init_distributed] cdb=None
|
| 21 |
+
Downloading Model from https://www.modelscope.cn to directory: /usr/local/app/.cache/modelscope/hub/models/Qwen/Qwen2.5-7B-Instruct
|
| 22 |
+
[INFO:modelscope] Target directory already exists, skipping creation.
|
| 23 |
+
[INFO:swift] Loading the model using model_dir: /usr/local/app/.cache/modelscope/hub/models/Qwen/Qwen2___5-7B-Instruct
|
| 24 |
+
[INFO:swift] Setting args.lazy_tokenize: False
|
| 25 |
+
[INFO:swift] Using deepspeed: {'fp16': {'enabled': 'auto', 'loss_scale': 0, 'loss_scale_window': 1000, 'initial_scale_power': 16, 'hysteresis': 2, 'min_loss_scale': 1}, 'bf16': {'enabled': 'auto'}, 'zero_optimization': {'stage': 3, 'offload_optimizer': {'device': 'none', 'pin_memory': True}, 'offload_param': {'device': 'none', 'pin_memory': True}, 'overlap_comm': False, 'contiguous_gradients': True, 'sub_group_size': 1000000000.0, 'reduce_bucket_size': 'auto', 'zero_quantized_weights': False, 'zero_quantized_gradients': False, 'stage3_prefetch_bucket_size': 'auto', 'stage3_param_persistence_threshold': 'auto', 'stage3_max_live_parameters': 1000000000.0, 'stage3_max_reuse_distance': 1000000000.0, 'stage3_gather_16bit_weights_on_model_save': True}, 'gradient_accumulation_steps': 'auto', 'gradient_clipping': 'auto', 'steps_per_print': 2000, 'train_batch_size': 'auto', 'train_micro_batch_size_per_gpu': 'auto', 'wall_clock_breakdown': False}
|
| 26 |
+
[2025-08-19 16:21:46,344] [INFO] [real_accelerator.py:254:get_accelerator] Setting ds_accelerator to cuda (auto detect)
|
| 27 |
+
[2025-08-19 16:21:47,714] [INFO] [logging.py:107:log_dist] [Rank -1] [TorchCheckpointEngine] Initialized with serialization = False
|
| 28 |
+
[2025-08-19 16:21:47,723] [INFO] [comm.py:821:init_distributed] cdb=None
|
| 29 |
+
[2025-08-19 16:21:47,723] [INFO] [comm.py:852:init_distributed] Initializing TorchBackend in DeepSpeed with backend nccl
|
| 30 |
+
Downloading Model from https://www.modelscope.cn to directory: /usr/local/app/.cache/modelscope/hub/models/Qwen/Qwen2.5-7B-Instruct
|
| 31 |
+
[2025-08-19 16:21:50,437] [INFO] [real_accelerator.py:254:get_accelerator] Setting ds_accelerator to cuda (auto detect)
|
| 32 |
+
Downloading Model from https://www.modelscope.cn to directory: /usr/local/app/.cache/modelscope/hub/models/Qwen/Qwen2.5-7B-Instruct
|
| 33 |
+
[2025-08-19 16:21:51,834] [INFO] [logging.py:107:log_dist] [Rank -1] [TorchCheckpointEngine] Initialized with serialization = False
|
| 34 |
+
[2025-08-19 16:21:51,842] [INFO] [comm.py:821:init_distributed] cdb=None
|
| 35 |
+
[2025-08-19 16:21:54,513] [INFO] [real_accelerator.py:254:get_accelerator] Setting ds_accelerator to cuda (auto detect)
|
| 36 |
+
Downloading Model from https://www.modelscope.cn to directory: /usr/local/app/.cache/modelscope/hub/models/Qwen/Qwen2.5-7B-Instruct
|
| 37 |
+
[2025-08-19 16:21:55,919] [INFO] [logging.py:107:log_dist] [Rank -1] [TorchCheckpointEngine] Initialized with serialization = False
|
| 38 |
+
[2025-08-19 16:21:55,928] [INFO] [comm.py:821:init_distributed] cdb=None
|
| 39 |
+
[2025-08-19 16:21:58,116] [INFO] [real_accelerator.py:254:get_accelerator] Setting ds_accelerator to cuda (auto detect)
|
| 40 |
+
Downloading Model from https://www.modelscope.cn to directory: /usr/local/app/.cache/modelscope/hub/models/Qwen/Qwen2.5-7B-Instruct
|
| 41 |
+
[2025-08-19 16:21:59,688] [INFO] [logging.py:107:log_dist] [Rank -1] [TorchCheckpointEngine] Initialized with serialization = False
|
| 42 |
+
[2025-08-19 16:21:59,697] [INFO] [comm.py:821:init_distributed] cdb=None
|
| 43 |
+
[2025-08-19 16:22:01,967] [INFO] [real_accelerator.py:254:get_accelerator] Setting ds_accelerator to cuda (auto detect)
|
| 44 |
+
[2025-08-19 16:22:03,339] [INFO] [logging.py:107:log_dist] [Rank -1] [TorchCheckpointEngine] Initialized with serialization = False
|
| 45 |
+
[2025-08-19 16:22:03,347] [INFO] [comm.py:821:init_distributed] cdb=None
|
| 46 |
+
[INFO:swift] output_dir: /group/40143/hongzhuyi/ms-swift/output/v1-20250819-162207
|
| 47 |
+
[INFO:swift] Global seed set to 42
|
| 48 |
+
[INFO:swift] args: TrainArguments(
|
| 49 |
+
_n_gpu=-1,
|
| 50 |
+
acc_strategy=token,
|
| 51 |
+
accelerator_config={'dispatch_batches': False},
|
| 52 |
+
adafactor=False,
|
| 53 |
+
adalora_beta1=0.85,
|
| 54 |
+
adalora_beta2=0.85,
|
| 55 |
+
adalora_deltaT=1,
|
| 56 |
+
adalora_init_r=12,
|
| 57 |
+
adalora_orth_reg_weight=0.5,
|
| 58 |
+
adalora_target_r=8,
|
| 59 |
+
adalora_tfinal=0,
|
| 60 |
+
adalora_tinit=0,
|
| 61 |
+
adam_beta1=0.9,
|
| 62 |
+
adam_beta2=0.95,
|
| 63 |
+
adam_epsilon=1e-08,
|
| 64 |
+
adapter_act=gelu,
|
| 65 |
+
adapter_length=128,
|
| 66 |
+
adapters=[],
|
| 67 |
+
add_version=True,
|
| 68 |
+
agent_template=None,
|
| 69 |
+
aligner_lr=None,
|
| 70 |
+
attn_impl=None,
|
| 71 |
+
auto_find_batch_size=False,
|
| 72 |
+
average_tokens_across_devices=True,
|
| 73 |
+
batch_eval_metrics=False,
|
| 74 |
+
bf16=True,
|
| 75 |
+
bf16_full_eval=False,
|
| 76 |
+
bnb_4bit_compute_dtype=torch.bfloat16,
|
| 77 |
+
bnb_4bit_quant_storage=None,
|
| 78 |
+
bnb_4bit_quant_type=nf4,
|
| 79 |
+
bnb_4bit_use_double_quant=True,
|
| 80 |
+
boft_block_num=0,
|
| 81 |
+
boft_block_size=4,
|
| 82 |
+
boft_dropout=0.0,
|
| 83 |
+
boft_n_butterfly_factor=1,
|
| 84 |
+
cached_dataset=[],
|
| 85 |
+
channels=None,
|
| 86 |
+
check_model=True,
|
| 87 |
+
ckpt_dir=None,
|
| 88 |
+
columns={},
|
| 89 |
+
create_checkpoint_symlink=False,
|
| 90 |
+
custom_dataset_info=[],
|
| 91 |
+
custom_register_path=[],
|
| 92 |
+
data_seed=42,
|
| 93 |
+
dataloader_drop_last=False,
|
| 94 |
+
dataloader_num_workers=48,
|
| 95 |
+
dataloader_persistent_workers=False,
|
| 96 |
+
dataloader_pin_memory=True,
|
| 97 |
+
dataloader_prefetch_factor=None,
|
| 98 |
+
dataset=['rft_661q_7b_click_nourl_long_swift', 'corr_data_2225q_old_click_nourl_swift.jsonl'],
|
| 99 |
+
dataset_num_proc=100,
|
| 100 |
+
dataset_shuffle=True,
|
| 101 |
+
ddp_backend=None,
|
| 102 |
+
ddp_broadcast_buffers=None,
|
| 103 |
+
ddp_bucket_cap_mb=None,
|
| 104 |
+
ddp_find_unused_parameters=None,
|
| 105 |
+
ddp_timeout=18000000,
|
| 106 |
+
debug=None,
|
| 107 |
+
deepspeed={'fp16': {'enabled': 'auto', 'loss_scale': 0, 'loss_scale_window': 1000, 'initial_scale_power': 16, 'hysteresis': 2, 'min_loss_scale': 1}, 'bf16': {'enabled': 'auto'}, 'zero_optimization': {'stage': 3, 'offload_optimizer': {'device': 'none', 'pin_memory': True}, 'offload_param': {'device': 'none', 'pin_memory': True}, 'overlap_comm': False, 'contiguous_gradients': True, 'sub_group_size': 1000000000.0, 'reduce_bucket_size': 'auto', 'zero_quantized_weights': False, 'zero_quantized_gradients': False, 'stage3_prefetch_bucket_size': 'auto', 'stage3_param_persistence_threshold': 'auto', 'stage3_max_live_parameters': 1000000000.0, 'stage3_max_reuse_distance': 1000000000.0, 'stage3_gather_16bit_weights_on_model_save': True}, 'gradient_accumulation_steps': 'auto', 'gradient_clipping': 'auto', 'steps_per_print': 2000, 'train_batch_size': 'auto', 'train_micro_batch_size_per_gpu': 'auto', 'wall_clock_breakdown': False},
|
| 108 |
+
deepspeed_autotp_size=None,
|
| 109 |
+
device_map=None,
|
| 110 |
+
disable_tqdm=None,
|
| 111 |
+
do_eval=False,
|
| 112 |
+
do_predict=False,
|
| 113 |
+
do_train=False,
|
| 114 |
+
download_mode=reuse_dataset_if_exists,
|
| 115 |
+
ds3_gather_for_generation=True,
|
| 116 |
+
early_stop_interval=None,
|
| 117 |
+
enable_dft_loss=False,
|
| 118 |
+
eval_accumulation_steps=None,
|
| 119 |
+
eval_dataset=[],
|
| 120 |
+
eval_dataset_args=None,
|
| 121 |
+
eval_delay=0,
|
| 122 |
+
eval_do_concat_batches=True,
|
| 123 |
+
eval_generation_config=None,
|
| 124 |
+
eval_limit=None,
|
| 125 |
+
eval_on_start=False,
|
| 126 |
+
eval_steps=20.0,
|
| 127 |
+
eval_strategy=epoch,
|
| 128 |
+
eval_use_evalscope=False,
|
| 129 |
+
eval_use_gather_object=False,
|
| 130 |
+
external_plugins=[],
|
| 131 |
+
extra_eval_args=None,
|
| 132 |
+
fourier_n_frequency=2000,
|
| 133 |
+
fourier_scaling=300.0,
|
| 134 |
+
fp16=False,
|
| 135 |
+
fp16_backend=auto,
|
| 136 |
+
fp16_full_eval=False,
|
| 137 |
+
fp16_opt_level=O1,
|
| 138 |
+
freeze_aligner=False,
|
| 139 |
+
freeze_llm=False,
|
| 140 |
+
freeze_parameters=[],
|
| 141 |
+
freeze_parameters_ratio=0.0,
|
| 142 |
+
freeze_parameters_regex=None,
|
| 143 |
+
freeze_vit=True,
|
| 144 |
+
fsdp=,
|
| 145 |
+
fsdp_config=None,
|
| 146 |
+
fsdp_min_num_params=0,
|
| 147 |
+
fsdp_transformer_layer_cls_to_wrap=None,
|
| 148 |
+
full_determinism=False,
|
| 149 |
+
galore_cos_threshold=0.4,
|
| 150 |
+
galore_gamma_proj=2,
|
| 151 |
+
galore_optim_per_parameter=False,
|
| 152 |
+
galore_proj_bits=4,
|
| 153 |
+
galore_proj_group_size=256,
|
| 154 |
+
galore_proj_quant=False,
|
| 155 |
+
galore_proj_type=std,
|
| 156 |
+
galore_quantization=False,
|
| 157 |
+
galore_queue_size=5,
|
| 158 |
+
galore_rank=128,
|
| 159 |
+
galore_scale=1.0,
|
| 160 |
+
galore_target_modules=None,
|
| 161 |
+
galore_update_proj_gap=50,
|
| 162 |
+
galore_with_embedding=False,
|
| 163 |
+
generation_config=None,
|
| 164 |
+
generation_max_length=None,
|
| 165 |
+
generation_num_beams=None,
|
| 166 |
+
gradient_accumulation_steps=2,
|
| 167 |
+
gradient_checkpointing=True,
|
| 168 |
+
gradient_checkpointing_kwargs=None,
|
| 169 |
+
greater_is_better=False,
|
| 170 |
+
group_by_length=False,
|
| 171 |
+
half_precision_backend=auto,
|
| 172 |
+
hqq_axis=None,
|
| 173 |
+
hub_always_push=False,
|
| 174 |
+
hub_model_id=None,
|
| 175 |
+
hub_private_repo=None,
|
| 176 |
+
hub_revision=None,
|
| 177 |
+
hub_strategy=every_save,
|
| 178 |
+
hub_token=<HUB_TOKEN>,
|
| 179 |
+
ignore_args_error=False,
|
| 180 |
+
ignore_data_skip=False,
|
| 181 |
+
include_for_metrics=[],
|
| 182 |
+
include_inputs_for_metrics=False,
|
| 183 |
+
include_num_input_tokens_seen=False,
|
| 184 |
+
include_tokens_per_second=False,
|
| 185 |
+
init_strategy=None,
|
| 186 |
+
init_weights=True,
|
| 187 |
+
interleave_prob=None,
|
| 188 |
+
jit_mode_eval=False,
|
| 189 |
+
label_names=None,
|
| 190 |
+
label_smoothing_factor=0.0,
|
| 191 |
+
lazy_tokenize=False,
|
| 192 |
+
learning_rate=1e-06,
|
| 193 |
+
length_column_name=length,
|
| 194 |
+
liger_kernel_config=None,
|
| 195 |
+
lisa_activated_layers=0,
|
| 196 |
+
lisa_step_interval=20,
|
| 197 |
+
llamapro_num_groups=None,
|
| 198 |
+
llamapro_num_new_blocks=4,
|
| 199 |
+
load_args=False,
|
| 200 |
+
load_best_model_at_end=False,
|
| 201 |
+
load_data_args=False,
|
| 202 |
+
load_from_cache_file=True,
|
| 203 |
+
local_rank=0,
|
| 204 |
+
local_repo_path=None,
|
| 205 |
+
log_level=passive,
|
| 206 |
+
log_level_replica=warning,
|
| 207 |
+
log_on_each_node=True,
|
| 208 |
+
logging_dir=/group/40143/hongzhuyi/ms-swift/output/v1-20250819-162207/runs,
|
| 209 |
+
logging_first_step=True,
|
| 210 |
+
logging_nan_inf_filter=True,
|
| 211 |
+
logging_steps=1,
|
| 212 |
+
logging_strategy=steps,
|
| 213 |
+
logprobs=False,
|
| 214 |
+
lora_alpha=32,
|
| 215 |
+
lora_bias=none,
|
| 216 |
+
lora_dropout=0.05,
|
| 217 |
+
lora_dtype=None,
|
| 218 |
+
lora_ga_batch_size=2,
|
| 219 |
+
lora_ga_direction=ArB2r,
|
| 220 |
+
lora_ga_iters=2,
|
| 221 |
+
lora_ga_max_length=1024,
|
| 222 |
+
lora_ga_scale=stable,
|
| 223 |
+
lora_ga_stable_gamma=16,
|
| 224 |
+
lora_modules=[],
|
| 225 |
+
lora_rank=8,
|
| 226 |
+
lorap_lr_ratio=None,
|
| 227 |
+
loss_scale=default,
|
| 228 |
+
loss_type=None,
|
| 229 |
+
lr_scheduler_kwargs=None,
|
| 230 |
+
lr_scheduler_type=cosine,
|
| 231 |
+
max_epochs=None,
|
| 232 |
+
max_grad_norm=1.0,
|
| 233 |
+
max_length=16240,
|
| 234 |
+
max_memory={},
|
| 235 |
+
max_model_len=None,
|
| 236 |
+
max_new_tokens=64,
|
| 237 |
+
max_pixels=None,
|
| 238 |
+
max_steps=-1,
|
| 239 |
+
metric=None,
|
| 240 |
+
metric_for_best_model=loss,
|
| 241 |
+
model=Qwen/Qwen2.5-7B-Instruct,
|
| 242 |
+
model_author=None,
|
| 243 |
+
model_kwargs={},
|
| 244 |
+
model_name=None,
|
| 245 |
+
model_revision=None,
|
| 246 |
+
model_type=qwen2_5,
|
| 247 |
+
modules_to_save=[],
|
| 248 |
+
mp_parameters=,
|
| 249 |
+
neftune_noise_alpha=None,
|
| 250 |
+
new_special_tokens=[],
|
| 251 |
+
no_cuda=False,
|
| 252 |
+
norm_bbox=None,
|
| 253 |
+
num_beams=1,
|
| 254 |
+
num_labels=None,
|
| 255 |
+
num_train_epochs=1.0,
|
| 256 |
+
optim=adamw_torch_fused,
|
| 257 |
+
optim_args=None,
|
| 258 |
+
optim_target_modules=None,
|
| 259 |
+
optimizer=None,
|
| 260 |
+
output_dir=/group/40143/hongzhuyi/ms-swift/output/v1-20250819-162207,
|
| 261 |
+
overwrite_output_dir=False,
|
| 262 |
+
packing=False,
|
| 263 |
+
packing_length=None,
|
| 264 |
+
padding_free=False,
|
| 265 |
+
padding_side=right,
|
| 266 |
+
past_index=-1,
|
| 267 |
+
per_device_eval_batch_size=1,
|
| 268 |
+
per_device_train_batch_size=1,
|
| 269 |
+
predict_with_generate=False,
|
| 270 |
+
prediction_loss_only=False,
|
| 271 |
+
problem_type=None,
|
| 272 |
+
push_to_hub=False,
|
| 273 |
+
push_to_hub_model_id=None,
|
| 274 |
+
push_to_hub_organization=None,
|
| 275 |
+
push_to_hub_token=<PUSH_TO_HUB_TOKEN>,
|
| 276 |
+
quant_bits=None,
|
| 277 |
+
quant_method=None,
|
| 278 |
+
ray_scope=last,
|
| 279 |
+
reft_args=None,
|
| 280 |
+
reft_intervention_type=LoreftIntervention,
|
| 281 |
+
reft_layer_key=None,
|
| 282 |
+
reft_layers=None,
|
| 283 |
+
reft_rank=4,
|
| 284 |
+
remove_unused_columns=True,
|
| 285 |
+
repetition_penalty=None,
|
| 286 |
+
report_to=['tensorboard'],
|
| 287 |
+
response_prefix=None,
|
| 288 |
+
restore_callback_states_from_checkpoint=False,
|
| 289 |
+
resume_from_checkpoint=None,
|
| 290 |
+
resume_only_model=False,
|
| 291 |
+
rope_scaling=None,
|
| 292 |
+
router_aux_loss_coef=0.0,
|
| 293 |
+
run_name=/group/40143/hongzhuyi/ms-swift/output/v1-20250819-162207,
|
| 294 |
+
save_on_each_node=False,
|
| 295 |
+
save_only_model=False,
|
| 296 |
+
save_safetensors=True,
|
| 297 |
+
save_steps=500,
|
| 298 |
+
save_strategy=epoch,
|
| 299 |
+
save_total_limit=None,
|
| 300 |
+
seed=42,
|
| 301 |
+
sequence_parallel_size=1,
|
| 302 |
+
shuffle_buffer_size=1000,
|
| 303 |
+
skip_memory_metrics=True,
|
| 304 |
+
sortish_sampler=False,
|
| 305 |
+
split_dataset_ratio=0.001,
|
| 306 |
+
stop_words=[],
|
| 307 |
+
stopping_strategy=first_exhausted,
|
| 308 |
+
stream=False,
|
| 309 |
+
streaming=False,
|
| 310 |
+
strict=False,
|
| 311 |
+
swanlab_exp_name=None,
|
| 312 |
+
swanlab_lark_secret=None,
|
| 313 |
+
swanlab_lark_webhook_url=None,
|
| 314 |
+
swanlab_mode=cloud,
|
| 315 |
+
swanlab_project=None,
|
| 316 |
+
swanlab_token=<SWANLAB_TOKEN>,
|
| 317 |
+
swanlab_workspace=None,
|
| 318 |
+
system=None,
|
| 319 |
+
target_modules=['all-linear'],
|
| 320 |
+
target_regex=None,
|
| 321 |
+
task_type=causal_lm,
|
| 322 |
+
temperature=0.0,
|
| 323 |
+
template=qwen2_5,
|
| 324 |
+
template_backend=swift,
|
| 325 |
+
tf32=None,
|
| 326 |
+
top_k=None,
|
| 327 |
+
top_logprobs=None,
|
| 328 |
+
top_p=None,
|
| 329 |
+
torch_compile=False,
|
| 330 |
+
torch_compile_backend=None,
|
| 331 |
+
torch_compile_mode=None,
|
| 332 |
+
torch_dtype=torch.bfloat16,
|
| 333 |
+
torch_empty_cache_steps=None,
|
| 334 |
+
torchdynamo=None,
|
| 335 |
+
tpu_metrics_debug=False,
|
| 336 |
+
tpu_num_cores=None,
|
| 337 |
+
train_dataloader_shuffle=True,
|
| 338 |
+
train_type=full,
|
| 339 |
+
trainable_parameters=[],
|
| 340 |
+
trainable_parameters_regex=None,
|
| 341 |
+
truncation_strategy=delete,
|
| 342 |
+
tuner_backend=peft,
|
| 343 |
+
use_chat_template=True,
|
| 344 |
+
use_cpu=False,
|
| 345 |
+
use_dora=False,
|
| 346 |
+
use_flash_ckpt=False,
|
| 347 |
+
use_galore=False,
|
| 348 |
+
use_hf=False,
|
| 349 |
+
use_ipex=False,
|
| 350 |
+
use_legacy_prediction_loop=False,
|
| 351 |
+
use_liger_kernel=False,
|
| 352 |
+
use_logits_to_keep=None,
|
| 353 |
+
use_mps_device=False,
|
| 354 |
+
use_rslora=False,
|
| 355 |
+
use_swift_lora=False,
|
| 356 |
+
val_dataset=[],
|
| 357 |
+
val_dataset_shuffle=False,
|
| 358 |
+
vera_d_initial=0.1,
|
| 359 |
+
vera_dropout=0.0,
|
| 360 |
+
vera_projection_prng_key=0,
|
| 361 |
+
vera_rank=256,
|
| 362 |
+
vit_gradient_checkpointing=None,
|
| 363 |
+
vit_lr=None,
|
| 364 |
+
warmup_ratio=0.05,
|
| 365 |
+
warmup_steps=0,
|
| 366 |
+
weight_decay=0.1,
|
| 367 |
+
zero_hpz_partition_size=None,
|
| 368 |
+
)
|
| 369 |
+
Downloading Model from https://www.modelscope.cn to directory: /usr/local/app/.cache/modelscope/hub/models/Qwen/Qwen2.5-7B-Instruct
|
| 370 |
+
[2025-08-19 16:22:13,590] [INFO] [config.py:684:__init__] Config mesh_device None world_size = 8
|
| 371 |
+
Downloading Model from https://www.modelscope.cn to directory: /usr/local/app/.cache/modelscope/hub/models/Qwen/Qwen2.5-7B-Instruct
|
| 372 |
+
[2025-08-19 16:22:19,378] [INFO] [config.py:684:__init__] Config mesh_device None world_size = 8
|
| 373 |
+
Downloading Model from https://www.modelscope.cn to directory: /usr/local/app/.cache/modelscope/hub/models/Qwen/Qwen2.5-7B-Instruct
|
| 374 |
+
[2025-08-19 16:22:23,476] [INFO] [config.py:684:__init__] Config mesh_device None world_size = 8
|
| 375 |
+
Downloading Model from https://www.modelscope.cn to directory: /usr/local/app/.cache/modelscope/hub/models/Qwen/Qwen2.5-7B-Instruct
|
| 376 |
+
[INFO:swift] Downloading the model from ModelScope Hub, model_id: Qwen/Qwen2.5-7B-Instruct
|
| 377 |
+
[2025-08-19 16:22:28,805] [INFO] [config.py:684:__init__] Config mesh_device None world_size = 8
|
| 378 |
+
Downloading Model from https://www.modelscope.cn to directory: /usr/local/app/.cache/modelscope/hub/models/Qwen/Qwen2.5-7B-Instruct
|
| 379 |
+
[INFO:modelscope] Target directory already exists, skipping creation.
|
| 380 |
+
[INFO:swift] Loading the model using model_dir: /usr/local/app/.cache/modelscope/hub/models/Qwen/Qwen2___5-7B-Instruct
|
| 381 |
+
[INFO:swift] model_kwargs: {'device_map': None}
|
| 382 |
+
[2025-08-19 16:22:34,666] [INFO] [config.py:684:__init__] Config mesh_device None world_size = 8
|
| 383 |
+
Downloading Model from https://www.modelscope.cn to directory: /usr/local/app/.cache/modelscope/hub/models/Qwen/Qwen2.5-7B-Instruct
|
| 384 |
+
[2025-08-19 16:22:38,945] [INFO] [config.py:684:__init__] Config mesh_device None world_size = 8
|
| 385 |
+
Downloading Model from https://www.modelscope.cn to directory: /usr/local/app/.cache/modelscope/hub/models/Qwen/Qwen2.5-7B-Instruct
|
| 386 |
+
[2025-08-19 16:22:44,102] [INFO] [config.py:684:__init__] Config mesh_device None world_size = 8
|
| 387 |
+
Downloading Model from https://www.modelscope.cn to directory: /usr/local/app/.cache/modelscope/hub/models/Qwen/Qwen2.5-7B-Instruct
|
| 388 |
+
[2025-08-19 16:22:48,742] [INFO] [config.py:684:__init__] Config mesh_device None world_size = 8
|
| 389 |
+
[2025-08-19 16:22:49,486] [INFO] [partition_parameters.py:366:__exit__] finished initializing model - num_params = 339, num_elems = 7.62B
|
| 390 |
+
|
| 391 |
+
|
| 392 |
+
|
| 393 |
+
|
| 394 |
+
|
| 395 |
+
|
| 396 |
+
|
| 397 |
+
|
| 398 |
+
[INFO:swift] model_info: ModelInfo(model_type='qwen2_5', model_dir='/usr/local/app/.cache/modelscope/hub/models/Qwen/Qwen2___5-7B-Instruct', torch_dtype=torch.bfloat16, max_model_len=32768, quant_method=None, quant_bits=None, rope_scaling=None, is_moe_model=False, config=Qwen2Config {
|
| 399 |
+
"architectures": [
|
| 400 |
+
"Qwen2ForCausalLM"
|
| 401 |
+
],
|
| 402 |
+
"attention_dropout": 0.0,
|
| 403 |
+
"bos_token_id": 151643,
|
| 404 |
+
"eos_token_id": 151645,
|
| 405 |
+
"hidden_act": "silu",
|
| 406 |
+
"hidden_size": 3584,
|
| 407 |
+
"initializer_range": 0.02,
|
| 408 |
+
"intermediate_size": 18944,
|
| 409 |
+
"layer_types": [
|
| 410 |
+
"full_attention",
|
| 411 |
+
"full_attention",
|
| 412 |
+
"full_attention",
|
| 413 |
+
"full_attention",
|
| 414 |
+
"full_attention",
|
| 415 |
+
"full_attention",
|
| 416 |
+
"full_attention",
|
| 417 |
+
"full_attention",
|
| 418 |
+
"full_attention",
|
| 419 |
+
"full_attention",
|
| 420 |
+
"full_attention",
|
| 421 |
+
"full_attention",
|
| 422 |
+
"full_attention",
|
| 423 |
+
"full_attention",
|
| 424 |
+
"full_attention",
|
| 425 |
+
"full_attention",
|
| 426 |
+
"full_attention",
|
| 427 |
+
"full_attention",
|
| 428 |
+
"full_attention",
|
| 429 |
+
"full_attention",
|
| 430 |
+
"full_attention",
|
| 431 |
+
"full_attention",
|
| 432 |
+
"full_attention",
|
| 433 |
+
"full_attention",
|
| 434 |
+
"full_attention",
|
| 435 |
+
"full_attention",
|
| 436 |
+
"full_attention",
|
| 437 |
+
"full_attention"
|
| 438 |
+
],
|
| 439 |
+
"max_position_embeddings": 32768,
|
| 440 |
+
"max_window_layers": 28,
|
| 441 |
+
"model_type": "qwen2",
|
| 442 |
+
"num_attention_heads": 28,
|
| 443 |
+
"num_hidden_layers": 28,
|
| 444 |
+
"num_key_value_heads": 4,
|
| 445 |
+
"pad_token_id": 151643,
|
| 446 |
+
"rms_norm_eps": 1e-06,
|
| 447 |
+
"rope_scaling": null,
|
| 448 |
+
"rope_theta": 1000000.0,
|
| 449 |
+
"sliding_window": null,
|
| 450 |
+
"tie_word_embeddings": false,
|
| 451 |
+
"torch_dtype": "bfloat16",
|
| 452 |
+
"transformers_version": "4.55.2",
|
| 453 |
+
"use_cache": true,
|
| 454 |
+
"use_sliding_window": false,
|
| 455 |
+
"vocab_size": 152064
|
| 456 |
+
}
|
| 457 |
+
, task_type='causal_lm', num_labels=None)
|
| 458 |
+
[INFO:swift] model.generation_config: GenerationConfig {
|
| 459 |
+
"bos_token_id": 151643,
|
| 460 |
+
"eos_token_id": [
|
| 461 |
+
151645,
|
| 462 |
+
151643
|
| 463 |
+
],
|
| 464 |
+
"max_new_tokens": 64,
|
| 465 |
+
"pad_token_id": 151643,
|
| 466 |
+
"repetition_penalty": 1.05
|
| 467 |
+
}
|
| 468 |
+
|
| 469 |
+
[INFO:swift] default_system: 'You are Qwen, created by Alibaba Cloud. You are a helpful assistant.'
|
| 470 |
+
[INFO:swift] max_length: 16240
|
| 471 |
+
[INFO:swift] response_prefix: ''
|
| 472 |
+
[INFO:swift] agent_template: hermes
|
| 473 |
+
[INFO:swift] Start time of running main: 2025-08-19 16:22:53.141002
|
| 474 |
+
[INFO:swift] swift.__version__: 3.8.0.dev0
|
| 475 |
+
[INFO:swift] Downloading the dataset from ModelScope, dataset_id: rft_661q_7b_click_nourl_long_swift
|
| 476 |
+
[ERROR:modelscope] Repo modelscope/rft_661q_7b_click_nourl_long_swift not exists on either https://www.modelscope.cn or https://www.modelscope.ai
|
| 477 |
+
[ERROR:swift] Dataset rft_661q_7b_click_nourl_long_swift load failed: subset_name=default,split=train with error: HTTPSConnectionPool(host='www.modelscope.ai', port=443): Max retries exceeded with url: /api/v1/datasets/modelscope/rft_661q_7b_click_nourl_long_swift (Caused by ProxyError('Unable to connect to proxy', OSError('Tunnel connection failed: 403 Forbidden')))
|
| 478 |
+
[ERROR:modelscope] Repo modelscope/rft_661q_7b_click_nourl_long_swift not exists on either https://www.modelscope.cn or https://www.modelscope.ai
|
| 479 |
+
[ERROR:swift] Dataset rft_661q_7b_click_nourl_long_swift load failed: subset_name=default,split=train with error: HTTPSConnectionPool(host='www.modelscope.ai', port=443): Max retries exceeded with url: /api/v1/datasets/modelscope/rft_661q_7b_click_nourl_long_swift (Caused by ProxyError('Unable to connect to proxy', OSError('Tunnel connection failed: 403 Forbidden')))
|
| 480 |
+
[ERROR:modelscope] Repo modelscope/rft_661q_7b_click_nourl_long_swift not exists on either https://www.modelscope.cn or https://www.modelscope.ai
|
| 481 |
+
[rank0]: Traceback (most recent call last):
|
| 482 |
+
[rank0]: File "/data/miniforge/envs/ms-swift/lib/python3.10/site-packages/urllib3/connectionpool.py", line 773, in urlopen
|
| 483 |
+
[rank0]: self._prepare_proxy(conn)
|
| 484 |
+
[rank0]: File "/data/miniforge/envs/ms-swift/lib/python3.10/site-packages/urllib3/connectionpool.py", line 1042, in _prepare_proxy
|
| 485 |
+
[rank0]: conn.connect()
|
| 486 |
+
[rank0]: File "/data/miniforge/envs/ms-swift/lib/python3.10/site-packages/urllib3/connection.py", line 770, in connect
|
| 487 |
+
[rank0]: self._tunnel()
|
| 488 |
+
[rank0]: File "/data/miniforge/envs/ms-swift/lib/python3.10/site-packages/urllib3/connection.py", line 269, in _tunnel
|
| 489 |
+
[rank0]: raise OSError(
|
| 490 |
+
[rank0]: OSError: Tunnel connection failed: 403 Forbidden
|
| 491 |
+
|
| 492 |
+
[rank0]: The above exception was the direct cause of the following exception:
|
| 493 |
+
|
| 494 |
+
[rank0]: urllib3.exceptions.ProxyError: ('Unable to connect to proxy', OSError('Tunnel connection failed: 403 Forbidden'))
|
| 495 |
+
|
| 496 |
+
[rank0]: The above exception was the direct cause of the following exception:
|
| 497 |
+
|
| 498 |
+
[rank0]: Traceback (most recent call last):
|
| 499 |
+
[rank0]: File "/data/miniforge/envs/ms-swift/lib/python3.10/site-packages/requests/adapters.py", line 667, in send
|
| 500 |
+
[rank0]: resp = conn.urlopen(
|
| 501 |
+
[rank0]: File "/data/miniforge/envs/ms-swift/lib/python3.10/site-packages/urllib3/connectionpool.py", line 871, in urlopen
|
| 502 |
+
[rank0]: return self.urlopen(
|
| 503 |
+
[rank0]: File "/data/miniforge/envs/ms-swift/lib/python3.10/site-packages/urllib3/connectionpool.py", line 871, in urlopen
|
| 504 |
+
[rank0]: return self.urlopen(
|
| 505 |
+
[rank0]: File "/data/miniforge/envs/ms-swift/lib/python3.10/site-packages/urllib3/connectionpool.py", line 841, in urlopen
|
| 506 |
+
[rank0]: retries = retries.increment(
|
| 507 |
+
[rank0]: File "/data/miniforge/envs/ms-swift/lib/python3.10/site-packages/urllib3/util/retry.py", line 519, in increment
|
| 508 |
+
[rank0]: raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]
|
| 509 |
+
[rank0]: urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.modelscope.ai', port=443): Max retries exceeded with url: /api/v1/datasets/modelscope/rft_661q_7b_click_nourl_long_swift (Caused by ProxyError('Unable to connect to proxy', OSError('Tunnel connection failed: 403 Forbidden')))
|
| 510 |
+
|
| 511 |
+
[rank0]: During handling of the above exception, another exception occurred:
|
| 512 |
+
|
| 513 |
+
[rank0]: Traceback (most recent call last):
|
| 514 |
+
[rank0]: File "/group/40143/hongzhuyi/ms-swift/swift/cli/sft.py", line 10, in <module>
|
| 515 |
+
[rank0]: sft_main()
|
| 516 |
+
[rank0]: File "/group/40143/hongzhuyi/ms-swift/swift/llm/train/sft.py", line 328, in sft_main
|
| 517 |
+
[rank0]: return SwiftSft(args).main()
|
| 518 |
+
[rank0]: File "/group/40143/hongzhuyi/ms-swift/swift/llm/base.py", line 49, in main
|
| 519 |
+
[rank0]: result = self.run()
|
| 520 |
+
[rank0]: File "/group/40143/hongzhuyi/ms-swift/swift/llm/train/sft.py", line 158, in run
|
| 521 |
+
[rank0]: train_dataset, val_dataset = self._prepare_dataset()
|
| 522 |
+
[rank0]: File "/group/40143/hongzhuyi/ms-swift/swift/llm/train/sft.py", line 117, in _prepare_dataset
|
| 523 |
+
[rank0]: train_dataset, val_dataset = self._get_dataset()
|
| 524 |
+
[rank0]: File "/group/40143/hongzhuyi/ms-swift/swift/llm/train/sft.py", line 71, in _get_dataset
|
| 525 |
+
[rank0]: train_dataset, val_dataset = load_dataset(
|
| 526 |
+
[rank0]: File "/group/40143/hongzhuyi/ms-swift/swift/llm/dataset/loader.py", line 533, in load_dataset
|
| 527 |
+
[rank0]: train_dataset = load_function(dataset_syntax, dataset_meta, **load_kwargs, use_hf=use_hf)
|
| 528 |
+
[rank0]: File "/group/40143/hongzhuyi/ms-swift/swift/llm/dataset/loader.py", line 408, in load
|
| 529 |
+
[rank0]: dataset = DatasetLoader._load_repo_dataset(
|
| 530 |
+
[rank0]: File "/group/40143/hongzhuyi/ms-swift/swift/llm/dataset/loader.py", line 266, in _load_repo_dataset
|
| 531 |
+
[rank0]: dataset = hub.load_dataset(
|
| 532 |
+
[rank0]: File "/group/40143/hongzhuyi/ms-swift/swift/hub/hub.py", line 296, in load_dataset
|
| 533 |
+
[rank0]: return MsDataset.load(
|
| 534 |
+
[rank0]: File "/data/miniforge/envs/ms-swift/lib/python3.10/site-packages/modelscope/msdatasets/ms_dataset.py", line 297, in load
|
| 535 |
+
[rank0]: endpoint = _api.get_endpoint_for_read(
|
| 536 |
+
[rank0]: File "/data/miniforge/envs/ms-swift/lib/python3.10/site-packages/modelscope/hub/api.py", line 390, in get_endpoint_for_read
|
| 537 |
+
[rank0]: self.repo_exists(
|
| 538 |
+
[rank0]: File "/data/miniforge/envs/ms-swift/lib/python3.10/site-packages/modelscope/hub/api.py", line 446, in repo_exists
|
| 539 |
+
[rank0]: r = self.session.get(path, cookies=cookies,
|
| 540 |
+
[rank0]: File "/data/miniforge/envs/ms-swift/lib/python3.10/site-packages/requests/sessions.py", line 602, in get
|
| 541 |
+
[rank0]: return self.request("GET", url, **kwargs)
|
| 542 |
+
[rank0]: File "/data/miniforge/envs/ms-swift/lib/python3.10/site-packages/requests/sessions.py", line 589, in request
|
| 543 |
+
[rank0]: resp = self.send(prep, **send_kwargs)
|
| 544 |
+
[rank0]: File "/data/miniforge/envs/ms-swift/lib/python3.10/site-packages/requests/sessions.py", line 703, in send
|
| 545 |
+
[rank0]: r = adapter.send(request, **kwargs)
|
| 546 |
+
[rank0]: File "/data/miniforge/envs/ms-swift/lib/python3.10/site-packages/requests/adapters.py", line 694, in send
|
| 547 |
+
[rank0]: raise ProxyError(e, request=request)
|
| 548 |
+
[rank0]: requests.exceptions.ProxyError: HTTPSConnectionPool(host='www.modelscope.ai', port=443): Max retries exceeded with url: /api/v1/datasets/modelscope/rft_661q_7b_click_nourl_long_swift (Caused by ProxyError('Unable to connect to proxy', OSError('Tunnel connection failed: 403 Forbidden')))
|
| 549 |
+
[rank0]:[W819 16:23:08.718020323 ProcessGroupNCCL.cpp:1538] Warning: WARNING: destroy_process_group() was not called before program exit, which can leak resources. For more info, please see https://pytorch.org/docs/stable/distributed.html#shutdown (function operator())
|
log/20250819-16:23:55.log
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
log/20250820-11:02:14.log
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
log/20250820-14:41:17.log
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/args.json
ADDED
|
@@ -0,0 +1,381 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"output_dir": "/group/40143/hongzhuyi/ms-swift/output/v0-20250820-110326",
|
| 3 |
+
"overwrite_output_dir": false,
|
| 4 |
+
"do_train": false,
|
| 5 |
+
"do_eval": false,
|
| 6 |
+
"do_predict": false,
|
| 7 |
+
"eval_strategy": "epoch",
|
| 8 |
+
"prediction_loss_only": false,
|
| 9 |
+
"per_device_train_batch_size": 1,
|
| 10 |
+
"per_device_eval_batch_size": 1,
|
| 11 |
+
"per_gpu_train_batch_size": null,
|
| 12 |
+
"per_gpu_eval_batch_size": null,
|
| 13 |
+
"gradient_accumulation_steps": 2,
|
| 14 |
+
"eval_accumulation_steps": null,
|
| 15 |
+
"eval_delay": 0,
|
| 16 |
+
"torch_empty_cache_steps": null,
|
| 17 |
+
"learning_rate": 1e-06,
|
| 18 |
+
"weight_decay": 0.1,
|
| 19 |
+
"adam_beta1": 0.9,
|
| 20 |
+
"adam_beta2": 0.95,
|
| 21 |
+
"adam_epsilon": 1e-08,
|
| 22 |
+
"max_grad_norm": 1.0,
|
| 23 |
+
"num_train_epochs": 1.0,
|
| 24 |
+
"max_steps": -1,
|
| 25 |
+
"lr_scheduler_type": "cosine",
|
| 26 |
+
"lr_scheduler_kwargs": null,
|
| 27 |
+
"warmup_ratio": 0.05,
|
| 28 |
+
"warmup_steps": 0,
|
| 29 |
+
"log_level": "passive",
|
| 30 |
+
"log_level_replica": "warning",
|
| 31 |
+
"log_on_each_node": true,
|
| 32 |
+
"logging_dir": "/group/40143/hongzhuyi/ms-swift/output/v0-20250820-110326/runs",
|
| 33 |
+
"logging_strategy": "steps",
|
| 34 |
+
"logging_first_step": true,
|
| 35 |
+
"logging_steps": 1,
|
| 36 |
+
"logging_nan_inf_filter": true,
|
| 37 |
+
"save_strategy": "epoch",
|
| 38 |
+
"save_steps": 500,
|
| 39 |
+
"save_total_limit": null,
|
| 40 |
+
"save_safetensors": true,
|
| 41 |
+
"save_on_each_node": false,
|
| 42 |
+
"save_only_model": false,
|
| 43 |
+
"restore_callback_states_from_checkpoint": false,
|
| 44 |
+
"no_cuda": false,
|
| 45 |
+
"use_cpu": false,
|
| 46 |
+
"use_mps_device": false,
|
| 47 |
+
"seed": 42,
|
| 48 |
+
"data_seed": 42,
|
| 49 |
+
"jit_mode_eval": false,
|
| 50 |
+
"use_ipex": false,
|
| 51 |
+
"bf16": true,
|
| 52 |
+
"fp16": false,
|
| 53 |
+
"fp16_opt_level": "O1",
|
| 54 |
+
"half_precision_backend": "auto",
|
| 55 |
+
"bf16_full_eval": false,
|
| 56 |
+
"fp16_full_eval": false,
|
| 57 |
+
"tf32": null,
|
| 58 |
+
"local_rank": 0,
|
| 59 |
+
"ddp_backend": null,
|
| 60 |
+
"tpu_num_cores": null,
|
| 61 |
+
"tpu_metrics_debug": false,
|
| 62 |
+
"debug": null,
|
| 63 |
+
"dataloader_drop_last": false,
|
| 64 |
+
"eval_steps": 20.0,
|
| 65 |
+
"dataloader_num_workers": 48,
|
| 66 |
+
"dataloader_prefetch_factor": null,
|
| 67 |
+
"past_index": -1,
|
| 68 |
+
"run_name": "/group/40143/hongzhuyi/ms-swift/output/v0-20250820-110326",
|
| 69 |
+
"disable_tqdm": null,
|
| 70 |
+
"remove_unused_columns": true,
|
| 71 |
+
"label_names": null,
|
| 72 |
+
"load_best_model_at_end": false,
|
| 73 |
+
"metric_for_best_model": "loss",
|
| 74 |
+
"greater_is_better": false,
|
| 75 |
+
"ignore_data_skip": false,
|
| 76 |
+
"fsdp": "",
|
| 77 |
+
"fsdp_min_num_params": 0,
|
| 78 |
+
"fsdp_config": null,
|
| 79 |
+
"fsdp_transformer_layer_cls_to_wrap": null,
|
| 80 |
+
"accelerator_config": {
|
| 81 |
+
"dispatch_batches": false
|
| 82 |
+
},
|
| 83 |
+
"deepspeed": {
|
| 84 |
+
"fp16": {
|
| 85 |
+
"enabled": "auto",
|
| 86 |
+
"loss_scale": 0,
|
| 87 |
+
"loss_scale_window": 1000,
|
| 88 |
+
"initial_scale_power": 16,
|
| 89 |
+
"hysteresis": 2,
|
| 90 |
+
"min_loss_scale": 1
|
| 91 |
+
},
|
| 92 |
+
"bf16": {
|
| 93 |
+
"enabled": "auto"
|
| 94 |
+
},
|
| 95 |
+
"zero_optimization": {
|
| 96 |
+
"stage": 3,
|
| 97 |
+
"offload_optimizer": {
|
| 98 |
+
"device": "none",
|
| 99 |
+
"pin_memory": true
|
| 100 |
+
},
|
| 101 |
+
"offload_param": {
|
| 102 |
+
"device": "none",
|
| 103 |
+
"pin_memory": true
|
| 104 |
+
},
|
| 105 |
+
"overlap_comm": false,
|
| 106 |
+
"contiguous_gradients": true,
|
| 107 |
+
"sub_group_size": 1000000000.0,
|
| 108 |
+
"reduce_bucket_size": "auto",
|
| 109 |
+
"zero_quantized_weights": false,
|
| 110 |
+
"zero_quantized_gradients": false,
|
| 111 |
+
"stage3_prefetch_bucket_size": "auto",
|
| 112 |
+
"stage3_param_persistence_threshold": "auto",
|
| 113 |
+
"stage3_max_live_parameters": 1000000000.0,
|
| 114 |
+
"stage3_max_reuse_distance": 1000000000.0,
|
| 115 |
+
"stage3_gather_16bit_weights_on_model_save": true
|
| 116 |
+
},
|
| 117 |
+
"gradient_accumulation_steps": "auto",
|
| 118 |
+
"gradient_clipping": "auto",
|
| 119 |
+
"steps_per_print": 2000,
|
| 120 |
+
"train_batch_size": "auto",
|
| 121 |
+
"train_micro_batch_size_per_gpu": "auto",
|
| 122 |
+
"wall_clock_breakdown": false
|
| 123 |
+
},
|
| 124 |
+
"label_smoothing_factor": 0.0,
|
| 125 |
+
"optim": "adamw_torch_fused",
|
| 126 |
+
"optim_args": null,
|
| 127 |
+
"adafactor": false,
|
| 128 |
+
"group_by_length": false,
|
| 129 |
+
"length_column_name": "length",
|
| 130 |
+
"report_to": [
|
| 131 |
+
"tensorboard"
|
| 132 |
+
],
|
| 133 |
+
"ddp_find_unused_parameters": null,
|
| 134 |
+
"ddp_bucket_cap_mb": null,
|
| 135 |
+
"ddp_broadcast_buffers": null,
|
| 136 |
+
"dataloader_pin_memory": true,
|
| 137 |
+
"dataloader_persistent_workers": false,
|
| 138 |
+
"skip_memory_metrics": true,
|
| 139 |
+
"use_legacy_prediction_loop": false,
|
| 140 |
+
"push_to_hub": false,
|
| 141 |
+
"resume_from_checkpoint": null,
|
| 142 |
+
"hub_model_id": null,
|
| 143 |
+
"hub_strategy": "every_save",
|
| 144 |
+
"hub_token": null,
|
| 145 |
+
"hub_private_repo": null,
|
| 146 |
+
"hub_always_push": false,
|
| 147 |
+
"hub_revision": null,
|
| 148 |
+
"gradient_checkpointing": true,
|
| 149 |
+
"gradient_checkpointing_kwargs": null,
|
| 150 |
+
"include_inputs_for_metrics": false,
|
| 151 |
+
"include_for_metrics": [],
|
| 152 |
+
"eval_do_concat_batches": true,
|
| 153 |
+
"fp16_backend": "auto",
|
| 154 |
+
"push_to_hub_model_id": null,
|
| 155 |
+
"push_to_hub_organization": null,
|
| 156 |
+
"push_to_hub_token": null,
|
| 157 |
+
"mp_parameters": "",
|
| 158 |
+
"auto_find_batch_size": false,
|
| 159 |
+
"full_determinism": false,
|
| 160 |
+
"torchdynamo": null,
|
| 161 |
+
"ray_scope": "last",
|
| 162 |
+
"ddp_timeout": 18000000,
|
| 163 |
+
"torch_compile": false,
|
| 164 |
+
"torch_compile_backend": null,
|
| 165 |
+
"torch_compile_mode": null,
|
| 166 |
+
"include_tokens_per_second": false,
|
| 167 |
+
"include_num_input_tokens_seen": false,
|
| 168 |
+
"neftune_noise_alpha": null,
|
| 169 |
+
"optim_target_modules": null,
|
| 170 |
+
"batch_eval_metrics": false,
|
| 171 |
+
"eval_on_start": false,
|
| 172 |
+
"use_liger_kernel": false,
|
| 173 |
+
"liger_kernel_config": null,
|
| 174 |
+
"eval_use_gather_object": false,
|
| 175 |
+
"average_tokens_across_devices": true,
|
| 176 |
+
"sortish_sampler": false,
|
| 177 |
+
"predict_with_generate": false,
|
| 178 |
+
"generation_max_length": null,
|
| 179 |
+
"generation_num_beams": null,
|
| 180 |
+
"generation_config": null,
|
| 181 |
+
"tuner_backend": "peft",
|
| 182 |
+
"vit_gradient_checkpointing": null,
|
| 183 |
+
"router_aux_loss_coef": 0.0,
|
| 184 |
+
"enable_dft_loss": false,
|
| 185 |
+
"check_model": true,
|
| 186 |
+
"acc_strategy": "token",
|
| 187 |
+
"train_dataloader_shuffle": true,
|
| 188 |
+
"max_epochs": null,
|
| 189 |
+
"aligner_lr": null,
|
| 190 |
+
"vit_lr": null,
|
| 191 |
+
"use_logits_to_keep": null,
|
| 192 |
+
"channels": null,
|
| 193 |
+
"ds3_gather_for_generation": true,
|
| 194 |
+
"resume_only_model": false,
|
| 195 |
+
"optimizer": null,
|
| 196 |
+
"loss_type": null,
|
| 197 |
+
"metric": null,
|
| 198 |
+
"eval_use_evalscope": false,
|
| 199 |
+
"eval_dataset": [],
|
| 200 |
+
"eval_dataset_args": null,
|
| 201 |
+
"eval_limit": null,
|
| 202 |
+
"eval_generation_config": null,
|
| 203 |
+
"extra_eval_args": null,
|
| 204 |
+
"use_flash_ckpt": false,
|
| 205 |
+
"model": "Qwen/Qwen2.5-7B-Instruct",
|
| 206 |
+
"model_type": "qwen2_5",
|
| 207 |
+
"model_revision": null,
|
| 208 |
+
"task_type": "causal_lm",
|
| 209 |
+
"torch_dtype": "bfloat16",
|
| 210 |
+
"attn_impl": null,
|
| 211 |
+
"new_special_tokens": [],
|
| 212 |
+
"num_labels": null,
|
| 213 |
+
"problem_type": null,
|
| 214 |
+
"rope_scaling": null,
|
| 215 |
+
"device_map": null,
|
| 216 |
+
"max_memory": {},
|
| 217 |
+
"max_model_len": null,
|
| 218 |
+
"local_repo_path": null,
|
| 219 |
+
"init_strategy": null,
|
| 220 |
+
"template": "qwen2_5",
|
| 221 |
+
"system": null,
|
| 222 |
+
"max_length": 16240,
|
| 223 |
+
"truncation_strategy": "delete",
|
| 224 |
+
"max_pixels": null,
|
| 225 |
+
"agent_template": null,
|
| 226 |
+
"norm_bbox": null,
|
| 227 |
+
"use_chat_template": true,
|
| 228 |
+
"padding_free": false,
|
| 229 |
+
"padding_side": "right",
|
| 230 |
+
"loss_scale": "default",
|
| 231 |
+
"sequence_parallel_size": 1,
|
| 232 |
+
"response_prefix": null,
|
| 233 |
+
"template_backend": "swift",
|
| 234 |
+
"dataset": [
|
| 235 |
+
"rft_661q_7b_click_nourl_long_swift.jsonl",
|
| 236 |
+
"corr_data_1700q_old_click_nourl_swift.jsonl"
|
| 237 |
+
],
|
| 238 |
+
"val_dataset": [],
|
| 239 |
+
"split_dataset_ratio": 0.001,
|
| 240 |
+
"dataset_num_proc": 100,
|
| 241 |
+
"load_from_cache_file": true,
|
| 242 |
+
"dataset_shuffle": true,
|
| 243 |
+
"val_dataset_shuffle": false,
|
| 244 |
+
"streaming": false,
|
| 245 |
+
"interleave_prob": null,
|
| 246 |
+
"stopping_strategy": "first_exhausted",
|
| 247 |
+
"shuffle_buffer_size": 1000,
|
| 248 |
+
"download_mode": "reuse_dataset_if_exists",
|
| 249 |
+
"columns": {},
|
| 250 |
+
"strict": false,
|
| 251 |
+
"model_name": null,
|
| 252 |
+
"model_author": null,
|
| 253 |
+
"custom_dataset_info": [],
|
| 254 |
+
"quant_method": null,
|
| 255 |
+
"quant_bits": null,
|
| 256 |
+
"hqq_axis": null,
|
| 257 |
+
"bnb_4bit_compute_dtype": "bfloat16",
|
| 258 |
+
"bnb_4bit_quant_type": "nf4",
|
| 259 |
+
"bnb_4bit_use_double_quant": true,
|
| 260 |
+
"bnb_4bit_quant_storage": null,
|
| 261 |
+
"max_new_tokens": 64,
|
| 262 |
+
"temperature": 0.0,
|
| 263 |
+
"top_k": null,
|
| 264 |
+
"top_p": null,
|
| 265 |
+
"repetition_penalty": null,
|
| 266 |
+
"num_beams": 1,
|
| 267 |
+
"stream": false,
|
| 268 |
+
"stop_words": [],
|
| 269 |
+
"logprobs": false,
|
| 270 |
+
"top_logprobs": null,
|
| 271 |
+
"ckpt_dir": null,
|
| 272 |
+
"lora_modules": [],
|
| 273 |
+
"train_type": "full",
|
| 274 |
+
"adapters": [],
|
| 275 |
+
"external_plugins": [],
|
| 276 |
+
"model_kwargs": {},
|
| 277 |
+
"load_args": false,
|
| 278 |
+
"load_data_args": false,
|
| 279 |
+
"packing": false,
|
| 280 |
+
"packing_length": null,
|
| 281 |
+
"lazy_tokenize": false,
|
| 282 |
+
"cached_dataset": [],
|
| 283 |
+
"custom_register_path": [],
|
| 284 |
+
"use_hf": false,
|
| 285 |
+
"ignore_args_error": false,
|
| 286 |
+
"use_swift_lora": false,
|
| 287 |
+
"freeze_parameters": [],
|
| 288 |
+
"freeze_parameters_regex": null,
|
| 289 |
+
"freeze_parameters_ratio": 0.0,
|
| 290 |
+
"trainable_parameters": [],
|
| 291 |
+
"trainable_parameters_regex": null,
|
| 292 |
+
"freeze_llm": false,
|
| 293 |
+
"freeze_vit": true,
|
| 294 |
+
"freeze_aligner": false,
|
| 295 |
+
"target_modules": [
|
| 296 |
+
"all-linear"
|
| 297 |
+
],
|
| 298 |
+
"target_regex": null,
|
| 299 |
+
"modules_to_save": [],
|
| 300 |
+
"lora_rank": 8,
|
| 301 |
+
"lora_alpha": 32,
|
| 302 |
+
"lora_dropout": 0.05,
|
| 303 |
+
"lora_bias": "none",
|
| 304 |
+
"lora_dtype": null,
|
| 305 |
+
"lorap_lr_ratio": null,
|
| 306 |
+
"use_rslora": false,
|
| 307 |
+
"use_dora": false,
|
| 308 |
+
"lora_ga_batch_size": 2,
|
| 309 |
+
"lora_ga_iters": 2,
|
| 310 |
+
"lora_ga_max_length": 1024,
|
| 311 |
+
"lora_ga_direction": "ArB2r",
|
| 312 |
+
"lora_ga_scale": "stable",
|
| 313 |
+
"lora_ga_stable_gamma": 16,
|
| 314 |
+
"init_weights": true,
|
| 315 |
+
"fourier_n_frequency": 2000,
|
| 316 |
+
"fourier_scaling": 300.0,
|
| 317 |
+
"boft_block_size": 4,
|
| 318 |
+
"boft_block_num": 0,
|
| 319 |
+
"boft_n_butterfly_factor": 1,
|
| 320 |
+
"boft_dropout": 0.0,
|
| 321 |
+
"vera_rank": 256,
|
| 322 |
+
"vera_projection_prng_key": 0,
|
| 323 |
+
"vera_dropout": 0.0,
|
| 324 |
+
"vera_d_initial": 0.1,
|
| 325 |
+
"adapter_act": "gelu",
|
| 326 |
+
"adapter_length": 128,
|
| 327 |
+
"use_galore": false,
|
| 328 |
+
"galore_target_modules": null,
|
| 329 |
+
"galore_rank": 128,
|
| 330 |
+
"galore_update_proj_gap": 50,
|
| 331 |
+
"galore_scale": 1.0,
|
| 332 |
+
"galore_proj_type": "std",
|
| 333 |
+
"galore_optim_per_parameter": false,
|
| 334 |
+
"galore_with_embedding": false,
|
| 335 |
+
"galore_quantization": false,
|
| 336 |
+
"galore_proj_quant": false,
|
| 337 |
+
"galore_proj_bits": 4,
|
| 338 |
+
"galore_proj_group_size": 256,
|
| 339 |
+
"galore_cos_threshold": 0.4,
|
| 340 |
+
"galore_gamma_proj": 2,
|
| 341 |
+
"galore_queue_size": 5,
|
| 342 |
+
"adalora_target_r": 8,
|
| 343 |
+
"adalora_init_r": 12,
|
| 344 |
+
"adalora_tinit": 0,
|
| 345 |
+
"adalora_tfinal": 0,
|
| 346 |
+
"adalora_deltaT": 1,
|
| 347 |
+
"adalora_beta1": 0.85,
|
| 348 |
+
"adalora_beta2": 0.85,
|
| 349 |
+
"adalora_orth_reg_weight": 0.5,
|
| 350 |
+
"llamapro_num_new_blocks": 4,
|
| 351 |
+
"llamapro_num_groups": null,
|
| 352 |
+
"lisa_activated_layers": 0,
|
| 353 |
+
"lisa_step_interval": 20,
|
| 354 |
+
"reft_layer_key": null,
|
| 355 |
+
"reft_layers": null,
|
| 356 |
+
"reft_rank": 4,
|
| 357 |
+
"reft_intervention_type": "LoreftIntervention",
|
| 358 |
+
"reft_args": null,
|
| 359 |
+
"swanlab_token": null,
|
| 360 |
+
"swanlab_project": null,
|
| 361 |
+
"swanlab_workspace": null,
|
| 362 |
+
"swanlab_exp_name": null,
|
| 363 |
+
"swanlab_lark_webhook_url": null,
|
| 364 |
+
"swanlab_lark_secret": null,
|
| 365 |
+
"swanlab_mode": "cloud",
|
| 366 |
+
"add_version": true,
|
| 367 |
+
"create_checkpoint_symlink": false,
|
| 368 |
+
"zero_hpz_partition_size": null,
|
| 369 |
+
"deepspeed_autotp_size": null,
|
| 370 |
+
"early_stop_interval": null,
|
| 371 |
+
"rank": 0,
|
| 372 |
+
"global_world_size": 8,
|
| 373 |
+
"local_world_size": 8,
|
| 374 |
+
"model_suffix": "Qwen2.5-7B-Instruct",
|
| 375 |
+
"model_info": "ModelInfo(model_type='qwen2_5', model_dir='/usr/local/app/.cache/modelscope/hub/models/Qwen/Qwen2___5-7B-Instruct', torch_dtype=torch.bfloat16, max_model_len=32768, quant_method=None, quant_bits=None, rope_scaling=None, is_moe_model=False, config=None, task_type='causal_lm', num_labels=None)",
|
| 376 |
+
"model_meta": "ModelMeta(model_type='qwen2_5', model_groups=[ModelGroup(models=[Model(ms_model_id='Qwen/Qwen2.5-0.5B-Instruct', hf_model_id='Qwen/Qwen2.5-0.5B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-1.5B-Instruct', hf_model_id='Qwen/Qwen2.5-1.5B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-3B-Instruct', hf_model_id='Qwen/Qwen2.5-3B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-7B-Instruct', hf_model_id='Qwen/Qwen2.5-7B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-14B-Instruct', hf_model_id='Qwen/Qwen2.5-14B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-32B-Instruct', hf_model_id='Qwen/Qwen2.5-32B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-72B-Instruct', hf_model_id='Qwen/Qwen2.5-72B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-0.5B', hf_model_id='Qwen/Qwen2.5-0.5B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-1.5B', hf_model_id='Qwen/Qwen2.5-1.5B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-3B', hf_model_id='Qwen/Qwen2.5-3B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-7B', hf_model_id='Qwen/Qwen2.5-7B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-14B', hf_model_id='Qwen/Qwen2.5-14B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-32B', hf_model_id='Qwen/Qwen2.5-32B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-72B', hf_model_id='Qwen/Qwen2.5-72B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-0.5B-Instruct-GPTQ-Int4', hf_model_id='Qwen/Qwen2.5-0.5B-Instruct-GPTQ-Int4', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-1.5B-Instruct-GPTQ-Int4', hf_model_id='Qwen/Qwen2.5-1.5B-Instruct-GPTQ-Int4', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-3B-Instruct-GPTQ-Int4', hf_model_id='Qwen/Qwen2.5-3B-Instruct-GPTQ-Int4', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-7B-Instruct-GPTQ-Int4', hf_model_id='Qwen/Qwen2.5-7B-Instruct-GPTQ-Int4', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-14B-Instruct-GPTQ-Int4', hf_model_id='Qwen/Qwen2.5-14B-Instruct-GPTQ-Int4', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-32B-Instruct-GPTQ-Int4', hf_model_id='Qwen/Qwen2.5-32B-Instruct-GPTQ-Int4', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-72B-Instruct-GPTQ-Int4', hf_model_id='Qwen/Qwen2.5-72B-Instruct-GPTQ-Int4', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-0.5B-Instruct-GPTQ-Int8', hf_model_id='Qwen/Qwen2.5-0.5B-Instruct-GPTQ-Int8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-1.5B-Instruct-GPTQ-Int8', hf_model_id='Qwen/Qwen2.5-1.5B-Instruct-GPTQ-Int8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-3B-Instruct-GPTQ-Int8', hf_model_id='Qwen/Qwen2.5-3B-Instruct-GPTQ-Int8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-7B-Instruct-GPTQ-Int8', hf_model_id='Qwen/Qwen2.5-7B-Instruct-GPTQ-Int8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-14B-Instruct-GPTQ-Int8', hf_model_id='Qwen/Qwen2.5-14B-Instruct-GPTQ-Int8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-32B-Instruct-GPTQ-Int8', hf_model_id='Qwen/Qwen2.5-32B-Instruct-GPTQ-Int8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-72B-Instruct-GPTQ-Int8', hf_model_id='Qwen/Qwen2.5-72B-Instruct-GPTQ-Int8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-0.5B-Instruct-AWQ', hf_model_id='Qwen/Qwen2.5-0.5B-Instruct-AWQ', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-1.5B-Instruct-AWQ', hf_model_id='Qwen/Qwen2.5-1.5B-Instruct-AWQ', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-3B-Instruct-AWQ', hf_model_id='Qwen/Qwen2.5-3B-Instruct-AWQ', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-7B-Instruct-AWQ', hf_model_id='Qwen/Qwen2.5-7B-Instruct-AWQ', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-14B-Instruct-AWQ', hf_model_id='Qwen/Qwen2.5-14B-Instruct-AWQ', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-32B-Instruct-AWQ', hf_model_id='Qwen/Qwen2.5-32B-Instruct-AWQ', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-72B-Instruct-AWQ', hf_model_id='Qwen/Qwen2.5-72B-Instruct-AWQ', model_path=None, ms_revision=None, hf_revision=None)], ignore_patterns=None, requires=None, tags=[]), ModelGroup(models=[Model(ms_model_id='Qwen/Qwen2.5-Coder-0.5B-Instruct', hf_model_id='Qwen/Qwen2.5-Coder-0.5B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-1.5B-Instruct', hf_model_id='Qwen/Qwen2.5-Coder-1.5B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-3B-Instruct', hf_model_id='Qwen/Qwen2.5-Coder-3B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-7B-Instruct', hf_model_id='Qwen/Qwen2.5-Coder-7B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-14B-Instruct', hf_model_id='Qwen/Qwen2.5-Coder-14B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-32B-Instruct', hf_model_id='Qwen/Qwen2.5-Coder-32B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-0.5B', hf_model_id='Qwen/Qwen2.5-Coder-0.5B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-1.5B', hf_model_id='Qwen/Qwen2.5-Coder-1.5B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-3B', hf_model_id='Qwen/Qwen2.5-Coder-3B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-7B', hf_model_id='Qwen/Qwen2.5-Coder-7B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-14B', hf_model_id='Qwen/Qwen2.5-Coder-14B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-32B', hf_model_id='Qwen/Qwen2.5-Coder-32B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-0.5B-Instruct-AWQ', hf_model_id='Qwen/Qwen2.5-Coder-0.5B-Instruct-AWQ', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-1.5B-Instruct-AWQ', hf_model_id='Qwen/Qwen2.5-Coder-1.5B-Instruct-AWQ', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-3B-Instruct-AWQ', hf_model_id='Qwen/Qwen2.5-Coder-3B-Instruct-AWQ', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-7B-Instruct-AWQ', hf_model_id='Qwen/Qwen2.5-Coder-7B-Instruct-AWQ', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-14B-Instruct-AWQ', hf_model_id='Qwen/Qwen2.5-Coder-14B-Instruct-AWQ', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-32B-Instruct-AWQ', hf_model_id='Qwen/Qwen2.5-Coder-32B-Instruct-AWQ', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-0.5B-Instruct-GPTQ-Int4', hf_model_id='Qwen/Qwen2.5-Coder-0.5B-Instruct-GPTQ-Int4', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-0.5B-Instruct-GPTQ-Int8', hf_model_id='Qwen/Qwen2.5-Coder-0.5B-Instruct-GPTQ-Int8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-1.5B-Instruct-GPTQ-Int4', hf_model_id='Qwen/Qwen2.5-Coder-1.5B-Instruct-GPTQ-Int4', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-1.5B-Instruct-GPTQ-Int8', hf_model_id='Qwen/Qwen2.5-Coder-1.5B-Instruct-GPTQ-Int8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-3B-Instruct-GPTQ-Int4', hf_model_id='Qwen/Qwen2.5-Coder-3B-Instruct-GPTQ-Int4', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-3B-Instruct-GPTQ-Int8', hf_model_id='Qwen/Qwen2.5-Coder-3B-Instruct-GPTQ-Int8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-7B-Instruct-GPTQ-Int4', hf_model_id='Qwen/Qwen2.5-Coder-7B-Instruct-GPTQ-Int4', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-7B-Instruct-GPTQ-Int8', hf_model_id='Qwen/Qwen2.5-Coder-7B-Instruct-GPTQ-Int8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-14B-Instruct-GPTQ-Int4', hf_model_id='Qwen/Qwen2.5-Coder-14B-Instruct-GPTQ-Int4', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-14B-Instruct-GPTQ-Int8', hf_model_id='Qwen/Qwen2.5-Coder-14B-Instruct-GPTQ-Int8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-32B-Instruct-GPTQ-Int4', hf_model_id='Qwen/Qwen2.5-Coder-32B-Instruct-GPTQ-Int4', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-32B-Instruct-GPTQ-Int8', hf_model_id='Qwen/Qwen2.5-Coder-32B-Instruct-GPTQ-Int8', model_path=None, ms_revision=None, hf_revision=None)], ignore_patterns=None, requires=None, tags=['coding']), ModelGroup(models=[Model(ms_model_id='moonshotai/Kimi-Dev-72B', hf_model_id='moonshotai/Kimi-Dev-72B', model_path=None, ms_revision=None, hf_revision=None)], ignore_patterns=None, requires=None, tags=[])], template='qwen2_5', get_function=<function get_model_tokenizer_with_flash_attn at 0x7fdca4890e50>, model_arch=ModelKeys(arch_name='llama', embedding='model.embed_tokens', module_list='model.layers', lm_head='lm_head', q_proj='model.layers.{}.self_attn.q_proj', k_proj='model.layers.{}.self_attn.k_proj', v_proj='model.layers.{}.self_attn.v_proj', o_proj='model.layers.{}.self_attn.o_proj', attention='model.layers.{}.self_attn', mlp='model.layers.{}.mlp', down_proj='model.layers.{}.mlp.down_proj', qkv_proj=None, qk_proj=None, qa_proj=None, qb_proj=None, kv_proj=None, kva_proj=None, kvb_proj=None), architectures=['Qwen2ForCausalLM'], additional_saved_files=[], torch_dtype=None, is_multimodal=False, is_reward=False, task_type=None, ignore_patterns=None, requires=['transformers>=4.37'], tags=[])",
|
| 377 |
+
"model_dir": "/usr/local/app/.cache/modelscope/hub/models/Qwen/Qwen2___5-7B-Instruct",
|
| 378 |
+
"hub": "<class 'swift.hub.hub.MSHub'>",
|
| 379 |
+
"evaluation_strategy": "epoch",
|
| 380 |
+
"training_args": "Seq2SeqTrainingArguments(output_dir='/group/40143/hongzhuyi/ms-swift/output/v0-20250820-110326', overwrite_output_dir=False, do_train=False, do_eval=True, do_predict=False, eval_strategy=<IntervalStrategy.EPOCH: 'epoch'>, prediction_loss_only=False, per_device_train_batch_size=1, per_device_eval_batch_size=1, per_gpu_train_batch_size=None, per_gpu_eval_batch_size=None, gradient_accumulation_steps=2, eval_accumulation_steps=None, eval_delay=0, torch_empty_cache_steps=None, learning_rate=1e-06, weight_decay=0.1, adam_beta1=0.9, adam_beta2=0.95, adam_epsilon=1e-08, max_grad_norm=1.0, num_train_epochs=1.0, max_steps=-1, lr_scheduler_type=<SchedulerType.COSINE: 'cosine'>, lr_scheduler_kwargs=None, warmup_ratio=0.05, warmup_steps=0, log_level='passive', log_level_replica='warning', log_on_each_node=True, logging_dir='/group/40143/hongzhuyi/ms-swift/output/v0-20250820-110326/runs', logging_strategy=<IntervalStrategy.STEPS: 'steps'>, logging_first_step=True, logging_steps=1, logging_nan_inf_filter=True, save_strategy=<SaveStrategy.EPOCH: 'epoch'>, save_steps=500, save_total_limit=None, save_safetensors=True, save_on_each_node=False, save_only_model=False, restore_callback_states_from_checkpoint=False, no_cuda=False, use_cpu=False, use_mps_device=False, seed=42, data_seed=42, jit_mode_eval=False, use_ipex=False, bf16=True, fp16=False, fp16_opt_level='O1', half_precision_backend='auto', bf16_full_eval=False, fp16_full_eval=False, tf32=None, local_rank=0, ddp_backend=None, tpu_num_cores=None, tpu_metrics_debug=False, debug=[], dataloader_drop_last=False, eval_steps=20.0, dataloader_num_workers=48, dataloader_prefetch_factor=10, past_index=-1, run_name='/group/40143/hongzhuyi/ms-swift/output/v0-20250820-110326', disable_tqdm=False, remove_unused_columns=False, label_names=None, load_best_model_at_end=False, metric_for_best_model='loss', greater_is_better=False, ignore_data_skip=False, fsdp=[], fsdp_min_num_params=0, fsdp_config={'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}, fsdp_transformer_layer_cls_to_wrap=None, 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), deepspeed={'fp16': {'enabled': 'auto', 'loss_scale': 0, 'loss_scale_window': 1000, 'initial_scale_power': 16, 'hysteresis': 2, 'min_loss_scale': 1}, 'bf16': {'enabled': 'auto'}, 'zero_optimization': {'stage': 3, 'offload_optimizer': {'device': 'none', 'pin_memory': True}, 'offload_param': {'device': 'none', 'pin_memory': True}, 'overlap_comm': False, 'contiguous_gradients': True, 'sub_group_size': 1000000000.0, 'reduce_bucket_size': 'auto', 'zero_quantized_weights': False, 'zero_quantized_gradients': False, 'stage3_prefetch_bucket_size': 'auto', 'stage3_param_persistence_threshold': 'auto', 'stage3_max_live_parameters': 1000000000.0, 'stage3_max_reuse_distance': 1000000000.0, 'stage3_gather_16bit_weights_on_model_save': True}, 'gradient_accumulation_steps': 'auto', 'gradient_clipping': 'auto', 'steps_per_print': 2000, 'train_batch_size': 'auto', 'train_micro_batch_size_per_gpu': 'auto', 'wall_clock_breakdown': False}, label_smoothing_factor=0.0, optim=<OptimizerNames.ADAMW_TORCH_FUSED: 'adamw_torch_fused'>, optim_args=None, adafactor=False, group_by_length=False, length_column_name='length', report_to=['tensorboard'], ddp_find_unused_parameters=None, ddp_bucket_cap_mb=None, ddp_broadcast_buffers=None, dataloader_pin_memory=True, dataloader_persistent_workers=False, skip_memory_metrics=True, use_legacy_prediction_loop=False, push_to_hub=False, resume_from_checkpoint=None, hub_model_id=None, hub_strategy=<HubStrategy.EVERY_SAVE: 'every_save'>, hub_token=None, hub_private_repo=None, hub_always_push=False, hub_revision=None, gradient_checkpointing=True, gradient_checkpointing_kwargs=None, include_inputs_for_metrics=False, include_for_metrics=[], eval_do_concat_batches=True, fp16_backend='auto', push_to_hub_model_id=None, push_to_hub_organization=None, push_to_hub_token=None, mp_parameters='', auto_find_batch_size=False, full_determinism=False, torchdynamo=None, ray_scope='last', ddp_timeout=18000000, torch_compile=False, torch_compile_backend=None, torch_compile_mode=None, include_tokens_per_second=None, include_num_input_tokens_seen=None, neftune_noise_alpha=None, optim_target_modules=None, batch_eval_metrics=False, eval_on_start=False, use_liger_kernel=False, liger_kernel_config=None, eval_use_gather_object=False, average_tokens_across_devices=None, sortish_sampler=False, predict_with_generate=False, generation_max_length=None, generation_num_beams=None, generation_config=None, tuner_backend='peft', vit_gradient_checkpointing=True, router_aux_loss_coef=0.0, enable_dft_loss=False, check_model=True, acc_strategy='token', train_dataloader_shuffle=True, max_epochs=None, aligner_lr=None, vit_lr=None, use_logits_to_keep=None, channels=None, ds3_gather_for_generation=True, resume_only_model=False, optimizer=None, loss_type=None, metric=None, eval_use_evalscope=False, eval_dataset=[], eval_dataset_args=None, eval_limit=None, eval_generation_config=None, extra_eval_args=None, use_flash_ckpt=False, sft_alpha=0, train_type='full', local_repo_path=None, galore_config=None)"
|
| 381 |
+
}
|
qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/checkpoint-497/added_tokens.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"</tool_call>": 151658,
|
| 3 |
+
"<tool_call>": 151657,
|
| 4 |
+
"<|box_end|>": 151649,
|
| 5 |
+
"<|box_start|>": 151648,
|
| 6 |
+
"<|endoftext|>": 151643,
|
| 7 |
+
"<|file_sep|>": 151664,
|
| 8 |
+
"<|fim_middle|>": 151660,
|
| 9 |
+
"<|fim_pad|>": 151662,
|
| 10 |
+
"<|fim_prefix|>": 151659,
|
| 11 |
+
"<|fim_suffix|>": 151661,
|
| 12 |
+
"<|im_end|>": 151645,
|
| 13 |
+
"<|im_start|>": 151644,
|
| 14 |
+
"<|image_pad|>": 151655,
|
| 15 |
+
"<|object_ref_end|>": 151647,
|
| 16 |
+
"<|object_ref_start|>": 151646,
|
| 17 |
+
"<|quad_end|>": 151651,
|
| 18 |
+
"<|quad_start|>": 151650,
|
| 19 |
+
"<|repo_name|>": 151663,
|
| 20 |
+
"<|video_pad|>": 151656,
|
| 21 |
+
"<|vision_end|>": 151653,
|
| 22 |
+
"<|vision_pad|>": 151654,
|
| 23 |
+
"<|vision_start|>": 151652
|
| 24 |
+
}
|
qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/checkpoint-497/args.json
ADDED
|
@@ -0,0 +1,381 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"output_dir": "/group/40143/hongzhuyi/ms-swift/output/v0-20250820-110326",
|
| 3 |
+
"overwrite_output_dir": false,
|
| 4 |
+
"do_train": false,
|
| 5 |
+
"do_eval": false,
|
| 6 |
+
"do_predict": false,
|
| 7 |
+
"eval_strategy": "epoch",
|
| 8 |
+
"prediction_loss_only": false,
|
| 9 |
+
"per_device_train_batch_size": 1,
|
| 10 |
+
"per_device_eval_batch_size": 1,
|
| 11 |
+
"per_gpu_train_batch_size": null,
|
| 12 |
+
"per_gpu_eval_batch_size": null,
|
| 13 |
+
"gradient_accumulation_steps": 2,
|
| 14 |
+
"eval_accumulation_steps": null,
|
| 15 |
+
"eval_delay": 0,
|
| 16 |
+
"torch_empty_cache_steps": null,
|
| 17 |
+
"learning_rate": 1e-06,
|
| 18 |
+
"weight_decay": 0.1,
|
| 19 |
+
"adam_beta1": 0.9,
|
| 20 |
+
"adam_beta2": 0.95,
|
| 21 |
+
"adam_epsilon": 1e-08,
|
| 22 |
+
"max_grad_norm": 1.0,
|
| 23 |
+
"num_train_epochs": 1.0,
|
| 24 |
+
"max_steps": -1,
|
| 25 |
+
"lr_scheduler_type": "cosine",
|
| 26 |
+
"lr_scheduler_kwargs": null,
|
| 27 |
+
"warmup_ratio": 0.05,
|
| 28 |
+
"warmup_steps": 0,
|
| 29 |
+
"log_level": "passive",
|
| 30 |
+
"log_level_replica": "warning",
|
| 31 |
+
"log_on_each_node": true,
|
| 32 |
+
"logging_dir": "/group/40143/hongzhuyi/ms-swift/output/v0-20250820-110326/runs",
|
| 33 |
+
"logging_strategy": "steps",
|
| 34 |
+
"logging_first_step": true,
|
| 35 |
+
"logging_steps": 1,
|
| 36 |
+
"logging_nan_inf_filter": true,
|
| 37 |
+
"save_strategy": "epoch",
|
| 38 |
+
"save_steps": 500,
|
| 39 |
+
"save_total_limit": null,
|
| 40 |
+
"save_safetensors": true,
|
| 41 |
+
"save_on_each_node": false,
|
| 42 |
+
"save_only_model": false,
|
| 43 |
+
"restore_callback_states_from_checkpoint": false,
|
| 44 |
+
"no_cuda": false,
|
| 45 |
+
"use_cpu": false,
|
| 46 |
+
"use_mps_device": false,
|
| 47 |
+
"seed": 42,
|
| 48 |
+
"data_seed": 42,
|
| 49 |
+
"jit_mode_eval": false,
|
| 50 |
+
"use_ipex": false,
|
| 51 |
+
"bf16": true,
|
| 52 |
+
"fp16": false,
|
| 53 |
+
"fp16_opt_level": "O1",
|
| 54 |
+
"half_precision_backend": "auto",
|
| 55 |
+
"bf16_full_eval": false,
|
| 56 |
+
"fp16_full_eval": false,
|
| 57 |
+
"tf32": null,
|
| 58 |
+
"local_rank": 0,
|
| 59 |
+
"ddp_backend": null,
|
| 60 |
+
"tpu_num_cores": null,
|
| 61 |
+
"tpu_metrics_debug": false,
|
| 62 |
+
"debug": null,
|
| 63 |
+
"dataloader_drop_last": false,
|
| 64 |
+
"eval_steps": 20.0,
|
| 65 |
+
"dataloader_num_workers": 48,
|
| 66 |
+
"dataloader_prefetch_factor": null,
|
| 67 |
+
"past_index": -1,
|
| 68 |
+
"run_name": "/group/40143/hongzhuyi/ms-swift/output/v0-20250820-110326",
|
| 69 |
+
"disable_tqdm": null,
|
| 70 |
+
"remove_unused_columns": true,
|
| 71 |
+
"label_names": null,
|
| 72 |
+
"load_best_model_at_end": false,
|
| 73 |
+
"metric_for_best_model": "loss",
|
| 74 |
+
"greater_is_better": false,
|
| 75 |
+
"ignore_data_skip": false,
|
| 76 |
+
"fsdp": "",
|
| 77 |
+
"fsdp_min_num_params": 0,
|
| 78 |
+
"fsdp_config": null,
|
| 79 |
+
"fsdp_transformer_layer_cls_to_wrap": null,
|
| 80 |
+
"accelerator_config": {
|
| 81 |
+
"dispatch_batches": false
|
| 82 |
+
},
|
| 83 |
+
"deepspeed": {
|
| 84 |
+
"fp16": {
|
| 85 |
+
"enabled": "auto",
|
| 86 |
+
"loss_scale": 0,
|
| 87 |
+
"loss_scale_window": 1000,
|
| 88 |
+
"initial_scale_power": 16,
|
| 89 |
+
"hysteresis": 2,
|
| 90 |
+
"min_loss_scale": 1
|
| 91 |
+
},
|
| 92 |
+
"bf16": {
|
| 93 |
+
"enabled": "auto"
|
| 94 |
+
},
|
| 95 |
+
"zero_optimization": {
|
| 96 |
+
"stage": 3,
|
| 97 |
+
"offload_optimizer": {
|
| 98 |
+
"device": "none",
|
| 99 |
+
"pin_memory": true
|
| 100 |
+
},
|
| 101 |
+
"offload_param": {
|
| 102 |
+
"device": "none",
|
| 103 |
+
"pin_memory": true
|
| 104 |
+
},
|
| 105 |
+
"overlap_comm": false,
|
| 106 |
+
"contiguous_gradients": true,
|
| 107 |
+
"sub_group_size": 1000000000.0,
|
| 108 |
+
"reduce_bucket_size": "auto",
|
| 109 |
+
"zero_quantized_weights": false,
|
| 110 |
+
"zero_quantized_gradients": false,
|
| 111 |
+
"stage3_prefetch_bucket_size": "auto",
|
| 112 |
+
"stage3_param_persistence_threshold": "auto",
|
| 113 |
+
"stage3_max_live_parameters": 1000000000.0,
|
| 114 |
+
"stage3_max_reuse_distance": 1000000000.0,
|
| 115 |
+
"stage3_gather_16bit_weights_on_model_save": true
|
| 116 |
+
},
|
| 117 |
+
"gradient_accumulation_steps": "auto",
|
| 118 |
+
"gradient_clipping": "auto",
|
| 119 |
+
"steps_per_print": 2000,
|
| 120 |
+
"train_batch_size": "auto",
|
| 121 |
+
"train_micro_batch_size_per_gpu": "auto",
|
| 122 |
+
"wall_clock_breakdown": false
|
| 123 |
+
},
|
| 124 |
+
"label_smoothing_factor": 0.0,
|
| 125 |
+
"optim": "adamw_torch_fused",
|
| 126 |
+
"optim_args": null,
|
| 127 |
+
"adafactor": false,
|
| 128 |
+
"group_by_length": false,
|
| 129 |
+
"length_column_name": "length",
|
| 130 |
+
"report_to": [
|
| 131 |
+
"tensorboard"
|
| 132 |
+
],
|
| 133 |
+
"ddp_find_unused_parameters": null,
|
| 134 |
+
"ddp_bucket_cap_mb": null,
|
| 135 |
+
"ddp_broadcast_buffers": null,
|
| 136 |
+
"dataloader_pin_memory": true,
|
| 137 |
+
"dataloader_persistent_workers": false,
|
| 138 |
+
"skip_memory_metrics": true,
|
| 139 |
+
"use_legacy_prediction_loop": false,
|
| 140 |
+
"push_to_hub": false,
|
| 141 |
+
"resume_from_checkpoint": null,
|
| 142 |
+
"hub_model_id": null,
|
| 143 |
+
"hub_strategy": "every_save",
|
| 144 |
+
"hub_token": null,
|
| 145 |
+
"hub_private_repo": null,
|
| 146 |
+
"hub_always_push": false,
|
| 147 |
+
"hub_revision": null,
|
| 148 |
+
"gradient_checkpointing": true,
|
| 149 |
+
"gradient_checkpointing_kwargs": null,
|
| 150 |
+
"include_inputs_for_metrics": false,
|
| 151 |
+
"include_for_metrics": [],
|
| 152 |
+
"eval_do_concat_batches": true,
|
| 153 |
+
"fp16_backend": "auto",
|
| 154 |
+
"push_to_hub_model_id": null,
|
| 155 |
+
"push_to_hub_organization": null,
|
| 156 |
+
"push_to_hub_token": null,
|
| 157 |
+
"mp_parameters": "",
|
| 158 |
+
"auto_find_batch_size": false,
|
| 159 |
+
"full_determinism": false,
|
| 160 |
+
"torchdynamo": null,
|
| 161 |
+
"ray_scope": "last",
|
| 162 |
+
"ddp_timeout": 18000000,
|
| 163 |
+
"torch_compile": false,
|
| 164 |
+
"torch_compile_backend": null,
|
| 165 |
+
"torch_compile_mode": null,
|
| 166 |
+
"include_tokens_per_second": false,
|
| 167 |
+
"include_num_input_tokens_seen": false,
|
| 168 |
+
"neftune_noise_alpha": null,
|
| 169 |
+
"optim_target_modules": null,
|
| 170 |
+
"batch_eval_metrics": false,
|
| 171 |
+
"eval_on_start": false,
|
| 172 |
+
"use_liger_kernel": false,
|
| 173 |
+
"liger_kernel_config": null,
|
| 174 |
+
"eval_use_gather_object": false,
|
| 175 |
+
"average_tokens_across_devices": true,
|
| 176 |
+
"sortish_sampler": false,
|
| 177 |
+
"predict_with_generate": false,
|
| 178 |
+
"generation_max_length": null,
|
| 179 |
+
"generation_num_beams": null,
|
| 180 |
+
"generation_config": null,
|
| 181 |
+
"tuner_backend": "peft",
|
| 182 |
+
"vit_gradient_checkpointing": null,
|
| 183 |
+
"router_aux_loss_coef": 0.0,
|
| 184 |
+
"enable_dft_loss": false,
|
| 185 |
+
"check_model": true,
|
| 186 |
+
"acc_strategy": "token",
|
| 187 |
+
"train_dataloader_shuffle": true,
|
| 188 |
+
"max_epochs": null,
|
| 189 |
+
"aligner_lr": null,
|
| 190 |
+
"vit_lr": null,
|
| 191 |
+
"use_logits_to_keep": null,
|
| 192 |
+
"channels": null,
|
| 193 |
+
"ds3_gather_for_generation": true,
|
| 194 |
+
"resume_only_model": false,
|
| 195 |
+
"optimizer": null,
|
| 196 |
+
"loss_type": null,
|
| 197 |
+
"metric": null,
|
| 198 |
+
"eval_use_evalscope": false,
|
| 199 |
+
"eval_dataset": [],
|
| 200 |
+
"eval_dataset_args": null,
|
| 201 |
+
"eval_limit": null,
|
| 202 |
+
"eval_generation_config": null,
|
| 203 |
+
"extra_eval_args": null,
|
| 204 |
+
"use_flash_ckpt": false,
|
| 205 |
+
"model": "Qwen/Qwen2.5-7B-Instruct",
|
| 206 |
+
"model_type": "qwen2_5",
|
| 207 |
+
"model_revision": null,
|
| 208 |
+
"task_type": "causal_lm",
|
| 209 |
+
"torch_dtype": "bfloat16",
|
| 210 |
+
"attn_impl": null,
|
| 211 |
+
"new_special_tokens": [],
|
| 212 |
+
"num_labels": null,
|
| 213 |
+
"problem_type": null,
|
| 214 |
+
"rope_scaling": null,
|
| 215 |
+
"device_map": null,
|
| 216 |
+
"max_memory": {},
|
| 217 |
+
"max_model_len": null,
|
| 218 |
+
"local_repo_path": null,
|
| 219 |
+
"init_strategy": null,
|
| 220 |
+
"template": "qwen2_5",
|
| 221 |
+
"system": null,
|
| 222 |
+
"max_length": 16240,
|
| 223 |
+
"truncation_strategy": "delete",
|
| 224 |
+
"max_pixels": null,
|
| 225 |
+
"agent_template": null,
|
| 226 |
+
"norm_bbox": null,
|
| 227 |
+
"use_chat_template": true,
|
| 228 |
+
"padding_free": false,
|
| 229 |
+
"padding_side": "right",
|
| 230 |
+
"loss_scale": "default",
|
| 231 |
+
"sequence_parallel_size": 1,
|
| 232 |
+
"response_prefix": null,
|
| 233 |
+
"template_backend": "swift",
|
| 234 |
+
"dataset": [
|
| 235 |
+
"rft_661q_7b_click_nourl_long_swift.jsonl",
|
| 236 |
+
"corr_data_1700q_old_click_nourl_swift.jsonl"
|
| 237 |
+
],
|
| 238 |
+
"val_dataset": [],
|
| 239 |
+
"split_dataset_ratio": 0.001,
|
| 240 |
+
"dataset_num_proc": 100,
|
| 241 |
+
"load_from_cache_file": true,
|
| 242 |
+
"dataset_shuffle": true,
|
| 243 |
+
"val_dataset_shuffle": false,
|
| 244 |
+
"streaming": false,
|
| 245 |
+
"interleave_prob": null,
|
| 246 |
+
"stopping_strategy": "first_exhausted",
|
| 247 |
+
"shuffle_buffer_size": 1000,
|
| 248 |
+
"download_mode": "reuse_dataset_if_exists",
|
| 249 |
+
"columns": {},
|
| 250 |
+
"strict": false,
|
| 251 |
+
"model_name": null,
|
| 252 |
+
"model_author": null,
|
| 253 |
+
"custom_dataset_info": [],
|
| 254 |
+
"quant_method": null,
|
| 255 |
+
"quant_bits": null,
|
| 256 |
+
"hqq_axis": null,
|
| 257 |
+
"bnb_4bit_compute_dtype": "bfloat16",
|
| 258 |
+
"bnb_4bit_quant_type": "nf4",
|
| 259 |
+
"bnb_4bit_use_double_quant": true,
|
| 260 |
+
"bnb_4bit_quant_storage": null,
|
| 261 |
+
"max_new_tokens": 64,
|
| 262 |
+
"temperature": 0.0,
|
| 263 |
+
"top_k": null,
|
| 264 |
+
"top_p": null,
|
| 265 |
+
"repetition_penalty": null,
|
| 266 |
+
"num_beams": 1,
|
| 267 |
+
"stream": false,
|
| 268 |
+
"stop_words": [],
|
| 269 |
+
"logprobs": false,
|
| 270 |
+
"top_logprobs": null,
|
| 271 |
+
"ckpt_dir": null,
|
| 272 |
+
"lora_modules": [],
|
| 273 |
+
"train_type": "full",
|
| 274 |
+
"adapters": [],
|
| 275 |
+
"external_plugins": [],
|
| 276 |
+
"model_kwargs": {},
|
| 277 |
+
"load_args": false,
|
| 278 |
+
"load_data_args": false,
|
| 279 |
+
"packing": false,
|
| 280 |
+
"packing_length": null,
|
| 281 |
+
"lazy_tokenize": false,
|
| 282 |
+
"cached_dataset": [],
|
| 283 |
+
"custom_register_path": [],
|
| 284 |
+
"use_hf": false,
|
| 285 |
+
"ignore_args_error": false,
|
| 286 |
+
"use_swift_lora": false,
|
| 287 |
+
"freeze_parameters": [],
|
| 288 |
+
"freeze_parameters_regex": null,
|
| 289 |
+
"freeze_parameters_ratio": 0.0,
|
| 290 |
+
"trainable_parameters": [],
|
| 291 |
+
"trainable_parameters_regex": null,
|
| 292 |
+
"freeze_llm": false,
|
| 293 |
+
"freeze_vit": true,
|
| 294 |
+
"freeze_aligner": false,
|
| 295 |
+
"target_modules": [
|
| 296 |
+
"all-linear"
|
| 297 |
+
],
|
| 298 |
+
"target_regex": null,
|
| 299 |
+
"modules_to_save": [],
|
| 300 |
+
"lora_rank": 8,
|
| 301 |
+
"lora_alpha": 32,
|
| 302 |
+
"lora_dropout": 0.05,
|
| 303 |
+
"lora_bias": "none",
|
| 304 |
+
"lora_dtype": null,
|
| 305 |
+
"lorap_lr_ratio": null,
|
| 306 |
+
"use_rslora": false,
|
| 307 |
+
"use_dora": false,
|
| 308 |
+
"lora_ga_batch_size": 2,
|
| 309 |
+
"lora_ga_iters": 2,
|
| 310 |
+
"lora_ga_max_length": 1024,
|
| 311 |
+
"lora_ga_direction": "ArB2r",
|
| 312 |
+
"lora_ga_scale": "stable",
|
| 313 |
+
"lora_ga_stable_gamma": 16,
|
| 314 |
+
"init_weights": true,
|
| 315 |
+
"fourier_n_frequency": 2000,
|
| 316 |
+
"fourier_scaling": 300.0,
|
| 317 |
+
"boft_block_size": 4,
|
| 318 |
+
"boft_block_num": 0,
|
| 319 |
+
"boft_n_butterfly_factor": 1,
|
| 320 |
+
"boft_dropout": 0.0,
|
| 321 |
+
"vera_rank": 256,
|
| 322 |
+
"vera_projection_prng_key": 0,
|
| 323 |
+
"vera_dropout": 0.0,
|
| 324 |
+
"vera_d_initial": 0.1,
|
| 325 |
+
"adapter_act": "gelu",
|
| 326 |
+
"adapter_length": 128,
|
| 327 |
+
"use_galore": false,
|
| 328 |
+
"galore_target_modules": null,
|
| 329 |
+
"galore_rank": 128,
|
| 330 |
+
"galore_update_proj_gap": 50,
|
| 331 |
+
"galore_scale": 1.0,
|
| 332 |
+
"galore_proj_type": "std",
|
| 333 |
+
"galore_optim_per_parameter": false,
|
| 334 |
+
"galore_with_embedding": false,
|
| 335 |
+
"galore_quantization": false,
|
| 336 |
+
"galore_proj_quant": false,
|
| 337 |
+
"galore_proj_bits": 4,
|
| 338 |
+
"galore_proj_group_size": 256,
|
| 339 |
+
"galore_cos_threshold": 0.4,
|
| 340 |
+
"galore_gamma_proj": 2,
|
| 341 |
+
"galore_queue_size": 5,
|
| 342 |
+
"adalora_target_r": 8,
|
| 343 |
+
"adalora_init_r": 12,
|
| 344 |
+
"adalora_tinit": 0,
|
| 345 |
+
"adalora_tfinal": 0,
|
| 346 |
+
"adalora_deltaT": 1,
|
| 347 |
+
"adalora_beta1": 0.85,
|
| 348 |
+
"adalora_beta2": 0.85,
|
| 349 |
+
"adalora_orth_reg_weight": 0.5,
|
| 350 |
+
"llamapro_num_new_blocks": 4,
|
| 351 |
+
"llamapro_num_groups": null,
|
| 352 |
+
"lisa_activated_layers": 0,
|
| 353 |
+
"lisa_step_interval": 20,
|
| 354 |
+
"reft_layer_key": null,
|
| 355 |
+
"reft_layers": null,
|
| 356 |
+
"reft_rank": 4,
|
| 357 |
+
"reft_intervention_type": "LoreftIntervention",
|
| 358 |
+
"reft_args": null,
|
| 359 |
+
"swanlab_token": null,
|
| 360 |
+
"swanlab_project": null,
|
| 361 |
+
"swanlab_workspace": null,
|
| 362 |
+
"swanlab_exp_name": null,
|
| 363 |
+
"swanlab_lark_webhook_url": null,
|
| 364 |
+
"swanlab_lark_secret": null,
|
| 365 |
+
"swanlab_mode": "cloud",
|
| 366 |
+
"add_version": true,
|
| 367 |
+
"create_checkpoint_symlink": false,
|
| 368 |
+
"zero_hpz_partition_size": null,
|
| 369 |
+
"deepspeed_autotp_size": null,
|
| 370 |
+
"early_stop_interval": null,
|
| 371 |
+
"rank": 0,
|
| 372 |
+
"global_world_size": 8,
|
| 373 |
+
"local_world_size": 8,
|
| 374 |
+
"model_suffix": "Qwen2.5-7B-Instruct",
|
| 375 |
+
"model_info": "ModelInfo(model_type='qwen2_5', model_dir='/usr/local/app/.cache/modelscope/hub/models/Qwen/Qwen2___5-7B-Instruct', torch_dtype=torch.bfloat16, max_model_len=32768, quant_method=None, quant_bits=None, rope_scaling=None, is_moe_model=False, config=None, task_type='causal_lm', num_labels=None)",
|
| 376 |
+
"model_meta": "ModelMeta(model_type='qwen2_5', model_groups=[ModelGroup(models=[Model(ms_model_id='Qwen/Qwen2.5-0.5B-Instruct', hf_model_id='Qwen/Qwen2.5-0.5B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-1.5B-Instruct', hf_model_id='Qwen/Qwen2.5-1.5B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-3B-Instruct', hf_model_id='Qwen/Qwen2.5-3B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-7B-Instruct', hf_model_id='Qwen/Qwen2.5-7B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-14B-Instruct', hf_model_id='Qwen/Qwen2.5-14B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-32B-Instruct', hf_model_id='Qwen/Qwen2.5-32B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-72B-Instruct', hf_model_id='Qwen/Qwen2.5-72B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-0.5B', hf_model_id='Qwen/Qwen2.5-0.5B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-1.5B', hf_model_id='Qwen/Qwen2.5-1.5B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-3B', hf_model_id='Qwen/Qwen2.5-3B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-7B', hf_model_id='Qwen/Qwen2.5-7B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-14B', hf_model_id='Qwen/Qwen2.5-14B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-32B', hf_model_id='Qwen/Qwen2.5-32B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-72B', hf_model_id='Qwen/Qwen2.5-72B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-0.5B-Instruct-GPTQ-Int4', hf_model_id='Qwen/Qwen2.5-0.5B-Instruct-GPTQ-Int4', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-1.5B-Instruct-GPTQ-Int4', hf_model_id='Qwen/Qwen2.5-1.5B-Instruct-GPTQ-Int4', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-3B-Instruct-GPTQ-Int4', hf_model_id='Qwen/Qwen2.5-3B-Instruct-GPTQ-Int4', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-7B-Instruct-GPTQ-Int4', hf_model_id='Qwen/Qwen2.5-7B-Instruct-GPTQ-Int4', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-14B-Instruct-GPTQ-Int4', hf_model_id='Qwen/Qwen2.5-14B-Instruct-GPTQ-Int4', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-32B-Instruct-GPTQ-Int4', hf_model_id='Qwen/Qwen2.5-32B-Instruct-GPTQ-Int4', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-72B-Instruct-GPTQ-Int4', hf_model_id='Qwen/Qwen2.5-72B-Instruct-GPTQ-Int4', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-0.5B-Instruct-GPTQ-Int8', hf_model_id='Qwen/Qwen2.5-0.5B-Instruct-GPTQ-Int8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-1.5B-Instruct-GPTQ-Int8', hf_model_id='Qwen/Qwen2.5-1.5B-Instruct-GPTQ-Int8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-3B-Instruct-GPTQ-Int8', hf_model_id='Qwen/Qwen2.5-3B-Instruct-GPTQ-Int8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-7B-Instruct-GPTQ-Int8', hf_model_id='Qwen/Qwen2.5-7B-Instruct-GPTQ-Int8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-14B-Instruct-GPTQ-Int8', hf_model_id='Qwen/Qwen2.5-14B-Instruct-GPTQ-Int8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-32B-Instruct-GPTQ-Int8', hf_model_id='Qwen/Qwen2.5-32B-Instruct-GPTQ-Int8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-72B-Instruct-GPTQ-Int8', hf_model_id='Qwen/Qwen2.5-72B-Instruct-GPTQ-Int8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-0.5B-Instruct-AWQ', hf_model_id='Qwen/Qwen2.5-0.5B-Instruct-AWQ', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-1.5B-Instruct-AWQ', hf_model_id='Qwen/Qwen2.5-1.5B-Instruct-AWQ', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-3B-Instruct-AWQ', hf_model_id='Qwen/Qwen2.5-3B-Instruct-AWQ', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-7B-Instruct-AWQ', hf_model_id='Qwen/Qwen2.5-7B-Instruct-AWQ', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-14B-Instruct-AWQ', hf_model_id='Qwen/Qwen2.5-14B-Instruct-AWQ', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-32B-Instruct-AWQ', hf_model_id='Qwen/Qwen2.5-32B-Instruct-AWQ', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-72B-Instruct-AWQ', hf_model_id='Qwen/Qwen2.5-72B-Instruct-AWQ', model_path=None, ms_revision=None, hf_revision=None)], ignore_patterns=None, requires=None, tags=[]), ModelGroup(models=[Model(ms_model_id='Qwen/Qwen2.5-Coder-0.5B-Instruct', hf_model_id='Qwen/Qwen2.5-Coder-0.5B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-1.5B-Instruct', hf_model_id='Qwen/Qwen2.5-Coder-1.5B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-3B-Instruct', hf_model_id='Qwen/Qwen2.5-Coder-3B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-7B-Instruct', hf_model_id='Qwen/Qwen2.5-Coder-7B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-14B-Instruct', hf_model_id='Qwen/Qwen2.5-Coder-14B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-32B-Instruct', hf_model_id='Qwen/Qwen2.5-Coder-32B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-0.5B', hf_model_id='Qwen/Qwen2.5-Coder-0.5B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-1.5B', hf_model_id='Qwen/Qwen2.5-Coder-1.5B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-3B', hf_model_id='Qwen/Qwen2.5-Coder-3B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-7B', hf_model_id='Qwen/Qwen2.5-Coder-7B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-14B', hf_model_id='Qwen/Qwen2.5-Coder-14B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-32B', hf_model_id='Qwen/Qwen2.5-Coder-32B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-0.5B-Instruct-AWQ', hf_model_id='Qwen/Qwen2.5-Coder-0.5B-Instruct-AWQ', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-1.5B-Instruct-AWQ', hf_model_id='Qwen/Qwen2.5-Coder-1.5B-Instruct-AWQ', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-3B-Instruct-AWQ', hf_model_id='Qwen/Qwen2.5-Coder-3B-Instruct-AWQ', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-7B-Instruct-AWQ', hf_model_id='Qwen/Qwen2.5-Coder-7B-Instruct-AWQ', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-14B-Instruct-AWQ', hf_model_id='Qwen/Qwen2.5-Coder-14B-Instruct-AWQ', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-32B-Instruct-AWQ', hf_model_id='Qwen/Qwen2.5-Coder-32B-Instruct-AWQ', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-0.5B-Instruct-GPTQ-Int4', hf_model_id='Qwen/Qwen2.5-Coder-0.5B-Instruct-GPTQ-Int4', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-0.5B-Instruct-GPTQ-Int8', hf_model_id='Qwen/Qwen2.5-Coder-0.5B-Instruct-GPTQ-Int8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-1.5B-Instruct-GPTQ-Int4', hf_model_id='Qwen/Qwen2.5-Coder-1.5B-Instruct-GPTQ-Int4', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-1.5B-Instruct-GPTQ-Int8', hf_model_id='Qwen/Qwen2.5-Coder-1.5B-Instruct-GPTQ-Int8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-3B-Instruct-GPTQ-Int4', hf_model_id='Qwen/Qwen2.5-Coder-3B-Instruct-GPTQ-Int4', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-3B-Instruct-GPTQ-Int8', hf_model_id='Qwen/Qwen2.5-Coder-3B-Instruct-GPTQ-Int8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-7B-Instruct-GPTQ-Int4', hf_model_id='Qwen/Qwen2.5-Coder-7B-Instruct-GPTQ-Int4', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-7B-Instruct-GPTQ-Int8', hf_model_id='Qwen/Qwen2.5-Coder-7B-Instruct-GPTQ-Int8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-14B-Instruct-GPTQ-Int4', hf_model_id='Qwen/Qwen2.5-Coder-14B-Instruct-GPTQ-Int4', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-14B-Instruct-GPTQ-Int8', hf_model_id='Qwen/Qwen2.5-Coder-14B-Instruct-GPTQ-Int8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-32B-Instruct-GPTQ-Int4', hf_model_id='Qwen/Qwen2.5-Coder-32B-Instruct-GPTQ-Int4', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-32B-Instruct-GPTQ-Int8', hf_model_id='Qwen/Qwen2.5-Coder-32B-Instruct-GPTQ-Int8', model_path=None, ms_revision=None, hf_revision=None)], ignore_patterns=None, requires=None, tags=['coding']), ModelGroup(models=[Model(ms_model_id='moonshotai/Kimi-Dev-72B', hf_model_id='moonshotai/Kimi-Dev-72B', model_path=None, ms_revision=None, hf_revision=None)], ignore_patterns=None, requires=None, tags=[])], template='qwen2_5', get_function=<function get_model_tokenizer_with_flash_attn at 0x7fdca4890e50>, model_arch=ModelKeys(arch_name='llama', embedding='model.embed_tokens', module_list='model.layers', lm_head='lm_head', q_proj='model.layers.{}.self_attn.q_proj', k_proj='model.layers.{}.self_attn.k_proj', v_proj='model.layers.{}.self_attn.v_proj', o_proj='model.layers.{}.self_attn.o_proj', attention='model.layers.{}.self_attn', mlp='model.layers.{}.mlp', down_proj='model.layers.{}.mlp.down_proj', qkv_proj=None, qk_proj=None, qa_proj=None, qb_proj=None, kv_proj=None, kva_proj=None, kvb_proj=None), architectures=['Qwen2ForCausalLM'], additional_saved_files=[], torch_dtype=None, is_multimodal=False, is_reward=False, task_type=None, ignore_patterns=None, requires=['transformers>=4.37'], tags=[])",
|
| 377 |
+
"model_dir": "/usr/local/app/.cache/modelscope/hub/models/Qwen/Qwen2___5-7B-Instruct",
|
| 378 |
+
"hub": "<class 'swift.hub.hub.MSHub'>",
|
| 379 |
+
"evaluation_strategy": "epoch",
|
| 380 |
+
"training_args": "Seq2SeqTrainingArguments(output_dir='/group/40143/hongzhuyi/ms-swift/output/v0-20250820-110326', overwrite_output_dir=False, do_train=False, do_eval=True, do_predict=False, eval_strategy=<IntervalStrategy.EPOCH: 'epoch'>, prediction_loss_only=False, per_device_train_batch_size=1, per_device_eval_batch_size=1, per_gpu_train_batch_size=None, per_gpu_eval_batch_size=None, gradient_accumulation_steps=2, eval_accumulation_steps=None, eval_delay=0, torch_empty_cache_steps=None, learning_rate=1e-06, weight_decay=0.1, adam_beta1=0.9, adam_beta2=0.95, adam_epsilon=1e-08, max_grad_norm=1.0, num_train_epochs=1.0, max_steps=-1, lr_scheduler_type=<SchedulerType.COSINE: 'cosine'>, lr_scheduler_kwargs=None, warmup_ratio=0.05, warmup_steps=0, log_level='passive', log_level_replica='warning', log_on_each_node=True, logging_dir='/group/40143/hongzhuyi/ms-swift/output/v0-20250820-110326/runs', logging_strategy=<IntervalStrategy.STEPS: 'steps'>, logging_first_step=True, logging_steps=1, logging_nan_inf_filter=True, save_strategy=<SaveStrategy.EPOCH: 'epoch'>, save_steps=500, save_total_limit=None, save_safetensors=True, save_on_each_node=False, save_only_model=False, restore_callback_states_from_checkpoint=False, no_cuda=False, use_cpu=False, use_mps_device=False, seed=42, data_seed=42, jit_mode_eval=False, use_ipex=False, bf16=True, fp16=False, fp16_opt_level='O1', half_precision_backend='auto', bf16_full_eval=False, fp16_full_eval=False, tf32=None, local_rank=0, ddp_backend=None, tpu_num_cores=None, tpu_metrics_debug=False, debug=[], dataloader_drop_last=False, eval_steps=20.0, dataloader_num_workers=48, dataloader_prefetch_factor=10, past_index=-1, run_name='/group/40143/hongzhuyi/ms-swift/output/v0-20250820-110326', disable_tqdm=False, remove_unused_columns=False, label_names=None, load_best_model_at_end=False, metric_for_best_model='loss', greater_is_better=False, ignore_data_skip=False, fsdp=[], fsdp_min_num_params=0, fsdp_config={'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}, fsdp_transformer_layer_cls_to_wrap=None, 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), deepspeed={'fp16': {'enabled': 'auto', 'loss_scale': 0, 'loss_scale_window': 1000, 'initial_scale_power': 16, 'hysteresis': 2, 'min_loss_scale': 1}, 'bf16': {'enabled': 'auto'}, 'zero_optimization': {'stage': 3, 'offload_optimizer': {'device': 'none', 'pin_memory': True}, 'offload_param': {'device': 'none', 'pin_memory': True}, 'overlap_comm': False, 'contiguous_gradients': True, 'sub_group_size': 1000000000.0, 'reduce_bucket_size': 'auto', 'zero_quantized_weights': False, 'zero_quantized_gradients': False, 'stage3_prefetch_bucket_size': 'auto', 'stage3_param_persistence_threshold': 'auto', 'stage3_max_live_parameters': 1000000000.0, 'stage3_max_reuse_distance': 1000000000.0, 'stage3_gather_16bit_weights_on_model_save': True}, 'gradient_accumulation_steps': 'auto', 'gradient_clipping': 'auto', 'steps_per_print': 2000, 'train_batch_size': 'auto', 'train_micro_batch_size_per_gpu': 'auto', 'wall_clock_breakdown': False}, label_smoothing_factor=0.0, optim=<OptimizerNames.ADAMW_TORCH_FUSED: 'adamw_torch_fused'>, optim_args=None, adafactor=False, group_by_length=False, length_column_name='length', report_to=['tensorboard'], ddp_find_unused_parameters=None, ddp_bucket_cap_mb=None, ddp_broadcast_buffers=None, dataloader_pin_memory=True, dataloader_persistent_workers=False, skip_memory_metrics=True, use_legacy_prediction_loop=False, push_to_hub=False, resume_from_checkpoint=None, hub_model_id=None, hub_strategy=<HubStrategy.EVERY_SAVE: 'every_save'>, hub_token=None, hub_private_repo=None, hub_always_push=False, hub_revision=None, gradient_checkpointing=True, gradient_checkpointing_kwargs=None, include_inputs_for_metrics=False, include_for_metrics=[], eval_do_concat_batches=True, fp16_backend='auto', push_to_hub_model_id=None, push_to_hub_organization=None, push_to_hub_token=None, mp_parameters='', auto_find_batch_size=False, full_determinism=False, torchdynamo=None, ray_scope='last', ddp_timeout=18000000, torch_compile=False, torch_compile_backend=None, torch_compile_mode=None, include_tokens_per_second=None, include_num_input_tokens_seen=None, neftune_noise_alpha=None, optim_target_modules=None, batch_eval_metrics=False, eval_on_start=False, use_liger_kernel=False, liger_kernel_config=None, eval_use_gather_object=False, average_tokens_across_devices=None, sortish_sampler=False, predict_with_generate=False, generation_max_length=None, generation_num_beams=None, generation_config=None, tuner_backend='peft', vit_gradient_checkpointing=True, router_aux_loss_coef=0.0, enable_dft_loss=False, check_model=True, acc_strategy='token', train_dataloader_shuffle=True, max_epochs=None, aligner_lr=None, vit_lr=None, use_logits_to_keep=None, channels=None, ds3_gather_for_generation=True, resume_only_model=False, optimizer=None, loss_type=None, metric=None, eval_use_evalscope=False, eval_dataset=[], eval_dataset_args=None, eval_limit=None, eval_generation_config=None, extra_eval_args=None, use_flash_ckpt=False, sft_alpha=0, train_type='full', local_repo_path=None, galore_config=None)"
|
| 381 |
+
}
|
qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/checkpoint-497/chat_template.jinja
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{%- if tools %}
|
| 2 |
+
{{- '<|im_start|>system\n' }}
|
| 3 |
+
{%- if messages[0]['role'] == 'system' %}
|
| 4 |
+
{{- messages[0]['content'] }}
|
| 5 |
+
{%- else %}
|
| 6 |
+
{{- 'You are Qwen, created by Alibaba Cloud. You are a helpful assistant.' }}
|
| 7 |
+
{%- endif %}
|
| 8 |
+
{{- "\n\n# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
|
| 9 |
+
{%- for tool in tools %}
|
| 10 |
+
{{- "\n" }}
|
| 11 |
+
{{- tool | tojson }}
|
| 12 |
+
{%- endfor %}
|
| 13 |
+
{{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
|
| 14 |
+
{%- else %}
|
| 15 |
+
{%- if messages[0]['role'] == 'system' %}
|
| 16 |
+
{{- '<|im_start|>system\n' + messages[0]['content'] + '<|im_end|>\n' }}
|
| 17 |
+
{%- else %}
|
| 18 |
+
{{- '<|im_start|>system\nYou are Qwen, created by Alibaba Cloud. You are a helpful assistant.<|im_end|>\n' }}
|
| 19 |
+
{%- endif %}
|
| 20 |
+
{%- endif %}
|
| 21 |
+
{%- for message in messages %}
|
| 22 |
+
{%- if (message.role == "user") or (message.role == "system" and not loop.first) or (message.role == "assistant" and not message.tool_calls) %}
|
| 23 |
+
{{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
|
| 24 |
+
{%- elif message.role == "assistant" %}
|
| 25 |
+
{{- '<|im_start|>' + message.role }}
|
| 26 |
+
{%- if message.content %}
|
| 27 |
+
{{- '\n' + message.content }}
|
| 28 |
+
{%- endif %}
|
| 29 |
+
{%- for tool_call in message.tool_calls %}
|
| 30 |
+
{%- if tool_call.function is defined %}
|
| 31 |
+
{%- set tool_call = tool_call.function %}
|
| 32 |
+
{%- endif %}
|
| 33 |
+
{{- '\n<tool_call>\n{"name": "' }}
|
| 34 |
+
{{- tool_call.name }}
|
| 35 |
+
{{- '", "arguments": ' }}
|
| 36 |
+
{{- tool_call.arguments | tojson }}
|
| 37 |
+
{{- '}\n</tool_call>' }}
|
| 38 |
+
{%- endfor %}
|
| 39 |
+
{{- '<|im_end|>\n' }}
|
| 40 |
+
{%- elif message.role == "tool" %}
|
| 41 |
+
{%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != "tool") %}
|
| 42 |
+
{{- '<|im_start|>user' }}
|
| 43 |
+
{%- endif %}
|
| 44 |
+
{{- '\n<tool_response>\n' }}
|
| 45 |
+
{{- message.content }}
|
| 46 |
+
{{- '\n</tool_response>' }}
|
| 47 |
+
{%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
|
| 48 |
+
{{- '<|im_end|>\n' }}
|
| 49 |
+
{%- endif %}
|
| 50 |
+
{%- endif %}
|
| 51 |
+
{%- endfor %}
|
| 52 |
+
{%- if add_generation_prompt %}
|
| 53 |
+
{{- '<|im_start|>assistant\n' }}
|
| 54 |
+
{%- endif %}
|
qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/checkpoint-497/config.json
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Qwen2ForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"attention_dropout": 0.0,
|
| 6 |
+
"bos_token_id": 151643,
|
| 7 |
+
"eos_token_id": 151645,
|
| 8 |
+
"hidden_act": "silu",
|
| 9 |
+
"hidden_size": 3584,
|
| 10 |
+
"initializer_range": 0.02,
|
| 11 |
+
"intermediate_size": 18944,
|
| 12 |
+
"layer_types": [
|
| 13 |
+
"full_attention",
|
| 14 |
+
"full_attention",
|
| 15 |
+
"full_attention",
|
| 16 |
+
"full_attention",
|
| 17 |
+
"full_attention",
|
| 18 |
+
"full_attention",
|
| 19 |
+
"full_attention",
|
| 20 |
+
"full_attention",
|
| 21 |
+
"full_attention",
|
| 22 |
+
"full_attention",
|
| 23 |
+
"full_attention",
|
| 24 |
+
"full_attention",
|
| 25 |
+
"full_attention",
|
| 26 |
+
"full_attention",
|
| 27 |
+
"full_attention",
|
| 28 |
+
"full_attention",
|
| 29 |
+
"full_attention",
|
| 30 |
+
"full_attention",
|
| 31 |
+
"full_attention",
|
| 32 |
+
"full_attention",
|
| 33 |
+
"full_attention",
|
| 34 |
+
"full_attention",
|
| 35 |
+
"full_attention",
|
| 36 |
+
"full_attention",
|
| 37 |
+
"full_attention",
|
| 38 |
+
"full_attention",
|
| 39 |
+
"full_attention",
|
| 40 |
+
"full_attention"
|
| 41 |
+
],
|
| 42 |
+
"max_position_embeddings": 32768,
|
| 43 |
+
"max_window_layers": 28,
|
| 44 |
+
"model_type": "qwen2",
|
| 45 |
+
"num_attention_heads": 28,
|
| 46 |
+
"num_hidden_layers": 28,
|
| 47 |
+
"num_key_value_heads": 4,
|
| 48 |
+
"pad_token_id": 151643,
|
| 49 |
+
"rms_norm_eps": 1e-06,
|
| 50 |
+
"rope_scaling": null,
|
| 51 |
+
"rope_theta": 1000000.0,
|
| 52 |
+
"sliding_window": null,
|
| 53 |
+
"tie_word_embeddings": false,
|
| 54 |
+
"torch_dtype": "bfloat16",
|
| 55 |
+
"transformers_version": "4.55.2",
|
| 56 |
+
"use_cache": false,
|
| 57 |
+
"use_sliding_window": false,
|
| 58 |
+
"vocab_size": 152064
|
| 59 |
+
}
|
qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/checkpoint-497/generation_config.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token_id": 151643,
|
| 3 |
+
"do_sample": true,
|
| 4 |
+
"eos_token_id": [
|
| 5 |
+
151645,
|
| 6 |
+
151643
|
| 7 |
+
],
|
| 8 |
+
"pad_token_id": 151643,
|
| 9 |
+
"repetition_penalty": 1.05,
|
| 10 |
+
"temperature": 0.7,
|
| 11 |
+
"top_k": 20,
|
| 12 |
+
"top_p": 0.8,
|
| 13 |
+
"transformers_version": "4.55.2"
|
| 14 |
+
}
|
qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/checkpoint-497/latest
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
global_step497
|
qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/checkpoint-497/merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/checkpoint-497/model-00001-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6d94ea29155bad0f16c6555e33ff7ec89599aa64cb81225f2d375b7657a26abd
|
| 3 |
+
size 4877660776
|
qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/checkpoint-497/model-00002-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b091d1db564d2bf2bb50e4d5a2c2b3823a43cf7c6cf0e56a3c0154c1bc726548
|
| 3 |
+
size 4932751008
|
qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/checkpoint-497/model-00003-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9e323731955b27bb82c934ec290c7e35f071280c4c2ada03383cef5aa5689474
|
| 3 |
+
size 4330865200
|
qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/checkpoint-497/model-00004-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:43dd8ea184c6f100ab897b7358e9cde4f23fe566a9062b11c8a352e792a8647b
|
| 3 |
+
size 1089994880
|
qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/checkpoint-497/model.safetensors.index.json
ADDED
|
@@ -0,0 +1,347 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"metadata": {
|
| 3 |
+
"total_parameters": 333312,
|
| 4 |
+
"total_size": 15231233024
|
| 5 |
+
},
|
| 6 |
+
"weight_map": {
|
| 7 |
+
"lm_head.weight": "model-00004-of-00004.safetensors",
|
| 8 |
+
"model.embed_tokens.weight": "model-00001-of-00004.safetensors",
|
| 9 |
+
"model.layers.0.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 10 |
+
"model.layers.0.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 11 |
+
"model.layers.0.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 12 |
+
"model.layers.0.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 13 |
+
"model.layers.0.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 14 |
+
"model.layers.0.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
|
| 15 |
+
"model.layers.0.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 16 |
+
"model.layers.0.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 17 |
+
"model.layers.0.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
|
| 18 |
+
"model.layers.0.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 19 |
+
"model.layers.0.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
|
| 20 |
+
"model.layers.0.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 21 |
+
"model.layers.1.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 22 |
+
"model.layers.1.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 23 |
+
"model.layers.1.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 24 |
+
"model.layers.1.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 25 |
+
"model.layers.1.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 26 |
+
"model.layers.1.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
|
| 27 |
+
"model.layers.1.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 28 |
+
"model.layers.1.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 29 |
+
"model.layers.1.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
|
| 30 |
+
"model.layers.1.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 31 |
+
"model.layers.1.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
|
| 32 |
+
"model.layers.1.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 33 |
+
"model.layers.10.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 34 |
+
"model.layers.10.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 35 |
+
"model.layers.10.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 36 |
+
"model.layers.10.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 37 |
+
"model.layers.10.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 38 |
+
"model.layers.10.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
|
| 39 |
+
"model.layers.10.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 40 |
+
"model.layers.10.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 41 |
+
"model.layers.10.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
|
| 42 |
+
"model.layers.10.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 43 |
+
"model.layers.10.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
|
| 44 |
+
"model.layers.10.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 45 |
+
"model.layers.11.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 46 |
+
"model.layers.11.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 47 |
+
"model.layers.11.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 48 |
+
"model.layers.11.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 49 |
+
"model.layers.11.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 50 |
+
"model.layers.11.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
|
| 51 |
+
"model.layers.11.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 52 |
+
"model.layers.11.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 53 |
+
"model.layers.11.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
|
| 54 |
+
"model.layers.11.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 55 |
+
"model.layers.11.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
|
| 56 |
+
"model.layers.11.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 57 |
+
"model.layers.12.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 58 |
+
"model.layers.12.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 59 |
+
"model.layers.12.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 60 |
+
"model.layers.12.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 61 |
+
"model.layers.12.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 62 |
+
"model.layers.12.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
|
| 63 |
+
"model.layers.12.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 64 |
+
"model.layers.12.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 65 |
+
"model.layers.12.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
|
| 66 |
+
"model.layers.12.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 67 |
+
"model.layers.12.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
|
| 68 |
+
"model.layers.12.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 69 |
+
"model.layers.13.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 70 |
+
"model.layers.13.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 71 |
+
"model.layers.13.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 72 |
+
"model.layers.13.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 73 |
+
"model.layers.13.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 74 |
+
"model.layers.13.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
|
| 75 |
+
"model.layers.13.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 76 |
+
"model.layers.13.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 77 |
+
"model.layers.13.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
|
| 78 |
+
"model.layers.13.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 79 |
+
"model.layers.13.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
|
| 80 |
+
"model.layers.13.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 81 |
+
"model.layers.14.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 82 |
+
"model.layers.14.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 83 |
+
"model.layers.14.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 84 |
+
"model.layers.14.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 85 |
+
"model.layers.14.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 86 |
+
"model.layers.14.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
|
| 87 |
+
"model.layers.14.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 88 |
+
"model.layers.14.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 89 |
+
"model.layers.14.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
|
| 90 |
+
"model.layers.14.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 91 |
+
"model.layers.14.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
|
| 92 |
+
"model.layers.14.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 93 |
+
"model.layers.15.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 94 |
+
"model.layers.15.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 95 |
+
"model.layers.15.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 96 |
+
"model.layers.15.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 97 |
+
"model.layers.15.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 98 |
+
"model.layers.15.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
|
| 99 |
+
"model.layers.15.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 100 |
+
"model.layers.15.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 101 |
+
"model.layers.15.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
|
| 102 |
+
"model.layers.15.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 103 |
+
"model.layers.15.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
|
| 104 |
+
"model.layers.15.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 105 |
+
"model.layers.16.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 106 |
+
"model.layers.16.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 107 |
+
"model.layers.16.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 108 |
+
"model.layers.16.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 109 |
+
"model.layers.16.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 110 |
+
"model.layers.16.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
|
| 111 |
+
"model.layers.16.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 112 |
+
"model.layers.16.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 113 |
+
"model.layers.16.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
|
| 114 |
+
"model.layers.16.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 115 |
+
"model.layers.16.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
|
| 116 |
+
"model.layers.16.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 117 |
+
"model.layers.17.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 118 |
+
"model.layers.17.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 119 |
+
"model.layers.17.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 120 |
+
"model.layers.17.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 121 |
+
"model.layers.17.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 122 |
+
"model.layers.17.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
|
| 123 |
+
"model.layers.17.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 124 |
+
"model.layers.17.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 125 |
+
"model.layers.17.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
|
| 126 |
+
"model.layers.17.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 127 |
+
"model.layers.17.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
|
| 128 |
+
"model.layers.17.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 129 |
+
"model.layers.18.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 130 |
+
"model.layers.18.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 131 |
+
"model.layers.18.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 132 |
+
"model.layers.18.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 133 |
+
"model.layers.18.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 134 |
+
"model.layers.18.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
|
| 135 |
+
"model.layers.18.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 136 |
+
"model.layers.18.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 137 |
+
"model.layers.18.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
|
| 138 |
+
"model.layers.18.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 139 |
+
"model.layers.18.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
|
| 140 |
+
"model.layers.18.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 141 |
+
"model.layers.19.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 142 |
+
"model.layers.19.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 143 |
+
"model.layers.19.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 144 |
+
"model.layers.19.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 145 |
+
"model.layers.19.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 146 |
+
"model.layers.19.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
|
| 147 |
+
"model.layers.19.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 148 |
+
"model.layers.19.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 149 |
+
"model.layers.19.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
|
| 150 |
+
"model.layers.19.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 151 |
+
"model.layers.19.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
|
| 152 |
+
"model.layers.19.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 153 |
+
"model.layers.2.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 154 |
+
"model.layers.2.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 155 |
+
"model.layers.2.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 156 |
+
"model.layers.2.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 157 |
+
"model.layers.2.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 158 |
+
"model.layers.2.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
|
| 159 |
+
"model.layers.2.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 160 |
+
"model.layers.2.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 161 |
+
"model.layers.2.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
|
| 162 |
+
"model.layers.2.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 163 |
+
"model.layers.2.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
|
| 164 |
+
"model.layers.2.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 165 |
+
"model.layers.20.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 166 |
+
"model.layers.20.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 167 |
+
"model.layers.20.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 168 |
+
"model.layers.20.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 169 |
+
"model.layers.20.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 170 |
+
"model.layers.20.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
|
| 171 |
+
"model.layers.20.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 172 |
+
"model.layers.20.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 173 |
+
"model.layers.20.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
|
| 174 |
+
"model.layers.20.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 175 |
+
"model.layers.20.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
|
| 176 |
+
"model.layers.20.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 177 |
+
"model.layers.21.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 178 |
+
"model.layers.21.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 179 |
+
"model.layers.21.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 180 |
+
"model.layers.21.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 181 |
+
"model.layers.21.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 182 |
+
"model.layers.21.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
|
| 183 |
+
"model.layers.21.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 184 |
+
"model.layers.21.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 185 |
+
"model.layers.21.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
|
| 186 |
+
"model.layers.21.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 187 |
+
"model.layers.21.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
|
| 188 |
+
"model.layers.21.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 189 |
+
"model.layers.22.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 190 |
+
"model.layers.22.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 191 |
+
"model.layers.22.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 192 |
+
"model.layers.22.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 193 |
+
"model.layers.22.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 194 |
+
"model.layers.22.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
|
| 195 |
+
"model.layers.22.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 196 |
+
"model.layers.22.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 197 |
+
"model.layers.22.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
|
| 198 |
+
"model.layers.22.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 199 |
+
"model.layers.22.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
|
| 200 |
+
"model.layers.22.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 201 |
+
"model.layers.23.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 202 |
+
"model.layers.23.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 203 |
+
"model.layers.23.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 204 |
+
"model.layers.23.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 205 |
+
"model.layers.23.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 206 |
+
"model.layers.23.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
|
| 207 |
+
"model.layers.23.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 208 |
+
"model.layers.23.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 209 |
+
"model.layers.23.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
|
| 210 |
+
"model.layers.23.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 211 |
+
"model.layers.23.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
|
| 212 |
+
"model.layers.23.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 213 |
+
"model.layers.24.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 214 |
+
"model.layers.24.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 215 |
+
"model.layers.24.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 216 |
+
"model.layers.24.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 217 |
+
"model.layers.24.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 218 |
+
"model.layers.24.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
|
| 219 |
+
"model.layers.24.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 220 |
+
"model.layers.24.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 221 |
+
"model.layers.24.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
|
| 222 |
+
"model.layers.24.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 223 |
+
"model.layers.24.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
|
| 224 |
+
"model.layers.24.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 225 |
+
"model.layers.25.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 226 |
+
"model.layers.25.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 227 |
+
"model.layers.25.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 228 |
+
"model.layers.25.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 229 |
+
"model.layers.25.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 230 |
+
"model.layers.25.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
|
| 231 |
+
"model.layers.25.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 232 |
+
"model.layers.25.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 233 |
+
"model.layers.25.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
|
| 234 |
+
"model.layers.25.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 235 |
+
"model.layers.25.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
|
| 236 |
+
"model.layers.25.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 237 |
+
"model.layers.26.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 238 |
+
"model.layers.26.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 239 |
+
"model.layers.26.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 240 |
+
"model.layers.26.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 241 |
+
"model.layers.26.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 242 |
+
"model.layers.26.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
|
| 243 |
+
"model.layers.26.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 244 |
+
"model.layers.26.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 245 |
+
"model.layers.26.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
|
| 246 |
+
"model.layers.26.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 247 |
+
"model.layers.26.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
|
| 248 |
+
"model.layers.26.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 249 |
+
"model.layers.27.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 250 |
+
"model.layers.27.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 251 |
+
"model.layers.27.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 252 |
+
"model.layers.27.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 253 |
+
"model.layers.27.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 254 |
+
"model.layers.27.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
|
| 255 |
+
"model.layers.27.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 256 |
+
"model.layers.27.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 257 |
+
"model.layers.27.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
|
| 258 |
+
"model.layers.27.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 259 |
+
"model.layers.27.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
|
| 260 |
+
"model.layers.27.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 261 |
+
"model.layers.3.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 262 |
+
"model.layers.3.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 263 |
+
"model.layers.3.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 264 |
+
"model.layers.3.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 265 |
+
"model.layers.3.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 266 |
+
"model.layers.3.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
|
| 267 |
+
"model.layers.3.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 268 |
+
"model.layers.3.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 269 |
+
"model.layers.3.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
|
| 270 |
+
"model.layers.3.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 271 |
+
"model.layers.3.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
|
| 272 |
+
"model.layers.3.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 273 |
+
"model.layers.4.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 274 |
+
"model.layers.4.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 275 |
+
"model.layers.4.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 276 |
+
"model.layers.4.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 277 |
+
"model.layers.4.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 278 |
+
"model.layers.4.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
|
| 279 |
+
"model.layers.4.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 280 |
+
"model.layers.4.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 281 |
+
"model.layers.4.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
|
| 282 |
+
"model.layers.4.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 283 |
+
"model.layers.4.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
|
| 284 |
+
"model.layers.4.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 285 |
+
"model.layers.5.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 286 |
+
"model.layers.5.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 287 |
+
"model.layers.5.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 288 |
+
"model.layers.5.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 289 |
+
"model.layers.5.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 290 |
+
"model.layers.5.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
|
| 291 |
+
"model.layers.5.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 292 |
+
"model.layers.5.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 293 |
+
"model.layers.5.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
|
| 294 |
+
"model.layers.5.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 295 |
+
"model.layers.5.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
|
| 296 |
+
"model.layers.5.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 297 |
+
"model.layers.6.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 298 |
+
"model.layers.6.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 299 |
+
"model.layers.6.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 300 |
+
"model.layers.6.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 301 |
+
"model.layers.6.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 302 |
+
"model.layers.6.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
|
| 303 |
+
"model.layers.6.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 304 |
+
"model.layers.6.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 305 |
+
"model.layers.6.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
|
| 306 |
+
"model.layers.6.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 307 |
+
"model.layers.6.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
|
| 308 |
+
"model.layers.6.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 309 |
+
"model.layers.7.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 310 |
+
"model.layers.7.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 311 |
+
"model.layers.7.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 312 |
+
"model.layers.7.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 313 |
+
"model.layers.7.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 314 |
+
"model.layers.7.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
|
| 315 |
+
"model.layers.7.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 316 |
+
"model.layers.7.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 317 |
+
"model.layers.7.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
|
| 318 |
+
"model.layers.7.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 319 |
+
"model.layers.7.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
|
| 320 |
+
"model.layers.7.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 321 |
+
"model.layers.8.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 322 |
+
"model.layers.8.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 323 |
+
"model.layers.8.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 324 |
+
"model.layers.8.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 325 |
+
"model.layers.8.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 326 |
+
"model.layers.8.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
|
| 327 |
+
"model.layers.8.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 328 |
+
"model.layers.8.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 329 |
+
"model.layers.8.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
|
| 330 |
+
"model.layers.8.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 331 |
+
"model.layers.8.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
|
| 332 |
+
"model.layers.8.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 333 |
+
"model.layers.9.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 334 |
+
"model.layers.9.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 335 |
+
"model.layers.9.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 336 |
+
"model.layers.9.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 337 |
+
"model.layers.9.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 338 |
+
"model.layers.9.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
|
| 339 |
+
"model.layers.9.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 340 |
+
"model.layers.9.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 341 |
+
"model.layers.9.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
|
| 342 |
+
"model.layers.9.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 343 |
+
"model.layers.9.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
|
| 344 |
+
"model.layers.9.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 345 |
+
"model.norm.weight": "model-00003-of-00004.safetensors"
|
| 346 |
+
}
|
| 347 |
+
}
|
qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/checkpoint-497/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2806540a294e51675e676a0c761bf31805a20065fdaaab5b6bf7588ad85d6546
|
| 3 |
+
size 1465
|
qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/checkpoint-497/special_tokens_map.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"additional_special_tokens": [
|
| 3 |
+
"<|im_start|>",
|
| 4 |
+
"<|im_end|>",
|
| 5 |
+
"<|object_ref_start|>",
|
| 6 |
+
"<|object_ref_end|>",
|
| 7 |
+
"<|box_start|>",
|
| 8 |
+
"<|box_end|>",
|
| 9 |
+
"<|quad_start|>",
|
| 10 |
+
"<|quad_end|>",
|
| 11 |
+
"<|vision_start|>",
|
| 12 |
+
"<|vision_end|>",
|
| 13 |
+
"<|vision_pad|>",
|
| 14 |
+
"<|image_pad|>",
|
| 15 |
+
"<|video_pad|>"
|
| 16 |
+
],
|
| 17 |
+
"eos_token": {
|
| 18 |
+
"content": "<|im_end|>",
|
| 19 |
+
"lstrip": false,
|
| 20 |
+
"normalized": false,
|
| 21 |
+
"rstrip": false,
|
| 22 |
+
"single_word": false
|
| 23 |
+
},
|
| 24 |
+
"pad_token": {
|
| 25 |
+
"content": "<|endoftext|>",
|
| 26 |
+
"lstrip": false,
|
| 27 |
+
"normalized": false,
|
| 28 |
+
"rstrip": false,
|
| 29 |
+
"single_word": false
|
| 30 |
+
}
|
| 31 |
+
}
|
qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/checkpoint-497/tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9c5ae00e602b8860cbd784ba82a8aa14e8feecec692e7076590d014d7b7fdafa
|
| 3 |
+
size 11421896
|
qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/checkpoint-497/tokenizer_config.json
ADDED
|
@@ -0,0 +1,207 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_bos_token": false,
|
| 3 |
+
"add_prefix_space": false,
|
| 4 |
+
"added_tokens_decoder": {
|
| 5 |
+
"151643": {
|
| 6 |
+
"content": "<|endoftext|>",
|
| 7 |
+
"lstrip": false,
|
| 8 |
+
"normalized": false,
|
| 9 |
+
"rstrip": false,
|
| 10 |
+
"single_word": false,
|
| 11 |
+
"special": true
|
| 12 |
+
},
|
| 13 |
+
"151644": {
|
| 14 |
+
"content": "<|im_start|>",
|
| 15 |
+
"lstrip": false,
|
| 16 |
+
"normalized": false,
|
| 17 |
+
"rstrip": false,
|
| 18 |
+
"single_word": false,
|
| 19 |
+
"special": true
|
| 20 |
+
},
|
| 21 |
+
"151645": {
|
| 22 |
+
"content": "<|im_end|>",
|
| 23 |
+
"lstrip": false,
|
| 24 |
+
"normalized": false,
|
| 25 |
+
"rstrip": false,
|
| 26 |
+
"single_word": false,
|
| 27 |
+
"special": true
|
| 28 |
+
},
|
| 29 |
+
"151646": {
|
| 30 |
+
"content": "<|object_ref_start|>",
|
| 31 |
+
"lstrip": false,
|
| 32 |
+
"normalized": false,
|
| 33 |
+
"rstrip": false,
|
| 34 |
+
"single_word": false,
|
| 35 |
+
"special": true
|
| 36 |
+
},
|
| 37 |
+
"151647": {
|
| 38 |
+
"content": "<|object_ref_end|>",
|
| 39 |
+
"lstrip": false,
|
| 40 |
+
"normalized": false,
|
| 41 |
+
"rstrip": false,
|
| 42 |
+
"single_word": false,
|
| 43 |
+
"special": true
|
| 44 |
+
},
|
| 45 |
+
"151648": {
|
| 46 |
+
"content": "<|box_start|>",
|
| 47 |
+
"lstrip": false,
|
| 48 |
+
"normalized": false,
|
| 49 |
+
"rstrip": false,
|
| 50 |
+
"single_word": false,
|
| 51 |
+
"special": true
|
| 52 |
+
},
|
| 53 |
+
"151649": {
|
| 54 |
+
"content": "<|box_end|>",
|
| 55 |
+
"lstrip": false,
|
| 56 |
+
"normalized": false,
|
| 57 |
+
"rstrip": false,
|
| 58 |
+
"single_word": false,
|
| 59 |
+
"special": true
|
| 60 |
+
},
|
| 61 |
+
"151650": {
|
| 62 |
+
"content": "<|quad_start|>",
|
| 63 |
+
"lstrip": false,
|
| 64 |
+
"normalized": false,
|
| 65 |
+
"rstrip": false,
|
| 66 |
+
"single_word": false,
|
| 67 |
+
"special": true
|
| 68 |
+
},
|
| 69 |
+
"151651": {
|
| 70 |
+
"content": "<|quad_end|>",
|
| 71 |
+
"lstrip": false,
|
| 72 |
+
"normalized": false,
|
| 73 |
+
"rstrip": false,
|
| 74 |
+
"single_word": false,
|
| 75 |
+
"special": true
|
| 76 |
+
},
|
| 77 |
+
"151652": {
|
| 78 |
+
"content": "<|vision_start|>",
|
| 79 |
+
"lstrip": false,
|
| 80 |
+
"normalized": false,
|
| 81 |
+
"rstrip": false,
|
| 82 |
+
"single_word": false,
|
| 83 |
+
"special": true
|
| 84 |
+
},
|
| 85 |
+
"151653": {
|
| 86 |
+
"content": "<|vision_end|>",
|
| 87 |
+
"lstrip": false,
|
| 88 |
+
"normalized": false,
|
| 89 |
+
"rstrip": false,
|
| 90 |
+
"single_word": false,
|
| 91 |
+
"special": true
|
| 92 |
+
},
|
| 93 |
+
"151654": {
|
| 94 |
+
"content": "<|vision_pad|>",
|
| 95 |
+
"lstrip": false,
|
| 96 |
+
"normalized": false,
|
| 97 |
+
"rstrip": false,
|
| 98 |
+
"single_word": false,
|
| 99 |
+
"special": true
|
| 100 |
+
},
|
| 101 |
+
"151655": {
|
| 102 |
+
"content": "<|image_pad|>",
|
| 103 |
+
"lstrip": false,
|
| 104 |
+
"normalized": false,
|
| 105 |
+
"rstrip": false,
|
| 106 |
+
"single_word": false,
|
| 107 |
+
"special": true
|
| 108 |
+
},
|
| 109 |
+
"151656": {
|
| 110 |
+
"content": "<|video_pad|>",
|
| 111 |
+
"lstrip": false,
|
| 112 |
+
"normalized": false,
|
| 113 |
+
"rstrip": false,
|
| 114 |
+
"single_word": false,
|
| 115 |
+
"special": true
|
| 116 |
+
},
|
| 117 |
+
"151657": {
|
| 118 |
+
"content": "<tool_call>",
|
| 119 |
+
"lstrip": false,
|
| 120 |
+
"normalized": false,
|
| 121 |
+
"rstrip": false,
|
| 122 |
+
"single_word": false,
|
| 123 |
+
"special": false
|
| 124 |
+
},
|
| 125 |
+
"151658": {
|
| 126 |
+
"content": "</tool_call>",
|
| 127 |
+
"lstrip": false,
|
| 128 |
+
"normalized": false,
|
| 129 |
+
"rstrip": false,
|
| 130 |
+
"single_word": false,
|
| 131 |
+
"special": false
|
| 132 |
+
},
|
| 133 |
+
"151659": {
|
| 134 |
+
"content": "<|fim_prefix|>",
|
| 135 |
+
"lstrip": false,
|
| 136 |
+
"normalized": false,
|
| 137 |
+
"rstrip": false,
|
| 138 |
+
"single_word": false,
|
| 139 |
+
"special": false
|
| 140 |
+
},
|
| 141 |
+
"151660": {
|
| 142 |
+
"content": "<|fim_middle|>",
|
| 143 |
+
"lstrip": false,
|
| 144 |
+
"normalized": false,
|
| 145 |
+
"rstrip": false,
|
| 146 |
+
"single_word": false,
|
| 147 |
+
"special": false
|
| 148 |
+
},
|
| 149 |
+
"151661": {
|
| 150 |
+
"content": "<|fim_suffix|>",
|
| 151 |
+
"lstrip": false,
|
| 152 |
+
"normalized": false,
|
| 153 |
+
"rstrip": false,
|
| 154 |
+
"single_word": false,
|
| 155 |
+
"special": false
|
| 156 |
+
},
|
| 157 |
+
"151662": {
|
| 158 |
+
"content": "<|fim_pad|>",
|
| 159 |
+
"lstrip": false,
|
| 160 |
+
"normalized": false,
|
| 161 |
+
"rstrip": false,
|
| 162 |
+
"single_word": false,
|
| 163 |
+
"special": false
|
| 164 |
+
},
|
| 165 |
+
"151663": {
|
| 166 |
+
"content": "<|repo_name|>",
|
| 167 |
+
"lstrip": false,
|
| 168 |
+
"normalized": false,
|
| 169 |
+
"rstrip": false,
|
| 170 |
+
"single_word": false,
|
| 171 |
+
"special": false
|
| 172 |
+
},
|
| 173 |
+
"151664": {
|
| 174 |
+
"content": "<|file_sep|>",
|
| 175 |
+
"lstrip": false,
|
| 176 |
+
"normalized": false,
|
| 177 |
+
"rstrip": false,
|
| 178 |
+
"single_word": false,
|
| 179 |
+
"special": false
|
| 180 |
+
}
|
| 181 |
+
},
|
| 182 |
+
"additional_special_tokens": [
|
| 183 |
+
"<|im_start|>",
|
| 184 |
+
"<|im_end|>",
|
| 185 |
+
"<|object_ref_start|>",
|
| 186 |
+
"<|object_ref_end|>",
|
| 187 |
+
"<|box_start|>",
|
| 188 |
+
"<|box_end|>",
|
| 189 |
+
"<|quad_start|>",
|
| 190 |
+
"<|quad_end|>",
|
| 191 |
+
"<|vision_start|>",
|
| 192 |
+
"<|vision_end|>",
|
| 193 |
+
"<|vision_pad|>",
|
| 194 |
+
"<|image_pad|>",
|
| 195 |
+
"<|video_pad|>"
|
| 196 |
+
],
|
| 197 |
+
"bos_token": null,
|
| 198 |
+
"clean_up_tokenization_spaces": false,
|
| 199 |
+
"eos_token": "<|im_end|>",
|
| 200 |
+
"errors": "replace",
|
| 201 |
+
"extra_special_tokens": {},
|
| 202 |
+
"model_max_length": 131072,
|
| 203 |
+
"pad_token": "<|endoftext|>",
|
| 204 |
+
"split_special_tokens": false,
|
| 205 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 206 |
+
"unk_token": null
|
| 207 |
+
}
|
qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/checkpoint-497/trainer_state.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/checkpoint-497/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e900ad112de762a3d6522db75a2ffba54e8c3b2f8a55bd565ad47c0d0c63f5c2
|
| 3 |
+
size 9041
|
qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/checkpoint-497/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/checkpoint-497/zero_to_fp32.py
ADDED
|
@@ -0,0 +1,760 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python
|
| 2 |
+
|
| 3 |
+
# Copyright (c) Microsoft Corporation.
|
| 4 |
+
# SPDX-License-Identifier: Apache-2.0
|
| 5 |
+
|
| 6 |
+
# DeepSpeed Team
|
| 7 |
+
|
| 8 |
+
# This script extracts fp32 consolidated weights from a zero 1, 2 and 3 DeepSpeed checkpoints. It gets
|
| 9 |
+
# copied into the top level checkpoint dir, so the user can easily do the conversion at any point in
|
| 10 |
+
# the future. Once extracted, the weights don't require DeepSpeed and can be used in any
|
| 11 |
+
# application.
|
| 12 |
+
#
|
| 13 |
+
# example:
|
| 14 |
+
# python zero_to_fp32.py . output_dir/
|
| 15 |
+
# or
|
| 16 |
+
# python zero_to_fp32.py . output_dir/ --safe_serialization
|
| 17 |
+
|
| 18 |
+
import argparse
|
| 19 |
+
import torch
|
| 20 |
+
import glob
|
| 21 |
+
import math
|
| 22 |
+
import os
|
| 23 |
+
import re
|
| 24 |
+
import gc
|
| 25 |
+
import json
|
| 26 |
+
import numpy as np
|
| 27 |
+
from tqdm import tqdm
|
| 28 |
+
from collections import OrderedDict
|
| 29 |
+
from dataclasses import dataclass
|
| 30 |
+
|
| 31 |
+
# while this script doesn't use deepspeed to recover data, since the checkpoints are pickled with
|
| 32 |
+
# DeepSpeed data structures it has to be available in the current python environment.
|
| 33 |
+
from deepspeed.utils import logger
|
| 34 |
+
from deepspeed.checkpoint.constants import (DS_VERSION, OPTIMIZER_STATE_DICT, SINGLE_PARTITION_OF_FP32_GROUPS,
|
| 35 |
+
FP32_FLAT_GROUPS, ZERO_STAGE, PARTITION_COUNT, PARAM_SHAPES, BUFFER_NAMES,
|
| 36 |
+
FROZEN_PARAM_SHAPES, FROZEN_PARAM_FRAGMENTS)
|
| 37 |
+
|
| 38 |
+
|
| 39 |
+
@dataclass
|
| 40 |
+
class zero_model_state:
|
| 41 |
+
buffers: dict()
|
| 42 |
+
param_shapes: dict()
|
| 43 |
+
shared_params: list
|
| 44 |
+
ds_version: int
|
| 45 |
+
frozen_param_shapes: dict()
|
| 46 |
+
frozen_param_fragments: dict()
|
| 47 |
+
|
| 48 |
+
|
| 49 |
+
debug = 0
|
| 50 |
+
|
| 51 |
+
# load to cpu
|
| 52 |
+
device = torch.device('cpu')
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
def atoi(text):
|
| 56 |
+
return int(text) if text.isdigit() else text
|
| 57 |
+
|
| 58 |
+
|
| 59 |
+
def natural_keys(text):
|
| 60 |
+
'''
|
| 61 |
+
alist.sort(key=natural_keys) sorts in human order
|
| 62 |
+
http://nedbatchelder.com/blog/200712/human_sorting.html
|
| 63 |
+
(See Toothy's implementation in the comments)
|
| 64 |
+
'''
|
| 65 |
+
return [atoi(c) for c in re.split(r'(\d+)', text)]
|
| 66 |
+
|
| 67 |
+
|
| 68 |
+
def get_model_state_file(checkpoint_dir, zero_stage):
|
| 69 |
+
if not os.path.isdir(checkpoint_dir):
|
| 70 |
+
raise FileNotFoundError(f"Directory '{checkpoint_dir}' doesn't exist")
|
| 71 |
+
|
| 72 |
+
# there should be only one file
|
| 73 |
+
if zero_stage <= 2:
|
| 74 |
+
file = os.path.join(checkpoint_dir, "mp_rank_00_model_states.pt")
|
| 75 |
+
elif zero_stage == 3:
|
| 76 |
+
file = os.path.join(checkpoint_dir, "zero_pp_rank_0_mp_rank_00_model_states.pt")
|
| 77 |
+
|
| 78 |
+
if not os.path.exists(file):
|
| 79 |
+
raise FileNotFoundError(f"can't find model states file at '{file}'")
|
| 80 |
+
|
| 81 |
+
return file
|
| 82 |
+
|
| 83 |
+
|
| 84 |
+
def get_checkpoint_files(checkpoint_dir, glob_pattern):
|
| 85 |
+
# XXX: need to test that this simple glob rule works for multi-node setup too
|
| 86 |
+
ckpt_files = sorted(glob.glob(os.path.join(checkpoint_dir, glob_pattern)), key=natural_keys)
|
| 87 |
+
|
| 88 |
+
if len(ckpt_files) == 0:
|
| 89 |
+
raise FileNotFoundError(f"can't find {glob_pattern} files in directory '{checkpoint_dir}'")
|
| 90 |
+
|
| 91 |
+
return ckpt_files
|
| 92 |
+
|
| 93 |
+
|
| 94 |
+
def get_optim_files(checkpoint_dir):
|
| 95 |
+
return get_checkpoint_files(checkpoint_dir, "*_optim_states.pt")
|
| 96 |
+
|
| 97 |
+
|
| 98 |
+
def get_model_state_files(checkpoint_dir):
|
| 99 |
+
return get_checkpoint_files(checkpoint_dir, "*_model_states.pt")
|
| 100 |
+
|
| 101 |
+
|
| 102 |
+
def parse_model_states(files):
|
| 103 |
+
zero_model_states = []
|
| 104 |
+
for file in files:
|
| 105 |
+
state_dict = torch.load(file, map_location=device, weights_only=False)
|
| 106 |
+
|
| 107 |
+
if BUFFER_NAMES not in state_dict:
|
| 108 |
+
raise ValueError(f"{file} is not a model state checkpoint")
|
| 109 |
+
buffer_names = state_dict[BUFFER_NAMES]
|
| 110 |
+
if debug:
|
| 111 |
+
print("Found buffers:", buffer_names)
|
| 112 |
+
|
| 113 |
+
# recover just the buffers while restoring them to fp32 if they were saved in fp16
|
| 114 |
+
buffers = {k: v.float() for k, v in state_dict["module"].items() if k in buffer_names}
|
| 115 |
+
param_shapes = state_dict[PARAM_SHAPES]
|
| 116 |
+
|
| 117 |
+
# collect parameters that are included in param_shapes
|
| 118 |
+
param_names = []
|
| 119 |
+
for s in param_shapes:
|
| 120 |
+
for name in s.keys():
|
| 121 |
+
param_names.append(name)
|
| 122 |
+
|
| 123 |
+
# update with frozen parameters
|
| 124 |
+
frozen_param_shapes = state_dict.get(FROZEN_PARAM_SHAPES, None)
|
| 125 |
+
if frozen_param_shapes is not None:
|
| 126 |
+
if debug:
|
| 127 |
+
print(f"Found frozen_param_shapes: {frozen_param_shapes}")
|
| 128 |
+
param_names += list(frozen_param_shapes.keys())
|
| 129 |
+
|
| 130 |
+
# handle shared params
|
| 131 |
+
shared_params = [[k, v] for k, v in state_dict["shared_params"].items()]
|
| 132 |
+
|
| 133 |
+
ds_version = state_dict.get(DS_VERSION, None)
|
| 134 |
+
|
| 135 |
+
frozen_param_fragments = state_dict.get(FROZEN_PARAM_FRAGMENTS, None)
|
| 136 |
+
|
| 137 |
+
z_model_state = zero_model_state(buffers=buffers,
|
| 138 |
+
param_shapes=param_shapes,
|
| 139 |
+
shared_params=shared_params,
|
| 140 |
+
ds_version=ds_version,
|
| 141 |
+
frozen_param_shapes=frozen_param_shapes,
|
| 142 |
+
frozen_param_fragments=frozen_param_fragments)
|
| 143 |
+
zero_model_states.append(z_model_state)
|
| 144 |
+
|
| 145 |
+
return zero_model_states
|
| 146 |
+
|
| 147 |
+
|
| 148 |
+
def parse_optim_states(files, ds_checkpoint_dir):
|
| 149 |
+
total_files = len(files)
|
| 150 |
+
state_dicts = []
|
| 151 |
+
for f in tqdm(files, desc='Loading checkpoint shards'):
|
| 152 |
+
state_dict = torch.load(f, map_location=device, mmap=True, weights_only=False)
|
| 153 |
+
# immediately discard the potentially huge 2 optimizer states as we only care for fp32 master weights
|
| 154 |
+
# and also handle the case where it was already removed by another helper script
|
| 155 |
+
state_dict["optimizer_state_dict"].pop("optimizer_state_dict", None)
|
| 156 |
+
state_dicts.append(state_dict)
|
| 157 |
+
|
| 158 |
+
if not ZERO_STAGE in state_dicts[0][OPTIMIZER_STATE_DICT]:
|
| 159 |
+
raise ValueError(f"{files[0]} is not a zero checkpoint")
|
| 160 |
+
zero_stage = state_dicts[0][OPTIMIZER_STATE_DICT][ZERO_STAGE]
|
| 161 |
+
world_size = state_dicts[0][OPTIMIZER_STATE_DICT][PARTITION_COUNT]
|
| 162 |
+
|
| 163 |
+
# For ZeRO-2 each param group can have different partition_count as data parallelism for expert
|
| 164 |
+
# parameters can be different from data parallelism for non-expert parameters. So we can just
|
| 165 |
+
# use the max of the partition_count to get the dp world_size.
|
| 166 |
+
|
| 167 |
+
if type(world_size) is list:
|
| 168 |
+
world_size = max(world_size)
|
| 169 |
+
|
| 170 |
+
if world_size != total_files:
|
| 171 |
+
raise ValueError(
|
| 172 |
+
f"Expected {world_size} of '*_optim_states.pt' under '{ds_checkpoint_dir}' but found {total_files} files. "
|
| 173 |
+
"Possibly due to an overwrite of an old checkpoint, or a checkpoint didn't get saved by one or more processes."
|
| 174 |
+
)
|
| 175 |
+
|
| 176 |
+
# the groups are named differently in each stage
|
| 177 |
+
if zero_stage <= 2:
|
| 178 |
+
fp32_groups_key = SINGLE_PARTITION_OF_FP32_GROUPS
|
| 179 |
+
elif zero_stage == 3:
|
| 180 |
+
fp32_groups_key = FP32_FLAT_GROUPS
|
| 181 |
+
else:
|
| 182 |
+
raise ValueError(f"unknown zero stage {zero_stage}")
|
| 183 |
+
|
| 184 |
+
fp32_flat_groups = [state_dicts[i][OPTIMIZER_STATE_DICT][fp32_groups_key] for i in range(len(state_dicts))]
|
| 185 |
+
return zero_stage, world_size, fp32_flat_groups
|
| 186 |
+
|
| 187 |
+
|
| 188 |
+
def _get_fp32_state_dict_from_zero_checkpoint(ds_checkpoint_dir, exclude_frozen_parameters):
|
| 189 |
+
"""
|
| 190 |
+
Returns fp32 state_dict reconstructed from ds checkpoint
|
| 191 |
+
|
| 192 |
+
Args:
|
| 193 |
+
- ``ds_checkpoint_dir``: path to the deepspeed checkpoint folder (where the optimizer files are)
|
| 194 |
+
|
| 195 |
+
"""
|
| 196 |
+
print(f"Processing zero checkpoint '{ds_checkpoint_dir}'")
|
| 197 |
+
|
| 198 |
+
optim_files = get_optim_files(ds_checkpoint_dir)
|
| 199 |
+
zero_stage, world_size, fp32_flat_groups = parse_optim_states(optim_files, ds_checkpoint_dir)
|
| 200 |
+
print(f"Detected checkpoint of type zero stage {zero_stage}, world_size: {world_size}")
|
| 201 |
+
|
| 202 |
+
model_files = get_model_state_files(ds_checkpoint_dir)
|
| 203 |
+
|
| 204 |
+
zero_model_states = parse_model_states(model_files)
|
| 205 |
+
print(f'Parsing checkpoint created by deepspeed=={zero_model_states[0].ds_version}')
|
| 206 |
+
|
| 207 |
+
if zero_stage <= 2:
|
| 208 |
+
return _get_fp32_state_dict_from_zero2_checkpoint(world_size, fp32_flat_groups, zero_model_states,
|
| 209 |
+
exclude_frozen_parameters)
|
| 210 |
+
elif zero_stage == 3:
|
| 211 |
+
return _get_fp32_state_dict_from_zero3_checkpoint(world_size, fp32_flat_groups, zero_model_states,
|
| 212 |
+
exclude_frozen_parameters)
|
| 213 |
+
|
| 214 |
+
|
| 215 |
+
def _zero2_merge_frozen_params(state_dict, zero_model_states):
|
| 216 |
+
if zero_model_states[0].frozen_param_shapes is None or len(zero_model_states[0].frozen_param_shapes) == 0:
|
| 217 |
+
return
|
| 218 |
+
|
| 219 |
+
frozen_param_shapes = zero_model_states[0].frozen_param_shapes
|
| 220 |
+
frozen_param_fragments = zero_model_states[0].frozen_param_fragments
|
| 221 |
+
|
| 222 |
+
if debug:
|
| 223 |
+
num_elem = sum(s.numel() for s in frozen_param_shapes.values())
|
| 224 |
+
print(f'rank 0: {FROZEN_PARAM_SHAPES}.numel = {num_elem}')
|
| 225 |
+
|
| 226 |
+
wanted_params = len(frozen_param_shapes)
|
| 227 |
+
wanted_numel = sum(s.numel() for s in frozen_param_shapes.values())
|
| 228 |
+
avail_numel = sum([p.numel() for p in frozen_param_fragments.values()])
|
| 229 |
+
print(f'Frozen params: Have {avail_numel} numels to process.')
|
| 230 |
+
print(f'Frozen params: Need {wanted_numel} numels in {wanted_params} params')
|
| 231 |
+
|
| 232 |
+
total_params = 0
|
| 233 |
+
total_numel = 0
|
| 234 |
+
for name, shape in frozen_param_shapes.items():
|
| 235 |
+
total_params += 1
|
| 236 |
+
unpartitioned_numel = shape.numel()
|
| 237 |
+
total_numel += unpartitioned_numel
|
| 238 |
+
|
| 239 |
+
state_dict[name] = frozen_param_fragments[name]
|
| 240 |
+
|
| 241 |
+
if debug:
|
| 242 |
+
print(f"{name} full shape: {shape} unpartitioned numel {unpartitioned_numel} ")
|
| 243 |
+
|
| 244 |
+
print(f"Reconstructed Frozen fp32 state dict with {total_params} params {total_numel} elements")
|
| 245 |
+
|
| 246 |
+
|
| 247 |
+
def _has_callable(obj, fn):
|
| 248 |
+
attr = getattr(obj, fn, None)
|
| 249 |
+
return callable(attr)
|
| 250 |
+
|
| 251 |
+
|
| 252 |
+
def _zero2_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states):
|
| 253 |
+
param_shapes = zero_model_states[0].param_shapes
|
| 254 |
+
|
| 255 |
+
# Reconstruction protocol:
|
| 256 |
+
#
|
| 257 |
+
# XXX: document this
|
| 258 |
+
|
| 259 |
+
if debug:
|
| 260 |
+
for i in range(world_size):
|
| 261 |
+
for j in range(len(fp32_flat_groups[0])):
|
| 262 |
+
print(f"{FP32_FLAT_GROUPS}[{i}][{j}].shape={fp32_flat_groups[i][j].shape}")
|
| 263 |
+
|
| 264 |
+
# XXX: memory usage doubles here (zero2)
|
| 265 |
+
num_param_groups = len(fp32_flat_groups[0])
|
| 266 |
+
merged_single_partition_of_fp32_groups = []
|
| 267 |
+
for i in range(num_param_groups):
|
| 268 |
+
merged_partitions = [sd[i] for sd in fp32_flat_groups]
|
| 269 |
+
full_single_fp32_vector = torch.cat(merged_partitions, 0)
|
| 270 |
+
merged_single_partition_of_fp32_groups.append(full_single_fp32_vector)
|
| 271 |
+
avail_numel = sum(
|
| 272 |
+
[full_single_fp32_vector.numel() for full_single_fp32_vector in merged_single_partition_of_fp32_groups])
|
| 273 |
+
|
| 274 |
+
if debug:
|
| 275 |
+
wanted_params = sum([len(shapes) for shapes in param_shapes])
|
| 276 |
+
wanted_numel = sum([sum(shape.numel() for shape in shapes.values()) for shapes in param_shapes])
|
| 277 |
+
# not asserting if there is a mismatch due to possible padding
|
| 278 |
+
print(f"Have {avail_numel} numels to process.")
|
| 279 |
+
print(f"Need {wanted_numel} numels in {wanted_params} params.")
|
| 280 |
+
|
| 281 |
+
# params
|
| 282 |
+
# XXX: for huge models that can't fit into the host's RAM we will have to recode this to support
|
| 283 |
+
# out-of-core computing solution
|
| 284 |
+
total_numel = 0
|
| 285 |
+
total_params = 0
|
| 286 |
+
for shapes, full_single_fp32_vector in zip(param_shapes, merged_single_partition_of_fp32_groups):
|
| 287 |
+
offset = 0
|
| 288 |
+
avail_numel = full_single_fp32_vector.numel()
|
| 289 |
+
for name, shape in shapes.items():
|
| 290 |
+
|
| 291 |
+
unpartitioned_numel = shape.numel() if _has_callable(shape, 'numel') else math.prod(shape)
|
| 292 |
+
total_numel += unpartitioned_numel
|
| 293 |
+
total_params += 1
|
| 294 |
+
|
| 295 |
+
if debug:
|
| 296 |
+
print(f"{name} full shape: {shape} unpartitioned numel {unpartitioned_numel} ")
|
| 297 |
+
state_dict[name] = full_single_fp32_vector.narrow(0, offset, unpartitioned_numel).view(shape)
|
| 298 |
+
offset += unpartitioned_numel
|
| 299 |
+
|
| 300 |
+
# Z2 started to align to 2*world_size to improve nccl performance. Therefore both offset and
|
| 301 |
+
# avail_numel can differ by anywhere between 0..2*world_size. Due to two unrelated complex
|
| 302 |
+
# paddings performed in the code it's almost impossible to predict the exact numbers w/o the
|
| 303 |
+
# live optimizer object, so we are checking that the numbers are within the right range
|
| 304 |
+
align_to = 2 * world_size
|
| 305 |
+
|
| 306 |
+
def zero2_align(x):
|
| 307 |
+
return align_to * math.ceil(x / align_to)
|
| 308 |
+
|
| 309 |
+
if debug:
|
| 310 |
+
print(f"original offset={offset}, avail_numel={avail_numel}")
|
| 311 |
+
|
| 312 |
+
offset = zero2_align(offset)
|
| 313 |
+
avail_numel = zero2_align(avail_numel)
|
| 314 |
+
|
| 315 |
+
if debug:
|
| 316 |
+
print(f"aligned offset={offset}, avail_numel={avail_numel}")
|
| 317 |
+
|
| 318 |
+
# Sanity check
|
| 319 |
+
if offset != avail_numel:
|
| 320 |
+
raise ValueError(f"consumed {offset} numels out of {avail_numel} - something is wrong")
|
| 321 |
+
|
| 322 |
+
print(f"Reconstructed fp32 state dict with {total_params} params {total_numel} elements")
|
| 323 |
+
|
| 324 |
+
|
| 325 |
+
def _get_fp32_state_dict_from_zero2_checkpoint(world_size, fp32_flat_groups, zero_model_states,
|
| 326 |
+
exclude_frozen_parameters):
|
| 327 |
+
state_dict = OrderedDict()
|
| 328 |
+
|
| 329 |
+
# buffers
|
| 330 |
+
buffers = zero_model_states[0].buffers
|
| 331 |
+
state_dict.update(buffers)
|
| 332 |
+
if debug:
|
| 333 |
+
print(f"added {len(buffers)} buffers")
|
| 334 |
+
|
| 335 |
+
if not exclude_frozen_parameters:
|
| 336 |
+
_zero2_merge_frozen_params(state_dict, zero_model_states)
|
| 337 |
+
|
| 338 |
+
_zero2_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states)
|
| 339 |
+
|
| 340 |
+
# recover shared parameters
|
| 341 |
+
for pair in zero_model_states[0].shared_params:
|
| 342 |
+
if pair[1] in state_dict:
|
| 343 |
+
state_dict[pair[0]] = state_dict[pair[1]]
|
| 344 |
+
|
| 345 |
+
return state_dict
|
| 346 |
+
|
| 347 |
+
|
| 348 |
+
def zero3_partitioned_param_info(unpartitioned_numel, world_size):
|
| 349 |
+
remainder = unpartitioned_numel % world_size
|
| 350 |
+
padding_numel = (world_size - remainder) if remainder else 0
|
| 351 |
+
partitioned_numel = math.ceil(unpartitioned_numel / world_size)
|
| 352 |
+
return partitioned_numel, padding_numel
|
| 353 |
+
|
| 354 |
+
|
| 355 |
+
def _zero3_merge_frozen_params(state_dict, world_size, zero_model_states):
|
| 356 |
+
if zero_model_states[0].frozen_param_shapes is None or len(zero_model_states[0].frozen_param_shapes) == 0:
|
| 357 |
+
return
|
| 358 |
+
|
| 359 |
+
if debug:
|
| 360 |
+
for i in range(world_size):
|
| 361 |
+
num_elem = sum(s.numel() for s in zero_model_states[i].frozen_param_fragments.values())
|
| 362 |
+
print(f'rank {i}: {FROZEN_PARAM_SHAPES}.numel = {num_elem}')
|
| 363 |
+
|
| 364 |
+
frozen_param_shapes = zero_model_states[0].frozen_param_shapes
|
| 365 |
+
wanted_params = len(frozen_param_shapes)
|
| 366 |
+
wanted_numel = sum(s.numel() for s in frozen_param_shapes.values())
|
| 367 |
+
avail_numel = sum([p.numel() for p in zero_model_states[0].frozen_param_fragments.values()]) * world_size
|
| 368 |
+
print(f'Frozen params: Have {avail_numel} numels to process.')
|
| 369 |
+
print(f'Frozen params: Need {wanted_numel} numels in {wanted_params} params')
|
| 370 |
+
|
| 371 |
+
total_params = 0
|
| 372 |
+
total_numel = 0
|
| 373 |
+
for name, shape in zero_model_states[0].frozen_param_shapes.items():
|
| 374 |
+
total_params += 1
|
| 375 |
+
unpartitioned_numel = shape.numel()
|
| 376 |
+
total_numel += unpartitioned_numel
|
| 377 |
+
|
| 378 |
+
param_frags = tuple(model_state.frozen_param_fragments[name] for model_state in zero_model_states)
|
| 379 |
+
state_dict[name] = torch.cat(param_frags, 0).narrow(0, 0, unpartitioned_numel).view(shape)
|
| 380 |
+
|
| 381 |
+
partitioned_numel, partitioned_padding_numel = zero3_partitioned_param_info(unpartitioned_numel, world_size)
|
| 382 |
+
|
| 383 |
+
if debug:
|
| 384 |
+
print(
|
| 385 |
+
f"Frozen params: {total_params} {name} full shape: {shape} partition0 numel={partitioned_numel} partitioned_padding_numel={partitioned_padding_numel}"
|
| 386 |
+
)
|
| 387 |
+
|
| 388 |
+
print(f"Reconstructed Frozen fp32 state dict with {total_params} params {total_numel} elements")
|
| 389 |
+
|
| 390 |
+
|
| 391 |
+
class GatheredTensor:
|
| 392 |
+
"""
|
| 393 |
+
A pseudo tensor that collects partitioned weights.
|
| 394 |
+
It is more memory efficient when there are multiple groups.
|
| 395 |
+
"""
|
| 396 |
+
|
| 397 |
+
def __init__(self, flat_groups, flat_groups_offset, offset, partitioned_numel, shape):
|
| 398 |
+
self.flat_groups = flat_groups
|
| 399 |
+
self.flat_groups_offset = flat_groups_offset
|
| 400 |
+
self.offset = offset
|
| 401 |
+
self.partitioned_numel = partitioned_numel
|
| 402 |
+
self.shape = shape
|
| 403 |
+
self.dtype = self.flat_groups[0][0].dtype
|
| 404 |
+
|
| 405 |
+
def contiguous(self):
|
| 406 |
+
"""
|
| 407 |
+
Merge partitioned weights from flat_groups into a single tensor.
|
| 408 |
+
"""
|
| 409 |
+
end_idx = self.offset + self.partitioned_numel
|
| 410 |
+
world_size = len(self.flat_groups)
|
| 411 |
+
pad_flat_param_chunks = []
|
| 412 |
+
|
| 413 |
+
for rank_i in range(world_size):
|
| 414 |
+
# for each rank, we need to collect weights from related group/groups
|
| 415 |
+
flat_groups_at_rank_i = self.flat_groups[rank_i]
|
| 416 |
+
start_group_id = None
|
| 417 |
+
end_group_id = None
|
| 418 |
+
for group_id in range(len(self.flat_groups_offset)):
|
| 419 |
+
if self.flat_groups_offset[group_id] <= self.offset < self.flat_groups_offset[group_id + 1]:
|
| 420 |
+
start_group_id = group_id
|
| 421 |
+
if self.flat_groups_offset[group_id] < end_idx <= self.flat_groups_offset[group_id + 1]:
|
| 422 |
+
end_group_id = group_id
|
| 423 |
+
break
|
| 424 |
+
# collect weights from related group/groups
|
| 425 |
+
for group_id in range(start_group_id, end_group_id + 1):
|
| 426 |
+
flat_tensor = flat_groups_at_rank_i[group_id]
|
| 427 |
+
start_offset = self.offset - self.flat_groups_offset[group_id]
|
| 428 |
+
end_offset = min(end_idx, self.flat_groups_offset[group_id + 1]) - self.flat_groups_offset[group_id]
|
| 429 |
+
pad_flat_param_chunks.append(flat_tensor[start_offset:end_offset])
|
| 430 |
+
|
| 431 |
+
# collect weights from all ranks
|
| 432 |
+
pad_flat_param = torch.cat(pad_flat_param_chunks, dim=0)
|
| 433 |
+
param = pad_flat_param[:self.shape.numel()].view(self.shape).contiguous()
|
| 434 |
+
return param
|
| 435 |
+
|
| 436 |
+
|
| 437 |
+
def _zero3_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states):
|
| 438 |
+
param_shapes = zero_model_states[0].param_shapes
|
| 439 |
+
avail_numel = sum([flat_group.numel() for flat_group in fp32_flat_groups[0]]) * world_size
|
| 440 |
+
|
| 441 |
+
# Reconstruction protocol: For zero3 we need to zip the partitions together at boundary of each
|
| 442 |
+
# param, re-consolidating each param, while dealing with padding if any
|
| 443 |
+
|
| 444 |
+
# merge list of dicts, preserving order
|
| 445 |
+
param_shapes = {k: v for d in param_shapes for k, v in d.items()}
|
| 446 |
+
|
| 447 |
+
if debug:
|
| 448 |
+
for i in range(world_size):
|
| 449 |
+
print(f"{FP32_FLAT_GROUPS}[{i}].shape={fp32_flat_groups[i].shape}")
|
| 450 |
+
|
| 451 |
+
wanted_params = len(param_shapes)
|
| 452 |
+
wanted_numel = sum(shape.numel() for shape in param_shapes.values())
|
| 453 |
+
# not asserting if there is a mismatch due to possible padding
|
| 454 |
+
avail_numel = fp32_flat_groups[0].numel() * world_size
|
| 455 |
+
print(f"Trainable params: Have {avail_numel} numels to process.")
|
| 456 |
+
print(f"Trainable params: Need {wanted_numel} numels in {wanted_params} params.")
|
| 457 |
+
|
| 458 |
+
# params
|
| 459 |
+
# XXX: for huge models that can't fit into the host's RAM we will have to recode this to support
|
| 460 |
+
# out-of-core computing solution
|
| 461 |
+
offset = 0
|
| 462 |
+
total_numel = 0
|
| 463 |
+
total_params = 0
|
| 464 |
+
flat_groups_offset = [0] + list(np.cumsum([flat_tensor.numel() for flat_tensor in fp32_flat_groups[0]]))
|
| 465 |
+
for name, shape in tqdm(param_shapes.items(), desc='Gathering sharded weights'):
|
| 466 |
+
unpartitioned_numel = shape.numel()
|
| 467 |
+
total_numel += unpartitioned_numel
|
| 468 |
+
total_params += 1
|
| 469 |
+
partitioned_numel, partitioned_padding_numel = zero3_partitioned_param_info(unpartitioned_numel, world_size)
|
| 470 |
+
|
| 471 |
+
if debug:
|
| 472 |
+
print(
|
| 473 |
+
f"Trainable params: {total_params} {name} full shape: {shape} partition0 numel={partitioned_numel} partitioned_padding_numel={partitioned_padding_numel}"
|
| 474 |
+
)
|
| 475 |
+
|
| 476 |
+
# memory efficient tensor
|
| 477 |
+
tensor = GatheredTensor(fp32_flat_groups, flat_groups_offset, offset, partitioned_numel, shape)
|
| 478 |
+
state_dict[name] = tensor
|
| 479 |
+
offset += partitioned_numel
|
| 480 |
+
|
| 481 |
+
offset *= world_size
|
| 482 |
+
|
| 483 |
+
# Sanity check
|
| 484 |
+
if offset != avail_numel:
|
| 485 |
+
raise ValueError(f"consumed {offset} numels out of {avail_numel} - something is wrong")
|
| 486 |
+
|
| 487 |
+
print(f"Reconstructed Trainable fp32 state dict with {total_params} params {total_numel} elements")
|
| 488 |
+
|
| 489 |
+
|
| 490 |
+
def _get_fp32_state_dict_from_zero3_checkpoint(world_size, fp32_flat_groups, zero_model_states,
|
| 491 |
+
exclude_frozen_parameters):
|
| 492 |
+
state_dict = OrderedDict()
|
| 493 |
+
|
| 494 |
+
# buffers
|
| 495 |
+
buffers = zero_model_states[0].buffers
|
| 496 |
+
state_dict.update(buffers)
|
| 497 |
+
if debug:
|
| 498 |
+
print(f"added {len(buffers)} buffers")
|
| 499 |
+
|
| 500 |
+
if not exclude_frozen_parameters:
|
| 501 |
+
_zero3_merge_frozen_params(state_dict, world_size, zero_model_states)
|
| 502 |
+
|
| 503 |
+
_zero3_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states)
|
| 504 |
+
|
| 505 |
+
# recover shared parameters
|
| 506 |
+
for pair in zero_model_states[0].shared_params:
|
| 507 |
+
if pair[1] in state_dict:
|
| 508 |
+
state_dict[pair[0]] = state_dict[pair[1]]
|
| 509 |
+
|
| 510 |
+
return state_dict
|
| 511 |
+
|
| 512 |
+
|
| 513 |
+
def to_torch_tensor(state_dict, return_empty_tensor=False):
|
| 514 |
+
"""
|
| 515 |
+
Convert state_dict of GatheredTensor to torch tensor
|
| 516 |
+
"""
|
| 517 |
+
torch_state_dict = {}
|
| 518 |
+
converted_tensors = {}
|
| 519 |
+
for name, tensor in state_dict.items():
|
| 520 |
+
tensor_id = id(tensor)
|
| 521 |
+
if tensor_id in converted_tensors: # shared tensors
|
| 522 |
+
shared_tensor = torch_state_dict[converted_tensors[tensor_id]]
|
| 523 |
+
torch_state_dict[name] = shared_tensor
|
| 524 |
+
else:
|
| 525 |
+
converted_tensors[tensor_id] = name
|
| 526 |
+
if return_empty_tensor:
|
| 527 |
+
torch_state_dict[name] = torch.empty(tensor.shape, dtype=tensor.dtype)
|
| 528 |
+
else:
|
| 529 |
+
torch_state_dict[name] = tensor.contiguous()
|
| 530 |
+
return torch_state_dict
|
| 531 |
+
|
| 532 |
+
|
| 533 |
+
def get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir,
|
| 534 |
+
tag=None,
|
| 535 |
+
exclude_frozen_parameters=False,
|
| 536 |
+
lazy_mode=False):
|
| 537 |
+
"""
|
| 538 |
+
Convert ZeRO 2 or 3 checkpoint into a single fp32 consolidated state_dict that can be loaded with
|
| 539 |
+
``load_state_dict()`` and used for training without DeepSpeed or shared with others, for example
|
| 540 |
+
via a model hub.
|
| 541 |
+
|
| 542 |
+
Args:
|
| 543 |
+
- ``checkpoint_dir``: path to the desired checkpoint folder
|
| 544 |
+
- ``tag``: checkpoint tag used as a unique identifier for checkpoint. If not provided will attempt to load tag in 'latest' file. e.g., ``global_step14``
|
| 545 |
+
- ``exclude_frozen_parameters``: exclude frozen parameters
|
| 546 |
+
- ``lazy_mode``: get state_dict in lazy mode. It returns a dict of pesduo tensor instead of torch tensor, which is more memory efficient.
|
| 547 |
+
Convert the pesduo tensor to torch tensor by ``.contiguous()``
|
| 548 |
+
|
| 549 |
+
Returns:
|
| 550 |
+
- pytorch ``state_dict``
|
| 551 |
+
|
| 552 |
+
A typical usage might be ::
|
| 553 |
+
|
| 554 |
+
from deepspeed.utils.zero_to_fp32 import get_fp32_state_dict_from_zero_checkpoint
|
| 555 |
+
# do the training and checkpoint saving
|
| 556 |
+
state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir) # already on cpu
|
| 557 |
+
model = model.cpu() # move to cpu
|
| 558 |
+
model.load_state_dict(state_dict)
|
| 559 |
+
# submit to model hub or save the model to share with others
|
| 560 |
+
|
| 561 |
+
In this example the ``model`` will no longer be usable in the deepspeed context of the same
|
| 562 |
+
application. i.e. you will need to re-initialize the deepspeed engine, since
|
| 563 |
+
``model.load_state_dict(state_dict)`` will remove all the deepspeed magic from it.
|
| 564 |
+
|
| 565 |
+
If you want it all done for you, use ``load_state_dict_from_zero_checkpoint`` instead.
|
| 566 |
+
|
| 567 |
+
Note: the above usage may not work if your application doesn't have sufficient free CPU memory.
|
| 568 |
+
You may need to use the offline approach using the ``zero_to_fp32.py`` script that is saved with
|
| 569 |
+
the checkpoint. Or you can load state_dict in lazy mode ::
|
| 570 |
+
|
| 571 |
+
from deepspeed.utils.zero_to_fp32 import get_fp32_state_dict_from_zero_checkpoint
|
| 572 |
+
state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir, lazy_mode=True) # not on cpu
|
| 573 |
+
for name, lazy_tensor in state_dict.item():
|
| 574 |
+
tensor = lazy_tensor.contiguous() # to cpu
|
| 575 |
+
print(name, tensor)
|
| 576 |
+
# del tensor to release memory if it no longer in use
|
| 577 |
+
"""
|
| 578 |
+
if tag is None:
|
| 579 |
+
latest_path = os.path.join(checkpoint_dir, 'latest')
|
| 580 |
+
if os.path.isfile(latest_path):
|
| 581 |
+
with open(latest_path, 'r') as fd:
|
| 582 |
+
tag = fd.read().strip()
|
| 583 |
+
else:
|
| 584 |
+
raise ValueError(f"Unable to find 'latest' file at {latest_path}")
|
| 585 |
+
|
| 586 |
+
ds_checkpoint_dir = os.path.join(checkpoint_dir, tag)
|
| 587 |
+
|
| 588 |
+
if not os.path.isdir(ds_checkpoint_dir):
|
| 589 |
+
raise FileNotFoundError(f"Directory '{ds_checkpoint_dir}' doesn't exist")
|
| 590 |
+
|
| 591 |
+
state_dict = _get_fp32_state_dict_from_zero_checkpoint(ds_checkpoint_dir, exclude_frozen_parameters)
|
| 592 |
+
if lazy_mode:
|
| 593 |
+
return state_dict
|
| 594 |
+
else:
|
| 595 |
+
return to_torch_tensor(state_dict)
|
| 596 |
+
|
| 597 |
+
|
| 598 |
+
def convert_zero_checkpoint_to_fp32_state_dict(checkpoint_dir,
|
| 599 |
+
output_dir,
|
| 600 |
+
max_shard_size="5GB",
|
| 601 |
+
safe_serialization=False,
|
| 602 |
+
tag=None,
|
| 603 |
+
exclude_frozen_parameters=False):
|
| 604 |
+
"""
|
| 605 |
+
Convert ZeRO 2 or 3 checkpoint into a single fp32 consolidated ``state_dict`` file that can be
|
| 606 |
+
loaded with ``torch.load(file)`` + ``load_state_dict()`` and used for training without DeepSpeed.
|
| 607 |
+
|
| 608 |
+
Args:
|
| 609 |
+
- ``checkpoint_dir``: path to the desired checkpoint folder. (one that contains the tag-folder, like ``global_step14``)
|
| 610 |
+
- ``output_dir``: directory to the pytorch fp32 state_dict output files
|
| 611 |
+
- ``max_shard_size``: the maximum size for a checkpoint before being sharded, default value is 5GB
|
| 612 |
+
- ``safe_serialization``: whether to save the model using `safetensors` or the traditional PyTorch way (that uses `pickle`).
|
| 613 |
+
- ``tag``: checkpoint tag used as a unique identifier for checkpoint. If not provided will attempt to load tag in the file named ``latest`` in the checkpoint folder, e.g., ``global_step14``
|
| 614 |
+
- ``exclude_frozen_parameters``: exclude frozen parameters
|
| 615 |
+
"""
|
| 616 |
+
|
| 617 |
+
# Dependency pre-check
|
| 618 |
+
if safe_serialization:
|
| 619 |
+
try:
|
| 620 |
+
from safetensors.torch import save_file
|
| 621 |
+
except ImportError:
|
| 622 |
+
print('If you want to use `safe_serialization`, please `pip install safetensors`')
|
| 623 |
+
raise
|
| 624 |
+
if max_shard_size is not None:
|
| 625 |
+
try:
|
| 626 |
+
from huggingface_hub import split_torch_state_dict_into_shards
|
| 627 |
+
except ImportError:
|
| 628 |
+
print('If you want to use `max_shard_size`, please `pip install huggingface_hub`')
|
| 629 |
+
raise
|
| 630 |
+
|
| 631 |
+
# Convert zero checkpoint to state_dict
|
| 632 |
+
state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir,
|
| 633 |
+
tag,
|
| 634 |
+
exclude_frozen_parameters,
|
| 635 |
+
lazy_mode=True)
|
| 636 |
+
|
| 637 |
+
# Shard the model if it is too big.
|
| 638 |
+
weights_name = "model.safetensors" if safe_serialization else "pytorch_model.bin"
|
| 639 |
+
if max_shard_size is not None:
|
| 640 |
+
filename_pattern = weights_name.replace(".bin", "{suffix}.bin").replace(".safetensors", "{suffix}.safetensors")
|
| 641 |
+
# an memory-efficient approach for sharding
|
| 642 |
+
empty_state_dict = to_torch_tensor(state_dict, return_empty_tensor=True)
|
| 643 |
+
state_dict_split = split_torch_state_dict_into_shards(empty_state_dict,
|
| 644 |
+
filename_pattern=filename_pattern,
|
| 645 |
+
max_shard_size=max_shard_size)
|
| 646 |
+
else:
|
| 647 |
+
from collections import namedtuple
|
| 648 |
+
StateDictSplit = namedtuple("StateDictSplit", ["is_sharded", "filename_to_tensors"])
|
| 649 |
+
state_dict_split = StateDictSplit(is_sharded=False,
|
| 650 |
+
filename_to_tensors={weights_name: list(state_dict.keys())})
|
| 651 |
+
|
| 652 |
+
# Save the model by shard
|
| 653 |
+
os.makedirs(output_dir, exist_ok=True)
|
| 654 |
+
filename_to_tensors = state_dict_split.filename_to_tensors.items()
|
| 655 |
+
for shard_file, tensors in tqdm(filename_to_tensors, desc="Saving checkpoint shards"):
|
| 656 |
+
shard_state_dict = {tensor_name: state_dict[tensor_name] for tensor_name in tensors}
|
| 657 |
+
shard_state_dict = to_torch_tensor(shard_state_dict)
|
| 658 |
+
output_path = os.path.join(output_dir, shard_file)
|
| 659 |
+
if safe_serialization:
|
| 660 |
+
save_file(shard_state_dict, output_path, metadata={"format": "pt"})
|
| 661 |
+
else:
|
| 662 |
+
torch.save(shard_state_dict, output_path)
|
| 663 |
+
# release the memory of current shard
|
| 664 |
+
for tensor_name in list(shard_state_dict.keys()):
|
| 665 |
+
del state_dict[tensor_name]
|
| 666 |
+
del shard_state_dict[tensor_name]
|
| 667 |
+
del shard_state_dict
|
| 668 |
+
gc.collect()
|
| 669 |
+
|
| 670 |
+
# Save index if sharded
|
| 671 |
+
if state_dict_split.is_sharded:
|
| 672 |
+
index = {
|
| 673 |
+
"metadata": state_dict_split.metadata,
|
| 674 |
+
"weight_map": state_dict_split.tensor_to_filename,
|
| 675 |
+
}
|
| 676 |
+
save_index_file = "model.safetensors.index.json" if safe_serialization else "pytorch_model.bin.index.json"
|
| 677 |
+
save_index_file = os.path.join(output_dir, save_index_file)
|
| 678 |
+
with open(save_index_file, "w", encoding="utf-8") as f:
|
| 679 |
+
content = json.dumps(index, indent=2, sort_keys=True) + "\n"
|
| 680 |
+
f.write(content)
|
| 681 |
+
|
| 682 |
+
|
| 683 |
+
def load_state_dict_from_zero_checkpoint(model, checkpoint_dir, tag=None):
|
| 684 |
+
"""
|
| 685 |
+
1. Put the provided model to cpu
|
| 686 |
+
2. Convert ZeRO 2 or 3 checkpoint into a single fp32 consolidated ``state_dict``
|
| 687 |
+
3. Load it into the provided model
|
| 688 |
+
|
| 689 |
+
Args:
|
| 690 |
+
- ``model``: the model object to update
|
| 691 |
+
- ``checkpoint_dir``: path to the desired checkpoint folder. (one that contains the tag-folder, like ``global_step14``)
|
| 692 |
+
- ``tag``: checkpoint tag used as a unique identifier for checkpoint. If not provided will attempt to load tag in the file named ``latest`` in the checkpoint folder, e.g., ``global_step14``
|
| 693 |
+
|
| 694 |
+
Returns:
|
| 695 |
+
- ``model`: modified model
|
| 696 |
+
|
| 697 |
+
Make sure you have plenty of CPU memory available before you call this function. If you don't
|
| 698 |
+
have enough use the ``zero_to_fp32.py`` utility to do the conversion. You will find it
|
| 699 |
+
conveniently placed for you in the checkpoint folder.
|
| 700 |
+
|
| 701 |
+
A typical usage might be ::
|
| 702 |
+
|
| 703 |
+
from deepspeed.utils.zero_to_fp32 import load_state_dict_from_zero_checkpoint
|
| 704 |
+
model = load_state_dict_from_zero_checkpoint(trainer.model, checkpoint_dir)
|
| 705 |
+
# submit to model hub or save the model to share with others
|
| 706 |
+
|
| 707 |
+
Note, that once this was run, the ``model`` will no longer be usable in the deepspeed context
|
| 708 |
+
of the same application. i.e. you will need to re-initialize the deepspeed engine, since
|
| 709 |
+
``model.load_state_dict(state_dict)`` will remove all the deepspeed magic from it.
|
| 710 |
+
|
| 711 |
+
"""
|
| 712 |
+
logger.info(f"Extracting fp32 weights")
|
| 713 |
+
state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir, tag)
|
| 714 |
+
|
| 715 |
+
logger.info(f"Overwriting model with fp32 weights")
|
| 716 |
+
model = model.cpu()
|
| 717 |
+
model.load_state_dict(state_dict, strict=False)
|
| 718 |
+
|
| 719 |
+
return model
|
| 720 |
+
|
| 721 |
+
|
| 722 |
+
if __name__ == "__main__":
|
| 723 |
+
parser = argparse.ArgumentParser()
|
| 724 |
+
parser.add_argument("checkpoint_dir",
|
| 725 |
+
type=str,
|
| 726 |
+
help="path to the desired checkpoint folder, e.g., path/checkpoint-12")
|
| 727 |
+
parser.add_argument("output_dir",
|
| 728 |
+
type=str,
|
| 729 |
+
help="directory to the pytorch fp32 state_dict output files"
|
| 730 |
+
"(e.g. path/checkpoint-12-output/)")
|
| 731 |
+
parser.add_argument(
|
| 732 |
+
"--max_shard_size",
|
| 733 |
+
type=str,
|
| 734 |
+
default="5GB",
|
| 735 |
+
help="The maximum size for a checkpoint before being sharded. Checkpoints shard will then be each of size"
|
| 736 |
+
"lower than this size. If expressed as a string, needs to be digits followed by a unit (like `5MB`"
|
| 737 |
+
"We default it to 5GB in order for models to be able to run easily on free-tier google colab instances"
|
| 738 |
+
"without CPU OOM issues.")
|
| 739 |
+
parser.add_argument(
|
| 740 |
+
"--safe_serialization",
|
| 741 |
+
default=False,
|
| 742 |
+
action='store_true',
|
| 743 |
+
help="Whether to save the model using `safetensors` or the traditional PyTorch way (that uses `pickle`).")
|
| 744 |
+
parser.add_argument("-t",
|
| 745 |
+
"--tag",
|
| 746 |
+
type=str,
|
| 747 |
+
default=None,
|
| 748 |
+
help="checkpoint tag used as a unique identifier for checkpoint. e.g., global_step1")
|
| 749 |
+
parser.add_argument("--exclude_frozen_parameters", action='store_true', help="exclude frozen parameters")
|
| 750 |
+
parser.add_argument("-d", "--debug", action='store_true', help="enable debug")
|
| 751 |
+
args = parser.parse_args()
|
| 752 |
+
|
| 753 |
+
debug = args.debug
|
| 754 |
+
|
| 755 |
+
convert_zero_checkpoint_to_fp32_state_dict(args.checkpoint_dir,
|
| 756 |
+
args.output_dir,
|
| 757 |
+
max_shard_size=args.max_shard_size,
|
| 758 |
+
safe_serialization=args.safe_serialization,
|
| 759 |
+
tag=args.tag,
|
| 760 |
+
exclude_frozen_parameters=args.exclude_frozen_parameters)
|
qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/images/eval_loss.png
ADDED
|
qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/images/eval_runtime.png
ADDED
|
qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/images/eval_samples_per_second.png
ADDED
|
qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/images/eval_steps_per_second.png
ADDED
|
qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/images/eval_token_acc.png
ADDED
|
qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/images/train_epoch.png
ADDED
|
qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/images/train_grad_norm.png
ADDED
|
qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/images/train_learning_rate.png
ADDED
|
qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/images/train_loss.png
ADDED
|
qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/images/train_token_acc.png
ADDED
|
qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/images/train_total_flos.png
ADDED
|
qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/images/train_train_loss.png
ADDED
|
qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/images/train_train_runtime.png
ADDED
|
qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/images/train_train_samples_per_second.png
ADDED
|
qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/images/train_train_steps_per_second.png
ADDED
|
qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/logging.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/runs/events.out.tfevents.1755659098.TENCENT64.site.2314195.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a5a14fcd7fcad945f5752fc8ed60bcf7e97d7f4777da582bbf9604f3da17a552
|
| 3 |
+
size 139894
|
qwen2.5-7b-1700q-661q-1e_6-old-click-1ep/val_dataset.jsonl
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"messages": [{"role": "system", "content": "You are a browser interaction assistant designed to execute step-by-step browser operations efficiently and precisely to complete the user's task. You are provided with specific tasks and webpage-related information, and you need to output accurate actions to accomplish the user's task.\n\nHere's the information you'll have:\nThe user's objective: This is the task you're trying to complete.\nThe current web page's accessibility tree: This is a simplified representation of the webpage, providing key information.\nThe open tabs: These are the tabs you have open.\nThe previous actions: There are the actions you just performed. It may be helpful to track your progress.\n\nThe actions you can perform fall into several categories:\n\nPage Operation Actions:\n`click [id] [content]`: This action clicks on an element with a specific id on the webpage.\n`type [id] [content] [press_enter_after=0|1]`: Use this to type the content into the field with id. By default, the \"\"Enter\"\" key is pressed after typing unless press_enter_after is set to 0.\n`hover [id] [content]`: Hover over an element with id.\n`press [key_comb]`: Simulates the pressing of a key combination on the keyboard (e.g., Ctrl+v).\n`scroll [down|up]`: Scroll the page up or down.\n\nTab Management Actions:\n`new_tab`: Open a new, empty browser tab.\n`tab_focus [tab_index]`: Switch the browser's focus to a specific tab using its index.\n`close_tab`: Close the currently active tab.\n\nURL Navigation Actions:\n`goto [url]`: Navigate to a specific URL.\n`go_back`: Navigate to the previously viewed page.\n`go_forward`: Navigate to the next page (if a previous 'go_back' action was performed).\n\nCompletion Action:\n`stop [answer]`: Issue this action when you believe the task is complete. If the objective is to find a text-based answer, provide the answer in the bracket. If you believe the task is impossible to complete, provide the answer as \"\"N/A\"\" in the bracket.\n\nTo be successful, it is very important to follow the following rules:\n1. You should only issue an action that is valid given the current observation.\n2. You should only issue one action at a time.\n3. You should follow the examples to reason step by step and then issue the next action.\n4. You should refer to historical actions when issue an action and try not to make repetitive actions\n5. All reasoning must be inside `<think></think>` tags, and there must be no output before `<think></think>`.\n6. After `<think></think>`, only the action should be generated in the correct format, enclosed in code fences. For example:\n <think>This button looks relevant to my goal. Clicking it should take me to the next step.</think>\n ```click [id] [content]```\n7. Issue the stop action when you think you have achieved the objective. Don’t generate anything after stop.\n8. Always format actions correctly: \n```command [parameters]```\nFor example, if searching for \"\"death row inmates in the US\"\" in a search field with ID `21`, correctly format it as:\n```type [21] [death row inmates in the US] [1]```\nAvoid incorrect formats that omit brackets around parameters or numeric values.\n"}, {"role": "user", "content": "\nObjective: where are hormones secreted by the posterior pituitary gland made\nObservation: [511] RootWebArea 'Search: posterior pituitary gland hormones' focused: True\n\t[679] textbox \"Search 'Wikipedia'\" required: False\n\t[681] link 'Go to welcome page'\n\t\t[999] button '🏠'\n\t[682] link \"Go to the main page of 'Wikipedia'\"\n\t\t[1001] button 'Wikipedia'\n\t[683] link 'Go to a randomly selected page'\n\t\t[1003] button '🎲'\n\t[524] StaticText 'Results 1-25 of 400 for \"posterior pituitary gland hormones\"'\n\t[570] link 'Pituitary gland'\n\t[685] StaticText '...gland that regulates several physiological processes including stress, growth, reproduction, and lactation. The intermediate lobe synthesizes and secretes melanocyte-stimulating hormone. The posterior pituitary (or neurohypophysis) is a lobe of the gland that is functionally connected to the hypothalamus by the median eminence via a small tube called the pituitary stalk (also called the infundibular stalk or the infundibulum). Pituitary gland Located at the base of the brain, the pituitary gland......'\n\t[701] StaticText 'from Wikipedia'\n\t[702] StaticText '3,230 words'\n\t[574] link 'Posterior pituitary'\n\t[704] StaticText '...nucleus), posterior pituitary, and these axonal projections.[2] Posterior pituitary Pituitary gland. Posterior pituitary is in blue and Anterior pituitary is in orange. Pars nervosa and infundibular stalk are not labeled, but pars nervosa is at bottom and infundibular stalk is at top. Median sagittal through the hypophysis of an adult monkey. (Posterior lobe labeled at bottom right.) Details Precursor Neural tube (downward-growth of the diencephalon)[1] Artery inferior hypophyseal artery Vein......'\n\t[720] StaticText 'from Wikipedia'\n\t[721] StaticText '1,056 words'\n\t[578] link 'Anterior pituitary'\n\t[723] StaticText '...the posterior lobe (posterior pituitary, or the neurohypophysis) makes up the pituitary gland (hypophysis). The anterior pituitary regulates several physiological processes, including stress, growth, reproduction, and lactation. Proper functioning of the anterior pituitary and of the organs it regulates can often be ascertained via blood tests that measure hormone levels. Anterior pituitary gland Median sagittal through the hypophysis of an adult monkey. Semidiagrammatic. Details Precursor oral......'\n\t[736] StaticText 'from Wikipedia'\n\t[737] StaticText '2,661 words'\n\t[582] link 'Neuroendocrinology'\n\t[739] StaticText '...the posterior and anterior pituitary glands. The hypothalamus produces the hormones oxytocin and vasopressin in its endocrine cells (left). These are released at nerve endings in the posterior pituitary gland and then secreted into the systemic circulation. The hypothalamus releases tropic hormones into the hypophyseal portal system to the anterior pituitary (right). The anterior pituitary then secretes trophic hormones into the circulation which elicit different responses from various target......'\n\t[749] StaticText 'from Wikipedia'\n\t[750] StaticText '2,752 words'\n\t[586] link 'Pituitary disease'\n\t[760] StaticText '326 words'\n\t[590] link 'Hypopituitarism'\n\t[762] StaticText '...gland at the base of the brain.[1][2] If there is decreased secretion of one specific pituitary hormone, the condition is known as selective hypopituitarism.[3] If there is decreased secretion of most or all pituitary hormones, the term panhypopituitarism (pan meaning \"all\") is used.[4] Not to be confused with Hyperpituitarism. Hypopituitarism The pituitary gland'\nHISTORY_ACTION: type [21] [posterior pituitary gland hormones] [1]\n"}, {"role": "assistant", "content": "<think>There is a snippet in the StaticText with id 739 that states: \"The hypothalamus produces the hormones oxytocin and vasopressin in its endocrine cells (left). These are released at nerve endings in the posterior pituitary gland and then secreted into the systemic circulation.\" This directly answers the question that the hormones secreted by the posterior pituitary gland are made in the hypothalamus.</think>\n```stop [The hormones secreted by the posterior pituitary gland are made in the hypothalamus.]```"}]}
|
| 2 |
+
{"messages": [{"role": "system", "content": "You are a browser interaction assistant designed to execute step-by-step browser operations efficiently and precisely to complete the user's task. You are provided with specific tasks and webpage-related information, and you need to output accurate actions to accomplish the user's task.\n\nHere's the information you'll have:\nThe user's objective: This is the task you're trying to complete.\nThe current web page's accessibility tree: This is a simplified representation of the webpage, providing key information.\nThe open tabs: These are the tabs you have open.\nThe previous actions: There are the actions you just performed. It may be helpful to track your progress.\n\nThe actions you can perform fall into several categories:\n\nPage Operation Actions:\n`click [id] [content]`: This action clicks on an element with a specific id on the webpage.\n`type [id] [content] [press_enter_after=0|1]`: Use this to type the content into the field with id. By default, the \"\"Enter\"\" key is pressed after typing unless press_enter_after is set to 0.\n`hover [id] [content]`: Hover over an element with id.\n`press [key_comb]`: Simulates the pressing of a key combination on the keyboard (e.g., Ctrl+v).\n`scroll [down|up]`: Scroll the page up or down.\n\nTab Management Actions:\n`new_tab`: Open a new, empty browser tab.\n`tab_focus [tab_index]`: Switch the browser's focus to a specific tab using its index.\n`close_tab`: Close the currently active tab.\n\nURL Navigation Actions:\n`goto [url]`: Navigate to a specific URL.\n`go_back`: Navigate to the previously viewed page.\n`go_forward`: Navigate to the next page (if a previous 'go_back' action was performed).\n\nCompletion Action:\n`stop [answer]`: Issue this action when you believe the task is complete. If the objective is to find a text-based answer, provide the answer in the bracket. If you believe the task is impossible to complete, provide the answer as \"\"N/A\"\" in the bracket.\n\nTo be successful, it is very important to follow the following rules:\n1. You should only issue an action that is valid given the current observation.\n2. You should only issue one action at a time.\n3. You should follow the examples to reason step by step and then issue the next action.\n4. You should refer to historical actions when issue an action and try not to make repetitive actions\n5. All reasoning must be inside `<think></think>` tags, and there must be no output before `<think></think>`.\n6. After `<think></think>`, only the action should be generated in the correct format, enclosed in code fences. For example:\n <think>This button looks relevant to my goal. Clicking it should take me to the next step.</think>\n ```click [id] [content]```\n7. Issue the stop action when you think you have achieved the objective. Don’t generate anything after stop.\n8. Always format actions correctly: \n```command [parameters]```\nFor example, if searching for \"\"death row inmates in the US\"\" in a search field with ID `21`, correctly format it as:\n```type [21] [death row inmates in the US] [1]```\nAvoid incorrect formats that omit brackets around parameters or numeric values.\n"}, {"role": "user", "content": "\nObjective: who represents washington's 1st district house of representatives\nObservation: [294] RootWebArea 'User:The other Kiwix guy/Landing' focused: True url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/User:The_other_Kiwix_guy/Landing\n\t[329] textbox \"Search 'Wikipedia'\" required: False\n\t[331] checkbox '' checked: false\n\t[338] link 'Go to welcome page' url: https://tigerai.ca/\n\t\t[339] button '🏠'\n\t[340] link \"Go to the main page of 'Wikipedia'\" url: https://tigerai.ca/wikipedia_en_all_maxi_2022-05/\n\t\t[341] button 'Wikipedia'\n\t[342] link 'Go to a randomly selected page' url: https://tigerai.ca/random?content=wikipedia_en_all_maxi_2022-05\n\t\t[343] button '🎲'\n\t[11] StaticText 'Welcome to '\n\t[354] link 'Wikipedia' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Wikipedia\n\t[13] StaticText 'The free encyclopedia.'\n\t[14] StaticText '6,489,052'\n\t[15] StaticText ' articles in '\n\t[360] link 'English' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/English_Wikipedia\n\t[362] heading 'Arts'\n\t[364] link 'Architecture' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Architecture\n\t[365] link 'Books' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Books\n\t[366] link 'Cinematography' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Cinematography\n\t[367] link 'Dance' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Dance\n\t[368] link 'Design' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Design\n\t[369] link 'Fashion' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Fashion\n\t[370] link 'Films' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Films\n\t[371] link 'Gastronomy' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Gastronomy\n\t[372] link 'Literature' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Literature\n\t[373] link 'Magic (illusion)' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Magic_(illusion)\n\t[374] link 'Music' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Music\n\t[375] link 'Painting' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Painting\n\t[376] link 'Photography' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Photography\n\t[377] link 'Poetry' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Poetry\n\t[378] link 'Sculpture' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Sculpture\n\t[379] link 'Theatre' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Theatre\n\t[381] heading 'Geography'\n\t[383] link 'Africa' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Africa\n\t[384] link 'Antarctica' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Antarctica\n\t[385] link 'Arctic' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Arctic\n\t[386] link 'Asia' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Asia\n\t[387] link 'Caribbean' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Caribbean\n\t[388] link 'Central America' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Central_America\n\t[389] link 'Europe' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Europe\n\t[390] link 'Latin America' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Latin_America\n\t[391] link 'Mediterranean' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Mediterranean\n\t[392] link 'Middle East' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Middle_East\n\t[393] link 'North America' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/North_America\n\t[394] link 'Oceania' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Oceania\n\t[395] link 'South America' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/South_America\n\t[396] link 'Cartography' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Cartography\n\t[398] heading 'History'\n\t[400] link 'Ancient Egypt' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Ancient_Egypt\n\t[401] link 'Ancient Greece' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Ancient_Greece\n\t[402] link 'Ancient Near East' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Ancient_Near_East\n\t[403] link 'Ancient Rome' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Ancient_Rome\n\t[404] link 'Archaeology' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Archaeology\n\t[405] link 'British Empire' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/British_Empire\n\t[406] link 'Byzantine Empire' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Byzantine_Empire\n\t[407] link 'Colonialism' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Colonialism\n\t[408] link 'Crusades' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Crusades\n\t[409] link 'Heraldry' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Heraldry\n\t[410] link 'History of science' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/History_of_science\n\t[411] link 'Imperial China' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/History_of_China#Imperial_China\n\t[412] link 'Indian independence movement' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Indian_independence_movement\n\t[413] link 'Japan' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/History_of_Japan\n\t[414] link 'Middle Ages' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Middle_Ages\n\t[415] link 'Mughal Empire' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Mughal_Empire\n\t[416] link 'Ottoman Empire' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Ottoman_Empire\n\t[417] link 'Russian Empire' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Russian_Empire\n\t[418] link 'Sasanian Empire' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Sasanian_Empire\n\t[419] link 'Seljuk Empire' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Seljuk_Empire\n\t[420] link 'Soviet Union' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Soviet_Union\n\t[421] link 'War' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/War\n\t[423] heading 'Sciences'\nHISTORY_ACTION: \n\n"}, {"role": "assistant", "content": "<think>The search box with id 329 labeled \"Search 'Wikipedia'\" is available and likely the most direct way to find information about who represents Washington's 1st district in the House of Representatives. I should use it to search \"Washington DC 1st district representative\".</think>\n```type [329] [Washington DC 1st district representative] [1]```"}]}
|
| 3 |
+
{"messages": [{"role": "system", "content": "You are a browser interaction assistant designed to execute step-by-step browser operations efficiently and precisely to complete the user's task. You are provided with specific tasks and webpage-related information, and you need to output accurate actions to accomplish the user's task.\n\nHere's the information you'll have:\nThe user's objective: This is the task you're trying to complete.\nThe current web page's accessibility tree: This is a simplified representation of the webpage, providing key information.\nThe open tabs: These are the tabs you have open.\nThe previous actions: There are the actions you just performed. It may be helpful to track your progress.\n\nThe actions you can perform fall into several categories:\n\nPage Operation Actions:\n`click [id] [content]`: This action clicks on an element with a specific id on the webpage.\n`type [id] [content] [press_enter_after=0|1]`: Use this to type the content into the field with id. By default, the \"\"Enter\"\" key is pressed after typing unless press_enter_after is set to 0.\n`hover [id] [content]`: Hover over an element with id.\n`press [key_comb]`: Simulates the pressing of a key combination on the keyboard (e.g., Ctrl+v).\n`scroll [down|up]`: Scroll the page up or down.\n\nTab Management Actions:\n`new_tab`: Open a new, empty browser tab.\n`tab_focus [tab_index]`: Switch the browser's focus to a specific tab using its index.\n`close_tab`: Close the currently active tab.\n\nURL Navigation Actions:\n`goto [url]`: Navigate to a specific URL.\n`go_back`: Navigate to the previously viewed page.\n`go_forward`: Navigate to the next page (if a previous 'go_back' action was performed).\n\nCompletion Action:\n`stop [answer]`: Issue this action when you believe the task is complete. If the objective is to find a text-based answer, provide the answer in the bracket. If you believe the task is impossible to complete, provide the answer as \"\"N/A\"\" in the bracket.\n\nTo be successful, it is very important to follow the following rules:\n1. You should only issue an action that is valid given the current observation.\n2. You should only issue one action at a time.\n3. You should follow the examples to reason step by step and then issue the next action.\n4. You should refer to historical actions when issue an action and try not to make repetitive actions\n5. All reasoning must be inside `<think></think>` tags, and there must be no output before `<think></think>`.\n6. After `<think></think>`, only the action should be generated in the correct format, enclosed in code fences. For example:\n <think>This button looks relevant to my goal. Clicking it should take me to the next step.</think>\n ```click [id] [content]```\n7. Issue the stop action when you think you have achieved the objective. Don’t generate anything after stop.\n8. Always format actions correctly: \n```command [parameters]```\nFor example, if searching for \"\"death row inmates in the US\"\" in a search field with ID `21`, correctly format it as:\n```type [21] [death row inmates in the US] [1]```\nAvoid incorrect formats that omit brackets around parameters or numeric values.\n"}, {"role": "user", "content": "\nObjective: who is the winner of 2015 royal rumble\nObservation: [511] RootWebArea 'Search: 2015 Royal Rumble winner' focused: True\n\t[679] textbox \"Search 'Wikipedia'\" required: False\n\t[681] link 'Go to welcome page'\n\t\t[1192] button '🏠'\n\t[682] link \"Go to the main page of 'Wikipedia'\"\n\t\t[1194] button 'Wikipedia'\n\t[683] link 'Go to a randomly selected page'\n\t\t[1196] button '🎲'\n\t[524] StaticText 'Results 1-25 of 2,000 for \"2015 Royal Rumble winner\"'\n\t[570] link 'Royal Rumble match'\n\t[700] StaticText 'from Wikipedia'\n\t[701] StaticText '7,710 words'\n\t[574] link 'Royal Rumble (2015)'\n\t[729] StaticText '5,547 words'\n\t[578] link 'Royal Rumble (2013)'\n\t[750] StaticText 'from Wikipedia'\n\t[751] StaticText '3,017 words'\n\t[582] link 'Royal Rumble (2014)'\n\t[773] StaticText '7,096 words'\n\t[586] link 'Royal Rumble (2004)'\n\t[791] StaticText 'from Wikipedia'\n\t[792] StaticText '6,658 words'\n\t[590] link 'Royal Rumble (2022)'\nHISTORY_ACTION: type [21] [2015 Royal Rumble winner] [1]\n"}, {"role": "assistant", "content": "<think>The link labeled 'Royal Rumble (2015)' is likely to contain information about the 2015 Royal Rumble winner. I should click this link to find the answer.</think>\n```click [574] [link 'Royal Rumble (2015)']```"}]}
|
| 4 |
+
{"messages": [{"role": "system", "content": "You are a browser interaction assistant designed to execute step-by-step browser operations efficiently and precisely to complete the user's task. You are provided with specific tasks and webpage-related information, and you need to output accurate actions to accomplish the user's task.\n\nHere's the information you'll have:\nThe user's objective: This is the task you're trying to complete.\nThe current web page's accessibility tree: This is a simplified representation of the webpage, providing key information.\nThe open tabs: These are the tabs you have open.\nThe previous actions: There are the actions you just performed. It may be helpful to track your progress.\n\nThe actions you can perform fall into several categories:\n\nPage Operation Actions:\n`click [id] [content]`: This action clicks on an element with a specific id on the webpage.\n`type [id] [content] [press_enter_after=0|1]`: Use this to type the content into the field with id. By default, the \"\"Enter\"\" key is pressed after typing unless press_enter_after is set to 0.\n`hover [id] [content]`: Hover over an element with id.\n`press [key_comb]`: Simulates the pressing of a key combination on the keyboard (e.g., Ctrl+v).\n`scroll [down|up]`: Scroll the page up or down.\n\nTab Management Actions:\n`new_tab`: Open a new, empty browser tab.\n`tab_focus [tab_index]`: Switch the browser's focus to a specific tab using its index.\n`close_tab`: Close the currently active tab.\n\nURL Navigation Actions:\n`goto [url]`: Navigate to a specific URL.\n`go_back`: Navigate to the previously viewed page.\n`go_forward`: Navigate to the next page (if a previous 'go_back' action was performed).\n\nCompletion Action:\n`stop [answer]`: Issue this action when you believe the task is complete. If the objective is to find a text-based answer, provide the answer in the bracket. If you believe the task is impossible to complete, provide the answer as \"\"N/A\"\" in the bracket.\n\nTo be successful, it is very important to follow the following rules:\n1. You should only issue an action that is valid given the current observation.\n2. You should only issue one action at a time.\n3. You should follow the examples to reason step by step and then issue the next action.\n4. You should refer to historical actions when issue an action and try not to make repetitive actions\n5. All reasoning must be inside `<think></think>` tags, and there must be no output before `<think></think>`.\n6. After `<think></think>`, only the action should be generated in the correct format, enclosed in code fences. For example:\n <think>This button looks relevant to my goal. Clicking it should take me to the next step.</think>\n ```click [id] [content]```\n7. Issue the stop action when you think you have achieved the objective. Don’t generate anything after stop.\n8. Always format actions correctly: \n```command [parameters]```\nFor example, if searching for \"\"death row inmates in the US\"\" in a search field with ID `21`, correctly format it as:\n```type [21] [death row inmates in the US] [1]```\nAvoid incorrect formats that omit brackets around parameters or numeric values.\n"}, {"role": "user", "content": "\nObjective: who did stephen jackson win a ring with\nObservation: [1] RootWebArea 'User:The other Kiwix guy/Landing' focused: True\n\t[21] textbox \"Search 'Wikipedia'\" required: False\n\t[23] link 'Go to welcome page'\n\t\t[30] button '🏠'\n\t[24] link \"Go to the main page of 'Wikipedia'\"\n\t\t[32] button 'Wikipedia'\n\t[25] link 'Go to a randomly selected page'\n\t\t[34] button '🎲'\n\t[82] StaticText 'Welcome to '\n\t[83] link 'Wikipedia'\n\t[84] StaticText 'The free encyclopedia.'\n\t[371] StaticText '6,489,052'\n\t[86] StaticText ' articles in '\n\t[369] link 'English'\n\t[53] heading 'Arts'\n\t[89] link 'Architecture'\n\t[91] link 'Books'\n\t[93] link 'Cinematography'\n\t[95] link 'Dance'\n\t[97] link 'Design'\n\t[99] link 'Fashion'\n\t[101] link 'Films'\n\t[103] link 'Gastronomy'\n\t[105] link 'Literature'\n\t[107] link 'Magic (illusion)'\n\t[109] link 'Music'\n\t[111] link 'Painting'\n\t[113] link 'Photography'\n\t[115] link 'Poetry'\n\t[117] link 'Sculpture'\n\t[119] link 'Theatre'\n\t[55] heading 'Geography'\n\t[122] link 'Africa'\n\t[124] link 'Antarctica'\n\t[126] link 'Arctic'\n\t[128] link 'Asia'\n\t[130] link 'Caribbean'\n\t[132] link 'Central America'\n\t[134] link 'Europe'\n\t[136] link 'Latin America'\n\t[138] link 'Mediterranean'\n\t[140] link 'Middle East'\n\t[142] link 'North America'\n\t[144] link 'Oceania'\n\t[146] link 'South America'\n\t[148] link 'Cartography'\n\t[57] heading 'History'\n\t[150] link 'Ancient Egypt'\n\t[152] link 'Ancient Greece'\n\t[154] link 'Ancient Near East'\n\t[156] link 'Ancient Rome'\n\t[158] link 'Archaeology'\n\t[160] link 'British Empire'\n\t[162] link 'Byzantine Empire'\n\t[164] link 'Colonialism'\n\t[166] link 'Crusades'\n\t[168] link 'Heraldry'\n\t[170] link 'History of science'\n\t[172] link 'Imperial China'\n\t[174] link 'Indian independence movement'\n\t[176] link 'Japan'\n\t[178] link 'Middle Ages'\n\t[180] link 'Mughal Empire'\n\t[182] link 'Ottoman Empire'\n\t[184] link 'Russian Empire'\n\t[186] link 'Sasanian Empire'\n\t[188] link 'Seljuk Empire'\n\t[190] link 'Soviet Union'\n\t[192] link 'War'\n\t[59] heading 'Sciences'\nHISTORY_ACTION: \n\n"}, {"role": "assistant", "content": "<think>To find out who Stephen Jackson won a ring with, I should use the search box to look up \"Stephen Jackson\" on Wikipedia. The search box has id 21.</think>\n```type [21] [Stephen Jackson] [1]```"}]}
|
| 5 |
+
{"messages": [{"role": "system", "content": "You are a browser interaction assistant designed to execute step-by-step browser operations efficiently and precisely to complete the user's task. You are provided with specific tasks and webpage-related information, and you need to output accurate actions to accomplish the user's task.\n\nHere's the information you'll have:\nThe user's objective: This is the task you're trying to complete.\nThe current web page's accessibility tree: This is a simplified representation of the webpage, providing key information.\nThe open tabs: These are the tabs you have open.\nThe previous actions: There are the actions you just performed. It may be helpful to track your progress.\n\nThe actions you can perform fall into several categories:\n\nPage Operation Actions:\n`click [id] [content]`: This action clicks on an element with a specific id on the webpage.\n`type [id] [content] [press_enter_after=0|1]`: Use this to type the content into the field with id. By default, the \"\"Enter\"\" key is pressed after typing unless press_enter_after is set to 0.\n`hover [id] [content]`: Hover over an element with id.\n`press [key_comb]`: Simulates the pressing of a key combination on the keyboard (e.g., Ctrl+v).\n`scroll [down|up]`: Scroll the page up or down.\n\nTab Management Actions:\n`new_tab`: Open a new, empty browser tab.\n`tab_focus [tab_index]`: Switch the browser's focus to a specific tab using its index.\n`close_tab`: Close the currently active tab.\n\nURL Navigation Actions:\n`goto [url]`: Navigate to a specific URL.\n`go_back`: Navigate to the previously viewed page.\n`go_forward`: Navigate to the next page (if a previous 'go_back' action was performed).\n\nCompletion Action:\n`stop [answer]`: Issue this action when you believe the task is complete. If the objective is to find a text-based answer, provide the answer in the bracket. If you believe the task is impossible to complete, provide the answer as \"\"N/A\"\" in the bracket.\n\nTo be successful, it is very important to follow the following rules:\n1. You should only issue an action that is valid given the current observation.\n2. You should only issue one action at a time.\n3. You should follow the examples to reason step by step and then issue the next action.\n4. You should refer to historical actions when issue an action and try not to make repetitive actions\n5. All reasoning must be inside `<think></think>` tags, and there must be no output before `<think></think>`.\n6. After `<think></think>`, only the action should be generated in the correct format, enclosed in code fences. For example:\n <think>This button looks relevant to my goal. Clicking it should take me to the next step.</think>\n ```click [id] [content]```\n7. Issue the stop action when you think you have achieved the objective. Don’t generate anything after stop.\n8. Always format actions correctly: \n```command [parameters]```\nFor example, if searching for \"\"death row inmates in the US\"\" in a search field with ID `21`, correctly format it as:\n```type [21] [death row inmates in the US] [1]```\nAvoid incorrect formats that omit brackets around parameters or numeric values.\n"}, {"role": "user", "content": "\nObjective: who is the author of around the world in 80 days\nObservation: [2648] RootWebArea 'Around the World in 80 Days (miniseries)' focused: True url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Around_the_World_in_80_Days_(miniseries)\n\t[3230] textbox \"Search 'Wikipedia'\" required: False\n\t[3232] checkbox '' checked: false\n\t[3239] link 'Go to welcome page' url: https://tigerai.ca/\n\t\t[3240] button '🏠'\n\t[3241] link \"Go to the main page of 'Wikipedia'\" url: https://tigerai.ca/wikipedia_en_all_maxi_2022-05/\n\t\t[3242] button 'Wikipedia'\n\t[3243] link 'Go to a randomly selected page' url: https://tigerai.ca/random?content=wikipedia_en_all_maxi_2022-05\n\t\t[3244] button '🎲'\n\t[3251] heading 'Around the World in 80 Days (miniseries)' hasPopup: menu\n\t[2715] StaticText 'Around the World in 80 Days is a three-part television '\n\t[3258] link 'miniseries' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Miniseries\n\t[2718] StaticText ' originally broadcast on '\n\t[3259] link 'NBC' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/NBC\n\t[2720] StaticText ' from April 16 to 18, 1989.'\n\t[3261] link '[]' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Around_the_World_in_80_Days_(miniseries)#cite_note-1\n\t[2721] StaticText ' The production garnered three nominations for '\n\t[3263] link 'Emmy' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Emmy\n\t[2723] StaticText ' awards that year.'\n\t[3265] link '[]' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Around_the_World_in_80_Days_(miniseries)#cite_note-2\n\t[2724] StaticText ' The teleplay by '\n\t[3267] link 'John Gay' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/John_Gay_(screenwriter)\n\t[2726] StaticText ' is based on the 1873 '\n\t[3268] link 'Jules Verne' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Jules_Verne\n\t[3269] link 'novel of the same title' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Around_the_World_in_Eighty_Days\n\t[3271] link '[]' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Around_the_World_in_80_Days_(miniseries)#cite_note-bfi-3\n\t[3274] note ''\n\t\t[2731] StaticText 'This article is about the 1989 TV miniseries. For the Michael Palin travel series, see '\n\t\t[3275] link 'Around the World in 80 Days with Michael Palin' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Around_the_World_in_80_Days_with_Michael_Palin\n\t\t[2733] StaticText '. For the 2021 miniseries, see '\n\t\t[3276] link 'Around the World in 80 Days (2021 TV series)' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Around_the_World_in_80_Days_(2021_TV_series)\n\t[3279] table ''\n\t\t[3281] row ''\n\t\t\t[3282] columnheader 'Around the World in 80 Days' required: False\n\t\t[3284] row ''\n\t\t\t[3285] cell 'DVD sleeve artwork'\n\t\t\t\t[3194] image '' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/I/Around_the_World_in_80_Days_DVD_Sleeve.jpg.webp\n\t\t[3288] row ''\n\t\t\t[3289] rowheader 'Based on' required: False\n\t\t\t[3290] cell 'Around the World in 80 Days by Jules Verne'\n\t[3363] group ''\n\t\t[3368] DisclosureTriangle 'Plot' expanded: True\n\t\t\t[3369] heading 'Plot'\n\t\t[2800] StaticText 'The plot centres around '\n\t\t[3371] link 'Phileas Fogg' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Phileas_Fogg\n\t\t[3372] link 'Pierce Brosnan' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Pierce_Brosnan\n\t\t[2804] StaticText ') making a £30,000 wager with three members of the '\n\t\t[3373] link 'Reform Club' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Reform_Club\n\t\t[2806] StaticText ' that he can '\n\t\t[3374] link 'circumnavigate' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Circumnavigation\n\t\t[2808] StaticText ' the world in 80 days. He takes with him his newly employed '\n\t\t[3375] link 'French' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/French_people\n\t\t[3376] link 'valet' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Valet\n\t\t[3377] link 'Passepartout' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Jean_Passepartout\n\t\t[3378] link 'Eric Idle' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Eric_Idle\n\t\t[2815] StaticText '), and is pursued by Detective Wilbur Fix ('\n\t\t[3379] link 'Peter Ustinov' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Peter_Ustinov\n\t\t[2817] StaticText ') who mistakenly thinks Fogg robbed the Bank of England and is using the wager as a cover to escape capture.'\n\t[3380] group ''\n\t\t[3385] DisclosureTriangle 'Cast' expanded: True\n\t\t\t[3386] heading 'Cast'\n\t\t[2820] ListMarker '■ '\n\t\t[3192] link 'Pierce Brosnan' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Pierce_Brosnan\n\t\t[3391] link 'Phileas Fogg' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Phileas_Fogg\n\t\t[2824] ListMarker '■ '\n\t\t[3393] link 'Eric Idle' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Eric_Idle\n\t\t[3394] link 'Jean Passepartout' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Jean_Passepartout\n\t\t[2828] ListMarker '■ '\n\t\t[3396] link 'Julia Nickson' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Julia_Nickson\n\t\t[2830] StaticText ' as Princess '\n\t\t[3397] link 'Aouda' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Aouda\n\t\t[2832] ListMarker '■ '\n\t\t[3399] link 'Peter Ustinov' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Peter_Ustinov\n\t\t[2834] StaticText ' as Detective Wilbur Fix'\n\t\t[2835] ListMarker '■ '\n\t\t[3401] link 'Jack Klugman' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Jack_Klugman\n\t\t[2837] StaticText ' as Capt. Bunsby'\n\t\t[2838] ListMarker '■ '\n\t\t[3403] link 'Roddy McDowall' url: https://tigerai.ca/wiki/wikipedia_en_all_maxi_2022-05/A/Roddy_McDowall\n\t\t[2840] StaticText ' as McBaines'\nHISTORY_ACTION: type [330] [Around the World in 80 Days] [1]\nclick [1993] [link 'Around the World in 80 Days (miniseries)']\n"}, {"role": "assistant", "content": "<think>The page is about the 1989 TV miniseries. In the observation, the text states: \"The teleplay by John Gay is based on the 1873 novel of the same title.\" Based on this, John Gay is listed as the writer, but Jules Verne is recognized as the original author of the novel. To confirm Jules Verne, I should scroll down to see if there is more about the adaptation origins, which might mention Jules Verne directly or indicate his role as the original novelist.</think>\n```scroll [down]```"}]}
|
| 6 |
+
{"messages": [{"role": "system", "content": "You are a browser interaction assistant designed to execute step-by-step browser operations efficiently and precisely to complete the user's task. You are provided with specific tasks and webpage-related information, and you need to output accurate actions to accomplish the user's task.\n\nHere's the information you'll have:\nThe user's objective: This is the task you're trying to complete.\nThe current web page's accessibility tree: This is a simplified representation of the webpage, providing key information.\nThe open tabs: These are the tabs you have open.\nThe previous actions: There are the actions you just performed. It may be helpful to track your progress.\n\nThe actions you can perform fall into several categories:\n\nPage Operation Actions:\n`click [id] [content]`: This action clicks on an element with a specific id on the webpage.\n`type [id] [content] [press_enter_after=0|1]`: Use this to type the content into the field with id. By default, the \"\"Enter\"\" key is pressed after typing unless press_enter_after is set to 0.\n`hover [id] [content]`: Hover over an element with id.\n`press [key_comb]`: Simulates the pressing of a key combination on the keyboard (e.g., Ctrl+v).\n`scroll [down|up]`: Scroll the page up or down.\n\nTab Management Actions:\n`new_tab`: Open a new, empty browser tab.\n`tab_focus [tab_index]`: Switch the browser's focus to a specific tab using its index.\n`close_tab`: Close the currently active tab.\n\nURL Navigation Actions:\n`goto [url]`: Navigate to a specific URL.\n`go_back`: Navigate to the previously viewed page.\n`go_forward`: Navigate to the next page (if a previous 'go_back' action was performed).\n\nCompletion Action:\n`stop [answer]`: Issue this action when you believe the task is complete. If the objective is to find a text-based answer, provide the answer in the bracket. If you believe the task is impossible to complete, provide the answer as \"\"N/A\"\" in the bracket.\n\nTo be successful, it is very important to follow the following rules:\n1. You should only issue an action that is valid given the current observation.\n2. You should only issue one action at a time.\n3. You should follow the examples to reason step by step and then issue the next action.\n4. You should refer to historical actions when issue an action and try not to make repetitive actions\n5. All reasoning must be inside `<think></think>` tags, and there must be no output before `<think></think>`.\n6. After `<think></think>`, only the action should be generated in the correct format, enclosed in code fences. For example:\n <think>This button looks relevant to my goal. Clicking it should take me to the next step.</think>\n ```click [id] [content]```\n7. Issue the stop action when you think you have achieved the objective. Don’t generate anything after stop.\n8. Always format actions correctly: \n```command [parameters]```\nFor example, if searching for \"\"death row inmates in the US\"\" in a search field with ID `21`, correctly format it as:\n```type [21] [death row inmates in the US] [1]```\nAvoid incorrect formats that omit brackets around parameters or numeric values.\n"}, {"role": "user", "content": "\nObjective: who availed the longest term as president of indian national congress\nObservation: [1] RootWebArea 'User:The other Kiwix guy/Landing' focused: True\n\t[21] textbox \"Search 'Wikipedia'\" required: False\n\t[23] link 'Go to welcome page'\n\t\t[30] button '🏠'\n\t[24] link \"Go to the main page of 'Wikipedia'\"\n\t\t[32] button 'Wikipedia'\n\t[25] link 'Go to a randomly selected page'\n\t\t[34] button '🎲'\n\t[82] StaticText 'Welcome to '\n\t[83] link 'Wikipedia'\n\t[84] StaticText 'The free encyclopedia.'\n\t[371] StaticText '6,489,052'\n\t[86] StaticText ' articles in '\n\t[369] link 'English'\n\t[53] heading 'Arts'\n\t[89] link 'Architecture'\n\t[91] link 'Books'\n\t[93] link 'Cinematography'\n\t[95] link 'Dance'\n\t[97] link 'Design'\n\t[99] link 'Fashion'\n\t[101] link 'Films'\n\t[103] link 'Gastronomy'\n\t[105] link 'Literature'\n\t[107] link 'Magic (illusion)'\n\t[109] link 'Music'\n\t[111] link 'Painting'\n\t[113] link 'Photography'\n\t[115] link 'Poetry'\n\t[117] link 'Sculpture'\n\t[119] link 'Theatre'\n\t[55] heading 'Geography'\n\t[122] link 'Africa'\n\t[124] link 'Antarctica'\n\t[126] link 'Arctic'\n\t[128] link 'Asia'\n\t[130] link 'Caribbean'\n\t[132] link 'Central America'\n\t[134] link 'Europe'\n\t[136] link 'Latin America'\n\t[138] link 'Mediterranean'\n\t[140] link 'Middle East'\n\t[142] link 'North America'\n\t[144] link 'Oceania'\n\t[146] link 'South America'\n\t[148] link 'Cartography'\n\t[57] heading 'History'\n\t[150] link 'Ancient Egypt'\n\t[152] link 'Ancient Greece'\n\t[154] link 'Ancient Near East'\n\t[156] link 'Ancient Rome'\n\t[158] link 'Archaeology'\n\t[160] link 'British Empire'\n\t[162] link 'Byzantine Empire'\n\t[164] link 'Colonialism'\n\t[166] link 'Crusades'\n\t[168] link 'Heraldry'\n\t[170] link 'History of science'\n\t[172] link 'Imperial China'\n\t[174] link 'Indian independence movement'\n\t[176] link 'Japan'\n\t[178] link 'Middle Ages'\n\t[180] link 'Mughal Empire'\n\t[182] link 'Ottoman Empire'\n\t[184] link 'Russian Empire'\n\t[186] link 'Sasanian Empire'\n\t[188] link 'Seljuk Empire'\n\t[190] link 'Soviet Union'\n\t[192] link 'War'\n\t[59] heading 'Sciences'\nHISTORY_ACTION: \n\n"}, {"role": "assistant", "content": "<think>To find out who availed the longest term as president of the Indian National Congress, I should search for this information. There is a search textbox with id 21 labeled \"Search 'Wikipedia'\". I will use it to search for \"President of Indian National Congress\".</think>\n```type [21] [President of Indian National Congress] [1]```"}]}
|
| 7 |
+
{"messages": [{"role": "system", "content": "You are a browser interaction assistant designed to execute step-by-step browser operations efficiently and precisely to complete the user's task. You are provided with specific tasks and webpage-related information, and you need to output accurate actions to accomplish the user's task.\n\nHere's the information you'll have:\nThe user's objective: This is the task you're trying to complete.\nThe current web page's accessibility tree: This is a simplified representation of the webpage, providing key information.\nThe open tabs: These are the tabs you have open.\nThe previous actions: There are the actions you just performed. It may be helpful to track your progress.\n\nThe actions you can perform fall into several categories:\n\nPage Operation Actions:\n`click [id] [content]`: This action clicks on an element with a specific id on the webpage.\n`type [id] [content] [press_enter_after=0|1]`: Use this to type the content into the field with id. By default, the \"\"Enter\"\" key is pressed after typing unless press_enter_after is set to 0.\n`hover [id] [content]`: Hover over an element with id.\n`press [key_comb]`: Simulates the pressing of a key combination on the keyboard (e.g., Ctrl+v).\n`scroll [down|up]`: Scroll the page up or down.\n\nTab Management Actions:\n`new_tab`: Open a new, empty browser tab.\n`tab_focus [tab_index]`: Switch the browser's focus to a specific tab using its index.\n`close_tab`: Close the currently active tab.\n\nURL Navigation Actions:\n`goto [url]`: Navigate to a specific URL.\n`go_back`: Navigate to the previously viewed page.\n`go_forward`: Navigate to the next page (if a previous 'go_back' action was performed).\n\nCompletion Action:\n`stop [answer]`: Issue this action when you believe the task is complete. If the objective is to find a text-based answer, provide the answer in the bracket. If you believe the task is impossible to complete, provide the answer as \"\"N/A\"\" in the bracket.\n\nTo be successful, it is very important to follow the following rules:\n1. You should only issue an action that is valid given the current observation.\n2. You should only issue one action at a time.\n3. You should follow the examples to reason step by step and then issue the next action.\n4. You should refer to historical actions when issue an action and try not to make repetitive actions\n5. All reasoning must be inside `<think></think>` tags, and there must be no output before `<think></think>`.\n6. After `<think></think>`, only the action should be generated in the correct format, enclosed in code fences. For example:\n <think>This button looks relevant to my goal. Clicking it should take me to the next step.</think>\n ```click [id] [content]```\n7. Issue the stop action when you think you have achieved the objective. Don’t generate anything after stop.\n8. Always format actions correctly: \n```command [parameters]```\nFor example, if searching for \"\"death row inmates in the US\"\" in a search field with ID `21`, correctly format it as:\n```type [21] [death row inmates in the US] [1]```\nAvoid incorrect formats that omit brackets around parameters or numeric values.\n"}, {"role": "user", "content": "\nObjective: who was the peace negotiator for the north vietnamese\nObservation: [1237] RootWebArea 'Search: North Vietnamese peace negotiator' focused: True url: http://localhost:22015/search?content=wikipedia_en_all_maxi_2022-05&pattern=North+Vietnamese+peace+negotiator\n\t[1285] textbox \"Search 'Wikipedia'\" required: False\n\t[1291] link 'Go to welcome page' url: http://localhost:22015/\n\t\t[1292] button '🏠'\n\t[1293] link \"Go to the main page of 'Wikipedia'\" url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/\n\t\t[1294] button 'Wikipedia'\n\t[1295] link 'Go to a randomly selected page' url: http://localhost:22015/random?content=wikipedia_en_all_maxi_2022-05\n\t\t[1296] button '🎲'\n\t[1025] StaticText 'Results 1-25 of 2,000 for \"North Vietnamese peace negotiator\"'\n\t[1304] link 'Paris Peace Accords' url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/A/Paris_Peace_Accords\n\t[1032] StaticText '...(North Vietnam), the Republic of Vietnam (South Vietnam), and the United States, as well as the Republic of South Vietnam (PRG) that represented South Vietnamese communists. US ground forces up to that point had been sidelined with deteriorating morale and gradually withdrawn to coastal regions, not taking part in offensive operations or much direct combat for the preceding two-year period.[1][2] The Paris Agreement Treaty would in effect remove all remaining US Forces, including air and naval......'\n\t[1035] StaticText 'from Wikipedia'\n\t[1036] StaticText '4,011 words'\n\t[1310] link 'Decent interval' url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/A/Decent_interval\n\t[1038] StaticText '...North Vietnam to recognize South Vietnam\\'s right to choose a leader by democratic election. The decent interval theory holds that, privately, the Nixon administration did not plan for the continuation of South Vietnam and was only interested in the release of United States prisoners of war and maintaining a \"decent interval\" before South Vietnamese collapse.[3][5] If a \"decent interval\" elapsed between the withdrawal of American troops and the fall of the South Vietnamese government, Nixon could......'\n\t[1041] StaticText 'from Wikipedia'\n\t[1042] StaticText '2,112 words'\n\t[1316] link 'Lê Đức Thọ' url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/A/L%C3%AA_%C4%90%E1%BB%A9c_Th%E1%BB%8D\n\t[1044] StaticText '...North Vietnamese delegation, but Thọ arrived in Paris in June 1968 to take effective control.[2] On his way to Paris, Thọ stopped in Moscow to meet the Soviet Premier Aleksei Kosygin. On Thọ\\'s behalf, Kosygin sent President Lyndon B. Johnson a letter reading: \"My colleagues and I believe and have grounds to believe that an end to the bombing [of North Vietnam] would lead to a breakthrough in the peace talks\".[7] On 26 June 1968, Thọ first met Cyrus Vance and Philip Habib of the American......'\n\t[1049] StaticText 'from Wikipedia'\n\t[1050] StaticText '5,773 words'\n\t[1323] link 'Operation Linebacker II' url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/A/Operation_Linebacker_II\n\t[1052] StaticText '...(North Vietnam) during the final period of U.S. involvement in the Vietnam War. The operation was conducted from 18 to 29 December 1972, leading to several informal names such as \"The December Raids\" and \"The Christmas Bombings\".[10] In Vietnam, it is just simply called \"12 days and nights\" (12 ngày đêm) and \"Operation Dien Bien Phu in the air\" (Chiến dịch Điện Biên Phủ trên không) or just simply Dien Bien Phu in the air (Điện Biên Phủ trên không). Unlike the Operation......'\n\t[1055] StaticText 'from Wikipedia'\n\t[1056] StaticText '9,503 words'\n\t[1329] link 'Henry Kissinger and the Vietnam war' url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/A/Henry_Kissinger_and_the_Vietnam_war\n\t[1058] StaticText '...North Vietnam for a short period of time as a sign of good faith, but the National Security Adviser, W.W. Rostow, persuaded Johnson to increase the bombing of North Vietnam at the same time.[6] On 22 August 1967 Aubrac and Marcovitch were refused visas to visit North Vietnam as the inability of Kissinger to achieve the promised bombing pause had disillusioned Ho.[8] In August 1968, Kissinger wrote to Harriman, who was leading the American delegation at the Paris peace talks: \"My dear Averell...I......'\n\t[1065] StaticText 'from Wikipedia'\n\t[1066] StaticText '14,607 words'\n\t[1337] link '1973 in the Vietnam War' url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/A/1973_in_the_Vietnam_War\n\t[1068] StaticText '...North Vietnam and the insurgent Viet Cong on the other. Although honored in some respects, the peace agreement was violated by both North and South Vietnam as the struggle for power and control of territory in South Vietnam continued. North Vietnam released all American prisoners of war and the United States completed its military withdrawal from South Vietnam. U.S. Congressional opposition to the Vietnam War forced the U.S. to cease bombing communist forces in Cambodia in August and in November......'\nHISTORY_ACTION: type [327] [North Vietnamese peace negotiator] [1]\n"}, {"role": "assistant", "content": "<think>The search results include a link to \"Lê Đức Thọ,\" and the snippet mentions that he arrived in Paris in June 1968 to take effective control of the North Vietnamese delegation at the peace talks. This strongly suggests he was the peace negotiator for North Vietnam. To confirm and gather more details, I should click on the \"Lê Đức Thọ\" link to view his Wikipedia article.</think>\n```click [1316] [Lê Đức Thọ]```"}]}
|
qwen2.5-7b-2225q-661q-1e_6-old-click-1ep/args.json
ADDED
|
@@ -0,0 +1,381 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"output_dir": "/group/40143/hongzhuyi/ms-swift/output/v2-20250819-162442",
|
| 3 |
+
"overwrite_output_dir": false,
|
| 4 |
+
"do_train": false,
|
| 5 |
+
"do_eval": false,
|
| 6 |
+
"do_predict": false,
|
| 7 |
+
"eval_strategy": "epoch",
|
| 8 |
+
"prediction_loss_only": false,
|
| 9 |
+
"per_device_train_batch_size": 1,
|
| 10 |
+
"per_device_eval_batch_size": 1,
|
| 11 |
+
"per_gpu_train_batch_size": null,
|
| 12 |
+
"per_gpu_eval_batch_size": null,
|
| 13 |
+
"gradient_accumulation_steps": 2,
|
| 14 |
+
"eval_accumulation_steps": null,
|
| 15 |
+
"eval_delay": 0,
|
| 16 |
+
"torch_empty_cache_steps": null,
|
| 17 |
+
"learning_rate": 1e-06,
|
| 18 |
+
"weight_decay": 0.1,
|
| 19 |
+
"adam_beta1": 0.9,
|
| 20 |
+
"adam_beta2": 0.95,
|
| 21 |
+
"adam_epsilon": 1e-08,
|
| 22 |
+
"max_grad_norm": 1.0,
|
| 23 |
+
"num_train_epochs": 1.0,
|
| 24 |
+
"max_steps": -1,
|
| 25 |
+
"lr_scheduler_type": "cosine",
|
| 26 |
+
"lr_scheduler_kwargs": null,
|
| 27 |
+
"warmup_ratio": 0.05,
|
| 28 |
+
"warmup_steps": 0,
|
| 29 |
+
"log_level": "passive",
|
| 30 |
+
"log_level_replica": "warning",
|
| 31 |
+
"log_on_each_node": true,
|
| 32 |
+
"logging_dir": "/group/40143/hongzhuyi/ms-swift/output/v2-20250819-162442/runs",
|
| 33 |
+
"logging_strategy": "steps",
|
| 34 |
+
"logging_first_step": true,
|
| 35 |
+
"logging_steps": 1,
|
| 36 |
+
"logging_nan_inf_filter": true,
|
| 37 |
+
"save_strategy": "epoch",
|
| 38 |
+
"save_steps": 500,
|
| 39 |
+
"save_total_limit": null,
|
| 40 |
+
"save_safetensors": true,
|
| 41 |
+
"save_on_each_node": false,
|
| 42 |
+
"save_only_model": false,
|
| 43 |
+
"restore_callback_states_from_checkpoint": false,
|
| 44 |
+
"no_cuda": false,
|
| 45 |
+
"use_cpu": false,
|
| 46 |
+
"use_mps_device": false,
|
| 47 |
+
"seed": 42,
|
| 48 |
+
"data_seed": 42,
|
| 49 |
+
"jit_mode_eval": false,
|
| 50 |
+
"use_ipex": false,
|
| 51 |
+
"bf16": true,
|
| 52 |
+
"fp16": false,
|
| 53 |
+
"fp16_opt_level": "O1",
|
| 54 |
+
"half_precision_backend": "auto",
|
| 55 |
+
"bf16_full_eval": false,
|
| 56 |
+
"fp16_full_eval": false,
|
| 57 |
+
"tf32": null,
|
| 58 |
+
"local_rank": 0,
|
| 59 |
+
"ddp_backend": null,
|
| 60 |
+
"tpu_num_cores": null,
|
| 61 |
+
"tpu_metrics_debug": false,
|
| 62 |
+
"debug": null,
|
| 63 |
+
"dataloader_drop_last": false,
|
| 64 |
+
"eval_steps": 20.0,
|
| 65 |
+
"dataloader_num_workers": 48,
|
| 66 |
+
"dataloader_prefetch_factor": null,
|
| 67 |
+
"past_index": -1,
|
| 68 |
+
"run_name": "/group/40143/hongzhuyi/ms-swift/output/v2-20250819-162442",
|
| 69 |
+
"disable_tqdm": null,
|
| 70 |
+
"remove_unused_columns": true,
|
| 71 |
+
"label_names": null,
|
| 72 |
+
"load_best_model_at_end": false,
|
| 73 |
+
"metric_for_best_model": "loss",
|
| 74 |
+
"greater_is_better": false,
|
| 75 |
+
"ignore_data_skip": false,
|
| 76 |
+
"fsdp": "",
|
| 77 |
+
"fsdp_min_num_params": 0,
|
| 78 |
+
"fsdp_config": null,
|
| 79 |
+
"fsdp_transformer_layer_cls_to_wrap": null,
|
| 80 |
+
"accelerator_config": {
|
| 81 |
+
"dispatch_batches": false
|
| 82 |
+
},
|
| 83 |
+
"deepspeed": {
|
| 84 |
+
"fp16": {
|
| 85 |
+
"enabled": "auto",
|
| 86 |
+
"loss_scale": 0,
|
| 87 |
+
"loss_scale_window": 1000,
|
| 88 |
+
"initial_scale_power": 16,
|
| 89 |
+
"hysteresis": 2,
|
| 90 |
+
"min_loss_scale": 1
|
| 91 |
+
},
|
| 92 |
+
"bf16": {
|
| 93 |
+
"enabled": "auto"
|
| 94 |
+
},
|
| 95 |
+
"zero_optimization": {
|
| 96 |
+
"stage": 3,
|
| 97 |
+
"offload_optimizer": {
|
| 98 |
+
"device": "none",
|
| 99 |
+
"pin_memory": true
|
| 100 |
+
},
|
| 101 |
+
"offload_param": {
|
| 102 |
+
"device": "none",
|
| 103 |
+
"pin_memory": true
|
| 104 |
+
},
|
| 105 |
+
"overlap_comm": false,
|
| 106 |
+
"contiguous_gradients": true,
|
| 107 |
+
"sub_group_size": 1000000000.0,
|
| 108 |
+
"reduce_bucket_size": "auto",
|
| 109 |
+
"zero_quantized_weights": false,
|
| 110 |
+
"zero_quantized_gradients": false,
|
| 111 |
+
"stage3_prefetch_bucket_size": "auto",
|
| 112 |
+
"stage3_param_persistence_threshold": "auto",
|
| 113 |
+
"stage3_max_live_parameters": 1000000000.0,
|
| 114 |
+
"stage3_max_reuse_distance": 1000000000.0,
|
| 115 |
+
"stage3_gather_16bit_weights_on_model_save": true
|
| 116 |
+
},
|
| 117 |
+
"gradient_accumulation_steps": "auto",
|
| 118 |
+
"gradient_clipping": "auto",
|
| 119 |
+
"steps_per_print": 2000,
|
| 120 |
+
"train_batch_size": "auto",
|
| 121 |
+
"train_micro_batch_size_per_gpu": "auto",
|
| 122 |
+
"wall_clock_breakdown": false
|
| 123 |
+
},
|
| 124 |
+
"label_smoothing_factor": 0.0,
|
| 125 |
+
"optim": "adamw_torch_fused",
|
| 126 |
+
"optim_args": null,
|
| 127 |
+
"adafactor": false,
|
| 128 |
+
"group_by_length": false,
|
| 129 |
+
"length_column_name": "length",
|
| 130 |
+
"report_to": [
|
| 131 |
+
"tensorboard"
|
| 132 |
+
],
|
| 133 |
+
"ddp_find_unused_parameters": null,
|
| 134 |
+
"ddp_bucket_cap_mb": null,
|
| 135 |
+
"ddp_broadcast_buffers": null,
|
| 136 |
+
"dataloader_pin_memory": true,
|
| 137 |
+
"dataloader_persistent_workers": false,
|
| 138 |
+
"skip_memory_metrics": true,
|
| 139 |
+
"use_legacy_prediction_loop": false,
|
| 140 |
+
"push_to_hub": false,
|
| 141 |
+
"resume_from_checkpoint": null,
|
| 142 |
+
"hub_model_id": null,
|
| 143 |
+
"hub_strategy": "every_save",
|
| 144 |
+
"hub_token": null,
|
| 145 |
+
"hub_private_repo": null,
|
| 146 |
+
"hub_always_push": false,
|
| 147 |
+
"hub_revision": null,
|
| 148 |
+
"gradient_checkpointing": true,
|
| 149 |
+
"gradient_checkpointing_kwargs": null,
|
| 150 |
+
"include_inputs_for_metrics": false,
|
| 151 |
+
"include_for_metrics": [],
|
| 152 |
+
"eval_do_concat_batches": true,
|
| 153 |
+
"fp16_backend": "auto",
|
| 154 |
+
"push_to_hub_model_id": null,
|
| 155 |
+
"push_to_hub_organization": null,
|
| 156 |
+
"push_to_hub_token": null,
|
| 157 |
+
"mp_parameters": "",
|
| 158 |
+
"auto_find_batch_size": false,
|
| 159 |
+
"full_determinism": false,
|
| 160 |
+
"torchdynamo": null,
|
| 161 |
+
"ray_scope": "last",
|
| 162 |
+
"ddp_timeout": 18000000,
|
| 163 |
+
"torch_compile": false,
|
| 164 |
+
"torch_compile_backend": null,
|
| 165 |
+
"torch_compile_mode": null,
|
| 166 |
+
"include_tokens_per_second": false,
|
| 167 |
+
"include_num_input_tokens_seen": false,
|
| 168 |
+
"neftune_noise_alpha": null,
|
| 169 |
+
"optim_target_modules": null,
|
| 170 |
+
"batch_eval_metrics": false,
|
| 171 |
+
"eval_on_start": false,
|
| 172 |
+
"use_liger_kernel": false,
|
| 173 |
+
"liger_kernel_config": null,
|
| 174 |
+
"eval_use_gather_object": false,
|
| 175 |
+
"average_tokens_across_devices": true,
|
| 176 |
+
"sortish_sampler": false,
|
| 177 |
+
"predict_with_generate": false,
|
| 178 |
+
"generation_max_length": null,
|
| 179 |
+
"generation_num_beams": null,
|
| 180 |
+
"generation_config": null,
|
| 181 |
+
"tuner_backend": "peft",
|
| 182 |
+
"vit_gradient_checkpointing": null,
|
| 183 |
+
"router_aux_loss_coef": 0.0,
|
| 184 |
+
"enable_dft_loss": false,
|
| 185 |
+
"check_model": true,
|
| 186 |
+
"acc_strategy": "token",
|
| 187 |
+
"train_dataloader_shuffle": true,
|
| 188 |
+
"max_epochs": null,
|
| 189 |
+
"aligner_lr": null,
|
| 190 |
+
"vit_lr": null,
|
| 191 |
+
"use_logits_to_keep": null,
|
| 192 |
+
"channels": null,
|
| 193 |
+
"ds3_gather_for_generation": true,
|
| 194 |
+
"resume_only_model": false,
|
| 195 |
+
"optimizer": null,
|
| 196 |
+
"loss_type": null,
|
| 197 |
+
"metric": null,
|
| 198 |
+
"eval_use_evalscope": false,
|
| 199 |
+
"eval_dataset": [],
|
| 200 |
+
"eval_dataset_args": null,
|
| 201 |
+
"eval_limit": null,
|
| 202 |
+
"eval_generation_config": null,
|
| 203 |
+
"extra_eval_args": null,
|
| 204 |
+
"use_flash_ckpt": false,
|
| 205 |
+
"model": "Qwen/Qwen2.5-7B-Instruct",
|
| 206 |
+
"model_type": "qwen2_5",
|
| 207 |
+
"model_revision": null,
|
| 208 |
+
"task_type": "causal_lm",
|
| 209 |
+
"torch_dtype": "bfloat16",
|
| 210 |
+
"attn_impl": null,
|
| 211 |
+
"new_special_tokens": [],
|
| 212 |
+
"num_labels": null,
|
| 213 |
+
"problem_type": null,
|
| 214 |
+
"rope_scaling": null,
|
| 215 |
+
"device_map": null,
|
| 216 |
+
"max_memory": {},
|
| 217 |
+
"max_model_len": null,
|
| 218 |
+
"local_repo_path": null,
|
| 219 |
+
"init_strategy": null,
|
| 220 |
+
"template": "qwen2_5",
|
| 221 |
+
"system": null,
|
| 222 |
+
"max_length": 16240,
|
| 223 |
+
"truncation_strategy": "delete",
|
| 224 |
+
"max_pixels": null,
|
| 225 |
+
"agent_template": null,
|
| 226 |
+
"norm_bbox": null,
|
| 227 |
+
"use_chat_template": true,
|
| 228 |
+
"padding_free": false,
|
| 229 |
+
"padding_side": "right",
|
| 230 |
+
"loss_scale": "default",
|
| 231 |
+
"sequence_parallel_size": 1,
|
| 232 |
+
"response_prefix": null,
|
| 233 |
+
"template_backend": "swift",
|
| 234 |
+
"dataset": [
|
| 235 |
+
"rft_661q_7b_click_nourl_long_swift.jsonl",
|
| 236 |
+
"corr_data_2225q_old_click_nourl_swift.jsonl"
|
| 237 |
+
],
|
| 238 |
+
"val_dataset": [],
|
| 239 |
+
"split_dataset_ratio": 0.001,
|
| 240 |
+
"dataset_num_proc": 100,
|
| 241 |
+
"load_from_cache_file": true,
|
| 242 |
+
"dataset_shuffle": true,
|
| 243 |
+
"val_dataset_shuffle": false,
|
| 244 |
+
"streaming": false,
|
| 245 |
+
"interleave_prob": null,
|
| 246 |
+
"stopping_strategy": "first_exhausted",
|
| 247 |
+
"shuffle_buffer_size": 1000,
|
| 248 |
+
"download_mode": "reuse_dataset_if_exists",
|
| 249 |
+
"columns": {},
|
| 250 |
+
"strict": false,
|
| 251 |
+
"model_name": null,
|
| 252 |
+
"model_author": null,
|
| 253 |
+
"custom_dataset_info": [],
|
| 254 |
+
"quant_method": null,
|
| 255 |
+
"quant_bits": null,
|
| 256 |
+
"hqq_axis": null,
|
| 257 |
+
"bnb_4bit_compute_dtype": "bfloat16",
|
| 258 |
+
"bnb_4bit_quant_type": "nf4",
|
| 259 |
+
"bnb_4bit_use_double_quant": true,
|
| 260 |
+
"bnb_4bit_quant_storage": null,
|
| 261 |
+
"max_new_tokens": 64,
|
| 262 |
+
"temperature": 0.0,
|
| 263 |
+
"top_k": null,
|
| 264 |
+
"top_p": null,
|
| 265 |
+
"repetition_penalty": null,
|
| 266 |
+
"num_beams": 1,
|
| 267 |
+
"stream": false,
|
| 268 |
+
"stop_words": [],
|
| 269 |
+
"logprobs": false,
|
| 270 |
+
"top_logprobs": null,
|
| 271 |
+
"ckpt_dir": null,
|
| 272 |
+
"lora_modules": [],
|
| 273 |
+
"train_type": "full",
|
| 274 |
+
"adapters": [],
|
| 275 |
+
"external_plugins": [],
|
| 276 |
+
"model_kwargs": {},
|
| 277 |
+
"load_args": false,
|
| 278 |
+
"load_data_args": false,
|
| 279 |
+
"packing": false,
|
| 280 |
+
"packing_length": null,
|
| 281 |
+
"lazy_tokenize": false,
|
| 282 |
+
"cached_dataset": [],
|
| 283 |
+
"custom_register_path": [],
|
| 284 |
+
"use_hf": false,
|
| 285 |
+
"ignore_args_error": false,
|
| 286 |
+
"use_swift_lora": false,
|
| 287 |
+
"freeze_parameters": [],
|
| 288 |
+
"freeze_parameters_regex": null,
|
| 289 |
+
"freeze_parameters_ratio": 0.0,
|
| 290 |
+
"trainable_parameters": [],
|
| 291 |
+
"trainable_parameters_regex": null,
|
| 292 |
+
"freeze_llm": false,
|
| 293 |
+
"freeze_vit": true,
|
| 294 |
+
"freeze_aligner": false,
|
| 295 |
+
"target_modules": [
|
| 296 |
+
"all-linear"
|
| 297 |
+
],
|
| 298 |
+
"target_regex": null,
|
| 299 |
+
"modules_to_save": [],
|
| 300 |
+
"lora_rank": 8,
|
| 301 |
+
"lora_alpha": 32,
|
| 302 |
+
"lora_dropout": 0.05,
|
| 303 |
+
"lora_bias": "none",
|
| 304 |
+
"lora_dtype": null,
|
| 305 |
+
"lorap_lr_ratio": null,
|
| 306 |
+
"use_rslora": false,
|
| 307 |
+
"use_dora": false,
|
| 308 |
+
"lora_ga_batch_size": 2,
|
| 309 |
+
"lora_ga_iters": 2,
|
| 310 |
+
"lora_ga_max_length": 1024,
|
| 311 |
+
"lora_ga_direction": "ArB2r",
|
| 312 |
+
"lora_ga_scale": "stable",
|
| 313 |
+
"lora_ga_stable_gamma": 16,
|
| 314 |
+
"init_weights": true,
|
| 315 |
+
"fourier_n_frequency": 2000,
|
| 316 |
+
"fourier_scaling": 300.0,
|
| 317 |
+
"boft_block_size": 4,
|
| 318 |
+
"boft_block_num": 0,
|
| 319 |
+
"boft_n_butterfly_factor": 1,
|
| 320 |
+
"boft_dropout": 0.0,
|
| 321 |
+
"vera_rank": 256,
|
| 322 |
+
"vera_projection_prng_key": 0,
|
| 323 |
+
"vera_dropout": 0.0,
|
| 324 |
+
"vera_d_initial": 0.1,
|
| 325 |
+
"adapter_act": "gelu",
|
| 326 |
+
"adapter_length": 128,
|
| 327 |
+
"use_galore": false,
|
| 328 |
+
"galore_target_modules": null,
|
| 329 |
+
"galore_rank": 128,
|
| 330 |
+
"galore_update_proj_gap": 50,
|
| 331 |
+
"galore_scale": 1.0,
|
| 332 |
+
"galore_proj_type": "std",
|
| 333 |
+
"galore_optim_per_parameter": false,
|
| 334 |
+
"galore_with_embedding": false,
|
| 335 |
+
"galore_quantization": false,
|
| 336 |
+
"galore_proj_quant": false,
|
| 337 |
+
"galore_proj_bits": 4,
|
| 338 |
+
"galore_proj_group_size": 256,
|
| 339 |
+
"galore_cos_threshold": 0.4,
|
| 340 |
+
"galore_gamma_proj": 2,
|
| 341 |
+
"galore_queue_size": 5,
|
| 342 |
+
"adalora_target_r": 8,
|
| 343 |
+
"adalora_init_r": 12,
|
| 344 |
+
"adalora_tinit": 0,
|
| 345 |
+
"adalora_tfinal": 0,
|
| 346 |
+
"adalora_deltaT": 1,
|
| 347 |
+
"adalora_beta1": 0.85,
|
| 348 |
+
"adalora_beta2": 0.85,
|
| 349 |
+
"adalora_orth_reg_weight": 0.5,
|
| 350 |
+
"llamapro_num_new_blocks": 4,
|
| 351 |
+
"llamapro_num_groups": null,
|
| 352 |
+
"lisa_activated_layers": 0,
|
| 353 |
+
"lisa_step_interval": 20,
|
| 354 |
+
"reft_layer_key": null,
|
| 355 |
+
"reft_layers": null,
|
| 356 |
+
"reft_rank": 4,
|
| 357 |
+
"reft_intervention_type": "LoreftIntervention",
|
| 358 |
+
"reft_args": null,
|
| 359 |
+
"swanlab_token": null,
|
| 360 |
+
"swanlab_project": null,
|
| 361 |
+
"swanlab_workspace": null,
|
| 362 |
+
"swanlab_exp_name": null,
|
| 363 |
+
"swanlab_lark_webhook_url": null,
|
| 364 |
+
"swanlab_lark_secret": null,
|
| 365 |
+
"swanlab_mode": "cloud",
|
| 366 |
+
"add_version": true,
|
| 367 |
+
"create_checkpoint_symlink": false,
|
| 368 |
+
"zero_hpz_partition_size": null,
|
| 369 |
+
"deepspeed_autotp_size": null,
|
| 370 |
+
"early_stop_interval": null,
|
| 371 |
+
"rank": 0,
|
| 372 |
+
"global_world_size": 8,
|
| 373 |
+
"local_world_size": 8,
|
| 374 |
+
"model_suffix": "Qwen2.5-7B-Instruct",
|
| 375 |
+
"model_info": "ModelInfo(model_type='qwen2_5', model_dir='/usr/local/app/.cache/modelscope/hub/models/Qwen/Qwen2___5-7B-Instruct', torch_dtype=torch.bfloat16, max_model_len=32768, quant_method=None, quant_bits=None, rope_scaling=None, is_moe_model=False, config=None, task_type='causal_lm', num_labels=None)",
|
| 376 |
+
"model_meta": "ModelMeta(model_type='qwen2_5', model_groups=[ModelGroup(models=[Model(ms_model_id='Qwen/Qwen2.5-0.5B-Instruct', hf_model_id='Qwen/Qwen2.5-0.5B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-1.5B-Instruct', hf_model_id='Qwen/Qwen2.5-1.5B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-3B-Instruct', hf_model_id='Qwen/Qwen2.5-3B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-7B-Instruct', hf_model_id='Qwen/Qwen2.5-7B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-14B-Instruct', hf_model_id='Qwen/Qwen2.5-14B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-32B-Instruct', hf_model_id='Qwen/Qwen2.5-32B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-72B-Instruct', hf_model_id='Qwen/Qwen2.5-72B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-0.5B', hf_model_id='Qwen/Qwen2.5-0.5B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-1.5B', hf_model_id='Qwen/Qwen2.5-1.5B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-3B', hf_model_id='Qwen/Qwen2.5-3B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-7B', hf_model_id='Qwen/Qwen2.5-7B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-14B', hf_model_id='Qwen/Qwen2.5-14B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-32B', hf_model_id='Qwen/Qwen2.5-32B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-72B', hf_model_id='Qwen/Qwen2.5-72B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-0.5B-Instruct-GPTQ-Int4', hf_model_id='Qwen/Qwen2.5-0.5B-Instruct-GPTQ-Int4', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-1.5B-Instruct-GPTQ-Int4', hf_model_id='Qwen/Qwen2.5-1.5B-Instruct-GPTQ-Int4', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-3B-Instruct-GPTQ-Int4', hf_model_id='Qwen/Qwen2.5-3B-Instruct-GPTQ-Int4', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-7B-Instruct-GPTQ-Int4', hf_model_id='Qwen/Qwen2.5-7B-Instruct-GPTQ-Int4', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-14B-Instruct-GPTQ-Int4', hf_model_id='Qwen/Qwen2.5-14B-Instruct-GPTQ-Int4', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-32B-Instruct-GPTQ-Int4', hf_model_id='Qwen/Qwen2.5-32B-Instruct-GPTQ-Int4', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-72B-Instruct-GPTQ-Int4', hf_model_id='Qwen/Qwen2.5-72B-Instruct-GPTQ-Int4', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-0.5B-Instruct-GPTQ-Int8', hf_model_id='Qwen/Qwen2.5-0.5B-Instruct-GPTQ-Int8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-1.5B-Instruct-GPTQ-Int8', hf_model_id='Qwen/Qwen2.5-1.5B-Instruct-GPTQ-Int8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-3B-Instruct-GPTQ-Int8', hf_model_id='Qwen/Qwen2.5-3B-Instruct-GPTQ-Int8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-7B-Instruct-GPTQ-Int8', hf_model_id='Qwen/Qwen2.5-7B-Instruct-GPTQ-Int8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-14B-Instruct-GPTQ-Int8', hf_model_id='Qwen/Qwen2.5-14B-Instruct-GPTQ-Int8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-32B-Instruct-GPTQ-Int8', hf_model_id='Qwen/Qwen2.5-32B-Instruct-GPTQ-Int8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-72B-Instruct-GPTQ-Int8', hf_model_id='Qwen/Qwen2.5-72B-Instruct-GPTQ-Int8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-0.5B-Instruct-AWQ', hf_model_id='Qwen/Qwen2.5-0.5B-Instruct-AWQ', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-1.5B-Instruct-AWQ', hf_model_id='Qwen/Qwen2.5-1.5B-Instruct-AWQ', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-3B-Instruct-AWQ', hf_model_id='Qwen/Qwen2.5-3B-Instruct-AWQ', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-7B-Instruct-AWQ', hf_model_id='Qwen/Qwen2.5-7B-Instruct-AWQ', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-14B-Instruct-AWQ', hf_model_id='Qwen/Qwen2.5-14B-Instruct-AWQ', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-32B-Instruct-AWQ', hf_model_id='Qwen/Qwen2.5-32B-Instruct-AWQ', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-72B-Instruct-AWQ', hf_model_id='Qwen/Qwen2.5-72B-Instruct-AWQ', model_path=None, ms_revision=None, hf_revision=None)], ignore_patterns=None, requires=None, tags=[]), ModelGroup(models=[Model(ms_model_id='Qwen/Qwen2.5-Coder-0.5B-Instruct', hf_model_id='Qwen/Qwen2.5-Coder-0.5B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-1.5B-Instruct', hf_model_id='Qwen/Qwen2.5-Coder-1.5B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-3B-Instruct', hf_model_id='Qwen/Qwen2.5-Coder-3B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-7B-Instruct', hf_model_id='Qwen/Qwen2.5-Coder-7B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-14B-Instruct', hf_model_id='Qwen/Qwen2.5-Coder-14B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-32B-Instruct', hf_model_id='Qwen/Qwen2.5-Coder-32B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-0.5B', hf_model_id='Qwen/Qwen2.5-Coder-0.5B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-1.5B', hf_model_id='Qwen/Qwen2.5-Coder-1.5B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-3B', hf_model_id='Qwen/Qwen2.5-Coder-3B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-7B', hf_model_id='Qwen/Qwen2.5-Coder-7B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-14B', hf_model_id='Qwen/Qwen2.5-Coder-14B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-32B', hf_model_id='Qwen/Qwen2.5-Coder-32B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-0.5B-Instruct-AWQ', hf_model_id='Qwen/Qwen2.5-Coder-0.5B-Instruct-AWQ', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-1.5B-Instruct-AWQ', hf_model_id='Qwen/Qwen2.5-Coder-1.5B-Instruct-AWQ', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-3B-Instruct-AWQ', hf_model_id='Qwen/Qwen2.5-Coder-3B-Instruct-AWQ', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-7B-Instruct-AWQ', hf_model_id='Qwen/Qwen2.5-Coder-7B-Instruct-AWQ', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-14B-Instruct-AWQ', hf_model_id='Qwen/Qwen2.5-Coder-14B-Instruct-AWQ', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-32B-Instruct-AWQ', hf_model_id='Qwen/Qwen2.5-Coder-32B-Instruct-AWQ', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-0.5B-Instruct-GPTQ-Int4', hf_model_id='Qwen/Qwen2.5-Coder-0.5B-Instruct-GPTQ-Int4', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-0.5B-Instruct-GPTQ-Int8', hf_model_id='Qwen/Qwen2.5-Coder-0.5B-Instruct-GPTQ-Int8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-1.5B-Instruct-GPTQ-Int4', hf_model_id='Qwen/Qwen2.5-Coder-1.5B-Instruct-GPTQ-Int4', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-1.5B-Instruct-GPTQ-Int8', hf_model_id='Qwen/Qwen2.5-Coder-1.5B-Instruct-GPTQ-Int8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-3B-Instruct-GPTQ-Int4', hf_model_id='Qwen/Qwen2.5-Coder-3B-Instruct-GPTQ-Int4', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-3B-Instruct-GPTQ-Int8', hf_model_id='Qwen/Qwen2.5-Coder-3B-Instruct-GPTQ-Int8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-7B-Instruct-GPTQ-Int4', hf_model_id='Qwen/Qwen2.5-Coder-7B-Instruct-GPTQ-Int4', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-7B-Instruct-GPTQ-Int8', hf_model_id='Qwen/Qwen2.5-Coder-7B-Instruct-GPTQ-Int8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-14B-Instruct-GPTQ-Int4', hf_model_id='Qwen/Qwen2.5-Coder-14B-Instruct-GPTQ-Int4', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-14B-Instruct-GPTQ-Int8', hf_model_id='Qwen/Qwen2.5-Coder-14B-Instruct-GPTQ-Int8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-32B-Instruct-GPTQ-Int4', hf_model_id='Qwen/Qwen2.5-Coder-32B-Instruct-GPTQ-Int4', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Coder-32B-Instruct-GPTQ-Int8', hf_model_id='Qwen/Qwen2.5-Coder-32B-Instruct-GPTQ-Int8', model_path=None, ms_revision=None, hf_revision=None)], ignore_patterns=None, requires=None, tags=['coding']), ModelGroup(models=[Model(ms_model_id='moonshotai/Kimi-Dev-72B', hf_model_id='moonshotai/Kimi-Dev-72B', model_path=None, ms_revision=None, hf_revision=None)], ignore_patterns=None, requires=None, tags=[])], template='qwen2_5', get_function=<function get_model_tokenizer_with_flash_attn at 0x7f682781ce50>, model_arch=ModelKeys(arch_name='llama', embedding='model.embed_tokens', module_list='model.layers', lm_head='lm_head', q_proj='model.layers.{}.self_attn.q_proj', k_proj='model.layers.{}.self_attn.k_proj', v_proj='model.layers.{}.self_attn.v_proj', o_proj='model.layers.{}.self_attn.o_proj', attention='model.layers.{}.self_attn', mlp='model.layers.{}.mlp', down_proj='model.layers.{}.mlp.down_proj', qkv_proj=None, qk_proj=None, qa_proj=None, qb_proj=None, kv_proj=None, kva_proj=None, kvb_proj=None), architectures=['Qwen2ForCausalLM'], additional_saved_files=[], torch_dtype=None, is_multimodal=False, is_reward=False, task_type=None, ignore_patterns=None, requires=['transformers>=4.37'], tags=[])",
|
| 377 |
+
"model_dir": "/usr/local/app/.cache/modelscope/hub/models/Qwen/Qwen2___5-7B-Instruct",
|
| 378 |
+
"hub": "<class 'swift.hub.hub.MSHub'>",
|
| 379 |
+
"evaluation_strategy": "epoch",
|
| 380 |
+
"training_args": "Seq2SeqTrainingArguments(output_dir='/group/40143/hongzhuyi/ms-swift/output/v2-20250819-162442', overwrite_output_dir=False, do_train=False, do_eval=True, do_predict=False, eval_strategy=<IntervalStrategy.EPOCH: 'epoch'>, prediction_loss_only=False, per_device_train_batch_size=1, per_device_eval_batch_size=1, per_gpu_train_batch_size=None, per_gpu_eval_batch_size=None, gradient_accumulation_steps=2, eval_accumulation_steps=None, eval_delay=0, torch_empty_cache_steps=None, learning_rate=1e-06, weight_decay=0.1, adam_beta1=0.9, adam_beta2=0.95, adam_epsilon=1e-08, max_grad_norm=1.0, num_train_epochs=1.0, max_steps=-1, lr_scheduler_type=<SchedulerType.COSINE: 'cosine'>, lr_scheduler_kwargs=None, warmup_ratio=0.05, warmup_steps=0, log_level='passive', log_level_replica='warning', log_on_each_node=True, logging_dir='/group/40143/hongzhuyi/ms-swift/output/v2-20250819-162442/runs', logging_strategy=<IntervalStrategy.STEPS: 'steps'>, logging_first_step=True, logging_steps=1, logging_nan_inf_filter=True, save_strategy=<SaveStrategy.EPOCH: 'epoch'>, save_steps=500, save_total_limit=None, save_safetensors=True, save_on_each_node=False, save_only_model=False, restore_callback_states_from_checkpoint=False, no_cuda=False, use_cpu=False, use_mps_device=False, seed=42, data_seed=42, jit_mode_eval=False, use_ipex=False, bf16=True, fp16=False, fp16_opt_level='O1', half_precision_backend='auto', bf16_full_eval=False, fp16_full_eval=False, tf32=None, local_rank=0, ddp_backend=None, tpu_num_cores=None, tpu_metrics_debug=False, debug=[], dataloader_drop_last=False, eval_steps=20.0, dataloader_num_workers=48, dataloader_prefetch_factor=10, past_index=-1, run_name='/group/40143/hongzhuyi/ms-swift/output/v2-20250819-162442', disable_tqdm=False, remove_unused_columns=False, label_names=None, load_best_model_at_end=False, metric_for_best_model='loss', greater_is_better=False, ignore_data_skip=False, fsdp=[], fsdp_min_num_params=0, fsdp_config={'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}, fsdp_transformer_layer_cls_to_wrap=None, 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), deepspeed={'fp16': {'enabled': 'auto', 'loss_scale': 0, 'loss_scale_window': 1000, 'initial_scale_power': 16, 'hysteresis': 2, 'min_loss_scale': 1}, 'bf16': {'enabled': 'auto'}, 'zero_optimization': {'stage': 3, 'offload_optimizer': {'device': 'none', 'pin_memory': True}, 'offload_param': {'device': 'none', 'pin_memory': True}, 'overlap_comm': False, 'contiguous_gradients': True, 'sub_group_size': 1000000000.0, 'reduce_bucket_size': 'auto', 'zero_quantized_weights': False, 'zero_quantized_gradients': False, 'stage3_prefetch_bucket_size': 'auto', 'stage3_param_persistence_threshold': 'auto', 'stage3_max_live_parameters': 1000000000.0, 'stage3_max_reuse_distance': 1000000000.0, 'stage3_gather_16bit_weights_on_model_save': True}, 'gradient_accumulation_steps': 'auto', 'gradient_clipping': 'auto', 'steps_per_print': 2000, 'train_batch_size': 'auto', 'train_micro_batch_size_per_gpu': 'auto', 'wall_clock_breakdown': False}, label_smoothing_factor=0.0, optim=<OptimizerNames.ADAMW_TORCH_FUSED: 'adamw_torch_fused'>, optim_args=None, adafactor=False, group_by_length=False, length_column_name='length', report_to=['tensorboard'], ddp_find_unused_parameters=None, ddp_bucket_cap_mb=None, ddp_broadcast_buffers=None, dataloader_pin_memory=True, dataloader_persistent_workers=False, skip_memory_metrics=True, use_legacy_prediction_loop=False, push_to_hub=False, resume_from_checkpoint=None, hub_model_id=None, hub_strategy=<HubStrategy.EVERY_SAVE: 'every_save'>, hub_token=None, hub_private_repo=None, hub_always_push=False, hub_revision=None, gradient_checkpointing=True, gradient_checkpointing_kwargs=None, include_inputs_for_metrics=False, include_for_metrics=[], eval_do_concat_batches=True, fp16_backend='auto', push_to_hub_model_id=None, push_to_hub_organization=None, push_to_hub_token=None, mp_parameters='', auto_find_batch_size=False, full_determinism=False, torchdynamo=None, ray_scope='last', ddp_timeout=18000000, torch_compile=False, torch_compile_backend=None, torch_compile_mode=None, include_tokens_per_second=None, include_num_input_tokens_seen=None, neftune_noise_alpha=None, optim_target_modules=None, batch_eval_metrics=False, eval_on_start=False, use_liger_kernel=False, liger_kernel_config=None, eval_use_gather_object=False, average_tokens_across_devices=None, sortish_sampler=False, predict_with_generate=False, generation_max_length=None, generation_num_beams=None, generation_config=None, tuner_backend='peft', vit_gradient_checkpointing=True, router_aux_loss_coef=0.0, enable_dft_loss=False, check_model=True, acc_strategy='token', train_dataloader_shuffle=True, max_epochs=None, aligner_lr=None, vit_lr=None, use_logits_to_keep=None, channels=None, ds3_gather_for_generation=True, resume_only_model=False, optimizer=None, loss_type=None, metric=None, eval_use_evalscope=False, eval_dataset=[], eval_dataset_args=None, eval_limit=None, eval_generation_config=None, extra_eval_args=None, use_flash_ckpt=False, sft_alpha=0, train_type='full', local_repo_path=None, galore_config=None)"
|
| 381 |
+
}
|