Amshaker commited on
Commit
5a4ec80
·
verified ·
1 Parent(s): ccd0a3f

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 +3 -0
  2. qwen3-1.7b-sft-with-k2/README.md +61 -0
  3. qwen3-1.7b-sft-with-k2/added_tokens.json +28 -0
  4. qwen3-1.7b-sft-with-k2/all_results.json +8 -0
  5. qwen3-1.7b-sft-with-k2/chat_template.jinja +85 -0
  6. qwen3-1.7b-sft-with-k2/checkpoint-2451/added_tokens.json +28 -0
  7. qwen3-1.7b-sft-with-k2/checkpoint-2451/chat_template.jinja +85 -0
  8. qwen3-1.7b-sft-with-k2/checkpoint-2451/config.json +30 -0
  9. qwen3-1.7b-sft-with-k2/checkpoint-2451/generation_config.json +6 -0
  10. qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt +3 -0
  11. qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_10_mp_rank_00_optim_states.pt +3 -0
  12. qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_11_mp_rank_00_optim_states.pt +3 -0
  13. qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_12_mp_rank_00_optim_states.pt +3 -0
  14. qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_13_mp_rank_00_optim_states.pt +3 -0
  15. qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_14_mp_rank_00_optim_states.pt +3 -0
  16. qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_15_mp_rank_00_optim_states.pt +3 -0
  17. qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_16_mp_rank_00_optim_states.pt +3 -0
  18. qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_17_mp_rank_00_optim_states.pt +3 -0
  19. qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_18_mp_rank_00_optim_states.pt +3 -0
  20. qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_19_mp_rank_00_optim_states.pt +3 -0
  21. qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_1_mp_rank_00_optim_states.pt +3 -0
  22. qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_20_mp_rank_00_optim_states.pt +3 -0
  23. qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_21_mp_rank_00_optim_states.pt +3 -0
  24. qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_22_mp_rank_00_optim_states.pt +3 -0
  25. qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_23_mp_rank_00_optim_states.pt +3 -0
  26. qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_24_mp_rank_00_optim_states.pt +3 -0
  27. qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_25_mp_rank_00_optim_states.pt +3 -0
  28. qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_26_mp_rank_00_optim_states.pt +3 -0
  29. qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_27_mp_rank_00_optim_states.pt +3 -0
  30. qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_28_mp_rank_00_optim_states.pt +3 -0
  31. qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_29_mp_rank_00_optim_states.pt +3 -0
  32. qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_2_mp_rank_00_optim_states.pt +3 -0
  33. qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_30_mp_rank_00_optim_states.pt +3 -0
  34. qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_31_mp_rank_00_optim_states.pt +3 -0
  35. qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_3_mp_rank_00_optim_states.pt +3 -0
  36. qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_4_mp_rank_00_optim_states.pt +3 -0
  37. qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_5_mp_rank_00_optim_states.pt +3 -0
  38. qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_6_mp_rank_00_optim_states.pt +3 -0
  39. qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_7_mp_rank_00_optim_states.pt +3 -0
  40. qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_8_mp_rank_00_optim_states.pt +3 -0
  41. qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_9_mp_rank_00_optim_states.pt +3 -0
  42. qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/mp_rank_00_model_states.pt +3 -0
  43. qwen3-1.7b-sft-with-k2/checkpoint-2451/latest +1 -0
  44. qwen3-1.7b-sft-with-k2/checkpoint-2451/merges.txt +0 -0
  45. qwen3-1.7b-sft-with-k2/checkpoint-2451/model.safetensors +3 -0
  46. qwen3-1.7b-sft-with-k2/checkpoint-2451/rng_state_0.pth +3 -0
  47. qwen3-1.7b-sft-with-k2/checkpoint-2451/rng_state_1.pth +3 -0
  48. qwen3-1.7b-sft-with-k2/checkpoint-2451/rng_state_10.pth +3 -0
  49. qwen3-1.7b-sft-with-k2/checkpoint-2451/rng_state_11.pth +3 -0
  50. qwen3-1.7b-sft-with-k2/checkpoint-2451/rng_state_12.pth +3 -0
.gitattributes CHANGED
@@ -65,3 +65,6 @@ qwen3-1.7b-stage1_step_250_bs_64/actor/huggingface/tokenizer.json filter=lfs dif
65
  qwen3-1.7b-stage1-multi_node-hopper-4-nodes-bs-6_global_step_370/tokenizer.json filter=lfs diff=lfs merge=lfs -text
66
  temperature_search.jsonl filter=lfs diff=lfs merge=lfs -text
67
  qwen3-1.7b-stage2_step_340/actor/huggingface/tokenizer.json filter=lfs diff=lfs merge=lfs -text
 
 
 
 
65
  qwen3-1.7b-stage1-multi_node-hopper-4-nodes-bs-6_global_step_370/tokenizer.json filter=lfs diff=lfs merge=lfs -text
66
  temperature_search.jsonl filter=lfs diff=lfs merge=lfs -text
67
  qwen3-1.7b-stage2_step_340/actor/huggingface/tokenizer.json filter=lfs diff=lfs merge=lfs -text
68
+ qwen3-1.7b-sft-with-k2/checkpoint-2451/tokenizer.json filter=lfs diff=lfs merge=lfs -text
69
+ qwen3-1.7b-sft-with-k2/checkpoint-4902/tokenizer.json filter=lfs diff=lfs merge=lfs -text
70
+ qwen3-1.7b-sft-with-k2/tokenizer.json filter=lfs diff=lfs merge=lfs -text
qwen3-1.7b-sft-with-k2/README.md ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: other
4
+ base_model: Qwen/Qwen3-1.7B-Base
5
+ tags:
6
+ - llama-factory
7
+ - full
8
+ - generated_from_trainer
9
+ model-index:
10
+ - name: qwen3-1.7b-sft-with-k2
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # qwen3-1.7b-sft-with-k2
18
+
19
+ This model is a fine-tuned version of [Qwen/Qwen3-1.7B-Base](https://huggingface.co/Qwen/Qwen3-1.7B-Base) on the mobilek2_sft1, the mobilek2_sft2 and the mobilek2_sft_k2_think datasets.
20
+
21
+ ## Model description
22
+
23
+ More information needed
24
+
25
+ ## Intended uses & limitations
26
+
27
+ More information needed
28
+
29
+ ## Training and evaluation data
30
+
31
+ More information needed
32
+
33
+ ## Training procedure
34
+
35
+ ### Training hyperparameters
36
+
37
+ The following hyperparameters were used during training:
38
+ - learning_rate: 5e-05
39
+ - train_batch_size: 2
40
+ - eval_batch_size: 8
41
+ - seed: 42
42
+ - distributed_type: multi-GPU
43
+ - num_devices: 32
44
+ - gradient_accumulation_steps: 2
45
+ - total_train_batch_size: 128
46
+ - total_eval_batch_size: 256
47
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
48
+ - lr_scheduler_type: cosine
49
+ - lr_scheduler_warmup_ratio: 0.05
50
+ - num_epochs: 2.0
51
+
52
+ ### Training results
53
+
54
+
55
+
56
+ ### Framework versions
57
+
58
+ - Transformers 4.52.4
59
+ - Pytorch 2.6.0+cu124
60
+ - Datasets 4.0.0
61
+ - Tokenizers 0.21.4
qwen3-1.7b-sft-with-k2/added_tokens.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "</think>": 151668,
3
+ "</tool_call>": 151658,
4
+ "</tool_response>": 151666,
5
+ "<think>": 151667,
6
+ "<tool_call>": 151657,
7
+ "<tool_response>": 151665,
8
+ "<|box_end|>": 151649,
9
+ "<|box_start|>": 151648,
10
+ "<|endoftext|>": 151643,
11
+ "<|file_sep|>": 151664,
12
+ "<|fim_middle|>": 151660,
13
+ "<|fim_pad|>": 151662,
14
+ "<|fim_prefix|>": 151659,
15
+ "<|fim_suffix|>": 151661,
16
+ "<|im_end|>": 151645,
17
+ "<|im_start|>": 151644,
18
+ "<|image_pad|>": 151655,
19
+ "<|object_ref_end|>": 151647,
20
+ "<|object_ref_start|>": 151646,
21
+ "<|quad_end|>": 151651,
22
+ "<|quad_start|>": 151650,
23
+ "<|repo_name|>": 151663,
24
+ "<|video_pad|>": 151656,
25
+ "<|vision_end|>": 151653,
26
+ "<|vision_pad|>": 151654,
27
+ "<|vision_start|>": 151652
28
+ }
qwen3-1.7b-sft-with-k2/all_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 2.0,
3
+ "total_flos": 8.691670345628778e+19,
4
+ "train_loss": 0.42194009216305484,
5
+ "train_runtime": 22011.7308,
6
+ "train_samples_per_second": 28.498,
7
+ "train_steps_per_second": 0.223
8
+ }
qwen3-1.7b-sft-with-k2/chat_template.jinja ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- if tools %}
2
+ {{- '<|im_start|>system\n' }}
3
+ {%- if messages[0].role == 'system' %}
4
+ {{- messages[0].content + '\n\n' }}
5
+ {%- endif %}
6
+ {{- "# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
7
+ {%- for tool in tools %}
8
+ {{- "\n" }}
9
+ {{- tool | tojson }}
10
+ {%- endfor %}
11
+ {{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
12
+ {%- else %}
13
+ {%- if messages[0].role == 'system' %}
14
+ {{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }}
15
+ {%- endif %}
16
+ {%- endif %}
17
+ {%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
18
+ {%- for message in messages[::-1] %}
19
+ {%- set index = (messages|length - 1) - loop.index0 %}
20
+ {%- if ns.multi_step_tool and message.role == "user" and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %}
21
+ {%- set ns.multi_step_tool = false %}
22
+ {%- set ns.last_query_index = index %}
23
+ {%- endif %}
24
+ {%- endfor %}
25
+ {%- for message in messages %}
26
+ {%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
27
+ {{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
28
+ {%- elif message.role == "assistant" %}
29
+ {%- set content = message.content %}
30
+ {%- set reasoning_content = '' %}
31
+ {%- if message.reasoning_content is defined and message.reasoning_content is not none %}
32
+ {%- set reasoning_content = message.reasoning_content %}
33
+ {%- else %}
34
+ {%- if '</think>' in message.content %}
35
+ {%- set content = message.content.split('</think>')[-1].lstrip('\n') %}
36
+ {%- set reasoning_content = message.content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
37
+ {%- endif %}
38
+ {%- endif %}
39
+ {%- if loop.index0 > ns.last_query_index %}
40
+ {%- if loop.last or (not loop.last and reasoning_content) %}
41
+ {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }}
42
+ {%- else %}
43
+ {{- '<|im_start|>' + message.role + '\n' + content }}
44
+ {%- endif %}
45
+ {%- else %}
46
+ {{- '<|im_start|>' + message.role + '\n' + content }}
47
+ {%- endif %}
48
+ {%- if message.tool_calls %}
49
+ {%- for tool_call in message.tool_calls %}
50
+ {%- if (loop.first and content) or (not loop.first) %}
51
+ {{- '\n' }}
52
+ {%- endif %}
53
+ {%- if tool_call.function %}
54
+ {%- set tool_call = tool_call.function %}
55
+ {%- endif %}
56
+ {{- '<tool_call>\n{"name": "' }}
57
+ {{- tool_call.name }}
58
+ {{- '", "arguments": ' }}
59
+ {%- if tool_call.arguments is string %}
60
+ {{- tool_call.arguments }}
61
+ {%- else %}
62
+ {{- tool_call.arguments | tojson }}
63
+ {%- endif %}
64
+ {{- '}\n</tool_call>' }}
65
+ {%- endfor %}
66
+ {%- endif %}
67
+ {{- '<|im_end|>\n' }}
68
+ {%- elif message.role == "tool" %}
69
+ {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
70
+ {{- '<|im_start|>user' }}
71
+ {%- endif %}
72
+ {{- '\n<tool_response>\n' }}
73
+ {{- message.content }}
74
+ {{- '\n</tool_response>' }}
75
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
76
+ {{- '<|im_end|>\n' }}
77
+ {%- endif %}
78
+ {%- endif %}
79
+ {%- endfor %}
80
+ {%- if add_generation_prompt %}
81
+ {{- '<|im_start|>assistant\n' }}
82
+ {%- if enable_thinking is defined and enable_thinking is false %}
83
+ {{- '<think>\n\n</think>\n\n' }}
84
+ {%- endif %}
85
+ {%- endif %}
qwen3-1.7b-sft-with-k2/checkpoint-2451/added_tokens.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "</think>": 151668,
3
+ "</tool_call>": 151658,
4
+ "</tool_response>": 151666,
5
+ "<think>": 151667,
6
+ "<tool_call>": 151657,
7
+ "<tool_response>": 151665,
8
+ "<|box_end|>": 151649,
9
+ "<|box_start|>": 151648,
10
+ "<|endoftext|>": 151643,
11
+ "<|file_sep|>": 151664,
12
+ "<|fim_middle|>": 151660,
13
+ "<|fim_pad|>": 151662,
14
+ "<|fim_prefix|>": 151659,
15
+ "<|fim_suffix|>": 151661,
16
+ "<|im_end|>": 151645,
17
+ "<|im_start|>": 151644,
18
+ "<|image_pad|>": 151655,
19
+ "<|object_ref_end|>": 151647,
20
+ "<|object_ref_start|>": 151646,
21
+ "<|quad_end|>": 151651,
22
+ "<|quad_start|>": 151650,
23
+ "<|repo_name|>": 151663,
24
+ "<|video_pad|>": 151656,
25
+ "<|vision_end|>": 151653,
26
+ "<|vision_pad|>": 151654,
27
+ "<|vision_start|>": 151652
28
+ }
qwen3-1.7b-sft-with-k2/checkpoint-2451/chat_template.jinja ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- if tools %}
2
+ {{- '<|im_start|>system\n' }}
3
+ {%- if messages[0].role == 'system' %}
4
+ {{- messages[0].content + '\n\n' }}
5
+ {%- endif %}
6
+ {{- "# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
7
+ {%- for tool in tools %}
8
+ {{- "\n" }}
9
+ {{- tool | tojson }}
10
+ {%- endfor %}
11
+ {{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
12
+ {%- else %}
13
+ {%- if messages[0].role == 'system' %}
14
+ {{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }}
15
+ {%- endif %}
16
+ {%- endif %}
17
+ {%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
18
+ {%- for message in messages[::-1] %}
19
+ {%- set index = (messages|length - 1) - loop.index0 %}
20
+ {%- if ns.multi_step_tool and message.role == "user" and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %}
21
+ {%- set ns.multi_step_tool = false %}
22
+ {%- set ns.last_query_index = index %}
23
+ {%- endif %}
24
+ {%- endfor %}
25
+ {%- for message in messages %}
26
+ {%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
27
+ {{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
28
+ {%- elif message.role == "assistant" %}
29
+ {%- set content = message.content %}
30
+ {%- set reasoning_content = '' %}
31
+ {%- if message.reasoning_content is defined and message.reasoning_content is not none %}
32
+ {%- set reasoning_content = message.reasoning_content %}
33
+ {%- else %}
34
+ {%- if '</think>' in message.content %}
35
+ {%- set content = message.content.split('</think>')[-1].lstrip('\n') %}
36
+ {%- set reasoning_content = message.content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
37
+ {%- endif %}
38
+ {%- endif %}
39
+ {%- if loop.index0 > ns.last_query_index %}
40
+ {%- if loop.last or (not loop.last and reasoning_content) %}
41
+ {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }}
42
+ {%- else %}
43
+ {{- '<|im_start|>' + message.role + '\n' + content }}
44
+ {%- endif %}
45
+ {%- else %}
46
+ {{- '<|im_start|>' + message.role + '\n' + content }}
47
+ {%- endif %}
48
+ {%- if message.tool_calls %}
49
+ {%- for tool_call in message.tool_calls %}
50
+ {%- if (loop.first and content) or (not loop.first) %}
51
+ {{- '\n' }}
52
+ {%- endif %}
53
+ {%- if tool_call.function %}
54
+ {%- set tool_call = tool_call.function %}
55
+ {%- endif %}
56
+ {{- '<tool_call>\n{"name": "' }}
57
+ {{- tool_call.name }}
58
+ {{- '", "arguments": ' }}
59
+ {%- if tool_call.arguments is string %}
60
+ {{- tool_call.arguments }}
61
+ {%- else %}
62
+ {{- tool_call.arguments | tojson }}
63
+ {%- endif %}
64
+ {{- '}\n</tool_call>' }}
65
+ {%- endfor %}
66
+ {%- endif %}
67
+ {{- '<|im_end|>\n' }}
68
+ {%- elif message.role == "tool" %}
69
+ {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
70
+ {{- '<|im_start|>user' }}
71
+ {%- endif %}
72
+ {{- '\n<tool_response>\n' }}
73
+ {{- message.content }}
74
+ {{- '\n</tool_response>' }}
75
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
76
+ {{- '<|im_end|>\n' }}
77
+ {%- endif %}
78
+ {%- endif %}
79
+ {%- endfor %}
80
+ {%- if add_generation_prompt %}
81
+ {{- '<|im_start|>assistant\n' }}
82
+ {%- if enable_thinking is defined and enable_thinking is false %}
83
+ {{- '<think>\n\n</think>\n\n' }}
84
+ {%- endif %}
85
+ {%- endif %}
qwen3-1.7b-sft-with-k2/checkpoint-2451/config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Qwen3ForCausalLM"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 151643,
8
+ "eos_token_id": 151643,
9
+ "head_dim": 128,
10
+ "hidden_act": "silu",
11
+ "hidden_size": 2048,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 6144,
14
+ "max_position_embeddings": 32768,
15
+ "max_window_layers": 28,
16
+ "model_type": "qwen3",
17
+ "num_attention_heads": 16,
18
+ "num_hidden_layers": 28,
19
+ "num_key_value_heads": 8,
20
+ "rms_norm_eps": 1e-06,
21
+ "rope_scaling": null,
22
+ "rope_theta": 1000000,
23
+ "sliding_window": null,
24
+ "tie_word_embeddings": true,
25
+ "torch_dtype": "bfloat16",
26
+ "transformers_version": "4.52.4",
27
+ "use_cache": false,
28
+ "use_sliding_window": false,
29
+ "vocab_size": 151936
30
+ }
qwen3-1.7b-sft-with-k2/checkpoint-2451/generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 151643,
3
+ "eos_token_id": 151643,
4
+ "max_new_tokens": 2048,
5
+ "transformers_version": "4.52.4"
6
+ }
qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e6c5498ecbaea67996800dfa6a44f2aba8199a4aeafe7770817469e6dd58d187
3
+ size 645220912
qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_10_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0e465e27ccd26362ceb5e58dfc0d7698aed9b86ed0810ec5e7eb367f54c186b5
3
+ size 645221692
qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_11_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d37c5d80a572805e4f9a52eceaccffc5203837330bed8d116d025d911f113c12
3
+ size 645221500
qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_12_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b5c48ae652d35cfd33e61cc25339802c1de111644dab2e1e83b03a8ac80de07d
3
+ size 645221500
qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_13_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6d4c481befc65f160e10e118382d40ae0daa659b89d74eca07efd31f8e2e4386
3
+ size 645221692
qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_14_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bc0abbdad80ac53d89a4a227d3d6c2041dad20790712ab128fb750638c0b7166
3
+ size 645221628
qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_15_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aef76b00a004766bfae5604c7551e2e2322c843973f63c89fa8f2c79e87ae763
3
+ size 645221564
qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_16_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed1179e9eac8c777ec45831e48b231d7e302a9d8f1010c5c4f4a7e5bee83b1f8
3
+ size 645221564
qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_17_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dd801c426b308f0d11f67ca06e903fe832a020ecbbe81af9c52ab69f2aec4176
3
+ size 645221692
qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_18_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fac1f3db1dfdd3a1c178122d91aa0783a4f939e61ef0d1c4ddc40dc86c33d63d
3
+ size 645221692
qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_19_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c894ededcf4b41a25713dbec476a01bb2823c5d5f7c19538175334c218592a11
3
+ size 645221692
qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_1_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b1d9f5a0bca5fd77adfb4304ef93694a1cb1640a075a6a5869c652a5fa00e32d
3
+ size 645220976
qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_20_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8b5de08ffe9072f5dd90be6c0292cf88d2000e98b18e2af4819a3e7075f7f636
3
+ size 645221564
qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_21_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2f7ef8a2c4859fb7204c141516373689504cc5433c7b0ddb6ce6e148549f266f
3
+ size 645221820
qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_22_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:19fc036dac79531081c9015aa25a1bed8272e558aaa0c2ac59e7631b1e2ffd4c
3
+ size 645221628
qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_23_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b229d63f4dba71599b6dc53148ad25ce55a4c35d08513bbe75050b826abd0f9e
3
+ size 645221564
qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_24_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7be4afb9403d55f5d157ba1d8bcb3c0f34ffb73eb597d3bf3bde12cf7577e7b6
3
+ size 645221628
qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_25_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f66341963b19d79ca056aec101e25bc7731646e6ab604668bddb0a3c49ed111b
3
+ size 645221628
qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_26_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fbb2bad65817292ba4675dfcc8e31bfd914a9c2b939ebae4d002cb3259fd0868
3
+ size 645221628
qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_27_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:325ac00a6b270e84d1016dcebba3e56d873057c52098ea52a720c16227772de2
3
+ size 645221564
qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_28_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3c071453aee1e08ec8d6964b557f812a42976db9a83c58be4172b70bc8d6c516
3
+ size 645221628
qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_29_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:66ef97c358bfaad08cd5a20aa4833a891af4aa4f4ad2c87a35d912f7624e20c8
3
+ size 645221628
qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_2_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9449c97c9c09c745320daebca2a8aaf7f975524b5b512384811b2ab875d43f9e
3
+ size 645220976
qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_30_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7c80059470703eddbae93a00d313b766ee3bc2a1f2195f55c588a24e72603704
3
+ size 645221628
qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_31_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aea620239ffa5074809d5df2204efa8409b511ab2f27dc3741be955151a41025
3
+ size 645221564
qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_3_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8e609b662786c4b5cb1bed3e6a10fbedc7c4df0666860373f17202d6a2d8c891
3
+ size 645220912
qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_4_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9f2d9f1422de07682166ef50535254220edc6a02a0c954e191e3e45639b1c804
3
+ size 645220912
qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_5_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7423f6f6160c5be5d034ee1c1e8671e67506beaa11472a03845031658c4d618a
3
+ size 645221232
qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_6_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c50347ed8688b64b13fcbd85bc3635ef2c9e71bef2b3bbae83624cc4b9cb278c
3
+ size 645221808
qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_7_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9be9ff52fd4d4e79ce2666bdbed0b22bc9e2382f78c738a9fcc941d5bffdbc32
3
+ size 645221488
qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_8_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4c7cd114efd3c8fbc23ee1f891710e7aefdb940c1b9f4949dcee63d6fa954cdd
3
+ size 645221488
qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/bf16_zero_pp_rank_9_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ec4f5a10cfb37ffbdb0f67e8f350c9ed39f647917a3d3f15c530250dc5127fe9
3
+ size 645221616
qwen3-1.7b-sft-with-k2/checkpoint-2451/global_step2451/mp_rank_00_model_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d9f877825aa478c2fc42eb91fde47b8d6df38a358b98c04f07b72ecab897d8af
3
+ size 3441239416
qwen3-1.7b-sft-with-k2/checkpoint-2451/latest ADDED
@@ -0,0 +1 @@
 
 
1
+ global_step2451
qwen3-1.7b-sft-with-k2/checkpoint-2451/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
qwen3-1.7b-sft-with-k2/checkpoint-2451/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:791a25bf876cface5f3e73f223d05eccbe160f7e869500ac1802ac7989d432bd
3
+ size 4063515640
qwen3-1.7b-sft-with-k2/checkpoint-2451/rng_state_0.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:13e30ec247ba8b5e690661c6a83eeb187597f066a2ec24e1972d56c0e6307775
3
+ size 15920
qwen3-1.7b-sft-with-k2/checkpoint-2451/rng_state_1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:096e351ace65ff91008be171a45173ed6369cc639fce73a288f671041e24b0ec
3
+ size 15984
qwen3-1.7b-sft-with-k2/checkpoint-2451/rng_state_10.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:83d4ccf5bcdf5478695218ce9cac9d67bf8376f96f26acb4bc3b6a83253d7f03
3
+ size 15997
qwen3-1.7b-sft-with-k2/checkpoint-2451/rng_state_11.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d9ba7f3baea2e63bccfac7e530dc439874245b4cced6c3f1501ce779af02c195
3
+ size 15997
qwen3-1.7b-sft-with-k2/checkpoint-2451/rng_state_12.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bddcec8df6cf92d3e330f8a110aaac985a87813bb588d23c47bcd15f7c59a252
3
+ size 15997