hongzhuyi commited on
Commit
5589c57
·
verified ·
1 Parent(s): 90efe2c

Upload folder using huggingface_hub

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +2 -0
  2. log/20250917-00:57:46.log +150 -0
  3. log/20250917-01:00:15.log +150 -0
  4. log/20250917-01:01:57.log +150 -0
  5. log/20250917-01:04:07.log +151 -0
  6. log/20250917-01:05:04.log +151 -0
  7. log/20250917-01:05:43.log +682 -0
  8. log/20250917-01:08:23.log +0 -0
  9. qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/args.json +381 -0
  10. qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-442/added_tokens.json +24 -0
  11. qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-442/args.json +381 -0
  12. qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-442/chat_template.jinja +54 -0
  13. qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-442/config.json +29 -0
  14. qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-442/generation_config.json +14 -0
  15. qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-442/latest +1 -0
  16. qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-442/merges.txt +0 -0
  17. qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-442/model-00001-of-00004.safetensors +3 -0
  18. qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-442/model-00002-of-00004.safetensors +3 -0
  19. qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-442/model-00003-of-00004.safetensors +3 -0
  20. qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-442/model-00004-of-00004.safetensors +3 -0
  21. qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-442/model.safetensors.index.json +346 -0
  22. qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-442/rng_state_0.pth +3 -0
  23. qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-442/rng_state_1.pth +3 -0
  24. qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-442/rng_state_2.pth +3 -0
  25. qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-442/rng_state_3.pth +3 -0
  26. qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-442/rng_state_4.pth +3 -0
  27. qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-442/rng_state_5.pth +3 -0
  28. qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-442/rng_state_6.pth +3 -0
  29. qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-442/rng_state_7.pth +3 -0
  30. qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-442/scheduler.pt +3 -0
  31. qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-442/special_tokens_map.json +31 -0
  32. qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-442/tokenizer.json +3 -0
  33. qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-442/tokenizer_config.json +207 -0
  34. qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-442/trainer_state.json +0 -0
  35. qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-442/training_args.bin +3 -0
  36. qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-442/vocab.json +0 -0
  37. qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-442/zero_to_fp32.py +760 -0
  38. qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-884/added_tokens.json +24 -0
  39. qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-884/args.json +381 -0
  40. qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-884/chat_template.jinja +54 -0
  41. qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-884/config.json +29 -0
  42. qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-884/generation_config.json +14 -0
  43. qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-884/latest +1 -0
  44. qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-884/merges.txt +0 -0
  45. qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-884/model-00001-of-00004.safetensors +3 -0
  46. qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-884/model-00002-of-00004.safetensors +3 -0
  47. qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-884/model-00003-of-00004.safetensors +3 -0
  48. qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-884/model-00004-of-00004.safetensors +3 -0
  49. qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-884/model.safetensors.index.json +346 -0
  50. qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-884/rng_state_0.pth +3 -0
.gitattributes CHANGED
@@ -74,3 +74,5 @@ qwen2.5-7b-2000q-2000q-1369q-nomemory-newbs-old-click-2ep-lr1e-6/checkpoint-318/
74
  qwen2.5-7b-2000q-2000q-1369q-nomemory-newbs-old-click-2ep-lr1e-6/checkpoint-636/tokenizer.json filter=lfs diff=lfs merge=lfs -text
75
  qwen2.5-7b-2225q-2069q-1369q-rft1-newbs-old-click-2ep-lr1e-6/checkpoint-188/tokenizer.json filter=lfs diff=lfs merge=lfs -text
76
  qwen2.5-7b-2225q-2069q-1369q-rft1-newbs-old-click-2ep-lr1e-6/checkpoint-376/tokenizer.json filter=lfs diff=lfs merge=lfs -text
 
 
 
74
  qwen2.5-7b-2000q-2000q-1369q-nomemory-newbs-old-click-2ep-lr1e-6/checkpoint-636/tokenizer.json filter=lfs diff=lfs merge=lfs -text
75
  qwen2.5-7b-2225q-2069q-1369q-rft1-newbs-old-click-2ep-lr1e-6/checkpoint-188/tokenizer.json filter=lfs diff=lfs merge=lfs -text
76
  qwen2.5-7b-2225q-2069q-1369q-rft1-newbs-old-click-2ep-lr1e-6/checkpoint-376/tokenizer.json filter=lfs diff=lfs merge=lfs -text
77
+ qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-442/tokenizer.json filter=lfs diff=lfs merge=lfs -text
78
+ qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-884/tokenizer.json filter=lfs diff=lfs merge=lfs -text
log/20250917-00:57:46.log ADDED
@@ -0,0 +1,150 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
2
+ import pynvml # type: ignore[import]
3
+ run sh: `/root/miniconda3/envs/verl/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 qwen2.5-7b-Instruct --train_type full --dataset /group/40143/hongzhuyi/ms-swift/data/corr_nq_2000q_hotpot_2000q_swift.jsonl /group/40143/hongzhuyi/ms-swift/data/corr_hotpot_new1369q_format_swift.jsonl /group/40143/hongzhuyi/ms-swift/data/self_2000_2000_1369_4_hp673_swift.jsonl /group/40143/hongzhuyi/ms-swift/data/self_2000_2000_1369_4_nq400_noinfo_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 2 --per_device_train_batch_size 2 --learning_rate 5e-6 --gradient_accumulation_steps 4 --eval_steps 2000 --save_strategy epoch --logging_steps 1 --deepspeed zero3 --max_length 16240 --output_dir ./output`
4
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
5
+ import pynvml # type: ignore[import]
6
+
7
+ *****************************************
8
+ 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.
9
+ *****************************************
10
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
11
+ import pynvml # type: ignore[import]
12
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
13
+ import pynvml # type: ignore[import]
14
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
15
+ import pynvml # type: ignore[import]
16
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
17
+ import pynvml # type: ignore[import]
18
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
19
+ import pynvml # type: ignore[import]
20
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
21
+ import pynvml # type: ignore[import]
22
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
23
+ import pynvml # type: ignore[import]
24
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
25
+ import pynvml # type: ignore[import]
26
+ [INFO:swift] Successfully registered `/group/40143/hongzhuyi/ms-swift/swift/llm/dataset/data/dataset_info.json`.
27
+ [INFO:swift] rank: 0, local_rank: 0, world_size: 8, local_world_size: 8
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
+ return SwiftSft(args).main()
33
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/train/sft.py", line 27, in __init__
34
+ super().__init__(args)
35
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/base.py", line 19, in __init__
36
+ self.args = self._parse_args(args)
37
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/base.py", line 31, in _parse_args
38
+ args, remaining_argv = parse_args(self.args_class, args)
39
+ File "/group/40143/hongzhuyi/ms-swift/swift/utils/utils.py", line 152, in parse_args
40
+ args, remaining_args = parser.parse_args_into_dataclasses(argv, return_remaining_strings=True)
41
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/transformers/hf_argparser.py", line 358, in parse_args_into_dataclasses
42
+ obj = dtype(**inputs)
43
+ File "<string>", line 321, in __init__
44
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/train_args.py", line 171, in __post_init__
45
+ BaseArguments.__post_init__(self)
46
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/base_args.py", line 171, in __post_init__
47
+ ModelArguments.__post_init__(self)
48
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/model_args.py", line 176, in __post_init__
49
+ self._init_torch_dtype()
50
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/model_args.py", line 90, in _init_torch_dtype
51
+ self.torch_dtype: torch.dtype = self._init_model_info()
52
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/model_args.py", line 145, in _init_model_info
53
+ self.model_info, self.model_meta = get_model_info_meta(**self.get_model_kwargs())
54
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/model/register.py", line 533, in get_model_info_meta
55
+ model_dir = safe_snapshot_download(
56
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/model/utils.py", line 302, in safe_snapshot_download
57
+ model_dir = hub.download_model(model_id_or_path, revision, ignore_patterns, token=hub_token, **kwargs)
58
+ File "/group/40143/hongzhuyi/ms-swift/swift/hub/hub.py", line 317, in download_model
59
+ return snapshot_download(model_id_or_path, revision, ignore_patterns=ignore_patterns, **kwargs)
60
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/modelscope/hub/snapshot_download.py", line 132, in snapshot_download
61
+ return _snapshot_download(
62
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/modelscope/hub/snapshot_download.py", line 300, in _snapshot_download
63
+ endpoint = _api.get_endpoint_for_read(
64
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/modelscope/hub/api.py", line 423, in get_endpoint_for_read
65
+ if not self.repo_exists(
66
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/modelscope/hub/api.py", line 567, in repo_exists
67
+ raise Exception('Invalid repo_id: %s, must be of format namespace/name' % repo_type)
68
+ Exception: Invalid repo_id: model, must be of format namespace/name
69
+ Traceback (most recent call last):
70
+ File "/group/40143/hongzhuyi/ms-swift/swift/cli/sft.py", line 10, in <module>
71
+ sft_main()
72
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/train/sft.py", line 328, in sft_main
73
+ return SwiftSft(args).main()
74
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/train/sft.py", line 27, in __init__
75
+ super().__init__(args)
76
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/base.py", line 19, in __init__
77
+ self.args = self._parse_args(args)
78
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/base.py", line 31, in _parse_args
79
+ args, remaining_argv = parse_args(self.args_class, args)
80
+ File "/group/40143/hongzhuyi/ms-swift/swift/utils/utils.py", line 152, in parse_args
81
+ args, remaining_args = parser.parse_args_into_dataclasses(argv, return_remaining_strings=True)
82
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/transformers/hf_argparser.py", line 358, in parse_args_into_dataclasses
83
+ obj = dtype(**inputs)
84
+ File "<string>", line 321, in __init__
85
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/train_args.py", line 171, in __post_init__
86
+ BaseArguments.__post_init__(self)
87
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/base_args.py", line 171, in __post_init__
88
+ ModelArguments.__post_init__(self)
89
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/model_args.py", line 176, in __post_init__
90
+ self._init_torch_dtype()
91
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/model_args.py", line 90, in _init_torch_dtype
92
+ self.torch_dtype: torch.dtype = self._init_model_info()
93
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/model_args.py", line 145, in _init_model_info
94
+ self.model_info, self.model_meta = get_model_info_meta(**self.get_model_kwargs())
95
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/model/register.py", line 533, in get_model_info_meta
96
+ model_dir = safe_snapshot_download(
97
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/model/utils.py", line 302, in safe_snapshot_download
98
+ model_dir = hub.download_model(model_id_or_path, revision, ignore_patterns, token=hub_token, **kwargs)
99
+ File "/group/40143/hongzhuyi/ms-swift/swift/hub/hub.py", line 317, in download_model
100
+ return snapshot_download(model_id_or_path, revision, ignore_patterns=ignore_patterns, **kwargs)
101
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/modelscope/hub/snapshot_download.py", line 132, in snapshot_download
102
+ return _snapshot_download(
103
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/modelscope/hub/snapshot_download.py", line 300, in _snapshot_download
104
+ endpoint = _api.get_endpoint_for_read(
105
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/modelscope/hub/api.py", line 423, in get_endpoint_for_read
106
+ if not self.repo_exists(
107
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/modelscope/hub/api.py", line 567, in repo_exists
108
+ raise Exception('Invalid repo_id: %s, must be of format namespace/name' % repo_type)
109
+ Exception: Invalid repo_id: model, must be of format namespace/name
110
+ W0917 00:58:31.144136 56559 site-packages/torch/distributed/elastic/multiprocessing/api.py:897] Sending process 56624 closing signal SIGTERM
111
+ W0917 00:58:31.144527 56559 site-packages/torch/distributed/elastic/multiprocessing/api.py:897] Sending process 56625 closing signal SIGTERM
112
+ W0917 00:58:31.145935 56559 site-packages/torch/distributed/elastic/multiprocessing/api.py:897] Sending process 56626 closing signal SIGTERM
113
+ W0917 00:58:31.146042 56559 site-packages/torch/distributed/elastic/multiprocessing/api.py:897] Sending process 56627 closing signal SIGTERM
114
+ W0917 00:58:31.147415 56559 site-packages/torch/distributed/elastic/multiprocessing/api.py:897] Sending process 56628 closing signal SIGTERM
115
+ W0917 00:58:31.148832 56559 site-packages/torch/distributed/elastic/multiprocessing/api.py:897] Sending process 56630 closing signal SIGTERM
116
+ W0917 00:58:31.150276 56559 site-packages/torch/distributed/elastic/multiprocessing/api.py:897] Sending process 56631 closing signal SIGTERM
117
+ E0917 00:58:31.830531 56559 site-packages/torch/distributed/elastic/multiprocessing/api.py:869] failed (exitcode: 1) local_rank: 5 (pid: 56629) of binary: /root/miniconda3/envs/verl/bin/python3.10
118
+ Traceback (most recent call last):
119
+ File "/root/miniconda3/envs/verl/lib/python3.10/runpy.py", line 196, in _run_module_as_main
120
+ return _run_code(code, main_globals, None,
121
+ File "/root/miniconda3/envs/verl/lib/python3.10/runpy.py", line 86, in _run_code
122
+ exec(code, run_globals)
123
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/distributed/run.py", line 922, in <module>
124
+ main()
125
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/distributed/elastic/multiprocessing/errors/__init__.py", line 355, in wrapper
126
+ return f(*args, **kwargs)
127
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/distributed/run.py", line 918, in main
128
+ run(args)
129
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/distributed/run.py", line 909, in run
130
+ elastic_launch(
131
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/distributed/launcher/api.py", line 138, in __call__
132
+ return launch_agent(self._config, self._entrypoint, list(args))
133
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/distributed/launcher/api.py", line 269, in launch_agent
134
+ raise ChildFailedError(
135
+ torch.distributed.elastic.multiprocessing.errors.ChildFailedError:
136
+ ============================================================
137
+ /group/40143/hongzhuyi/ms-swift/swift/cli/sft.py FAILED
138
+ ------------------------------------------------------------
139
+ Failures:
140
+ <NO_OTHER_FAILURES>
141
+ ------------------------------------------------------------
142
+ Root Cause (first observed failure):
143
+ [0]:
144
+ time : 2025-09-17_00:58:31
145
+ host : TENCENT64.site
146
+ rank : 5 (local_rank: 5)
147
+ exitcode : 1 (pid: 56629)
148
+ error_file: <N/A>
149
+ traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
150
+ ============================================================
log/20250917-01:00:15.log ADDED
@@ -0,0 +1,150 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
2
+ import pynvml # type: ignore[import]
3
+ run sh: `/root/miniconda3/envs/verl/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 qwen2.5-7b-Instruct --train_type full --dataset /group/40143/hongzhuyi/ms-swift/corr_nq_2000q_hotpot_2000q_swift.jsonl /group/40143/hongzhuyi/ms-swift/corr_hotpot_new1369q_format_swift.jsonl /group/40143/hongzhuyi/ms-swift/self_2000_2000_1369_4_hp673_swift.jsonl /group/40143/hongzhuyi/ms-swift/self_2000_2000_1369_4_nq400_noinfo_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 2 --per_device_train_batch_size 2 --learning_rate 5e-6 --gradient_accumulation_steps 4 --eval_steps 2000 --save_strategy epoch --logging_steps 1 --deepspeed zero3 --max_length 16240 --output_dir ./output`
4
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
5
+ import pynvml # type: ignore[import]
6
+
7
+ *****************************************
8
+ 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.
9
+ *****************************************
10
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
11
+ import pynvml # type: ignore[import]
12
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
13
+ import pynvml # type: ignore[import]
14
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
15
+ import pynvml # type: ignore[import]
16
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
17
+ import pynvml # type: ignore[import]
18
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
19
+ import pynvml # type: ignore[import]
20
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
21
+ import pynvml # type: ignore[import]
22
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
23
+ import pynvml # type: ignore[import]
24
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
25
+ import pynvml # type: ignore[import]
26
+ [INFO:swift] Successfully registered `/group/40143/hongzhuyi/ms-swift/swift/llm/dataset/data/dataset_info.json`.
27
+ [INFO:swift] rank: 0, local_rank: 0, world_size: 8, local_world_size: 8
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
+ return SwiftSft(args).main()
33
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/train/sft.py", line 27, in __init__
34
+ super().__init__(args)
35
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/base.py", line 19, in __init__
36
+ self.args = self._parse_args(args)
37
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/base.py", line 31, in _parse_args
38
+ args, remaining_argv = parse_args(self.args_class, args)
39
+ File "/group/40143/hongzhuyi/ms-swift/swift/utils/utils.py", line 152, in parse_args
40
+ args, remaining_args = parser.parse_args_into_dataclasses(argv, return_remaining_strings=True)
41
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/transformers/hf_argparser.py", line 358, in parse_args_into_dataclasses
42
+ obj = dtype(**inputs)
43
+ File "<string>", line 321, in __init__
44
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/train_args.py", line 171, in __post_init__
45
+ BaseArguments.__post_init__(self)
46
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/base_args.py", line 171, in __post_init__
47
+ ModelArguments.__post_init__(self)
48
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/model_args.py", line 176, in __post_init__
49
+ self._init_torch_dtype()
50
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/model_args.py", line 90, in _init_torch_dtype
51
+ self.torch_dtype: torch.dtype = self._init_model_info()
52
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/model_args.py", line 145, in _init_model_info
53
+ self.model_info, self.model_meta = get_model_info_meta(**self.get_model_kwargs())
54
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/model/register.py", line 533, in get_model_info_meta
55
+ model_dir = safe_snapshot_download(
56
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/model/utils.py", line 302, in safe_snapshot_download
57
+ model_dir = hub.download_model(model_id_or_path, revision, ignore_patterns, token=hub_token, **kwargs)
58
+ File "/group/40143/hongzhuyi/ms-swift/swift/hub/hub.py", line 317, in download_model
59
+ return snapshot_download(model_id_or_path, revision, ignore_patterns=ignore_patterns, **kwargs)
60
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/modelscope/hub/snapshot_download.py", line 132, in snapshot_download
61
+ return _snapshot_download(
62
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/modelscope/hub/snapshot_download.py", line 300, in _snapshot_download
63
+ endpoint = _api.get_endpoint_for_read(
64
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/modelscope/hub/api.py", line 423, in get_endpoint_for_read
65
+ if not self.repo_exists(
66
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/modelscope/hub/api.py", line 567, in repo_exists
67
+ raise Exception('Invalid repo_id: %s, must be of format namespace/name' % repo_type)
68
+ Exception: Invalid repo_id: model, must be of format namespace/name
69
+ Traceback (most recent call last):
70
+ File "/group/40143/hongzhuyi/ms-swift/swift/cli/sft.py", line 10, in <module>
71
+ sft_main()
72
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/train/sft.py", line 328, in sft_main
73
+ return SwiftSft(args).main()
74
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/train/sft.py", line 27, in __init__
75
+ super().__init__(args)
76
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/base.py", line 19, in __init__
77
+ self.args = self._parse_args(args)
78
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/base.py", line 31, in _parse_args
79
+ args, remaining_argv = parse_args(self.args_class, args)
80
+ File "/group/40143/hongzhuyi/ms-swift/swift/utils/utils.py", line 152, in parse_args
81
+ args, remaining_args = parser.parse_args_into_dataclasses(argv, return_remaining_strings=True)
82
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/transformers/hf_argparser.py", line 358, in parse_args_into_dataclasses
83
+ obj = dtype(**inputs)
84
+ File "<string>", line 321, in __init__
85
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/train_args.py", line 171, in __post_init__
86
+ BaseArguments.__post_init__(self)
87
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/base_args.py", line 171, in __post_init__
88
+ ModelArguments.__post_init__(self)
89
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/model_args.py", line 176, in __post_init__
90
+ self._init_torch_dtype()
91
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/model_args.py", line 90, in _init_torch_dtype
92
+ self.torch_dtype: torch.dtype = self._init_model_info()
93
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/model_args.py", line 145, in _init_model_info
94
+ self.model_info, self.model_meta = get_model_info_meta(**self.get_model_kwargs())
95
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/model/register.py", line 533, in get_model_info_meta
96
+ model_dir = safe_snapshot_download(
97
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/model/utils.py", line 302, in safe_snapshot_download
98
+ model_dir = hub.download_model(model_id_or_path, revision, ignore_patterns, token=hub_token, **kwargs)
99
+ File "/group/40143/hongzhuyi/ms-swift/swift/hub/hub.py", line 317, in download_model
100
+ return snapshot_download(model_id_or_path, revision, ignore_patterns=ignore_patterns, **kwargs)
101
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/modelscope/hub/snapshot_download.py", line 132, in snapshot_download
102
+ return _snapshot_download(
103
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/modelscope/hub/snapshot_download.py", line 300, in _snapshot_download
104
+ endpoint = _api.get_endpoint_for_read(
105
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/modelscope/hub/api.py", line 423, in get_endpoint_for_read
106
+ if not self.repo_exists(
107
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/modelscope/hub/api.py", line 567, in repo_exists
108
+ raise Exception('Invalid repo_id: %s, must be of format namespace/name' % repo_type)
109
+ Exception: Invalid repo_id: model, must be of format namespace/name
110
+ W0917 01:00:29.123581 57418 site-packages/torch/distributed/elastic/multiprocessing/api.py:897] Sending process 57483 closing signal SIGTERM
111
+ W0917 01:00:29.123960 57418 site-packages/torch/distributed/elastic/multiprocessing/api.py:897] Sending process 57484 closing signal SIGTERM
112
+ W0917 01:00:29.125410 57418 site-packages/torch/distributed/elastic/multiprocessing/api.py:897] Sending process 57485 closing signal SIGTERM
113
+ W0917 01:00:29.126809 57418 site-packages/torch/distributed/elastic/multiprocessing/api.py:897] Sending process 57487 closing signal SIGTERM
114
+ W0917 01:00:29.128227 57418 site-packages/torch/distributed/elastic/multiprocessing/api.py:897] Sending process 57488 closing signal SIGTERM
115
+ W0917 01:00:29.129656 57418 site-packages/torch/distributed/elastic/multiprocessing/api.py:897] Sending process 57489 closing signal SIGTERM
116
+ W0917 01:00:29.131062 57418 site-packages/torch/distributed/elastic/multiprocessing/api.py:897] Sending process 57490 closing signal SIGTERM
117
+ E0917 01:00:29.823603 57418 site-packages/torch/distributed/elastic/multiprocessing/api.py:869] failed (exitcode: 1) local_rank: 3 (pid: 57486) of binary: /root/miniconda3/envs/verl/bin/python3.10
118
+ Traceback (most recent call last):
119
+ File "/root/miniconda3/envs/verl/lib/python3.10/runpy.py", line 196, in _run_module_as_main
120
+ return _run_code(code, main_globals, None,
121
+ File "/root/miniconda3/envs/verl/lib/python3.10/runpy.py", line 86, in _run_code
122
+ exec(code, run_globals)
123
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/distributed/run.py", line 922, in <module>
124
+ main()
125
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/distributed/elastic/multiprocessing/errors/__init__.py", line 355, in wrapper
126
+ return f(*args, **kwargs)
127
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/distributed/run.py", line 918, in main
128
+ run(args)
129
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/distributed/run.py", line 909, in run
130
+ elastic_launch(
131
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/distributed/launcher/api.py", line 138, in __call__
132
+ return launch_agent(self._config, self._entrypoint, list(args))
133
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/distributed/launcher/api.py", line 269, in launch_agent
134
+ raise ChildFailedError(
135
+ torch.distributed.elastic.multiprocessing.errors.ChildFailedError:
136
+ ============================================================
137
+ /group/40143/hongzhuyi/ms-swift/swift/cli/sft.py FAILED
138
+ ------------------------------------------------------------
139
+ Failures:
140
+ <NO_OTHER_FAILURES>
141
+ ------------------------------------------------------------
142
+ Root Cause (first observed failure):
143
+ [0]:
144
+ time : 2025-09-17_01:00:29
145
+ host : TENCENT64.site
146
+ rank : 3 (local_rank: 3)
147
+ exitcode : 1 (pid: 57486)
148
+ error_file: <N/A>
149
+ traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
150
+ ============================================================
log/20250917-01:01:57.log ADDED
@@ -0,0 +1,150 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
2
+ import pynvml # type: ignore[import]
3
+ run sh: `/root/miniconda3/envs/verl/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 qwen2.5-7b-Instruct --train_type full --dataset /group/40143/hongzhuyi/ms-swift/corr_nq_2000q_hotpot_2000q_swift.jsonl /group/40143/hongzhuyi/ms-swift/corr_hotpot_new1369q_format_swift.jsonl /group/40143/hongzhuyi/ms-swift/self_2000_2000_1369_4_hp673_swift.jsonl /group/40143/hongzhuyi/ms-swift/self_2000_2000_1369_4_nq400_noinfo_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 2 --per_device_train_batch_size 2 --learning_rate 5e-6 --gradient_accumulation_steps 4 --eval_steps 2000 --save_strategy epoch --logging_steps 1 --deepspeed zero3 --max_length 16240 --output_dir ./output`
4
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
5
+ import pynvml # type: ignore[import]
6
+
7
+ *****************************************
8
+ 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.
9
+ *****************************************
10
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
11
+ import pynvml # type: ignore[import]
12
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
13
+ import pynvml # type: ignore[import]
14
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
15
+ import pynvml # type: ignore[import]
16
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
17
+ import pynvml # type: ignore[import]
18
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
19
+ import pynvml # type: ignore[import]
20
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
21
+ import pynvml # type: ignore[import]
22
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
23
+ import pynvml # type: ignore[import]
24
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
25
+ import pynvml # type: ignore[import]
26
+ [INFO:swift] Successfully registered `/group/40143/hongzhuyi/ms-swift/swift/llm/dataset/data/dataset_info.json`.
27
+ [INFO:swift] rank: 0, local_rank: 0, world_size: 8, local_world_size: 8
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
+ return SwiftSft(args).main()
33
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/train/sft.py", line 27, in __init__
34
+ super().__init__(args)
35
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/base.py", line 19, in __init__
36
+ self.args = self._parse_args(args)
37
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/base.py", line 31, in _parse_args
38
+ args, remaining_argv = parse_args(self.args_class, args)
39
+ File "/group/40143/hongzhuyi/ms-swift/swift/utils/utils.py", line 152, in parse_args
40
+ args, remaining_args = parser.parse_args_into_dataclasses(argv, return_remaining_strings=True)
41
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/transformers/hf_argparser.py", line 358, in parse_args_into_dataclasses
42
+ obj = dtype(**inputs)
43
+ File "<string>", line 321, in __init__
44
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/train_args.py", line 171, in __post_init__
45
+ BaseArguments.__post_init__(self)
46
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/base_args.py", line 171, in __post_init__
47
+ ModelArguments.__post_init__(self)
48
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/model_args.py", line 176, in __post_init__
49
+ self._init_torch_dtype()
50
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/model_args.py", line 90, in _init_torch_dtype
51
+ self.torch_dtype: torch.dtype = self._init_model_info()
52
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/model_args.py", line 145, in _init_model_info
53
+ self.model_info, self.model_meta = get_model_info_meta(**self.get_model_kwargs())
54
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/model/register.py", line 533, in get_model_info_meta
55
+ model_dir = safe_snapshot_download(
56
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/model/utils.py", line 302, in safe_snapshot_download
57
+ model_dir = hub.download_model(model_id_or_path, revision, ignore_patterns, token=hub_token, **kwargs)
58
+ File "/group/40143/hongzhuyi/ms-swift/swift/hub/hub.py", line 317, in download_model
59
+ return snapshot_download(model_id_or_path, revision, ignore_patterns=ignore_patterns, **kwargs)
60
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/modelscope/hub/snapshot_download.py", line 132, in snapshot_download
61
+ return _snapshot_download(
62
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/modelscope/hub/snapshot_download.py", line 300, in _snapshot_download
63
+ endpoint = _api.get_endpoint_for_read(
64
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/modelscope/hub/api.py", line 423, in get_endpoint_for_read
65
+ if not self.repo_exists(
66
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/modelscope/hub/api.py", line 567, in repo_exists
67
+ raise Exception('Invalid repo_id: %s, must be of format namespace/name' % repo_type)
68
+ Exception: Invalid repo_id: model, must be of format namespace/name
69
+ Traceback (most recent call last):
70
+ File "/group/40143/hongzhuyi/ms-swift/swift/cli/sft.py", line 10, in <module>
71
+ sft_main()
72
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/train/sft.py", line 328, in sft_main
73
+ return SwiftSft(args).main()
74
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/train/sft.py", line 27, in __init__
75
+ super().__init__(args)
76
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/base.py", line 19, in __init__
77
+ self.args = self._parse_args(args)
78
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/base.py", line 31, in _parse_args
79
+ args, remaining_argv = parse_args(self.args_class, args)
80
+ File "/group/40143/hongzhuyi/ms-swift/swift/utils/utils.py", line 152, in parse_args
81
+ args, remaining_args = parser.parse_args_into_dataclasses(argv, return_remaining_strings=True)
82
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/transformers/hf_argparser.py", line 358, in parse_args_into_dataclasses
83
+ obj = dtype(**inputs)
84
+ File "<string>", line 321, in __init__
85
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/train_args.py", line 171, in __post_init__
86
+ BaseArguments.__post_init__(self)
87
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/base_args.py", line 171, in __post_init__
88
+ ModelArguments.__post_init__(self)
89
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/model_args.py", line 176, in __post_init__
90
+ self._init_torch_dtype()
91
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/model_args.py", line 90, in _init_torch_dtype
92
+ self.torch_dtype: torch.dtype = self._init_model_info()
93
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/model_args.py", line 145, in _init_model_info
94
+ self.model_info, self.model_meta = get_model_info_meta(**self.get_model_kwargs())
95
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/model/register.py", line 533, in get_model_info_meta
96
+ model_dir = safe_snapshot_download(
97
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/model/utils.py", line 302, in safe_snapshot_download
98
+ model_dir = hub.download_model(model_id_or_path, revision, ignore_patterns, token=hub_token, **kwargs)
99
+ File "/group/40143/hongzhuyi/ms-swift/swift/hub/hub.py", line 317, in download_model
100
+ return snapshot_download(model_id_or_path, revision, ignore_patterns=ignore_patterns, **kwargs)
101
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/modelscope/hub/snapshot_download.py", line 132, in snapshot_download
102
+ return _snapshot_download(
103
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/modelscope/hub/snapshot_download.py", line 300, in _snapshot_download
104
+ endpoint = _api.get_endpoint_for_read(
105
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/modelscope/hub/api.py", line 423, in get_endpoint_for_read
106
+ if not self.repo_exists(
107
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/modelscope/hub/api.py", line 567, in repo_exists
108
+ raise Exception('Invalid repo_id: %s, must be of format namespace/name' % repo_type)
109
+ Exception: Invalid repo_id: model, must be of format namespace/name
110
+ W0917 01:02:15.195125 57601 site-packages/torch/distributed/elastic/multiprocessing/api.py:897] Sending process 57666 closing signal SIGTERM
111
+ W0917 01:02:15.195482 57601 site-packages/torch/distributed/elastic/multiprocessing/api.py:897] Sending process 57667 closing signal SIGTERM
112
+ W0917 01:02:15.196873 57601 site-packages/torch/distributed/elastic/multiprocessing/api.py:897] Sending process 57668 closing signal SIGTERM
113
+ W0917 01:02:15.198292 57601 site-packages/torch/distributed/elastic/multiprocessing/api.py:897] Sending process 57669 closing signal SIGTERM
114
+ W0917 01:02:15.198828 57601 site-packages/torch/distributed/elastic/multiprocessing/api.py:897] Sending process 57671 closing signal SIGTERM
115
+ W0917 01:02:15.199748 57601 site-packages/torch/distributed/elastic/multiprocessing/api.py:897] Sending process 57672 closing signal SIGTERM
116
+ W0917 01:02:15.201118 57601 site-packages/torch/distributed/elastic/multiprocessing/api.py:897] Sending process 57673 closing signal SIGTERM
117
+ E0917 01:02:15.881408 57601 site-packages/torch/distributed/elastic/multiprocessing/api.py:869] failed (exitcode: 1) local_rank: 4 (pid: 57670) of binary: /root/miniconda3/envs/verl/bin/python3.10
118
+ Traceback (most recent call last):
119
+ File "/root/miniconda3/envs/verl/lib/python3.10/runpy.py", line 196, in _run_module_as_main
120
+ return _run_code(code, main_globals, None,
121
+ File "/root/miniconda3/envs/verl/lib/python3.10/runpy.py", line 86, in _run_code
122
+ exec(code, run_globals)
123
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/distributed/run.py", line 922, in <module>
124
+ main()
125
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/distributed/elastic/multiprocessing/errors/__init__.py", line 355, in wrapper
126
+ return f(*args, **kwargs)
127
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/distributed/run.py", line 918, in main
128
+ run(args)
129
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/distributed/run.py", line 909, in run
130
+ elastic_launch(
131
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/distributed/launcher/api.py", line 138, in __call__
132
+ return launch_agent(self._config, self._entrypoint, list(args))
133
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/distributed/launcher/api.py", line 269, in launch_agent
134
+ raise ChildFailedError(
135
+ torch.distributed.elastic.multiprocessing.errors.ChildFailedError:
136
+ ============================================================
137
+ /group/40143/hongzhuyi/ms-swift/swift/cli/sft.py FAILED
138
+ ------------------------------------------------------------
139
+ Failures:
140
+ <NO_OTHER_FAILURES>
141
+ ------------------------------------------------------------
142
+ Root Cause (first observed failure):
143
+ [0]:
144
+ time : 2025-09-17_01:02:15
145
+ host : TENCENT64.site
146
+ rank : 4 (local_rank: 4)
147
+ exitcode : 1 (pid: 57670)
148
+ error_file: <N/A>
149
+ traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
150
+ ============================================================
log/20250917-01:04:07.log ADDED
@@ -0,0 +1,151 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
2
+ import pynvml # type: ignore[import]
3
+ run sh: `/root/miniconda3/envs/verl/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 qwen2.5-7b-Instruct --train_type full --dataset ./corr_nq_2000q_hotpot_2000q_swift.jsonl ./ms-swift/corr_hotpot_new1369q_format_swift.jsonl ./ms-swift/self_2000_2000_1369_4_hp673_swift.jsonl ./ms-swift/self_2000_2000_1369_4_nq400_noinfo_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 2 --per_device_train_batch_size 2 --learning_rate 5e-6 --gradient_accumulation_steps 4 --eval_steps 2000 --save_strategy epoch --logging_steps 1 --deepspeed zero3 --max_length 16240 --output_dir ./output`
4
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
5
+ import pynvml # type: ignore[import]
6
+
7
+ *****************************************
8
+ 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.
9
+ *****************************************
10
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
11
+ import pynvml # type: ignore[import]
12
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
13
+ import pynvml # type: ignore[import]
14
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
15
+ import pynvml # type: ignore[import]
16
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
17
+ import pynvml # type: ignore[import]
18
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
19
+ import pynvml # type: ignore[import]
20
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
21
+ import pynvml # type: ignore[import]
22
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
23
+ import pynvml # type: ignore[import]
24
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
25
+ import pynvml # type: ignore[import]
26
+ [INFO:swift] Successfully registered `/group/40143/hongzhuyi/ms-swift/swift/llm/dataset/data/dataset_info.json`.
27
+ [INFO:swift] rank: 0, local_rank: 0, world_size: 8, local_world_size: 8
28
+ [INFO:swift] Downloading the model from ModelScope Hub, model_id: qwen2.5-7b-Instruct
29
+ Traceback (most recent call last):
30
+ File "/group/40143/hongzhuyi/ms-swift/swift/cli/sft.py", line 10, in <module>
31
+ sft_main()
32
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/train/sft.py", line 328, in sft_main
33
+ return SwiftSft(args).main()
34
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/train/sft.py", line 27, in __init__
35
+ super().__init__(args)
36
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/base.py", line 19, in __init__
37
+ self.args = self._parse_args(args)
38
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/base.py", line 31, in _parse_args
39
+ args, remaining_argv = parse_args(self.args_class, args)
40
+ File "/group/40143/hongzhuyi/ms-swift/swift/utils/utils.py", line 152, in parse_args
41
+ args, remaining_args = parser.parse_args_into_dataclasses(argv, return_remaining_strings=True)
42
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/transformers/hf_argparser.py", line 358, in parse_args_into_dataclasses
43
+ obj = dtype(**inputs)
44
+ File "<string>", line 321, in __init__
45
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/train_args.py", line 171, in __post_init__
46
+ BaseArguments.__post_init__(self)
47
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/base_args.py", line 171, in __post_init__
48
+ ModelArguments.__post_init__(self)
49
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/model_args.py", line 176, in __post_init__
50
+ self._init_torch_dtype()
51
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/model_args.py", line 90, in _init_torch_dtype
52
+ self.torch_dtype: torch.dtype = self._init_model_info()
53
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/model_args.py", line 145, in _init_model_info
54
+ self.model_info, self.model_meta = get_model_info_meta(**self.get_model_kwargs())
55
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/model/register.py", line 533, in get_model_info_meta
56
+ model_dir = safe_snapshot_download(
57
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/model/utils.py", line 302, in safe_snapshot_download
58
+ model_dir = hub.download_model(model_id_or_path, revision, ignore_patterns, token=hub_token, **kwargs)
59
+ File "/group/40143/hongzhuyi/ms-swift/swift/hub/hub.py", line 317, in download_model
60
+ return snapshot_download(model_id_or_path, revision, ignore_patterns=ignore_patterns, **kwargs)
61
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/modelscope/hub/snapshot_download.py", line 132, in snapshot_download
62
+ return _snapshot_download(
63
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/modelscope/hub/snapshot_download.py", line 300, in _snapshot_download
64
+ endpoint = _api.get_endpoint_for_read(
65
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/modelscope/hub/api.py", line 423, in get_endpoint_for_read
66
+ if not self.repo_exists(
67
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/modelscope/hub/api.py", line 567, in repo_exists
68
+ raise Exception('Invalid repo_id: %s, must be of format namespace/name' % repo_type)
69
+ Exception: Invalid repo_id: model, must be of format namespace/name
70
+ Traceback (most recent call last):
71
+ File "/group/40143/hongzhuyi/ms-swift/swift/cli/sft.py", line 10, in <module>
72
+ sft_main()
73
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/train/sft.py", line 328, in sft_main
74
+ return SwiftSft(args).main()
75
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/train/sft.py", line 27, in __init__
76
+ super().__init__(args)
77
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/base.py", line 19, in __init__
78
+ self.args = self._parse_args(args)
79
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/base.py", line 31, in _parse_args
80
+ args, remaining_argv = parse_args(self.args_class, args)
81
+ File "/group/40143/hongzhuyi/ms-swift/swift/utils/utils.py", line 152, in parse_args
82
+ args, remaining_args = parser.parse_args_into_dataclasses(argv, return_remaining_strings=True)
83
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/transformers/hf_argparser.py", line 358, in parse_args_into_dataclasses
84
+ obj = dtype(**inputs)
85
+ File "<string>", line 321, in __init__
86
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/train_args.py", line 171, in __post_init__
87
+ BaseArguments.__post_init__(self)
88
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/base_args.py", line 171, in __post_init__
89
+ ModelArguments.__post_init__(self)
90
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/model_args.py", line 176, in __post_init__
91
+ self._init_torch_dtype()
92
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/model_args.py", line 90, in _init_torch_dtype
93
+ self.torch_dtype: torch.dtype = self._init_model_info()
94
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/model_args.py", line 145, in _init_model_info
95
+ self.model_info, self.model_meta = get_model_info_meta(**self.get_model_kwargs())
96
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/model/register.py", line 533, in get_model_info_meta
97
+ model_dir = safe_snapshot_download(
98
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/model/utils.py", line 302, in safe_snapshot_download
99
+ model_dir = hub.download_model(model_id_or_path, revision, ignore_patterns, token=hub_token, **kwargs)
100
+ File "/group/40143/hongzhuyi/ms-swift/swift/hub/hub.py", line 317, in download_model
101
+ return snapshot_download(model_id_or_path, revision, ignore_patterns=ignore_patterns, **kwargs)
102
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/modelscope/hub/snapshot_download.py", line 132, in snapshot_download
103
+ return _snapshot_download(
104
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/modelscope/hub/snapshot_download.py", line 300, in _snapshot_download
105
+ endpoint = _api.get_endpoint_for_read(
106
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/modelscope/hub/api.py", line 423, in get_endpoint_for_read
107
+ if not self.repo_exists(
108
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/modelscope/hub/api.py", line 567, in repo_exists
109
+ raise Exception('Invalid repo_id: %s, must be of format namespace/name' % repo_type)
110
+ Exception: Invalid repo_id: model, must be of format namespace/name
111
+ W0917 01:04:20.141232 58006 site-packages/torch/distributed/elastic/multiprocessing/api.py:897] Sending process 58072 closing signal SIGTERM
112
+ W0917 01:04:20.141630 58006 site-packages/torch/distributed/elastic/multiprocessing/api.py:897] Sending process 58073 closing signal SIGTERM
113
+ W0917 01:04:20.143054 58006 site-packages/torch/distributed/elastic/multiprocessing/api.py:897] Sending process 58074 closing signal SIGTERM
114
+ W0917 01:04:20.144563 58006 site-packages/torch/distributed/elastic/multiprocessing/api.py:897] Sending process 58075 closing signal SIGTERM
115
+ W0917 01:04:20.144789 58006 site-packages/torch/distributed/elastic/multiprocessing/api.py:897] Sending process 58076 closing signal SIGTERM
116
+ W0917 01:04:20.146212 58006 site-packages/torch/distributed/elastic/multiprocessing/api.py:897] Sending process 58077 closing signal SIGTERM
117
+ W0917 01:04:20.147614 58006 site-packages/torch/distributed/elastic/multiprocessing/api.py:897] Sending process 58078 closing signal SIGTERM
118
+ E0917 01:04:20.827764 58006 site-packages/torch/distributed/elastic/multiprocessing/api.py:869] failed (exitcode: 1) local_rank: 0 (pid: 58071) of binary: /root/miniconda3/envs/verl/bin/python3.10
119
+ Traceback (most recent call last):
120
+ File "/root/miniconda3/envs/verl/lib/python3.10/runpy.py", line 196, in _run_module_as_main
121
+ return _run_code(code, main_globals, None,
122
+ File "/root/miniconda3/envs/verl/lib/python3.10/runpy.py", line 86, in _run_code
123
+ exec(code, run_globals)
124
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/distributed/run.py", line 922, in <module>
125
+ main()
126
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/distributed/elastic/multiprocessing/errors/__init__.py", line 355, in wrapper
127
+ return f(*args, **kwargs)
128
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/distributed/run.py", line 918, in main
129
+ run(args)
130
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/distributed/run.py", line 909, in run
131
+ elastic_launch(
132
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/distributed/launcher/api.py", line 138, in __call__
133
+ return launch_agent(self._config, self._entrypoint, list(args))
134
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/distributed/launcher/api.py", line 269, in launch_agent
135
+ raise ChildFailedError(
136
+ torch.distributed.elastic.multiprocessing.errors.ChildFailedError:
137
+ ============================================================
138
+ /group/40143/hongzhuyi/ms-swift/swift/cli/sft.py FAILED
139
+ ------------------------------------------------------------
140
+ Failures:
141
+ <NO_OTHER_FAILURES>
142
+ ------------------------------------------------------------
143
+ Root Cause (first observed failure):
144
+ [0]:
145
+ time : 2025-09-17_01:04:20
146
+ host : TENCENT64.site
147
+ rank : 0 (local_rank: 0)
148
+ exitcode : 1 (pid: 58071)
149
+ error_file: <N/A>
150
+ traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
151
+ ============================================================
log/20250917-01:05:04.log ADDED
@@ -0,0 +1,151 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
2
+ import pynvml # type: ignore[import]
3
+ run sh: `/root/miniconda3/envs/verl/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 qwen2.5-7b-Instruct --train_type full --dataset ./corr_nq_2000q_hotpot_2000q_swift.jsonl ./corr_hotpot_new1369q_format_swift.jsonl ./self_2000_2000_1369_4_hp673_swift.jsonl ./self_2000_2000_1369_4_nq400_noinfo_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 2 --per_device_train_batch_size 2 --learning_rate 5e-6 --gradient_accumulation_steps 4 --eval_steps 2000 --save_strategy epoch --logging_steps 1 --deepspeed zero3 --max_length 16240 --output_dir ./output`
4
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
5
+ import pynvml # type: ignore[import]
6
+
7
+ *****************************************
8
+ 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.
9
+ *****************************************
10
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
11
+ import pynvml # type: ignore[import]
12
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
13
+ import pynvml # type: ignore[import]
14
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
15
+ import pynvml # type: ignore[import]
16
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
17
+ import pynvml # type: ignore[import]
18
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
19
+ import pynvml # type: ignore[import]
20
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
21
+ import pynvml # type: ignore[import]
22
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
23
+ import pynvml # type: ignore[import]
24
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
25
+ import pynvml # type: ignore[import]
26
+ [INFO:swift] Successfully registered `/group/40143/hongzhuyi/ms-swift/swift/llm/dataset/data/dataset_info.json`.
27
+ [INFO:swift] rank: 0, local_rank: 0, world_size: 8, local_world_size: 8
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
+ return SwiftSft(args).main()
33
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/train/sft.py", line 27, in __init__
34
+ super().__init__(args)
35
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/base.py", line 19, in __init__
36
+ self.args = self._parse_args(args)
37
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/base.py", line 31, in _parse_args
38
+ args, remaining_argv = parse_args(self.args_class, args)
39
+ File "/group/40143/hongzhuyi/ms-swift/swift/utils/utils.py", line 152, in parse_args
40
+ args, remaining_args = parser.parse_args_into_dataclasses(argv, return_remaining_strings=True)
41
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/transformers/hf_argparser.py", line 358, in parse_args_into_dataclasses
42
+ obj = dtype(**inputs)
43
+ File "<string>", line 321, in __init__
44
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/train_args.py", line 171, in __post_init__
45
+ BaseArguments.__post_init__(self)
46
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/base_args.py", line 171, in __post_init__
47
+ ModelArguments.__post_init__(self)
48
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/model_args.py", line 176, in __post_init__
49
+ self._init_torch_dtype()
50
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/model_args.py", line 90, in _init_torch_dtype
51
+ self.torch_dtype: torch.dtype = self._init_model_info()
52
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/model_args.py", line 145, in _init_model_info
53
+ self.model_info, self.model_meta = get_model_info_meta(**self.get_model_kwargs())
54
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/model/register.py", line 533, in get_model_info_meta
55
+ model_dir = safe_snapshot_download(
56
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/model/utils.py", line 302, in safe_snapshot_download
57
+ model_dir = hub.download_model(model_id_or_path, revision, ignore_patterns, token=hub_token, **kwargs)
58
+ File "/group/40143/hongzhuyi/ms-swift/swift/hub/hub.py", line 317, in download_model
59
+ return snapshot_download(model_id_or_path, revision, ignore_patterns=ignore_patterns, **kwargs)
60
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/modelscope/hub/snapshot_download.py", line 132, in snapshot_download
61
+ return _snapshot_download(
62
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/modelscope/hub/snapshot_download.py", line 300, in _snapshot_download
63
+ endpoint = _api.get_endpoint_for_read(
64
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/modelscope/hub/api.py", line 423, in get_endpoint_for_read
65
+ if not self.repo_exists(
66
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/modelscope/hub/api.py", line 567, in repo_exists
67
+ raise Exception('Invalid repo_id: %s, must be of format namespace/name' % repo_type)
68
+ Exception: Invalid repo_id: model, must be of format namespace/name
69
+ [INFO:swift] Downloading the model from ModelScope Hub, model_id: qwen2.5-7b-Instruct
70
+ Traceback (most recent call last):
71
+ File "/group/40143/hongzhuyi/ms-swift/swift/cli/sft.py", line 10, in <module>
72
+ sft_main()
73
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/train/sft.py", line 328, in sft_main
74
+ return SwiftSft(args).main()
75
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/train/sft.py", line 27, in __init__
76
+ super().__init__(args)
77
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/base.py", line 19, in __init__
78
+ self.args = self._parse_args(args)
79
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/base.py", line 31, in _parse_args
80
+ args, remaining_argv = parse_args(self.args_class, args)
81
+ File "/group/40143/hongzhuyi/ms-swift/swift/utils/utils.py", line 152, in parse_args
82
+ args, remaining_args = parser.parse_args_into_dataclasses(argv, return_remaining_strings=True)
83
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/transformers/hf_argparser.py", line 358, in parse_args_into_dataclasses
84
+ obj = dtype(**inputs)
85
+ File "<string>", line 321, in __init__
86
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/train_args.py", line 171, in __post_init__
87
+ BaseArguments.__post_init__(self)
88
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/base_args.py", line 171, in __post_init__
89
+ ModelArguments.__post_init__(self)
90
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/model_args.py", line 176, in __post_init__
91
+ self._init_torch_dtype()
92
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/model_args.py", line 90, in _init_torch_dtype
93
+ self.torch_dtype: torch.dtype = self._init_model_info()
94
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/argument/base_args/model_args.py", line 145, in _init_model_info
95
+ self.model_info, self.model_meta = get_model_info_meta(**self.get_model_kwargs())
96
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/model/register.py", line 533, in get_model_info_meta
97
+ model_dir = safe_snapshot_download(
98
+ File "/group/40143/hongzhuyi/ms-swift/swift/llm/model/utils.py", line 302, in safe_snapshot_download
99
+ model_dir = hub.download_model(model_id_or_path, revision, ignore_patterns, token=hub_token, **kwargs)
100
+ File "/group/40143/hongzhuyi/ms-swift/swift/hub/hub.py", line 317, in download_model
101
+ return snapshot_download(model_id_or_path, revision, ignore_patterns=ignore_patterns, **kwargs)
102
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/modelscope/hub/snapshot_download.py", line 132, in snapshot_download
103
+ return _snapshot_download(
104
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/modelscope/hub/snapshot_download.py", line 300, in _snapshot_download
105
+ endpoint = _api.get_endpoint_for_read(
106
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/modelscope/hub/api.py", line 423, in get_endpoint_for_read
107
+ if not self.repo_exists(
108
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/modelscope/hub/api.py", line 567, in repo_exists
109
+ raise Exception('Invalid repo_id: %s, must be of format namespace/name' % repo_type)
110
+ Exception: Invalid repo_id: model, must be of format namespace/name
111
+ W0917 01:05:17.371760 58177 site-packages/torch/distributed/elastic/multiprocessing/api.py:897] Sending process 58242 closing signal SIGTERM
112
+ W0917 01:05:17.372081 58177 site-packages/torch/distributed/elastic/multiprocessing/api.py:897] Sending process 58243 closing signal SIGTERM
113
+ W0917 01:05:17.373476 58177 site-packages/torch/distributed/elastic/multiprocessing/api.py:897] Sending process 58245 closing signal SIGTERM
114
+ W0917 01:05:17.374921 58177 site-packages/torch/distributed/elastic/multiprocessing/api.py:897] Sending process 58246 closing signal SIGTERM
115
+ W0917 01:05:17.376225 58177 site-packages/torch/distributed/elastic/multiprocessing/api.py:897] Sending process 58247 closing signal SIGTERM
116
+ W0917 01:05:17.377662 58177 site-packages/torch/distributed/elastic/multiprocessing/api.py:897] Sending process 58248 closing signal SIGTERM
117
+ W0917 01:05:17.379025 58177 site-packages/torch/distributed/elastic/multiprocessing/api.py:897] Sending process 58249 closing signal SIGTERM
118
+ E0917 01:05:18.172204 58177 site-packages/torch/distributed/elastic/multiprocessing/api.py:869] failed (exitcode: 1) local_rank: 2 (pid: 58244) of binary: /root/miniconda3/envs/verl/bin/python3.10
119
+ Traceback (most recent call last):
120
+ File "/root/miniconda3/envs/verl/lib/python3.10/runpy.py", line 196, in _run_module_as_main
121
+ return _run_code(code, main_globals, None,
122
+ File "/root/miniconda3/envs/verl/lib/python3.10/runpy.py", line 86, in _run_code
123
+ exec(code, run_globals)
124
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/distributed/run.py", line 922, in <module>
125
+ main()
126
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/distributed/elastic/multiprocessing/errors/__init__.py", line 355, in wrapper
127
+ return f(*args, **kwargs)
128
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/distributed/run.py", line 918, in main
129
+ run(args)
130
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/distributed/run.py", line 909, in run
131
+ elastic_launch(
132
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/distributed/launcher/api.py", line 138, in __call__
133
+ return launch_agent(self._config, self._entrypoint, list(args))
134
+ File "/root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/distributed/launcher/api.py", line 269, in launch_agent
135
+ raise ChildFailedError(
136
+ torch.distributed.elastic.multiprocessing.errors.ChildFailedError:
137
+ ============================================================
138
+ /group/40143/hongzhuyi/ms-swift/swift/cli/sft.py FAILED
139
+ ------------------------------------------------------------
140
+ Failures:
141
+ <NO_OTHER_FAILURES>
142
+ ------------------------------------------------------------
143
+ Root Cause (first observed failure):
144
+ [0]:
145
+ time : 2025-09-17_01:05:17
146
+ host : TENCENT64.site
147
+ rank : 2 (local_rank: 2)
148
+ exitcode : 1 (pid: 58244)
149
+ error_file: <N/A>
150
+ traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
151
+ ============================================================
log/20250917-01:05:43.log ADDED
@@ -0,0 +1,682 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0
 
 
 
1
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
2
+ import pynvml # type: ignore[import]
3
+ run sh: `/root/miniconda3/envs/verl/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 ./corr_nq_2000q_hotpot_2000q_swift.jsonl ./corr_hotpot_new1369q_format_swift.jsonl ./self_2000_2000_1369_4_hp673_swift.jsonl ./self_2000_2000_1369_4_nq400_noinfo_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 2 --per_device_train_batch_size 2 --learning_rate 5e-6 --gradient_accumulation_steps 4 --eval_steps 2000 --save_strategy epoch --logging_steps 1 --deepspeed zero3 --max_length 16240 --output_dir ./output`
4
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
5
+ import pynvml # type: ignore[import]
6
+
7
+ *****************************************
8
+ 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.
9
+ *****************************************
10
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
11
+ import pynvml # type: ignore[import]
12
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
13
+ import pynvml # type: ignore[import]
14
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
15
+ import pynvml # type: ignore[import]
16
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
17
+ import pynvml # type: ignore[import]
18
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
19
+ import pynvml # type: ignore[import]
20
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
21
+ import pynvml # type: ignore[import]
22
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
23
+ import pynvml # type: ignore[import]
24
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
25
+ import pynvml # type: ignore[import]
26
+ [INFO:swift] Successfully registered `/group/40143/hongzhuyi/ms-swift/swift/llm/dataset/data/dataset_info.json`.
27
+ [INFO:swift] rank: 0, local_rank: 0, world_size: 8, local_world_size: 8
28
+ Downloading Model from https://www.modelscope.cn to directory: /root/.cache/modelscope/hub/models/Qwen/Qwen2.5-7B-Instruct
29
+ [2025-09-17 01:05:56,696] [INFO] [real_accelerator.py:254:get_accelerator] Setting ds_accelerator to cuda (auto detect)
30
+ Downloading Model from https://www.modelscope.cn to directory: /root/.cache/modelscope/hub/models/Qwen/Qwen2.5-7B-Instruct
31
+ [2025-09-17 01:05:57,681] [INFO] [comm.py:669:init_distributed] cdb=None
32
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
33
+ import pynvml # type: ignore[import]
34
+ [2025-09-17 01:05:58,370] [INFO] [real_accelerator.py:254:get_accelerator] Setting ds_accelerator to cuda (auto detect)
35
+ Downloading Model from https://www.modelscope.cn to directory: /root/.cache/modelscope/hub/models/Qwen/Qwen2.5-7B-Instruct
36
+ [2025-09-17 01:05:59,356] [INFO] [comm.py:669:init_distributed] cdb=None
37
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
38
+ import pynvml # type: ignore[import]
39
+ [2025-09-17 01:05:59,842] [INFO] [real_accelerator.py:254:get_accelerator] Setting ds_accelerator to cuda (auto detect)
40
+ Downloading Model from https://www.modelscope.cn to directory: /root/.cache/modelscope/hub/models/Qwen/Qwen2.5-7B-Instruct
41
+ [2025-09-17 01:06:00,978] [INFO] [comm.py:669:init_distributed] cdb=None
42
+ [INFO:swift] Downloading the model from ModelScope Hub, model_id: Qwen/Qwen2.5-7B-Instruct
43
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
44
+ import pynvml # type: ignore[import]
45
+ [2025-09-17 01:06:01,445] [INFO] [real_accelerator.py:254:get_accelerator] Setting ds_accelerator to cuda (auto detect)
46
+ Downloading Model from https://www.modelscope.cn to directory: /root/.cache/modelscope/hub/models/Qwen/Qwen2.5-7B-Instruct
47
+ [2025-09-17 01:06:02,581] [INFO] [comm.py:669:init_distributed] cdb=None
48
+ [INFO:modelscope] Target directory already exists, skipping creation.
49
+ [INFO:swift] Loading the model using model_dir: /root/.cache/modelscope/hub/models/Qwen/Qwen2___5-7B-Instruct
50
+ [INFO:swift] Setting args.lazy_tokenize: False
51
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
52
+ import pynvml # type: ignore[import]
53
+ [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}
54
+ [2025-09-17 01:06:03,128] [INFO] [real_accelerator.py:254:get_accelerator] Setting ds_accelerator to cuda (auto detect)
55
+ Downloading Model from https://www.modelscope.cn to directory: /root/.cache/modelscope/hub/models/Qwen/Qwen2.5-7B-Instruct
56
+ [2025-09-17 01:06:04,137] [INFO] [comm.py:669:init_distributed] cdb=None
57
+ [2025-09-17 01:06:04,137] [INFO] [comm.py:700:init_distributed] Initializing TorchBackend in DeepSpeed with backend nccl
58
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
59
+ import pynvml # type: ignore[import]
60
+ [2025-09-17 01:06:05,166] [INFO] [real_accelerator.py:254:get_accelerator] Setting ds_accelerator to cuda (auto detect)
61
+ Downloading Model from https://www.modelscope.cn to directory: /root/.cache/modelscope/hub/models/Qwen/Qwen2.5-7B-Instruct
62
+ [2025-09-17 01:06:06,167] [INFO] [comm.py:669:init_distributed] cdb=None
63
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
64
+ import pynvml # type: ignore[import]
65
+ Downloading Model from https://www.modelscope.cn to directory: /root/.cache/modelscope/hub/models/Qwen/Qwen2.5-7B-Instruct
66
+ [2025-09-17 01:06:07,233] [INFO] [real_accelerator.py:254:get_accelerator] Setting ds_accelerator to cuda (auto detect)
67
+ [2025-09-17 01:06:08,259] [INFO] [comm.py:669:init_distributed] cdb=None
68
+ [2025-09-17 01:06:08,514] [INFO] [real_accelerator.py:254:get_accelerator] Setting ds_accelerator to cuda (auto detect)
69
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
70
+ import pynvml # type: ignore[import]
71
+ [2025-09-17 01:06:09,532] [INFO] [comm.py:669:init_distributed] cdb=None
72
+ /root/miniconda3/envs/verl/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
73
+ import pynvml # type: ignore[import]
74
+ [INFO:swift] output_dir: /group/40143/hongzhuyi/ms-swift/output/v0-20250917-010604
75
+ [INFO:swift] Global seed set to 42
76
+ [INFO:swift] args: TrainArguments(
77
+ _n_gpu=-1,
78
+ acc_strategy=token,
79
+ accelerator_config={'dispatch_batches': False},
80
+ adafactor=False,
81
+ adalora_beta1=0.85,
82
+ adalora_beta2=0.85,
83
+ adalora_deltaT=1,
84
+ adalora_init_r=12,
85
+ adalora_orth_reg_weight=0.5,
86
+ adalora_target_r=8,
87
+ adalora_tfinal=0,
88
+ adalora_tinit=0,
89
+ adam_beta1=0.9,
90
+ adam_beta2=0.95,
91
+ adam_epsilon=1e-08,
92
+ adapter_act=gelu,
93
+ adapter_length=128,
94
+ adapters=[],
95
+ add_version=True,
96
+ agent_template=None,
97
+ aligner_lr=None,
98
+ attn_impl=None,
99
+ auto_find_batch_size=False,
100
+ average_tokens_across_devices=False,
101
+ batch_eval_metrics=False,
102
+ bf16=True,
103
+ bf16_full_eval=False,
104
+ bnb_4bit_compute_dtype=torch.bfloat16,
105
+ bnb_4bit_quant_storage=None,
106
+ bnb_4bit_quant_type=nf4,
107
+ bnb_4bit_use_double_quant=True,
108
+ boft_block_num=0,
109
+ boft_block_size=4,
110
+ boft_dropout=0.0,
111
+ boft_n_butterfly_factor=1,
112
+ cached_dataset=[],
113
+ channels=None,
114
+ check_model=True,
115
+ ckpt_dir=None,
116
+ columns={},
117
+ create_checkpoint_symlink=False,
118
+ custom_dataset_info=[],
119
+ custom_register_path=[],
120
+ data_seed=42,
121
+ dataloader_drop_last=False,
122
+ dataloader_num_workers=48,
123
+ dataloader_persistent_workers=False,
124
+ dataloader_pin_memory=True,
125
+ dataloader_prefetch_factor=None,
126
+ dataset=['./corr_nq_2000q_hotpot_2000q_swift.jsonl', './corr_hotpot_new1369q_format_swift.jsonl', './self_2000_2000_1369_4_hp673_swift.jsonl', './self_2000_2000_1369_4_nq400_noinfo_swift.jsonl'],
127
+ dataset_num_proc=100,
128
+ dataset_shuffle=True,
129
+ ddp_backend=None,
130
+ ddp_broadcast_buffers=None,
131
+ ddp_bucket_cap_mb=None,
132
+ ddp_find_unused_parameters=None,
133
+ ddp_timeout=18000000,
134
+ debug=None,
135
+ 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},
136
+ deepspeed_autotp_size=None,
137
+ device_map=None,
138
+ disable_tqdm=None,
139
+ do_eval=False,
140
+ do_predict=False,
141
+ do_train=False,
142
+ download_mode=reuse_dataset_if_exists,
143
+ ds3_gather_for_generation=True,
144
+ early_stop_interval=None,
145
+ enable_dft_loss=False,
146
+ eval_accumulation_steps=None,
147
+ eval_dataset=[],
148
+ eval_dataset_args=None,
149
+ eval_delay=0,
150
+ eval_do_concat_batches=True,
151
+ eval_generation_config=None,
152
+ eval_limit=None,
153
+ eval_on_start=False,
154
+ eval_steps=2000.0,
155
+ eval_strategy=epoch,
156
+ eval_use_evalscope=False,
157
+ eval_use_gather_object=False,
158
+ external_plugins=[],
159
+ extra_eval_args=None,
160
+ fourier_n_frequency=2000,
161
+ fourier_scaling=300.0,
162
+ fp16=False,
163
+ fp16_backend=auto,
164
+ fp16_full_eval=False,
165
+ fp16_opt_level=O1,
166
+ freeze_aligner=False,
167
+ freeze_llm=False,
168
+ freeze_parameters=[],
169
+ freeze_parameters_ratio=0.0,
170
+ freeze_parameters_regex=None,
171
+ freeze_vit=True,
172
+ fsdp=,
173
+ fsdp_config=None,
174
+ fsdp_min_num_params=0,
175
+ fsdp_transformer_layer_cls_to_wrap=None,
176
+ full_determinism=False,
177
+ galore_cos_threshold=0.4,
178
+ galore_gamma_proj=2,
179
+ galore_optim_per_parameter=False,
180
+ galore_proj_bits=4,
181
+ galore_proj_group_size=256,
182
+ galore_proj_quant=False,
183
+ galore_proj_type=std,
184
+ galore_quantization=False,
185
+ galore_queue_size=5,
186
+ galore_rank=128,
187
+ galore_scale=1.0,
188
+ galore_target_modules=None,
189
+ galore_update_proj_gap=50,
190
+ galore_with_embedding=False,
191
+ generation_config=None,
192
+ generation_max_length=None,
193
+ generation_num_beams=None,
194
+ gradient_accumulation_steps=4,
195
+ gradient_checkpointing=True,
196
+ gradient_checkpointing_kwargs=None,
197
+ greater_is_better=False,
198
+ group_by_length=False,
199
+ half_precision_backend=auto,
200
+ hqq_axis=None,
201
+ hub_always_push=False,
202
+ hub_model_id=None,
203
+ hub_private_repo=None,
204
+ hub_strategy=every_save,
205
+ hub_token=<HUB_TOKEN>,
206
+ ignore_args_error=False,
207
+ ignore_data_skip=False,
208
+ include_for_metrics=[],
209
+ include_inputs_for_metrics=False,
210
+ include_num_input_tokens_seen=False,
211
+ include_tokens_per_second=False,
212
+ init_strategy=None,
213
+ init_weights=True,
214
+ interleave_prob=None,
215
+ jit_mode_eval=False,
216
+ label_names=None,
217
+ label_smoothing_factor=0.0,
218
+ lazy_tokenize=False,
219
+ learning_rate=5e-06,
220
+ length_column_name=length,
221
+ lisa_activated_layers=0,
222
+ lisa_step_interval=20,
223
+ llamapro_num_groups=None,
224
+ llamapro_num_new_blocks=4,
225
+ load_args=False,
226
+ load_best_model_at_end=False,
227
+ load_data_args=False,
228
+ load_from_cache_file=True,
229
+ local_rank=0,
230
+ local_repo_path=None,
231
+ log_level=passive,
232
+ log_level_replica=warning,
233
+ log_on_each_node=True,
234
+ logging_dir=/group/40143/hongzhuyi/ms-swift/output/v0-20250917-010604/runs,
235
+ logging_first_step=True,
236
+ logging_nan_inf_filter=True,
237
+ logging_steps=1,
238
+ logging_strategy=steps,
239
+ logprobs=False,
240
+ lora_alpha=32,
241
+ lora_bias=none,
242
+ lora_dropout=0.05,
243
+ lora_dtype=None,
244
+ lora_ga_batch_size=2,
245
+ lora_ga_direction=ArB2r,
246
+ lora_ga_iters=2,
247
+ lora_ga_max_length=1024,
248
+ lora_ga_scale=stable,
249
+ lora_ga_stable_gamma=16,
250
+ lora_modules=[],
251
+ lora_rank=8,
252
+ lorap_lr_ratio=None,
253
+ loss_scale=default,
254
+ loss_type=None,
255
+ lr_scheduler_kwargs=None,
256
+ lr_scheduler_type=cosine,
257
+ max_epochs=None,
258
+ max_grad_norm=1.0,
259
+ max_length=16240,
260
+ max_memory={},
261
+ max_model_len=None,
262
+ max_new_tokens=64,
263
+ max_pixels=None,
264
+ max_steps=-1,
265
+ metric=None,
266
+ metric_for_best_model=loss,
267
+ model=Qwen/Qwen2.5-7B-Instruct,
268
+ model_author=None,
269
+ model_kwargs={},
270
+ model_name=None,
271
+ model_revision=None,
272
+ model_type=qwen2_5,
273
+ modules_to_save=[],
274
+ mp_parameters=,
275
+ neftune_noise_alpha=None,
276
+ new_special_tokens=[],
277
+ no_cuda=False,
278
+ norm_bbox=None,
279
+ num_beams=1,
280
+ num_labels=None,
281
+ num_train_epochs=2.0,
282
+ optim=adamw_torch,
283
+ optim_args=None,
284
+ optim_target_modules=None,
285
+ optimizer=None,
286
+ output_dir=/group/40143/hongzhuyi/ms-swift/output/v0-20250917-010604,
287
+ overwrite_output_dir=False,
288
+ packing=False,
289
+ packing_length=None,
290
+ padding_free=False,
291
+ padding_side=right,
292
+ past_index=-1,
293
+ per_device_eval_batch_size=1,
294
+ per_device_train_batch_size=2,
295
+ predict_with_generate=False,
296
+ prediction_loss_only=False,
297
+ problem_type=None,
298
+ push_to_hub=False,
299
+ push_to_hub_model_id=None,
300
+ push_to_hub_organization=None,
301
+ push_to_hub_token=<PUSH_TO_HUB_TOKEN>,
302
+ quant_bits=None,
303
+ quant_method=None,
304
+ ray_scope=last,
305
+ reft_args=None,
306
+ reft_intervention_type=LoreftIntervention,
307
+ reft_layer_key=None,
308
+ reft_layers=None,
309
+ reft_rank=4,
310
+ remove_unused_columns=True,
311
+ repetition_penalty=None,
312
+ report_to=['tensorboard'],
313
+ response_prefix=None,
314
+ restore_callback_states_from_checkpoint=False,
315
+ resume_from_checkpoint=None,
316
+ resume_only_model=False,
317
+ rope_scaling=None,
318
+ router_aux_loss_coef=0.0,
319
+ run_name=/group/40143/hongzhuyi/ms-swift/output/v0-20250917-010604,
320
+ save_on_each_node=False,
321
+ save_only_model=False,
322
+ save_safetensors=True,
323
+ save_steps=500,
324
+ save_strategy=epoch,
325
+ save_total_limit=None,
326
+ seed=42,
327
+ sequence_parallel_size=1,
328
+ shuffle_buffer_size=1000,
329
+ skip_memory_metrics=True,
330
+ sortish_sampler=False,
331
+ split_dataset_ratio=0.001,
332
+ stop_words=[],
333
+ stopping_strategy=first_exhausted,
334
+ stream=False,
335
+ streaming=False,
336
+ strict=False,
337
+ swanlab_exp_name=None,
338
+ swanlab_lark_secret=None,
339
+ swanlab_lark_webhook_url=None,
340
+ swanlab_mode=cloud,
341
+ swanlab_project=None,
342
+ swanlab_token=<SWANLAB_TOKEN>,
343
+ swanlab_workspace=None,
344
+ system=None,
345
+ target_modules=['all-linear'],
346
+ target_regex=None,
347
+ task_type=causal_lm,
348
+ temperature=0.0,
349
+ template=qwen2_5,
350
+ template_backend=swift,
351
+ tf32=None,
352
+ top_k=None,
353
+ top_logprobs=None,
354
+ top_p=None,
355
+ torch_compile=False,
356
+ torch_compile_backend=None,
357
+ torch_compile_mode=None,
358
+ torch_dtype=torch.bfloat16,
359
+ torch_empty_cache_steps=None,
360
+ torchdynamo=None,
361
+ tpu_metrics_debug=False,
362
+ tpu_num_cores=None,
363
+ train_dataloader_shuffle=True,
364
+ train_type=full,
365
+ trainable_parameters=[],
366
+ trainable_parameters_regex=None,
367
+ truncation_strategy=delete,
368
+ tuner_backend=peft,
369
+ use_chat_template=True,
370
+ use_cpu=False,
371
+ use_dora=False,
372
+ use_flash_ckpt=False,
373
+ use_galore=False,
374
+ use_hf=False,
375
+ use_ipex=False,
376
+ use_legacy_prediction_loop=False,
377
+ use_liger_kernel=False,
378
+ use_logits_to_keep=None,
379
+ use_mps_device=False,
380
+ use_rslora=False,
381
+ use_swift_lora=False,
382
+ val_dataset=[],
383
+ val_dataset_shuffle=False,
384
+ vera_d_initial=0.1,
385
+ vera_dropout=0.0,
386
+ vera_projection_prng_key=0,
387
+ vera_rank=256,
388
+ vit_gradient_checkpointing=None,
389
+ vit_lr=None,
390
+ warmup_ratio=0.05,
391
+ warmup_steps=0,
392
+ weight_decay=0.1,
393
+ zero_hpz_partition_size=None,
394
+ )
395
+ Downloading Model from https://www.modelscope.cn to directory: /root/.cache/modelscope/hub/models/Qwen/Qwen2.5-7B-Instruct
396
+ [2025-09-17 01:06:19,229] [INFO] [config.py:735:__init__] Config mesh_device None world_size = 8
397
+ Downloading Model from https://www.modelscope.cn to directory: /root/.cache/modelscope/hub/models/Qwen/Qwen2.5-7B-Instruct
398
+ [2025-09-17 01:06:20,800] [INFO] [config.py:735:__init__] Config mesh_device None world_size = 8
399
+ Downloading Model from https://www.modelscope.cn to directory: /root/.cache/modelscope/hub/models/Qwen/Qwen2.5-7B-Instruct
400
+ [INFO:swift] Downloading the model from ModelScope Hub, model_id: Qwen/Qwen2.5-7B-Instruct
401
+ [2025-09-17 01:06:22,370] [INFO] [config.py:735:__init__] Config mesh_device None world_size = 8
402
+ Downloading Model from https://www.modelscope.cn to directory: /root/.cache/modelscope/hub/models/Qwen/Qwen2.5-7B-Instruct
403
+ [INFO:modelscope] Target directory already exists, skipping creation.
404
+ [INFO:swift] Loading the model using model_dir: /root/.cache/modelscope/hub/models/Qwen/Qwen2___5-7B-Instruct
405
+ [INFO:swift] model_kwargs: {'device_map': None}
406
+ [2025-09-17 01:06:23,989] [INFO] [config.py:735:__init__] Config mesh_device None world_size = 8
407
+ Downloading Model from https://www.modelscope.cn to directory: /root/.cache/modelscope/hub/models/Qwen/Qwen2.5-7B-Instruct
408
+ [2025-09-17 01:06:25,612] [INFO] [config.py:735:__init__] Config mesh_device None world_size = 8
409
+ Downloading Model from https://www.modelscope.cn to directory: /root/.cache/modelscope/hub/models/Qwen/Qwen2.5-7B-Instruct
410
+ [2025-09-17 01:06:27,174] [INFO] [config.py:735:__init__] Config mesh_device None world_size = 8
411
+ Downloading Model from https://www.modelscope.cn to directory: /root/.cache/modelscope/hub/models/Qwen/Qwen2.5-7B-Instruct
412
+ [2025-09-17 01:06:28,854] [INFO] [config.py:735:__init__] Config mesh_device None world_size = 8
413
+ Downloading Model from https://www.modelscope.cn to directory: /root/.cache/modelscope/hub/models/Qwen/Qwen2.5-7B-Instruct
414
+ [2025-09-17 01:06:30,556] [INFO] [config.py:735:__init__] Config mesh_device None world_size = 8
415
+ [2025-09-17 01:06:30,707] [INFO] [partition_parameters.py:348:__exit__] finished initializing model - num_params = 339, num_elems = 7.62B
416
+
417
+
418
+
419
+
420
+
421
+
422
+
423
+
424
+ [INFO:swift] model_info: ModelInfo(model_type='qwen2_5', model_dir='/root/.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 {
425
+ "architectures": [
426
+ "Qwen2ForCausalLM"
427
+ ],
428
+ "attention_dropout": 0.0,
429
+ "bos_token_id": 151643,
430
+ "eos_token_id": 151645,
431
+ "hidden_act": "silu",
432
+ "hidden_size": 3584,
433
+ "initializer_range": 0.02,
434
+ "intermediate_size": 18944,
435
+ "max_position_embeddings": 32768,
436
+ "max_window_layers": 28,
437
+ "model_type": "qwen2",
438
+ "num_attention_heads": 28,
439
+ "num_hidden_layers": 28,
440
+ "num_key_value_heads": 4,
441
+ "pad_token_id": 151643,
442
+ "rms_norm_eps": 1e-06,
443
+ "rope_scaling": null,
444
+ "rope_theta": 1000000.0,
445
+ "sliding_window": 131072,
446
+ "tie_word_embeddings": false,
447
+ "torch_dtype": "bfloat16",
448
+ "transformers_version": "4.52.4",
449
+ "use_cache": true,
450
+ "use_sliding_window": false,
451
+ "vocab_size": 152064
452
+ }
453
+ , task_type='causal_lm', num_labels=None)
454
+ [INFO:swift] model.generation_config: GenerationConfig {
455
+ "bos_token_id": 151643,
456
+ "eos_token_id": [
457
+ 151645,
458
+ 151643
459
+ ],
460
+ "max_new_tokens": 64,
461
+ "pad_token_id": 151643,
462
+ "repetition_penalty": 1.05
463
+ }
464
+
465
+ [INFO:swift] default_system: 'You are Qwen, created by Alibaba Cloud. You are a helpful assistant.'
466
+ [INFO:swift] max_length: 16240
467
+ [INFO:swift] response_prefix: ''
468
+ [INFO:swift] agent_template: hermes
469
+ [INFO:swift] Start time of running main: 2025-09-17 01:06:35.534151
470
+ [INFO:swift] swift.__version__: 3.8.0.dev0
471
+
472
+ Setting num_proc from 100 back to 1 for the train split to disable multiprocessing as it only contains one shard.
473
+
474
+
475
+ Setting num_proc from 100 back to 1 for the train split to disable multiprocessing as it only contains one shard.
476
+
477
+
478
+ Setting num_proc from 100 back to 1 for the train split to disable multiprocessing as it only contains one shard.
479
+
480
+
481
+ [INFO:swift] train_dataset: Dataset({
482
+ features: ['messages'],
483
+ num_rows: 28291
484
+ })
485
+ [INFO:swift] val_dataset: Dataset({
486
+ features: ['messages'],
487
+ num_rows: 26
488
+ })
489
+ [INFO:swift] The split dataset from the training set will be saved at: /group/40143/hongzhuyi/ms-swift/output/v0-20250917-010604/val_dataset.jsonl.
490
+
491
+ num_proc must be <= 26. Reducing num_proc to 26 for dataset of size 26.
492
+
493
+ num_proc must be <= 26. Reducing num_proc to 26 for dataset of size 26.
494
+ num_proc must be <= 26. Reducing num_proc to 26 for dataset of size 26.
495
+ num_proc must be <= 26. Reducing num_proc to 26 for dataset of size 26.
496
+ num_proc must be <= 26. Reducing num_proc to 26 for dataset of size 26.
497
+ num_proc must be <= 26. Reducing num_proc to 26 for dataset of size 26.
498
+ num_proc must be <= 26. Reducing num_proc to 26 for dataset of size 26.
499
+ num_proc must be <= 26. Reducing num_proc to 26 for dataset of size 26.
500
+ [INFO:swift] [INPUT_IDS] [151644, 8948, 198, 2610, 525, 264, 6929, 16230, 17847, 6188, 311, 9026, 3019, 14319, 29208, 6929, 7525, 29720, 323, 23638, 311, 4583, 279, 1196, 594, 3383, 13, 1446, 525, 3897, 448, 3151, 9079, 323, 44610, 13904, 1995, 11, 323, 498, 1184, 311, 2550, 13382, 6168, 311, 22054, 279, 1196, 594, 3383, 382, 8420, 594, 279, 1995, 498, 3278, 614, 510, 785, 1196, 594, 16538, 25, 1096, 374, 279, 3383, 498, 2299, 4460, 311, 4583, 624, 785, 1482, 3482, 2150, 594, 39700, 4916, 25, 1096, 374, 264, 43799, 13042, 315, 279, 44610, 11, 8241, 1376, 1995, 624, 785, 1787, 22398, 25, 4220, 525, 279, 22398, 498, 614, 1787, 624, 785, 3681, 6168, 25, 2619, 525, 279, 6168, 498, 1101, 10660, 13, 1084, 1231, 387, 10950, 311, 3754, 697, 5098, 382, 785, 6168, 498, 646, 2736, 4399, 1119, 3807, 11059, 1447, 2665, 16730, 26722, 510, 63, 3678, 508, 307, 60, 508, 1796, 60, 44622, 1096, 1917, 27749, 389, 458, 2392, 448, 264, 3151, 877, 389, 279, 44610, 624, 63, 1313, 508, 307, 60, 508, 1796, 60, 508, 1873, 37480, 19844, 28, 15, 91, 16, 60, 44622, 5443, 419, 311, 943, 279, 2213, 1119, 279, 2070, 448, 877, 13, 3216, 1638, 11, 279, 1591, 6269, 3014, 1376, 374, 17320, 1283, 19496, 7241, 3493, 37480, 19844, 374, 738, 311, 220, 15, 624, 63, 17583, 508, 307, 60, 508, 1796, 60, 44622, 85569, 916, 458, 2392, 448, 877, 624, 63, 1873, 508, 792, 34454, 60, 44622, 220, 4467, 23156, 279, 25352, 315, 264, 1376, 10601, 389, 279, 13625, 320, 68, 1302, 2572, 37014, 98267, 4292, 63, 12605, 508, 2923, 91, 454, 60, 44622, 22392, 279, 2150, 705, 476, 1495, 382, 8582, 9551, 26722, 510, 63, 931, 17344, 44622, 5264, 264, 501, 11, 4287, 6929, 5651, 624, 63, 6192, 47492, 508, 6192, 3560, 60, 44622, 15586, 279, 6929, 594, 5244, 311, 264, 3151, 5651, 1667, 1181, 1922, 624, 63, 5552, 17344, 44622, 13032, 279, 5023, 4541, 5651, 382, 3144, 17980, 26722, 510, 63, 28535, 508, 1085, 60, 44622, 81739, 311, 264, 3151, 5548, 624, 63, 3346, 3895, 44622, 81739, 311, 279, 8597, 19334, 2150, 624, 63, 3346, 32121, 44622, 81739, 311, 279, 1790, 2150, 320, 333, 264, 3681, 364, 3346, 3895, 6, 1917, 572, 10660, 3593, 33190, 5586, 510, 63, 9495, 508, 9217, 60, 44622, 25226, 419, 1917, 979, 498, 4411, 279, 3383, 374, 4583, 13, 1416, 279, 16538, 374, 311, 1477, 264, 1467, 5980, 4226, 11, 3410, 279, 4226, 304, 279, 31642, 13, 1416, 498, 4411, 279, 3383, 374, 11997, 311, 4583, 11, 3410, 279, 4226, 438, 1591, 45, 10360, 3014, 304, 279, 31642, 382, 1249, 387, 6849, 11, 432, 374, 1602, 2989, 311, 1795, 279, 2701, 5601, 510, 16, 13, 1446, 1265, 1172, 4265, 458, 1917, 429, 374, 2697, 2661, 279, 1482, 21930, 624, 17, 13, 1446, 1265, 1172, 4265, 825, 1917, 518, 264, 882, 624, 18, 13, 1446, 1265, 1795, 279, 10295, 311, 2874, 3019, 553, 3019, 323, 1221, 4265, 279, 1790, 1917, 624, 19, 13, 1446, 1265, 8300, 311, 13656, 6168, 979, 4265, 458, 1917, 323, 1430, 537, 311, 1281, 58077, 6168, 198, 20, 13, 2009, 32711, 1969, 387, 4766, 30586, 26865, 1472, 26865, 43626, 9492, 11, 323, 1052, 1969, 387, 902, 2550, 1573, 30586, 26865, 1472, 26865, 29, 18639, 21, 13, 4636, 30586, 26865, 1472, 26865, 29, 7808, 1172, 279, 1917, 1265, 387, 7907, 304, 279, 4396, 3561, 11, 43810, 304, 2038, 69155, 13, 1752, 3110, 510, 256, 366, 26865, 41993, 3137, 5868, 9760, 311, 847, 5795, 13, 9189, 287, 432, 1265, 1896, 752, 311, 279, 1790, 3019, 3918, 26865, 397, 256, 54275, 3678, 508, 307, 60, 508, 1796, 60, 13874, 3989, 22, 13, 25226, 279, 2936, 1917, 979, 498, 1744, 498, 614, 16994, 279, 16538, 13, 4320, 1405, 6923, 4113, 1283, 2936, 624, 23, 13, 23240, 3561, 6168, 12440, 25, 715, 73594, 5631, 508, 13786, 60, 13874, 3989, 2461, 3110, 11, 421, 15039, 369, 1591, 61907, 2802, 41612, 304, 279, 2274, 3014, 304, 264, 2711, 2070, 448, 3034, 1565, 17, 16, 7808, 12440, 3561, 432, 438, 510, 73594, 1313, 508, 17, 16, 60, 508, 61907, 2802, 41612, 304, 279, 2274, 60, 508, 16, 60, 13874, 3989, 52116, 15114, 19856, 429, 51044, 38929, 2163, 5029, 476, 24064, 2750, 624, 151645, 198, 151644, 872, 271, 78306, 25, 8713, 8697, 39946, 20691, 323, 53350, 6272, 25294, 20691, 2176, 7407, 304, 279, 1584, 315, 29790, 11, 3639, 4180, 5267, 37763, 367, 25, 508, 17, 24, 17, 60, 18854, 5981, 8726, 364, 1474, 74045, 1008, 29458, 86, 941, 7412, 7434, 25591, 6, 10735, 25, 3007, 2515, 25, 1758, 1110, 8301, 25, 17, 17, 15, 16, 20, 6324, 14939, 6205, 5705, 6345, 72, 62, 17, 15, 17, 17, 12, 15, 20, 10360, 33511, 74045, 30456, 10102, 37081, 941, 1889, 4076, 7434, 25591, 198, 197, 58, 18, 18, 15, 60, 73999, 330, 5890, 364, 54, 14939, 14913, 2567, 25, 3557, 198, 197, 58, 18, 18, 21, 60, 2656, 364, 10850, 311, 10565, 2150, 6, 2515, 25, 1758, 1110, 8301, 25, 17, 17, 15, 16, 20, 5894, 197, 197, 58, 18, 18, 22, 60, 3137, 364, 145574, 1248, 197, 58, 18, 18, 23, 60, 2656, 330, 10850, 311, 279, 1887, 2150, 315, 364, 54, 14939, 14913, 2515, 25, 1758, 1110, 8301, 25, 17, 17, 15, 16, 20, 6324, 14939, 6205, 5705, 6345, 72, 62, 17, 15, 17, 17, 12, 15, 20, 5894, 197, 197, 58, 18, 18, 24, 60, 3137, 364, 54, 14939, 1248, 197, 58, 18, 19, 15, 60, 2656, 364, 10850, 311, 264, 26618, 4091, 2150, 6, 2515, 25, 1758, 1110, 8301, 25, 17, 17, 15, 16, 20, 79442, 30, 1796, 63417, 14939, 6205, 5705, 6345, 72, 62, 17, 15, 17, 17, 12, 15, 20, 198, 197, 197, 58, 18, 19, 16, 60, 3137, 364, 147724, 1248, 197, 58, 18, 60, 23105, 1178, 364, 13936, 311, 7885, 197, 58, 18, 20, 17, 60, 2656, 364, 54, 14939, 6, 2515, 25, 1758, 1110, 8301, 25, 17, 17, 15, 16, 20, 6324, 14939, 6205, 5705, 6345, 72, 62, 17, 15, 17, 17, 12, 15, 20, 10360, 22175, 14939, 198, 197, 58, 20, 60, 23105, 1178, 364, 785, 1910, 82608, 23421, 197, 58, 21, 60, 23105, 1178, 364, 21, 11, 19, 23, 24, 11, 15, 20, 17, 1248, 197, 58, 22, 60, 23105, 1178, 364, 9709, 304, 7885, 197, 58, 18, 20, 23, 60, 2656, 364, 22574, 6, 2515, 25, 1758, 1110, 8301, 25, 17, 17, 15, 16, 20, 6324, 14939, 6205, 5705, 6345, 72, 62, 17, 15, 17, 17, 12, 15, 20, 10360, 14, 22574, 2763, 14939, 198, 197, 58, 18, 21, 15, 60, 14496, 364, 6953, 2576, 1248, 197, 58, 18, 21, 17, 60, 2656, 364, 90951, 6, 2515, 25, 1758, 1110, 8301, 25, 17, 17, 15, 16, 20, 6324, 14939, 6205, 5705, 6345, 72, 62, 17, 15, 17, 17, 12, 15, 20, 10360, 14, 90951, 198, 197, 58, 18, 21, 18, 60, 2656, 364, 24341, 6, 2515, 25, 1758, 1110, 8301, 25, 17, 17, 15, 16, 20, 6324, 14939, 6205, 5705, 6345, 72, 62, 17, 15, 17, 17, 12, 15, 20, 10360, 14, 24341, 198, 197, 58, 18, 21, 19, 60, 2656, 364, 34, 258, 42598, 5696, 6, 2515, 25, 1758, 1110, 8301, 25, 17, 17, 15, 16, 20, 6324, 14939, 6205, 5705, 6345, 72, 62, 17, 15, 17, 17, 12, 15, 20, 10360, 11295, 258, 42598, 5696, 198, 197, 58, 18, 21, 20, 60, 2656, 364, 35, 681, 6, 2515, 25, 1758, 1110, 8301, 25, 17, 17, 15, 16, 20, 6324, 14939, 6205, 5705, 6345, 72, 62, 17, 15, 17, 17, 12, 15, 20, 10360, 14953, 681, 198, 197, 58, 17, 24, 21, 60, 2656, 364, 20470, 6, 2515, 25, 1758, 1110, 8301, 25, 17, 17, 15, 16, 20, 6324, 14939, 6205, 5705, 6345, 72, 62, 17, 15, 17, 17, 12, 15, 20, 10360, 14, 20470, 198, 197, 58, 18, 21, 21, 60, 2656, 364, 96141, 6, 2515, 25, 1758, 1110, 8301, 25, 17, 17, 15, 16, 20, 6324, 14939, 6205, 5705, 6345, 72, 62, 17, 15, 17, 17, 12, 15, 20, 10360, 12318, 8782, 198, 197, 58, 18, 21, 22, 60, 2656, 364, 50140, 1011, 6, 2515, 25, 1758, 1110, 8301, 25, 17, 17, 15, 16, 20, 6324, 14939, 6205, 5705, 6345, 72, 62, 17, 15, 17, 17, 12, 15, 20, 10360, 12318, 321, 1011, 198, 197, 58, 18, 21, 23, 60, 2656, 364, 38, 20467, 16974, 6, 2515, 25, 1758, 1110, 8301, 25, 17, 17, 15, 16, 20, 6324, 14939, 6205, 5705, 6345, 72, 62, 17, 15, 17, 17, 12, 15, 20, 10360, 15792, 20467, 16974, 198, 197, 58, 18, 21, 24, 60, 2656, 364, 86015, 1568, 6, 2515, 25, 1758, 1110, 8301, 25, 17, 17, 15, 16, 20, 6324, 14939, 6205, 5705, 6345, 72, 62, 17, 15, 17, 17, 12, 15, 20, 10360, 7434, 2015, 1568, 198, 197, 58, 18, 22, 15, 60, 2656, 364, 43538, 320, 81162, 21636, 2515, 25, 1758, 1110, 8301, 25, 17, 17, 15, 16, 20, 6324, 14939, 6205, 5705, 6345, 72, 62, 17, 15, 17, 17, 12, 15, 20, 10360, 10270, 12780, 8361, 81162, 340, 197, 58, 18, 22, 16, 60, 2656, 364, 24128, 6, 2515, 25, 1758, 1110, 8301, 25, 17, 17, 15, 16, 20, 6324, 14939, 6205, 5705, 6345, 72, 62, 17, 15, 17, 17, 12, 15, 20, 10360, 10270, 11524, 198, 197, 58, 18, 22, 17, 60, 2656, 364, 18098, 287, 6, 2515, 25, 1758, 1110, 8301, 25, 17, 17, 15, 16, 20, 6324, 14939, 6205, 5705, 6345, 72, 62, 17, 15, 17, 17, 12, 15, 20, 10360, 16341, 70859, 198, 197, 58, 18, 22, 18, 60, 2656, 364, 52204, 5696, 6, 2515, 25, 1758, 1110, 8301, 25, 17, 17, 15, 16, 20, 6324, 14939, 6205, 5705, 6345, 72, 62, 17, 15, 17, 17, 12, 15, 20, 10360, 14, 52204, 5696, 198, 197, 58, 18, 22, 19, 60, 2656, 364, 32904, 15149, 6, 2515, 25, 1758, 1110, 8301, 25, 17, 17, 15, 16, 20, 6324, 14939, 6205, 5705, 6345, 72, 62, 17, 15, 17, 17, 12, 15, 20, 10360, 16341, 78, 15149, 198, 197, 58, 18, 22, 20, 60, 2656, 364, 50, 3314, 417, 552, 6, 2515, 25, 1758, 1110, 8301, 25, 17, 17, 15, 16, 20, 6324, 14939, 6205, 5705, 6345, 72, 62, 17, 15, 17, 17, 12, 15, 20, 10360, 11374, 3314, 417, 552, 198, 197, 58, 18, 22, 21, 60, 2656, 364, 785, 15715, 6, 2515, 25, 1758, 1110, 8301, 25, 17, 17, 15, 16, 20, 6324, 14939, 6205, 5705, 6345, 72, 62, 17, 15, 17, 17, 12, 15, 20, 10360, 47748, 15715, 198, 197, 58, 18, 22, 23, 60, 14496, 364, 9499, 5696, 1248, 197, 58, 18, 23, 15, 60, 2656, 364, 73591, 6, 2515, 25, 1758, 1110, 8301, 25, 17, 17, 15, 16, 20, 6324, 14939, 6205, 5705, 6345, 72, 62, 17, 15, 17, 17, 12, 15, 20, 10360, 10360, 29880, 198, 197, 58, 18, 23, 16, 60, 2656, 364, 17117, 277, 49029, 6, 2515, 25, 1758, 1110, 8301, 25, 17, 17, 15, 16, 20, 6324, 14939, 6205, 5705, 6345, 72, 62, 17, 15, 17, 17, 12, 15, 20, 10360, 10360, 406, 277, 49029, 198, 197, 58, 18, 23, 17, 60, 2656, 364, 6953, 25555, 6, 2515, 25, 1758, 1110, 8301, 25, 17, 17, 15, 16, 20, 6324, 14939, 6205, 5705, 6345, 72, 62, 17, 15, 17, 17, 12, 15, 20, 10360, 14, 6953, 25555, 198, 197, 58, 18, 23, 18, 60, 2656, 364, 38463, 6, 2515, 25, 1758, 1110, 8301, 25, 17, 17, 15, 16, 20, 6324, 14939, 6205, 5705, 6345, 72, 62, 17, 15, 17, 17, 12, 15, 20, 10360, 14, 38463, 198, 197, 58, 18, 23, 19, 60, 2656, 364, 8852, 32059, 6, 2515, 25, 1758, 1110, 8301, 25, 17, 17, 15, 16, 20, 6324, 14939, 6205, 5705, 6345, 72, 62, 17, 15, 17, 17, 12, 15, 20, 10360, 14, 8852, 32059, 198, 197, 58, 18, 23, 20, 60, 2656, 364, 43403, 5159, 6, 2515, 25, 1758, 1110, 8301, 25, 17, 17, 15, 16, 20, 6324, 14939, 6205, 5705, 6345, 72, 62, 17, 15, 17, 17, 12, 15, 20, 10360, 11295, 45086, 1566, 2117, 64, 198, 197, 58, 18, 23, 21, 60, 2656, 364, 30780, 6, 2515, 25, 1758, 1110, 8301, 25, 17, 17, 15, 16, 20, 6324, 14939, 6205, 5705, 6345, 72, 62, 17, 15, 17, 17, 12, 15, 20, 10360, 25646, 4084, 198, 197, 58, 18, 23, 22, 60, 2656, 364, 41547, 5159, 6, 2515, 25, 1758, 1110, 8301, 25, 17, 17, 15, 16, 20, 6324, 14939, 6205, 5705, 6345, 72, 62, 17, 15, 17, 17, 12, 15, 20, 10360, 7434, 14768, 1566, 2117, 64, 198, 197, 58, 18, 23, 23, 60, 2656, 364, 44, 3587, 615, 32461, 6, 2515, 25, 1758, 1110, 8301, 25, 17, 17, 15, 16, 20, 6324, 14939, 6205, 5705, 6345, 72, 62, 17, 15, 17, 17, 12, 15, 20, 10360, 10270, 3587, 615, 32461, 198, 197, 58, 18, 23, 24, 60, 2656, 364, 43935, 6326, 6, 2515, 25, 1758, 1110, 8301, 25, 17, 17, 15, 16, 20, 6324, 14939, 6205, 5705, 6345, 72, 62, 17, 15, 17, 17, 12, 15, 20, 10360, 10270, 3310, 2089, 559, 198, 197, 58, 18, 24, 15, 60, 2656, 364, 25221, 5159, 6, 2515, 25, 1758, 1110, 8301, 25, 17, 17, 15, 16, 20, 6324, 14939, 6205, 5705, 6345, 72, 62, 17, 15, 17, 17, 12, 15, 20, 10360, 20290, 2364, 1566, 2117, 64, 198, 197, 58, 18, 24, 16, 60, 2656, 364, 46, 346, 9166, 6, 2515, 25, 1758, 1110, 8301, 25, 17, 17, 15, 16, 20, 6324, 14939, 6205, 5705, 6345, 72, 62, 17, 15, 17, 17, 12, 15, 20, 10360, 17532, 346, 9166, 198, 197, 58, 18, 24, 17, 60, 2656, 364, 25018, 5159, 6, 2515, 25, 1758, 1110, 8301, 25, 17, 17, 15, 16, 20, 6324, 14939, 6205, 5705, 6345, 72, 62, 17, 15, 17, 17, 12, 15, 20, 10360, 11374, 2898, 1566, 2117, 64, 198, 197, 58, 18, 24, 18, 60, 2656, 364, 12593, 5696, 6, 2515, 25, 1758, 1110, 8301, 25, 17, 17, 15, 16, 20, 6324, 14939, 6205, 5705, 6345, 72, 62, 17, 15, 17, 17, 12, 15, 20, 10360, 11295, 471, 5696, 198, 197, 58, 18, 24, 20, 60, 14496, 364, 13424, 1248, 197, 58, 18, 24, 22, 60, 2656, 364, 88067, 1167, 14867, 6, 2515, 25, 1758, 1110, 8301, 25, 17, 17, 15, 16, 20, 6324, 14939, 6205, 5705, 6345, 72, 62, 17, 15, 17, 17, 12, 15, 20, 10360, 10360, 1016, 1167, 2089, 13539, 198, 197, 58, 18, 24, 23, 60, 2656, 364, 88067, 1167, 24427, 6, 2515, 25, 1758, 1110, 8301, 25, 17, 17, 15, 16, 20, 6324, 14939, 6205, 5705, 6345, 72, 62, 17, 15, 17, 17, 12, 15, 20, 10360, 10360, 1016, 1167, 2646, 89031, 198, 197, 58, 18, 24, 24, 60, 2656, 364, 88067, 1167, 30394, 6326, 6, 2515, 25, 1758, 1110, 8301, 25, 17, 17, 15, 16, 20, 6324, 14939, 6205, 5705, 6345, 72, 62, 17, 15, 17, 17, 12, 15, 20, 10360, 10360, 1016, 1167, 1604, 682, 2089, 559, 198, 197, 58, 19, 15, 15, 60, 2656, 364, 88067, 1167, 21718, 6, 2515, 25, 1758, 1110, 8301, 25, 17, 17, 15, 16, 20, 6324, 14939, 6205, 5705, 6345, 72, 62, 17, 15, 17, 17, 12, 15, 20, 10360, 10360, 1016, 1167, 2568, 635, 198, 197, 58, 19, 15, 16, 60, 2656, 364, 18727, 5918, 2449, 6, 2515, 25, 1758, 1110, 8301, 25, 17, 17, 15, 16, 20, 6324, 14939, 6205, 5705, 6345, 72, 62, 17, 15, 17, 17, 12, 15, 20, 10360, 14, 18727, 5918, 2449, 198, 197, 58, 19, 15, 17, 60, 2656, 364, 51861, 20448, 6, 2515, 25, 1758, 1110, 8301, 25, 17, 17, 15, 16, 20, 6324, 14939, 6205, 5705, 6345, 72, 62, 17, 15, 17, 17, 12, 15, 20, 10360, 16276, 1003, 812, 2089, 1307, 554, 198, 197, 58, 19, 15, 18, 60, 2656, 364, 1359, 89, 38357, 20448, 6, 2515, 25, 1758, 1110, 8301, 25, 17, 17, 15, 16, 20, 6324, 14939, 6205, 5705, 6345, 72, 62, 17, 15, 17, 17, 12, 15, 20, 10360, 14, 1359, 89, 38357, 2089, 1307, 554, 198, 197, 58, 19, 15, 19, 60, 2656, 364, 88665, 530, 2142, 6, 2515, 25, 1758, 1110, 8301, 25, 17, 17, 15, 16, 20, 6324, 14939, 6205, 5705, 6345, 72, 62, 17, 15, 17, 17, 12, 15, 20, 10360, 14, 88665, 530, 2142, 198, 197, 58, 19, 15, 20, 60, 2656, 364, 16001, 355, 3452, 6, 2515, 25, 1758, 1110, 8301, 25, 17, 17, 15, 16, 20, 6324, 14939, 6205, 5705, 6345, 72, 62, 17, 15, 17, 17, 12, 15, 20, 10360, 11295, 20341, 3452, 198, 197, 58, 19, 15, 21, 60, 2656, 364, 39, 24380, 884, 6, 2515, 25, 1758, 1110, 8301, 25, 17, 17, 15, 16, 20, 6324, 14939, 6205, 5705, 6345, 72, 62, 17, 15, 17, 17, 12, 15, 20, 10360, 23354, 24380, 884, 198, 197, 58, 19, 15, 22, 60, 2656, 364, 13424, 315, 8038, 6, 2515, 25, 1758, 1110, 8301, 25, 17, 17, 15, 16, 20, 6324, 14939, 6205, 5705, 6345, 72, 62, 17, 15, 17, 17, 12, 15, 20, 10360, 14, 13424, 3575, 13171, 1835, 198, 197, 58, 17, 24, 20, 60, 2656, 364, 1427, 67227, 5616, 6, 2515, 25, 1758, 1110, 8301, 25, 17, 17, 15, 16, 20, 6324, 14939, 6205, 5705, 6345, 72, 62, 17, 15, 17, 17, 12, 15, 20, 10360, 14, 13424, 3575, 27588, 2210, 2, 1427, 67227, 27588, 2210, 198, 197, 58, 19, 15, 23, 60, 2656, 364, 47564, 23665, 7203, 6, 2515, 25, 1758, 1110, 8301, 25, 17, 17, 15, 16, 20, 6324, 14939, 6205, 5705, 6345, 72, 62, 17, 15, 17, 17, 12, 15, 20, 10360, 14, 47564, 1243, 90646, 70325, 198, 197, 58, 19, 15, 24, 60, 2656, 364, 48752, 6, 2515, 25, 1758, 1110, 8301, 25, 17, 17, 15, 16, 20, 6324, 14939, 6205, 5705, 6345, 72, 62, 17, 15, 17, 17, 12, 15, 20, 10360, 14, 13424, 3575, 10598, 5359, 198, 197, 58, 19, 16, 15, 60, 2656, 364, 43935, 48993, 6, 2515, 25, 1758, 1110, 8301, 25, 17, 17, 15, 16, 20, 6324, 14939, 6205, 5705, 6345, 72, 62, 17, 15, 17, 17, 12, 15, 20, 10360, 10270, 3310, 1566, 4188, 198, 197, 58, 19, 16, 16, 60, 2656, 364, 44, 7443, 278, 20448, 6, 2515, 25, 1758, 1110, 8301, 25, 17, 17, 15, 16, 20, 6324, 14939, 6205, 5705, 6345, 72, 62, 17, 15, 17, 17, 12, 15, 20, 10360, 10270, 7443, 278, 2089, 1307, 554, 198, 197, 58, 19, 16, 17, 60, 2656, 364, 46, 5566, 6908, 20448, 6, 2515, 25, 1758, 1110, 8301, 25, 17, 17, 15, 16, 20, 6324, 14939, 6205, 5705, 6345, 72, 62, 17, 15, 17, 17, 12, 15, 20, 10360, 17532, 5566, 6908, 2089, 1307, 554, 198, 197, 58, 19, 16, 18, 60, 2656, 364, 47707, 20448, 6, 2515, 25, 1758, 1110, 8301, 25, 17, 17, 15, 16, 20, 6324, 14939, 6205, 5705, 6345, 72, 62, 17, 15, 17, 17, 12, 15, 20, 10360, 19382, 15579, 2089, 1307, 554, 198, 197, 58, 19, 16, 19, 60, 2656, 364, 50, 45388, 1103, 20448, 6, 2515, 25, 1758, 1110, 8301, 25, 17, 17, 15, 16, 20, 6324, 14939, 6205, 5705, 6345, 72, 62, 17, 15, 17, 17, 12, 15, 20, 10360, 11374, 45388, 1103, 2089, 1307, 554, 198, 197, 58, 19, 16, 20, 60, 2656, 364, 39041, 73, 3101, 20448, 6, 2515, 25, 1758, 1110, 8301, 25, 17, 17, 15, 16, 20, 6324, 14939, 6205, 5705, 6345, 72, 62, 17, 15, 17, 17, 12, 15, 20, 10360, 11374, 301, 73, 3101, 2089, 1307, 554, 198, 197, 58, 19, 16, 21, 60, 2656, 364, 50, 859, 3891, 9145, 6, 2515, 25, 1758, 1110, 8301, 25, 17, 17, 15, 16, 20, 6324, 14939, 6205, 5705, 6345, 72, 62, 17, 15, 17, 17, 12, 15, 20, 10360, 11374, 859, 3891, 62, 32658, 198, 197, 58, 19, 16, 22, 60, 2656, 364, 28684, 6, 2515, 25, 1758, 1110, 8301, 25, 17, 17, 15, 16, 20, 6324, 14939, 6205, 5705, 6345, 72, 62, 17, 15, 17, 17, 12, 15, 20, 10360, 22175, 277, 198, 197, 58, 19, 16, 24, 60, 14496, 364, 3326, 11975, 1248, 39, 35586, 21866, 25, 4710, 151645, 198, 151644, 77091, 198, 13708, 766, 93376, 4226, 3425, 8697, 39946, 20691, 323, 53350, 6272, 25294, 20691, 525, 2176, 7407, 304, 29790, 11, 358, 1184, 311, 1401, 705, 1817, 16733, 13, 576, 2711, 3745, 448, 877, 508, 18, 18, 15, 60, 646, 387, 1483, 311, 2711, 26587, 369, 1817, 16733, 13, 358, 3278, 1191, 553, 15039, 369, 330, 10331, 39946, 20691, 1, 311, 8253, 1181, 3728, 3918, 26865, 397, 73594, 1313, 508, 18, 18, 15, 60, 508, 10331, 39946, 20691, 60, 508, 16, 60, 73594, 151645]
501
+ [INFO:swift] [INPUT] <|im_start|>system
502
+ 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.
503
+
504
+ Here's the information you'll have:
505
+ The user's objective: This is the task you're trying to complete.
506
+ The current web page's accessibility tree: This is a simplified representation of the webpage, providing key information.
507
+ The open tabs: These are the tabs you have open.
508
+ The previous actions: There are the actions you just performed. It may be helpful to track your progress.
509
+
510
+ The actions you can perform fall into several categories:
511
+
512
+ Page Operation Actions:
513
+ `click [id] [content]`: This action clicks on an element with a specific id on the webpage.
514
+ `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.
515
+ `hover [id] [content]`: Hover over an element with id.
516
+ `press [key_comb]`: Simulates the pressing of a key combination on the keyboard (e.g., Ctrl+v).
517
+ `scroll [down|up]`: Scroll the page up or down.
518
+
519
+ Tab Management Actions:
520
+ `new_tab`: Open a new, empty browser tab.
521
+ `tab_focus [tab_index]`: Switch the browser's focus to a specific tab using its index.
522
+ `close_tab`: Close the currently active tab.
523
+
524
+ URL Navigation Actions:
525
+ `goto [url]`: Navigate to a specific URL.
526
+ `go_back`: Navigate to the previously viewed page.
527
+ `go_forward`: Navigate to the next page (if a previous 'go_back' action was performed).
528
+
529
+ Completion Action:
530
+ `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.
531
+
532
+ To be successful, it is very important to follow the following rules:
533
+ 1. You should only issue an action that is valid given the current observation.
534
+ 2. You should only issue one action at a time.
535
+ 3. You should follow the examples to reason step by step and then issue the next action.
536
+ 4. You should refer to historical actions when issue an action and try not to make repetitive actions
537
+ 5. All reasoning must be inside `<think></think>` tags, and there must be no output before `<think></think>`.
538
+ 6. After `<think></think>`, only the action should be generated in the correct format, enclosed in code fences. For example:
539
+ <think>This button looks relevant to my goal. Clicking it should take me to the next step.</think>
540
+ ```click [id] [content]```
541
+ 7. Issue the stop action when you think you have achieved the objective. Don’t generate anything after stop.
542
+ 8. Always format actions correctly:
543
+ ```command [parameters]```
544
+ For example, if searching for ""death row inmates in the US"" in a search field with ID `21`, correctly format it as:
545
+ ```type [21] [death row inmates in the US] [1]```
546
+ Avoid incorrect formats that omit brackets around parameters or numeric values.
547
+ <|im_end|>
548
+ <|im_start|>user
549
+
550
+ Objective: Are Blue Grass Airport and Knox County Regional Airport both located in the state of Maine, United States?
551
+ Observation: [292] RootWebArea 'User:The other Kiwix guy/Landing' focused: True url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/A/User:The_other_Kiwix_guy/Landing
552
+ [330] textbox "Search 'Wikipedia'" required: False
553
+ [336] link 'Go to welcome page' url: http://localhost:22015/
554
+ [337] button '🏠'
555
+ [338] link "Go to the main page of 'Wikipedia'" url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/
556
+ [339] button 'Wikipedia'
557
+ [340] link 'Go to a randomly selected page' url: http://localhost:22015/random?content=wikipedia_en_all_maxi_2022-05
558
+ [341] button '🎲'
559
+ [3] StaticText 'Welcome to '
560
+ [352] link 'Wikipedia' url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/A/Wikipedia
561
+ [5] StaticText 'The free encyclopedia.'
562
+ [6] StaticText '6,489,052'
563
+ [7] StaticText ' articles in '
564
+ [358] link 'English' url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/A/English_Wikipedia
565
+ [360] heading 'Arts'
566
+ [362] link 'Architecture' url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/A/Architecture
567
+ [363] link 'Books' url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/A/Books
568
+ [364] link 'Cinematography' url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/A/Cinematography
569
+ [365] link 'Dance' url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/A/Dance
570
+ [296] link 'Design' url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/A/Design
571
+ [366] link 'Fashion' url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/A/Fashion
572
+ [367] link 'Films' url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/A/Films
573
+ [368] link 'Gastronomy' url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/A/Gastronomy
574
+ [369] link 'Literature' url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/A/Literature
575
+ [370] link 'Magic (illusion)' url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/A/Magic_(illusion)
576
+ [371] link 'Music' url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/A/Music
577
+ [372] link 'Painting' url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/A/Painting
578
+ [373] link 'Photography' url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/A/Photography
579
+ [374] link 'Poetry' url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/A/Poetry
580
+ [375] link 'Sculpture' url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/A/Sculpture
581
+ [376] link 'Theatre' url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/A/Theatre
582
+ [378] heading 'Geography'
583
+ [380] link 'Africa' url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/A/Africa
584
+ [381] link 'Antarctica' url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/A/Antarctica
585
+ [382] link 'Arctic' url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/A/Arctic
586
+ [383] link 'Asia' url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/A/Asia
587
+ [384] link 'Caribbean' url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/A/Caribbean
588
+ [385] link 'Central America' url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/A/Central_America
589
+ [386] link 'Europe' url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/A/Europe
590
+ [387] link 'Latin America' url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/A/Latin_America
591
+ [388] link 'Mediterranean' url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/A/Mediterranean
592
+ [389] link 'Middle East' url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/A/Middle_East
593
+ [390] link 'North America' url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/A/North_America
594
+ [391] link 'Oceania' url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/A/Oceania
595
+ [392] link 'South America' url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/A/South_America
596
+ [393] link 'Cartography' url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/A/Cartography
597
+ [395] heading 'History'
598
+ [397] link 'Ancient Egypt' url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/A/Ancient_Egypt
599
+ [398] link 'Ancient Greece' url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/A/Ancient_Greece
600
+ [399] link 'Ancient Near East' url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/A/Ancient_Near_East
601
+ [400] link 'Ancient Rome' url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/A/Ancient_Rome
602
+ [401] link 'Archaeology' url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/A/Archaeology
603
+ [402] link 'British Empire' url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/A/British_Empire
604
+ [403] link 'Byzantine Empire' url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/A/Byzantine_Empire
605
+ [404] link 'Colonialism' url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/A/Colonialism
606
+ [405] link 'Crusades' url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/A/Crusades
607
+ [406] link 'Heraldry' url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/A/Heraldry
608
+ [407] link 'History of science' url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/A/History_of_science
609
+ [295] link 'Imperial China' url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/A/History_of_China#Imperial_China
610
+ [408] link 'Indian independence movement' url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/A/Indian_independence_movement
611
+ [409] link 'Japan' url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/A/History_of_Japan
612
+ [410] link 'Middle Ages' url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/A/Middle_Ages
613
+ [411] link 'Mughal Empire' url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/A/Mughal_Empire
614
+ [412] link 'Ottoman Empire' url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/A/Ottoman_Empire
615
+ [413] link 'Russian Empire' url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/A/Russian_Empire
616
+ [414] link 'Sasanian Empire' url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/A/Sasanian_Empire
617
+ [415] link 'Seljuk Empire' url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/A/Seljuk_Empire
618
+ [416] link 'Soviet Union' url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/A/Soviet_Union
619
+ [417] link 'War' url: http://localhost:22015/wikipedia_en_all_maxi_2022-05/A/War
620
+ [419] heading 'Sciences'
621
+ HISTORY_ACTION:
622
+
623
+ <|im_end|>
624
+ <|im_start|>assistant
625
+ <think>To answer whether Blue Grass Airport and Knox County Regional Airport are both located in Maine, I need to look up each airport. The search box with id [330] can be used to search Wikipedia for each airport. I'll start by searching for "Blue Grass Airport" to determine its location.</think>
626
+ ```type [330] [Blue Grass Airport] [1]```<|im_end|>
627
+ [INFO:swift] [LABELS_IDS] [-100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 13708, 766, 93376, 4226, 3425, 8697, 39946, 20691, 323, 53350, 6272, 25294, 20691, 525, 2176, 7407, 304, 29790, 11, 358, 1184, 311, 1401, 705, 1817, 16733, 13, 576, 2711, 3745, 448, 877, 508, 18, 18, 15, 60, 646, 387, 1483, 311, 2711, 26587, 369, 1817, 16733, 13, 358, 3278, 1191, 553, 15039, 369, 330, 10331, 39946, 20691, 1, 311, 8253, 1181, 3728, 3918, 26865, 397, 73594, 1313, 508, 18, 18, 15, 60, 508, 10331, 39946, 20691, 60, 508, 16, 60, 73594, 151645]
628
+ [INFO:swift] [LABELS] [-100 * 3341]<think>To answer whether Blue Grass Airport and Knox County Regional Airport are both located in Maine, I need to look up each airport. The search box with id [330] can be used to search Wikipedia for each airport. I'll start by searching for "Blue Grass Airport" to determine its location.</think>
629
+ ```type [330] [Blue Grass Airport] [1]```<|im_end|>
630
+ [INFO:swift] Dataset Token Length: 2825.342123±894.556689, min=828.000000, max=13246.000000, size=28291
631
+ [INFO:swift] Dataset Token Length: 2729.076923±777.734922, min=894.000000, max=4016.000000, size=26
632
+ [INFO:swift] The TrainArguments will be saved in: /group/40143/hongzhuyi/ms-swift/output/v0-20250917-010604/args.json
633
+ [INFO:swift] model: Qwen2ForCausalLM(
634
+ (model): Qwen2Model(
635
+ (embed_tokens): Embedding(152064, 3584)
636
+ (layers): ModuleList(
637
+ (0-27): 28 x Qwen2DecoderLayer(
638
+ (self_attn): Qwen2Attention(
639
+ (q_proj): Linear(in_features=3584, out_features=3584, bias=True)
640
+ (k_proj): Linear(in_features=3584, out_features=512, bias=True)
641
+ (v_proj): Linear(in_features=3584, out_features=512, bias=True)
642
+ (o_proj): Linear(in_features=3584, out_features=3584, bias=False)
643
+ )
644
+ (mlp): Qwen2MLP(
645
+ (gate_proj): Linear(in_features=3584, out_features=18944, bias=False)
646
+ (up_proj): Linear(in_features=3584, out_features=18944, bias=False)
647
+ (down_proj): Linear(in_features=18944, out_features=3584, bias=False)
648
+ (act_fn): SiLU()
649
+ )
650
+ (input_layernorm): Qwen2RMSNorm((0,), eps=1e-06)
651
+ (post_attention_layernorm): Qwen2RMSNorm((0,), eps=1e-06)
652
+ )
653
+ )
654
+ (norm): Qwen2RMSNorm((0,), eps=1e-06)
655
+ (rotary_emb): Qwen2RotaryEmbedding()
656
+ )
657
+ (lm_head): Linear(in_features=3584, out_features=152064, bias=False)
658
+ )
659
+ [INFO:swift] model_parameter_info: Qwen2ForCausalLM: 7615.6165M Params (7615.6165M Trainable [100.0000%]), 0.0001M Buffers.
660
+ /group/40143/hongzhuyi/ms-swift/swift/trainers/mixin.py:104: FutureWarning: `tokenizer` is deprecated and will be removed in version 5.0.0 for `Seq2SeqTrainer.__init__`. Use `processing_class` instead.
661
+ super().__init__(
662
+ /group/40143/hongzhuyi/ms-swift/swift/trainers/mixin.py:104: FutureWarning: `tokenizer` is deprecated and will be removed in version 5.0.0 for `Seq2SeqTrainer.__init__`. Use `processing_class` instead.
663
+ super().__init__(
664
+ /group/40143/hongzhuyi/ms-swift/swift/trainers/mixin.py:104: FutureWarning: `tokenizer` is deprecated and will be removed in version 5.0.0 for `Seq2SeqTrainer.__init__`. Use `processing_class` instead.
665
+ super().__init__(
666
+ /group/40143/hongzhuyi/ms-swift/swift/trainers/mixin.py:104: FutureWarning: `tokenizer` is deprecated and will be removed in version 5.0.0 for `Seq2SeqTrainer.__init__`. Use `processing_class` instead.
667
+ super().__init__(
668
+ /group/40143/hongzhuyi/ms-swift/swift/trainers/mixin.py:104: FutureWarning: `tokenizer` is deprecated and will be removed in version 5.0.0 for `Seq2SeqTrainer.__init__`. Use `processing_class` instead.
669
+ super().__init__(
670
+ /group/40143/hongzhuyi/ms-swift/swift/trainers/mixin.py:104: FutureWarning: `tokenizer` is deprecated and will be removed in version 5.0.0 for `Seq2SeqTrainer.__init__`. Use `processing_class` instead.
671
+ super().__init__(
672
+ /group/40143/hongzhuyi/ms-swift/swift/trainers/mixin.py:104: FutureWarning: `tokenizer` is deprecated and will be removed in version 5.0.0 for `Seq2SeqTrainer.__init__`. Use `processing_class` instead.
673
+ super().__init__(
674
+ /group/40143/hongzhuyi/ms-swift/swift/trainers/mixin.py:104: FutureWarning: `tokenizer` is deprecated and will be removed in version 5.0.0 for `Seq2SeqTrainer.__init__`. Use `processing_class` instead.
675
+ super().__init__(
676
+ Detected kernel version 5.4.241, which is below the recommended minimum of 5.5.0; this can cause the process to hang. It is recommended to upgrade the kernel to the minimum version or higher.
677
+ [INFO:swift] use_reentrant: True
678
+ [INFO:swift] The logging file will be saved in: /group/40143/hongzhuyi/ms-swift/output/v0-20250917-010604/logging.jsonl
679
+ Parameter Offload: Total persistent parameters: 333312 in 141 params
680
+
681
+
682
 
683
+
log/20250917-01:08:23.log ADDED
The diff for this file is too large to render. See raw diff
 
qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/args.json ADDED
@@ -0,0 +1,381 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "output_dir": "/group/40143/hongzhuyi/ms-swift/output/v1-20250917-010849",
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": 2,
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": 4,
14
+ "eval_accumulation_steps": null,
15
+ "eval_delay": 0,
16
+ "torch_empty_cache_steps": null,
17
+ "learning_rate": 5e-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": 2.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/v1-20250917-010849/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": 2000.0,
65
+ "dataloader_num_workers": 48,
66
+ "dataloader_prefetch_factor": null,
67
+ "past_index": -1,
68
+ "run_name": "/group/40143/hongzhuyi/ms-swift/output/v1-20250917-010849",
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",
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
+ "gradient_checkpointing": true,
148
+ "gradient_checkpointing_kwargs": null,
149
+ "include_inputs_for_metrics": false,
150
+ "include_for_metrics": [],
151
+ "eval_do_concat_batches": true,
152
+ "fp16_backend": "auto",
153
+ "push_to_hub_model_id": null,
154
+ "push_to_hub_organization": null,
155
+ "push_to_hub_token": null,
156
+ "mp_parameters": "",
157
+ "auto_find_batch_size": false,
158
+ "full_determinism": false,
159
+ "torchdynamo": null,
160
+ "ray_scope": "last",
161
+ "ddp_timeout": 18000000,
162
+ "torch_compile": false,
163
+ "torch_compile_backend": null,
164
+ "torch_compile_mode": null,
165
+ "include_tokens_per_second": false,
166
+ "include_num_input_tokens_seen": false,
167
+ "neftune_noise_alpha": null,
168
+ "optim_target_modules": null,
169
+ "batch_eval_metrics": false,
170
+ "eval_on_start": false,
171
+ "use_liger_kernel": false,
172
+ "eval_use_gather_object": false,
173
+ "average_tokens_across_devices": false,
174
+ "sortish_sampler": false,
175
+ "predict_with_generate": false,
176
+ "generation_max_length": null,
177
+ "generation_num_beams": null,
178
+ "generation_config": null,
179
+ "tuner_backend": "peft",
180
+ "vit_gradient_checkpointing": null,
181
+ "router_aux_loss_coef": 0.0,
182
+ "enable_dft_loss": false,
183
+ "check_model": true,
184
+ "acc_strategy": "token",
185
+ "train_dataloader_shuffle": true,
186
+ "max_epochs": null,
187
+ "aligner_lr": null,
188
+ "vit_lr": null,
189
+ "use_logits_to_keep": null,
190
+ "channels": null,
191
+ "ds3_gather_for_generation": true,
192
+ "resume_only_model": false,
193
+ "optimizer": null,
194
+ "loss_type": null,
195
+ "metric": null,
196
+ "eval_use_evalscope": false,
197
+ "eval_dataset": [],
198
+ "eval_dataset_args": null,
199
+ "eval_limit": null,
200
+ "eval_generation_config": null,
201
+ "extra_eval_args": null,
202
+ "use_flash_ckpt": false,
203
+ "model": "Qwen/Qwen2.5-7B-Instruct",
204
+ "model_type": "qwen2_5",
205
+ "model_revision": null,
206
+ "task_type": "causal_lm",
207
+ "torch_dtype": "bfloat16",
208
+ "attn_impl": null,
209
+ "new_special_tokens": [],
210
+ "num_labels": null,
211
+ "problem_type": null,
212
+ "rope_scaling": null,
213
+ "device_map": null,
214
+ "max_memory": {},
215
+ "max_model_len": null,
216
+ "local_repo_path": null,
217
+ "init_strategy": null,
218
+ "template": "qwen2_5",
219
+ "system": null,
220
+ "max_length": 16240,
221
+ "truncation_strategy": "delete",
222
+ "max_pixels": null,
223
+ "agent_template": null,
224
+ "norm_bbox": null,
225
+ "use_chat_template": true,
226
+ "padding_free": false,
227
+ "padding_side": "right",
228
+ "loss_scale": "default",
229
+ "sequence_parallel_size": 1,
230
+ "response_prefix": null,
231
+ "template_backend": "swift",
232
+ "dataset": [
233
+ "./corr_nq_2000q_hotpot_2000q_swift.jsonl",
234
+ "./corr_hotpot_new1369q_format_swift.jsonl",
235
+ "./self_2000_2000_1369_4_hp673_swift.jsonl",
236
+ "./self_2000_2000_1369_4_nq400_noinfo_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='/root/.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 0x7ff10cefadd0>, 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": "/root/.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/v1-20250917-010849', 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=2, per_device_eval_batch_size=1, per_gpu_train_batch_size=None, per_gpu_eval_batch_size=None, gradient_accumulation_steps=4, eval_accumulation_steps=None, eval_delay=0, torch_empty_cache_steps=None, learning_rate=5e-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=2.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/v1-20250917-010849/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=2000.0, dataloader_num_workers=48, dataloader_prefetch_factor=10, past_index=-1, run_name='/group/40143/hongzhuyi/ms-swift/output/v1-20250917-010849', 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: 'adamw_torch'>, 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, 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, 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-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-442/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-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-442/args.json ADDED
@@ -0,0 +1,381 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "output_dir": "/group/40143/hongzhuyi/ms-swift/output/v1-20250917-010849",
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": 2,
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": 4,
14
+ "eval_accumulation_steps": null,
15
+ "eval_delay": 0,
16
+ "torch_empty_cache_steps": null,
17
+ "learning_rate": 5e-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": 2.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/v1-20250917-010849/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": 2000.0,
65
+ "dataloader_num_workers": 48,
66
+ "dataloader_prefetch_factor": null,
67
+ "past_index": -1,
68
+ "run_name": "/group/40143/hongzhuyi/ms-swift/output/v1-20250917-010849",
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",
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
+ "gradient_checkpointing": true,
148
+ "gradient_checkpointing_kwargs": null,
149
+ "include_inputs_for_metrics": false,
150
+ "include_for_metrics": [],
151
+ "eval_do_concat_batches": true,
152
+ "fp16_backend": "auto",
153
+ "push_to_hub_model_id": null,
154
+ "push_to_hub_organization": null,
155
+ "push_to_hub_token": null,
156
+ "mp_parameters": "",
157
+ "auto_find_batch_size": false,
158
+ "full_determinism": false,
159
+ "torchdynamo": null,
160
+ "ray_scope": "last",
161
+ "ddp_timeout": 18000000,
162
+ "torch_compile": false,
163
+ "torch_compile_backend": null,
164
+ "torch_compile_mode": null,
165
+ "include_tokens_per_second": false,
166
+ "include_num_input_tokens_seen": false,
167
+ "neftune_noise_alpha": null,
168
+ "optim_target_modules": null,
169
+ "batch_eval_metrics": false,
170
+ "eval_on_start": false,
171
+ "use_liger_kernel": false,
172
+ "eval_use_gather_object": false,
173
+ "average_tokens_across_devices": false,
174
+ "sortish_sampler": false,
175
+ "predict_with_generate": false,
176
+ "generation_max_length": null,
177
+ "generation_num_beams": null,
178
+ "generation_config": null,
179
+ "tuner_backend": "peft",
180
+ "vit_gradient_checkpointing": null,
181
+ "router_aux_loss_coef": 0.0,
182
+ "enable_dft_loss": false,
183
+ "check_model": true,
184
+ "acc_strategy": "token",
185
+ "train_dataloader_shuffle": true,
186
+ "max_epochs": null,
187
+ "aligner_lr": null,
188
+ "vit_lr": null,
189
+ "use_logits_to_keep": null,
190
+ "channels": null,
191
+ "ds3_gather_for_generation": true,
192
+ "resume_only_model": false,
193
+ "optimizer": null,
194
+ "loss_type": null,
195
+ "metric": null,
196
+ "eval_use_evalscope": false,
197
+ "eval_dataset": [],
198
+ "eval_dataset_args": null,
199
+ "eval_limit": null,
200
+ "eval_generation_config": null,
201
+ "extra_eval_args": null,
202
+ "use_flash_ckpt": false,
203
+ "model": "Qwen/Qwen2.5-7B-Instruct",
204
+ "model_type": "qwen2_5",
205
+ "model_revision": null,
206
+ "task_type": "causal_lm",
207
+ "torch_dtype": "bfloat16",
208
+ "attn_impl": null,
209
+ "new_special_tokens": [],
210
+ "num_labels": null,
211
+ "problem_type": null,
212
+ "rope_scaling": null,
213
+ "device_map": null,
214
+ "max_memory": {},
215
+ "max_model_len": null,
216
+ "local_repo_path": null,
217
+ "init_strategy": null,
218
+ "template": "qwen2_5",
219
+ "system": null,
220
+ "max_length": 16240,
221
+ "truncation_strategy": "delete",
222
+ "max_pixels": null,
223
+ "agent_template": null,
224
+ "norm_bbox": null,
225
+ "use_chat_template": true,
226
+ "padding_free": false,
227
+ "padding_side": "right",
228
+ "loss_scale": "default",
229
+ "sequence_parallel_size": 1,
230
+ "response_prefix": null,
231
+ "template_backend": "swift",
232
+ "dataset": [
233
+ "./corr_nq_2000q_hotpot_2000q_swift.jsonl",
234
+ "./corr_hotpot_new1369q_format_swift.jsonl",
235
+ "./self_2000_2000_1369_4_hp673_swift.jsonl",
236
+ "./self_2000_2000_1369_4_nq400_noinfo_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='/root/.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 0x7ff10cefadd0>, 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": "/root/.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/v1-20250917-010849', 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=2, per_device_eval_batch_size=1, per_gpu_train_batch_size=None, per_gpu_eval_batch_size=None, gradient_accumulation_steps=4, eval_accumulation_steps=None, eval_delay=0, torch_empty_cache_steps=None, learning_rate=5e-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=2.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/v1-20250917-010849/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=2000.0, dataloader_num_workers=48, dataloader_prefetch_factor=10, past_index=-1, run_name='/group/40143/hongzhuyi/ms-swift/output/v1-20250917-010849', 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: 'adamw_torch'>, 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, 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, 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-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-442/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-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-442/config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "max_position_embeddings": 32768,
13
+ "max_window_layers": 28,
14
+ "model_type": "qwen2",
15
+ "num_attention_heads": 28,
16
+ "num_hidden_layers": 28,
17
+ "num_key_value_heads": 4,
18
+ "pad_token_id": 151643,
19
+ "rms_norm_eps": 1e-06,
20
+ "rope_scaling": null,
21
+ "rope_theta": 1000000.0,
22
+ "sliding_window": 131072,
23
+ "tie_word_embeddings": false,
24
+ "torch_dtype": "bfloat16",
25
+ "transformers_version": "4.52.4",
26
+ "use_cache": false,
27
+ "use_sliding_window": false,
28
+ "vocab_size": 152064
29
+ }
qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-442/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.52.4"
14
+ }
qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-442/latest ADDED
@@ -0,0 +1 @@
 
 
1
+ global_step442
qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-442/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-442/model-00001-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cb00559195bdcae002fe821494eb1d9237a76ad6cbd7d59b99f1fab499dc75ec
3
+ size 4877660776
qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-442/model-00002-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:62216357d84251ea17539a86439105702f3cab88d1d7a9aacc545d7d321d1dfe
3
+ size 4932751008
qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-442/model-00003-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:beb14acd13b2ed0137eb28c5dd26ac14cfc5511429aa2f8bb8d7421b2ac3e686
3
+ size 4330865200
qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-442/model-00004-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ab64541e2b65e08fc531cba0e5a6e744a574d1ee329c31fbba6122af17734a8a
3
+ size 1089994880
qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-442/model.safetensors.index.json ADDED
@@ -0,0 +1,346 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "metadata": {
3
+ "total_size": 15231233024
4
+ },
5
+ "weight_map": {
6
+ "lm_head.weight": "model-00004-of-00004.safetensors",
7
+ "model.embed_tokens.weight": "model-00001-of-00004.safetensors",
8
+ "model.layers.0.input_layernorm.weight": "model-00001-of-00004.safetensors",
9
+ "model.layers.0.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
10
+ "model.layers.0.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
11
+ "model.layers.0.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
12
+ "model.layers.0.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
13
+ "model.layers.0.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
14
+ "model.layers.0.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
15
+ "model.layers.0.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
16
+ "model.layers.0.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
17
+ "model.layers.0.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
18
+ "model.layers.0.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
19
+ "model.layers.0.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
20
+ "model.layers.1.input_layernorm.weight": "model-00001-of-00004.safetensors",
21
+ "model.layers.1.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
22
+ "model.layers.1.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
23
+ "model.layers.1.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
24
+ "model.layers.1.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
25
+ "model.layers.1.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
26
+ "model.layers.1.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
27
+ "model.layers.1.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
28
+ "model.layers.1.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
29
+ "model.layers.1.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
30
+ "model.layers.1.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
31
+ "model.layers.1.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
32
+ "model.layers.10.input_layernorm.weight": "model-00002-of-00004.safetensors",
33
+ "model.layers.10.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
34
+ "model.layers.10.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
35
+ "model.layers.10.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
36
+ "model.layers.10.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
37
+ "model.layers.10.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
38
+ "model.layers.10.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
39
+ "model.layers.10.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
40
+ "model.layers.10.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
41
+ "model.layers.10.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
42
+ "model.layers.10.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
43
+ "model.layers.10.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
44
+ "model.layers.11.input_layernorm.weight": "model-00002-of-00004.safetensors",
45
+ "model.layers.11.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
46
+ "model.layers.11.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
47
+ "model.layers.11.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
48
+ "model.layers.11.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
49
+ "model.layers.11.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
50
+ "model.layers.11.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
51
+ "model.layers.11.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
52
+ "model.layers.11.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
53
+ "model.layers.11.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
54
+ "model.layers.11.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
55
+ "model.layers.11.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
56
+ "model.layers.12.input_layernorm.weight": "model-00002-of-00004.safetensors",
57
+ "model.layers.12.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
58
+ "model.layers.12.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
59
+ "model.layers.12.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
60
+ "model.layers.12.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
61
+ "model.layers.12.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
62
+ "model.layers.12.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
63
+ "model.layers.12.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
64
+ "model.layers.12.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
65
+ "model.layers.12.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
66
+ "model.layers.12.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
67
+ "model.layers.12.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
68
+ "model.layers.13.input_layernorm.weight": "model-00002-of-00004.safetensors",
69
+ "model.layers.13.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
70
+ "model.layers.13.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
71
+ "model.layers.13.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
72
+ "model.layers.13.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
73
+ "model.layers.13.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
74
+ "model.layers.13.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
75
+ "model.layers.13.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
76
+ "model.layers.13.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
77
+ "model.layers.13.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
78
+ "model.layers.13.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
79
+ "model.layers.13.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
80
+ "model.layers.14.input_layernorm.weight": "model-00002-of-00004.safetensors",
81
+ "model.layers.14.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
82
+ "model.layers.14.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
83
+ "model.layers.14.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
84
+ "model.layers.14.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
85
+ "model.layers.14.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
86
+ "model.layers.14.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
87
+ "model.layers.14.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
88
+ "model.layers.14.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
89
+ "model.layers.14.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
90
+ "model.layers.14.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
91
+ "model.layers.14.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
92
+ "model.layers.15.input_layernorm.weight": "model-00002-of-00004.safetensors",
93
+ "model.layers.15.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
94
+ "model.layers.15.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
95
+ "model.layers.15.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
96
+ "model.layers.15.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
97
+ "model.layers.15.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
98
+ "model.layers.15.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
99
+ "model.layers.15.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
100
+ "model.layers.15.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
101
+ "model.layers.15.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
102
+ "model.layers.15.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
103
+ "model.layers.15.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
104
+ "model.layers.16.input_layernorm.weight": "model-00002-of-00004.safetensors",
105
+ "model.layers.16.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
106
+ "model.layers.16.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
107
+ "model.layers.16.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
108
+ "model.layers.16.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
109
+ "model.layers.16.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
110
+ "model.layers.16.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
111
+ "model.layers.16.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
112
+ "model.layers.16.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
113
+ "model.layers.16.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
114
+ "model.layers.16.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
115
+ "model.layers.16.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
116
+ "model.layers.17.input_layernorm.weight": "model-00002-of-00004.safetensors",
117
+ "model.layers.17.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
118
+ "model.layers.17.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
119
+ "model.layers.17.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
120
+ "model.layers.17.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
121
+ "model.layers.17.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
122
+ "model.layers.17.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
123
+ "model.layers.17.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
124
+ "model.layers.17.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
125
+ "model.layers.17.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
126
+ "model.layers.17.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
127
+ "model.layers.17.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
128
+ "model.layers.18.input_layernorm.weight": "model-00003-of-00004.safetensors",
129
+ "model.layers.18.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
130
+ "model.layers.18.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
131
+ "model.layers.18.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
132
+ "model.layers.18.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
133
+ "model.layers.18.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
134
+ "model.layers.18.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
135
+ "model.layers.18.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
136
+ "model.layers.18.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
137
+ "model.layers.18.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
138
+ "model.layers.18.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
139
+ "model.layers.18.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
140
+ "model.layers.19.input_layernorm.weight": "model-00003-of-00004.safetensors",
141
+ "model.layers.19.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
142
+ "model.layers.19.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
143
+ "model.layers.19.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
144
+ "model.layers.19.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
145
+ "model.layers.19.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
146
+ "model.layers.19.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
147
+ "model.layers.19.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
148
+ "model.layers.19.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
149
+ "model.layers.19.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
150
+ "model.layers.19.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
151
+ "model.layers.19.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
152
+ "model.layers.2.input_layernorm.weight": "model-00001-of-00004.safetensors",
153
+ "model.layers.2.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
154
+ "model.layers.2.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
155
+ "model.layers.2.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
156
+ "model.layers.2.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
157
+ "model.layers.2.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
158
+ "model.layers.2.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
159
+ "model.layers.2.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
160
+ "model.layers.2.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
161
+ "model.layers.2.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
162
+ "model.layers.2.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
163
+ "model.layers.2.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
164
+ "model.layers.20.input_layernorm.weight": "model-00003-of-00004.safetensors",
165
+ "model.layers.20.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
166
+ "model.layers.20.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
167
+ "model.layers.20.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
168
+ "model.layers.20.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
169
+ "model.layers.20.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
170
+ "model.layers.20.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
171
+ "model.layers.20.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
172
+ "model.layers.20.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
173
+ "model.layers.20.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
174
+ "model.layers.20.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
175
+ "model.layers.20.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
176
+ "model.layers.21.input_layernorm.weight": "model-00003-of-00004.safetensors",
177
+ "model.layers.21.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
178
+ "model.layers.21.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
179
+ "model.layers.21.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
180
+ "model.layers.21.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
181
+ "model.layers.21.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
182
+ "model.layers.21.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
183
+ "model.layers.21.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
184
+ "model.layers.21.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
185
+ "model.layers.21.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
186
+ "model.layers.21.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
187
+ "model.layers.21.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
188
+ "model.layers.22.input_layernorm.weight": "model-00003-of-00004.safetensors",
189
+ "model.layers.22.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
190
+ "model.layers.22.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
191
+ "model.layers.22.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
192
+ "model.layers.22.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
193
+ "model.layers.22.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
194
+ "model.layers.22.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
195
+ "model.layers.22.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
196
+ "model.layers.22.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
197
+ "model.layers.22.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
198
+ "model.layers.22.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
199
+ "model.layers.22.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
200
+ "model.layers.23.input_layernorm.weight": "model-00003-of-00004.safetensors",
201
+ "model.layers.23.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
202
+ "model.layers.23.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
203
+ "model.layers.23.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
204
+ "model.layers.23.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
205
+ "model.layers.23.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
206
+ "model.layers.23.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
207
+ "model.layers.23.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
208
+ "model.layers.23.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
209
+ "model.layers.23.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
210
+ "model.layers.23.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
211
+ "model.layers.23.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
212
+ "model.layers.24.input_layernorm.weight": "model-00003-of-00004.safetensors",
213
+ "model.layers.24.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
214
+ "model.layers.24.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
215
+ "model.layers.24.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
216
+ "model.layers.24.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
217
+ "model.layers.24.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
218
+ "model.layers.24.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
219
+ "model.layers.24.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
220
+ "model.layers.24.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
221
+ "model.layers.24.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
222
+ "model.layers.24.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
223
+ "model.layers.24.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
224
+ "model.layers.25.input_layernorm.weight": "model-00003-of-00004.safetensors",
225
+ "model.layers.25.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
226
+ "model.layers.25.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
227
+ "model.layers.25.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
228
+ "model.layers.25.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
229
+ "model.layers.25.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
230
+ "model.layers.25.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
231
+ "model.layers.25.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
232
+ "model.layers.25.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
233
+ "model.layers.25.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
234
+ "model.layers.25.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
235
+ "model.layers.25.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
236
+ "model.layers.26.input_layernorm.weight": "model-00003-of-00004.safetensors",
237
+ "model.layers.26.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
238
+ "model.layers.26.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
239
+ "model.layers.26.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
240
+ "model.layers.26.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
241
+ "model.layers.26.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
242
+ "model.layers.26.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
243
+ "model.layers.26.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
244
+ "model.layers.26.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
245
+ "model.layers.26.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
246
+ "model.layers.26.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
247
+ "model.layers.26.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
248
+ "model.layers.27.input_layernorm.weight": "model-00003-of-00004.safetensors",
249
+ "model.layers.27.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
250
+ "model.layers.27.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
251
+ "model.layers.27.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
252
+ "model.layers.27.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
253
+ "model.layers.27.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
254
+ "model.layers.27.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
255
+ "model.layers.27.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
256
+ "model.layers.27.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
257
+ "model.layers.27.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
258
+ "model.layers.27.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
259
+ "model.layers.27.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
260
+ "model.layers.3.input_layernorm.weight": "model-00001-of-00004.safetensors",
261
+ "model.layers.3.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
262
+ "model.layers.3.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
263
+ "model.layers.3.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
264
+ "model.layers.3.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
265
+ "model.layers.3.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
266
+ "model.layers.3.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
267
+ "model.layers.3.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
268
+ "model.layers.3.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
269
+ "model.layers.3.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
270
+ "model.layers.3.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
271
+ "model.layers.3.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
272
+ "model.layers.4.input_layernorm.weight": "model-00001-of-00004.safetensors",
273
+ "model.layers.4.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
274
+ "model.layers.4.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
275
+ "model.layers.4.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
276
+ "model.layers.4.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
277
+ "model.layers.4.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
278
+ "model.layers.4.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
279
+ "model.layers.4.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
280
+ "model.layers.4.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
281
+ "model.layers.4.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
282
+ "model.layers.4.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
283
+ "model.layers.4.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
284
+ "model.layers.5.input_layernorm.weight": "model-00001-of-00004.safetensors",
285
+ "model.layers.5.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
286
+ "model.layers.5.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
287
+ "model.layers.5.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
288
+ "model.layers.5.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
289
+ "model.layers.5.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
290
+ "model.layers.5.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
291
+ "model.layers.5.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
292
+ "model.layers.5.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
293
+ "model.layers.5.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
294
+ "model.layers.5.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
295
+ "model.layers.5.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
296
+ "model.layers.6.input_layernorm.weight": "model-00001-of-00004.safetensors",
297
+ "model.layers.6.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
298
+ "model.layers.6.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
299
+ "model.layers.6.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
300
+ "model.layers.6.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
301
+ "model.layers.6.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
302
+ "model.layers.6.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
303
+ "model.layers.6.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
304
+ "model.layers.6.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
305
+ "model.layers.6.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
306
+ "model.layers.6.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
307
+ "model.layers.6.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
308
+ "model.layers.7.input_layernorm.weight": "model-00001-of-00004.safetensors",
309
+ "model.layers.7.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
310
+ "model.layers.7.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
311
+ "model.layers.7.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
312
+ "model.layers.7.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
313
+ "model.layers.7.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
314
+ "model.layers.7.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
315
+ "model.layers.7.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
316
+ "model.layers.7.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
317
+ "model.layers.7.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
318
+ "model.layers.7.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
319
+ "model.layers.7.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
320
+ "model.layers.8.input_layernorm.weight": "model-00002-of-00004.safetensors",
321
+ "model.layers.8.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
322
+ "model.layers.8.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
323
+ "model.layers.8.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
324
+ "model.layers.8.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
325
+ "model.layers.8.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
326
+ "model.layers.8.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
327
+ "model.layers.8.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
328
+ "model.layers.8.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
329
+ "model.layers.8.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
330
+ "model.layers.8.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
331
+ "model.layers.8.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
332
+ "model.layers.9.input_layernorm.weight": "model-00002-of-00004.safetensors",
333
+ "model.layers.9.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
334
+ "model.layers.9.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
335
+ "model.layers.9.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
336
+ "model.layers.9.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
337
+ "model.layers.9.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
338
+ "model.layers.9.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
339
+ "model.layers.9.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
340
+ "model.layers.9.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
341
+ "model.layers.9.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
342
+ "model.layers.9.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
343
+ "model.layers.9.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
344
+ "model.norm.weight": "model-00003-of-00004.safetensors"
345
+ }
346
+ }
qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-442/rng_state_0.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2946430e67d53bbdba29ad82934bbaaedc694d31b613744d3a4e1a1e9a46ba8f
3
+ size 15920
qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-442/rng_state_1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d2f8ffeab37684493e90f06d39e88dd23930f6d4b22434e761cf24eb66c33624
3
+ size 15920
qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-442/rng_state_2.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f3e34f4b25d022859f36dc8565e9864ef89df31dee0b6f28ae330b4505432890
3
+ size 15920
qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-442/rng_state_3.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2c75713cb224376ed36decc995102191568e3ae75807c8df22de6bdfa763f0e1
3
+ size 15920
qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-442/rng_state_4.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6a045b81eb8aff0c6f04e5c1c068c22b50a29b0c3cd0ceb0f7b0633e087645e2
3
+ size 15920
qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-442/rng_state_5.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4fbb9337a1f2ddc7522ae749e74101fdc6408581ff2447c6ce01d1264feaa554
3
+ size 15920
qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-442/rng_state_6.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bd4f55e2919a65fc83570ea3e656aee5c665014b2d4ebb1e757b6604bfa2f91e
3
+ size 15920
qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-442/rng_state_7.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e742eccb95f66543b690641ccc536fb0f2c7f6d2ad1dce55de41ec2f9bcac81a
3
+ size 15920
qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-442/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ff2630676d5ec9bbac4299d6f50e69d59946096fb9c4934d2dee08bf42c4ee94
3
+ size 1064
qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-442/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-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-442/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-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-442/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-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-442/trainer_state.json ADDED
The diff for this file is too large to render. See raw diff
 
qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-442/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:558647f7524296461bdc51d2b8c7e4aa99126054b527b7bc0c51a8244c698977
3
+ size 8568
qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-442/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-442/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-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-884/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-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-884/args.json ADDED
@@ -0,0 +1,381 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "output_dir": "/group/40143/hongzhuyi/ms-swift/output/v1-20250917-010849",
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": 2,
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": 4,
14
+ "eval_accumulation_steps": null,
15
+ "eval_delay": 0,
16
+ "torch_empty_cache_steps": null,
17
+ "learning_rate": 5e-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": 2.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/v1-20250917-010849/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": 2000.0,
65
+ "dataloader_num_workers": 48,
66
+ "dataloader_prefetch_factor": null,
67
+ "past_index": -1,
68
+ "run_name": "/group/40143/hongzhuyi/ms-swift/output/v1-20250917-010849",
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",
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
+ "gradient_checkpointing": true,
148
+ "gradient_checkpointing_kwargs": null,
149
+ "include_inputs_for_metrics": false,
150
+ "include_for_metrics": [],
151
+ "eval_do_concat_batches": true,
152
+ "fp16_backend": "auto",
153
+ "push_to_hub_model_id": null,
154
+ "push_to_hub_organization": null,
155
+ "push_to_hub_token": null,
156
+ "mp_parameters": "",
157
+ "auto_find_batch_size": false,
158
+ "full_determinism": false,
159
+ "torchdynamo": null,
160
+ "ray_scope": "last",
161
+ "ddp_timeout": 18000000,
162
+ "torch_compile": false,
163
+ "torch_compile_backend": null,
164
+ "torch_compile_mode": null,
165
+ "include_tokens_per_second": false,
166
+ "include_num_input_tokens_seen": false,
167
+ "neftune_noise_alpha": null,
168
+ "optim_target_modules": null,
169
+ "batch_eval_metrics": false,
170
+ "eval_on_start": false,
171
+ "use_liger_kernel": false,
172
+ "eval_use_gather_object": false,
173
+ "average_tokens_across_devices": false,
174
+ "sortish_sampler": false,
175
+ "predict_with_generate": false,
176
+ "generation_max_length": null,
177
+ "generation_num_beams": null,
178
+ "generation_config": null,
179
+ "tuner_backend": "peft",
180
+ "vit_gradient_checkpointing": null,
181
+ "router_aux_loss_coef": 0.0,
182
+ "enable_dft_loss": false,
183
+ "check_model": true,
184
+ "acc_strategy": "token",
185
+ "train_dataloader_shuffle": true,
186
+ "max_epochs": null,
187
+ "aligner_lr": null,
188
+ "vit_lr": null,
189
+ "use_logits_to_keep": null,
190
+ "channels": null,
191
+ "ds3_gather_for_generation": true,
192
+ "resume_only_model": false,
193
+ "optimizer": null,
194
+ "loss_type": null,
195
+ "metric": null,
196
+ "eval_use_evalscope": false,
197
+ "eval_dataset": [],
198
+ "eval_dataset_args": null,
199
+ "eval_limit": null,
200
+ "eval_generation_config": null,
201
+ "extra_eval_args": null,
202
+ "use_flash_ckpt": false,
203
+ "model": "Qwen/Qwen2.5-7B-Instruct",
204
+ "model_type": "qwen2_5",
205
+ "model_revision": null,
206
+ "task_type": "causal_lm",
207
+ "torch_dtype": "bfloat16",
208
+ "attn_impl": null,
209
+ "new_special_tokens": [],
210
+ "num_labels": null,
211
+ "problem_type": null,
212
+ "rope_scaling": null,
213
+ "device_map": null,
214
+ "max_memory": {},
215
+ "max_model_len": null,
216
+ "local_repo_path": null,
217
+ "init_strategy": null,
218
+ "template": "qwen2_5",
219
+ "system": null,
220
+ "max_length": 16240,
221
+ "truncation_strategy": "delete",
222
+ "max_pixels": null,
223
+ "agent_template": null,
224
+ "norm_bbox": null,
225
+ "use_chat_template": true,
226
+ "padding_free": false,
227
+ "padding_side": "right",
228
+ "loss_scale": "default",
229
+ "sequence_parallel_size": 1,
230
+ "response_prefix": null,
231
+ "template_backend": "swift",
232
+ "dataset": [
233
+ "./corr_nq_2000q_hotpot_2000q_swift.jsonl",
234
+ "./corr_hotpot_new1369q_format_swift.jsonl",
235
+ "./self_2000_2000_1369_4_hp673_swift.jsonl",
236
+ "./self_2000_2000_1369_4_nq400_noinfo_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='/root/.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 0x7ff10cefadd0>, 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": "/root/.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/v1-20250917-010849', 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=2, per_device_eval_batch_size=1, per_gpu_train_batch_size=None, per_gpu_eval_batch_size=None, gradient_accumulation_steps=4, eval_accumulation_steps=None, eval_delay=0, torch_empty_cache_steps=None, learning_rate=5e-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=2.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/v1-20250917-010849/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=2000.0, dataloader_num_workers=48, dataloader_prefetch_factor=10, past_index=-1, run_name='/group/40143/hongzhuyi/ms-swift/output/v1-20250917-010849', 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: 'adamw_torch'>, 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, 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, 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-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-884/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-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-884/config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "max_position_embeddings": 32768,
13
+ "max_window_layers": 28,
14
+ "model_type": "qwen2",
15
+ "num_attention_heads": 28,
16
+ "num_hidden_layers": 28,
17
+ "num_key_value_heads": 4,
18
+ "pad_token_id": 151643,
19
+ "rms_norm_eps": 1e-06,
20
+ "rope_scaling": null,
21
+ "rope_theta": 1000000.0,
22
+ "sliding_window": 131072,
23
+ "tie_word_embeddings": false,
24
+ "torch_dtype": "bfloat16",
25
+ "transformers_version": "4.52.4",
26
+ "use_cache": false,
27
+ "use_sliding_window": false,
28
+ "vocab_size": 152064
29
+ }
qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-884/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.52.4"
14
+ }
qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-884/latest ADDED
@@ -0,0 +1 @@
 
 
1
+ global_step884
qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-884/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-884/model-00001-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bada0e9c0969c327852f47c3cd9c2c4619dc666657d1e41174aac221005f7e1f
3
+ size 4877660776
qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-884/model-00002-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:521825eec842155dd0242869524842fd490203efb3c96520fe1121e0b50ddbe7
3
+ size 4932751008
qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-884/model-00003-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:58374d61287d22f05a4851a8576182197126102392ce164109aad9633feeac55
3
+ size 4330865200
qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-884/model-00004-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8925faa921ccfc8613a0bb569e555e46e72983094e220dcfc2da37b569f43994
3
+ size 1089994880
qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-884/model.safetensors.index.json ADDED
@@ -0,0 +1,346 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "metadata": {
3
+ "total_size": 15231233024
4
+ },
5
+ "weight_map": {
6
+ "lm_head.weight": "model-00004-of-00004.safetensors",
7
+ "model.embed_tokens.weight": "model-00001-of-00004.safetensors",
8
+ "model.layers.0.input_layernorm.weight": "model-00001-of-00004.safetensors",
9
+ "model.layers.0.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
10
+ "model.layers.0.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
11
+ "model.layers.0.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
12
+ "model.layers.0.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
13
+ "model.layers.0.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
14
+ "model.layers.0.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
15
+ "model.layers.0.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
16
+ "model.layers.0.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
17
+ "model.layers.0.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
18
+ "model.layers.0.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
19
+ "model.layers.0.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
20
+ "model.layers.1.input_layernorm.weight": "model-00001-of-00004.safetensors",
21
+ "model.layers.1.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
22
+ "model.layers.1.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
23
+ "model.layers.1.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
24
+ "model.layers.1.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
25
+ "model.layers.1.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
26
+ "model.layers.1.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
27
+ "model.layers.1.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
28
+ "model.layers.1.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
29
+ "model.layers.1.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
30
+ "model.layers.1.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
31
+ "model.layers.1.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
32
+ "model.layers.10.input_layernorm.weight": "model-00002-of-00004.safetensors",
33
+ "model.layers.10.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
34
+ "model.layers.10.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
35
+ "model.layers.10.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
36
+ "model.layers.10.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
37
+ "model.layers.10.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
38
+ "model.layers.10.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
39
+ "model.layers.10.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
40
+ "model.layers.10.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
41
+ "model.layers.10.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
42
+ "model.layers.10.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
43
+ "model.layers.10.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
44
+ "model.layers.11.input_layernorm.weight": "model-00002-of-00004.safetensors",
45
+ "model.layers.11.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
46
+ "model.layers.11.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
47
+ "model.layers.11.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
48
+ "model.layers.11.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
49
+ "model.layers.11.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
50
+ "model.layers.11.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
51
+ "model.layers.11.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
52
+ "model.layers.11.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
53
+ "model.layers.11.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
54
+ "model.layers.11.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
55
+ "model.layers.11.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
56
+ "model.layers.12.input_layernorm.weight": "model-00002-of-00004.safetensors",
57
+ "model.layers.12.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
58
+ "model.layers.12.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
59
+ "model.layers.12.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
60
+ "model.layers.12.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
61
+ "model.layers.12.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
62
+ "model.layers.12.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
63
+ "model.layers.12.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
64
+ "model.layers.12.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
65
+ "model.layers.12.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
66
+ "model.layers.12.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
67
+ "model.layers.12.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
68
+ "model.layers.13.input_layernorm.weight": "model-00002-of-00004.safetensors",
69
+ "model.layers.13.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
70
+ "model.layers.13.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
71
+ "model.layers.13.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
72
+ "model.layers.13.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
73
+ "model.layers.13.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
74
+ "model.layers.13.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
75
+ "model.layers.13.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
76
+ "model.layers.13.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
77
+ "model.layers.13.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
78
+ "model.layers.13.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
79
+ "model.layers.13.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
80
+ "model.layers.14.input_layernorm.weight": "model-00002-of-00004.safetensors",
81
+ "model.layers.14.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
82
+ "model.layers.14.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
83
+ "model.layers.14.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
84
+ "model.layers.14.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
85
+ "model.layers.14.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
86
+ "model.layers.14.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
87
+ "model.layers.14.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
88
+ "model.layers.14.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
89
+ "model.layers.14.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
90
+ "model.layers.14.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
91
+ "model.layers.14.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
92
+ "model.layers.15.input_layernorm.weight": "model-00002-of-00004.safetensors",
93
+ "model.layers.15.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
94
+ "model.layers.15.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
95
+ "model.layers.15.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
96
+ "model.layers.15.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
97
+ "model.layers.15.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
98
+ "model.layers.15.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
99
+ "model.layers.15.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
100
+ "model.layers.15.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
101
+ "model.layers.15.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
102
+ "model.layers.15.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
103
+ "model.layers.15.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
104
+ "model.layers.16.input_layernorm.weight": "model-00002-of-00004.safetensors",
105
+ "model.layers.16.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
106
+ "model.layers.16.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
107
+ "model.layers.16.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
108
+ "model.layers.16.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
109
+ "model.layers.16.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
110
+ "model.layers.16.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
111
+ "model.layers.16.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
112
+ "model.layers.16.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
113
+ "model.layers.16.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
114
+ "model.layers.16.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
115
+ "model.layers.16.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
116
+ "model.layers.17.input_layernorm.weight": "model-00002-of-00004.safetensors",
117
+ "model.layers.17.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
118
+ "model.layers.17.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
119
+ "model.layers.17.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
120
+ "model.layers.17.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
121
+ "model.layers.17.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
122
+ "model.layers.17.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
123
+ "model.layers.17.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
124
+ "model.layers.17.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
125
+ "model.layers.17.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
126
+ "model.layers.17.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
127
+ "model.layers.17.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
128
+ "model.layers.18.input_layernorm.weight": "model-00003-of-00004.safetensors",
129
+ "model.layers.18.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
130
+ "model.layers.18.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
131
+ "model.layers.18.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
132
+ "model.layers.18.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
133
+ "model.layers.18.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
134
+ "model.layers.18.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
135
+ "model.layers.18.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
136
+ "model.layers.18.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
137
+ "model.layers.18.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
138
+ "model.layers.18.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
139
+ "model.layers.18.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
140
+ "model.layers.19.input_layernorm.weight": "model-00003-of-00004.safetensors",
141
+ "model.layers.19.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
142
+ "model.layers.19.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
143
+ "model.layers.19.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
144
+ "model.layers.19.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
145
+ "model.layers.19.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
146
+ "model.layers.19.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
147
+ "model.layers.19.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
148
+ "model.layers.19.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
149
+ "model.layers.19.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
150
+ "model.layers.19.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
151
+ "model.layers.19.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
152
+ "model.layers.2.input_layernorm.weight": "model-00001-of-00004.safetensors",
153
+ "model.layers.2.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
154
+ "model.layers.2.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
155
+ "model.layers.2.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
156
+ "model.layers.2.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
157
+ "model.layers.2.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
158
+ "model.layers.2.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
159
+ "model.layers.2.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
160
+ "model.layers.2.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
161
+ "model.layers.2.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
162
+ "model.layers.2.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
163
+ "model.layers.2.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
164
+ "model.layers.20.input_layernorm.weight": "model-00003-of-00004.safetensors",
165
+ "model.layers.20.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
166
+ "model.layers.20.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
167
+ "model.layers.20.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
168
+ "model.layers.20.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
169
+ "model.layers.20.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
170
+ "model.layers.20.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
171
+ "model.layers.20.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
172
+ "model.layers.20.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
173
+ "model.layers.20.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
174
+ "model.layers.20.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
175
+ "model.layers.20.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
176
+ "model.layers.21.input_layernorm.weight": "model-00003-of-00004.safetensors",
177
+ "model.layers.21.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
178
+ "model.layers.21.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
179
+ "model.layers.21.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
180
+ "model.layers.21.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
181
+ "model.layers.21.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
182
+ "model.layers.21.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
183
+ "model.layers.21.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
184
+ "model.layers.21.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
185
+ "model.layers.21.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
186
+ "model.layers.21.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
187
+ "model.layers.21.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
188
+ "model.layers.22.input_layernorm.weight": "model-00003-of-00004.safetensors",
189
+ "model.layers.22.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
190
+ "model.layers.22.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
191
+ "model.layers.22.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
192
+ "model.layers.22.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
193
+ "model.layers.22.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
194
+ "model.layers.22.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
195
+ "model.layers.22.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
196
+ "model.layers.22.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
197
+ "model.layers.22.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
198
+ "model.layers.22.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
199
+ "model.layers.22.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
200
+ "model.layers.23.input_layernorm.weight": "model-00003-of-00004.safetensors",
201
+ "model.layers.23.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
202
+ "model.layers.23.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
203
+ "model.layers.23.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
204
+ "model.layers.23.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
205
+ "model.layers.23.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
206
+ "model.layers.23.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
207
+ "model.layers.23.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
208
+ "model.layers.23.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
209
+ "model.layers.23.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
210
+ "model.layers.23.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
211
+ "model.layers.23.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
212
+ "model.layers.24.input_layernorm.weight": "model-00003-of-00004.safetensors",
213
+ "model.layers.24.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
214
+ "model.layers.24.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
215
+ "model.layers.24.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
216
+ "model.layers.24.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
217
+ "model.layers.24.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
218
+ "model.layers.24.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
219
+ "model.layers.24.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
220
+ "model.layers.24.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
221
+ "model.layers.24.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
222
+ "model.layers.24.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
223
+ "model.layers.24.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
224
+ "model.layers.25.input_layernorm.weight": "model-00003-of-00004.safetensors",
225
+ "model.layers.25.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
226
+ "model.layers.25.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
227
+ "model.layers.25.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
228
+ "model.layers.25.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
229
+ "model.layers.25.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
230
+ "model.layers.25.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
231
+ "model.layers.25.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
232
+ "model.layers.25.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
233
+ "model.layers.25.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
234
+ "model.layers.25.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
235
+ "model.layers.25.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
236
+ "model.layers.26.input_layernorm.weight": "model-00003-of-00004.safetensors",
237
+ "model.layers.26.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
238
+ "model.layers.26.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
239
+ "model.layers.26.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
240
+ "model.layers.26.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
241
+ "model.layers.26.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
242
+ "model.layers.26.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
243
+ "model.layers.26.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
244
+ "model.layers.26.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
245
+ "model.layers.26.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
246
+ "model.layers.26.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
247
+ "model.layers.26.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
248
+ "model.layers.27.input_layernorm.weight": "model-00003-of-00004.safetensors",
249
+ "model.layers.27.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
250
+ "model.layers.27.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
251
+ "model.layers.27.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
252
+ "model.layers.27.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
253
+ "model.layers.27.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
254
+ "model.layers.27.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
255
+ "model.layers.27.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
256
+ "model.layers.27.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
257
+ "model.layers.27.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
258
+ "model.layers.27.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
259
+ "model.layers.27.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
260
+ "model.layers.3.input_layernorm.weight": "model-00001-of-00004.safetensors",
261
+ "model.layers.3.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
262
+ "model.layers.3.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
263
+ "model.layers.3.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
264
+ "model.layers.3.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
265
+ "model.layers.3.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
266
+ "model.layers.3.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
267
+ "model.layers.3.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
268
+ "model.layers.3.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
269
+ "model.layers.3.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
270
+ "model.layers.3.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
271
+ "model.layers.3.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
272
+ "model.layers.4.input_layernorm.weight": "model-00001-of-00004.safetensors",
273
+ "model.layers.4.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
274
+ "model.layers.4.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
275
+ "model.layers.4.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
276
+ "model.layers.4.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
277
+ "model.layers.4.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
278
+ "model.layers.4.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
279
+ "model.layers.4.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
280
+ "model.layers.4.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
281
+ "model.layers.4.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
282
+ "model.layers.4.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
283
+ "model.layers.4.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
284
+ "model.layers.5.input_layernorm.weight": "model-00001-of-00004.safetensors",
285
+ "model.layers.5.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
286
+ "model.layers.5.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
287
+ "model.layers.5.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
288
+ "model.layers.5.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
289
+ "model.layers.5.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
290
+ "model.layers.5.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
291
+ "model.layers.5.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
292
+ "model.layers.5.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
293
+ "model.layers.5.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
294
+ "model.layers.5.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
295
+ "model.layers.5.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
296
+ "model.layers.6.input_layernorm.weight": "model-00001-of-00004.safetensors",
297
+ "model.layers.6.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
298
+ "model.layers.6.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
299
+ "model.layers.6.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
300
+ "model.layers.6.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
301
+ "model.layers.6.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
302
+ "model.layers.6.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
303
+ "model.layers.6.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
304
+ "model.layers.6.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
305
+ "model.layers.6.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
306
+ "model.layers.6.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
307
+ "model.layers.6.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
308
+ "model.layers.7.input_layernorm.weight": "model-00001-of-00004.safetensors",
309
+ "model.layers.7.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
310
+ "model.layers.7.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
311
+ "model.layers.7.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
312
+ "model.layers.7.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
313
+ "model.layers.7.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
314
+ "model.layers.7.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
315
+ "model.layers.7.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
316
+ "model.layers.7.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
317
+ "model.layers.7.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
318
+ "model.layers.7.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
319
+ "model.layers.7.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
320
+ "model.layers.8.input_layernorm.weight": "model-00002-of-00004.safetensors",
321
+ "model.layers.8.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
322
+ "model.layers.8.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
323
+ "model.layers.8.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
324
+ "model.layers.8.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
325
+ "model.layers.8.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
326
+ "model.layers.8.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
327
+ "model.layers.8.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
328
+ "model.layers.8.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
329
+ "model.layers.8.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
330
+ "model.layers.8.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
331
+ "model.layers.8.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
332
+ "model.layers.9.input_layernorm.weight": "model-00002-of-00004.safetensors",
333
+ "model.layers.9.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
334
+ "model.layers.9.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
335
+ "model.layers.9.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
336
+ "model.layers.9.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
337
+ "model.layers.9.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
338
+ "model.layers.9.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
339
+ "model.layers.9.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
340
+ "model.layers.9.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
341
+ "model.layers.9.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
342
+ "model.layers.9.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
343
+ "model.layers.9.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
344
+ "model.norm.weight": "model-00003-of-00004.safetensors"
345
+ }
346
+ }
qwen2.5-7b-2225q-2069q-1369q-sft+rft-newbs-old-click-2ep-lr5e-6/checkpoint-884/rng_state_0.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:be8d83c9fcd31bdcada87989659e2f162a31302f3e6d5047820156b69f879c82
3
+ size 15920