Mayank022 commited on
Commit
0b8bedb
·
verified ·
1 Parent(s): 0152cf1

GRPO trained API testing agent (200 steps, reward 7.0)

Browse files
Files changed (46) hide show
  1. .gitattributes +4 -0
  2. README.md +71 -0
  3. adapter_config.json +41 -0
  4. adapter_model.safetensors +3 -0
  5. chat_template.jinja +89 -0
  6. checkpoint-100/README.md +209 -0
  7. checkpoint-100/adapter_config.json +41 -0
  8. checkpoint-100/adapter_model.safetensors +3 -0
  9. checkpoint-100/chat_template.jinja +89 -0
  10. checkpoint-100/optimizer.pt +3 -0
  11. checkpoint-100/rng_state.pth +3 -0
  12. checkpoint-100/scheduler.pt +3 -0
  13. checkpoint-100/tokenizer.json +3 -0
  14. checkpoint-100/tokenizer_config.json +29 -0
  15. checkpoint-100/trainer_state.json +574 -0
  16. checkpoint-100/training_args.bin +3 -0
  17. checkpoint-150/README.md +209 -0
  18. checkpoint-150/adapter_config.json +41 -0
  19. checkpoint-150/adapter_model.safetensors +3 -0
  20. checkpoint-150/chat_template.jinja +89 -0
  21. checkpoint-150/optimizer.pt +3 -0
  22. checkpoint-150/rng_state.pth +3 -0
  23. checkpoint-150/scheduler.pt +3 -0
  24. checkpoint-150/tokenizer.json +3 -0
  25. checkpoint-150/tokenizer_config.json +29 -0
  26. checkpoint-150/trainer_state.json +844 -0
  27. checkpoint-150/training_args.bin +3 -0
  28. checkpoint-200/README.md +209 -0
  29. checkpoint-200/adapter_config.json +41 -0
  30. checkpoint-200/adapter_model.safetensors +3 -0
  31. checkpoint-200/chat_template.jinja +89 -0
  32. checkpoint-200/optimizer.pt +3 -0
  33. checkpoint-200/rng_state.pth +3 -0
  34. checkpoint-200/scheduler.pt +3 -0
  35. checkpoint-200/tokenizer.json +3 -0
  36. checkpoint-200/tokenizer_config.json +29 -0
  37. checkpoint-200/trainer_state.json +1114 -0
  38. checkpoint-200/training_args.bin +3 -0
  39. metrics/plots/bugs_comparison.png +0 -0
  40. metrics/plots/coverage_comparison.png +0 -0
  41. metrics/plots/reward_comparison.png +0 -0
  42. metrics/results.json +140 -0
  43. metrics/results.md +26 -0
  44. tokenizer.json +3 -0
  45. tokenizer_config.json +29 -0
  46. training_args.bin +3 -0
.gitattributes CHANGED
@@ -33,3 +33,7 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ checkpoint-100/tokenizer.json filter=lfs diff=lfs merge=lfs -text
37
+ checkpoint-150/tokenizer.json filter=lfs diff=lfs merge=lfs -text
38
+ checkpoint-200/tokenizer.json filter=lfs diff=lfs merge=lfs -text
39
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: Qwen/Qwen3-1.7B
3
+ library_name: peft
4
+ model_name: grpo_api_tester
5
+ tags:
6
+ - base_model:adapter:Qwen/Qwen3-1.7B
7
+ - grpo
8
+ - lora
9
+ - transformers
10
+ - trl
11
+ licence: license
12
+ pipeline_tag: text-generation
13
+ ---
14
+
15
+ # Model Card for grpo_api_tester
16
+
17
+ This model is a fine-tuned version of [Qwen/Qwen3-1.7B](https://huggingface.co/Qwen/Qwen3-1.7B).
18
+ It has been trained using [TRL](https://github.com/huggingface/trl).
19
+
20
+ ## Quick start
21
+
22
+ ```python
23
+ from transformers import pipeline
24
+
25
+ question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
26
+ generator = pipeline("text-generation", model="None", device="cuda")
27
+ output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
28
+ print(output["generated_text"])
29
+ ```
30
+
31
+ ## Training procedure
32
+
33
+ [<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="150" height="24"/>](https://wandb.ai/mayankpratapsingh022-no/api-testing-grpo-v3/runs/64ixydir)
34
+
35
+
36
+
37
+ This model was trained with GRPO, a method introduced in [DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models](https://huggingface.co/papers/2402.03300).
38
+
39
+ ### Framework versions
40
+
41
+ - PEFT 0.18.1
42
+ - TRL: 1.0.0
43
+ - Transformers: 5.5.0
44
+ - Pytorch: 2.5.1+cu121
45
+ - Datasets: 4.8.4
46
+ - Tokenizers: 0.22.2
47
+
48
+ ## Citations
49
+
50
+ Cite GRPO as:
51
+
52
+ ```bibtex
53
+ @article{shao2024deepseekmath,
54
+ title = {{DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models}},
55
+ author = {Zhihong Shao and Peiyi Wang and Qihao Zhu and Runxin Xu and Junxiao Song and Mingchuan Zhang and Y. K. Li and Y. Wu and Daya Guo},
56
+ year = 2024,
57
+ eprint = {arXiv:2402.03300},
58
+ }
59
+ ```
60
+
61
+ Cite TRL as:
62
+
63
+ ```bibtex
64
+ @software{vonwerra2020trl,
65
+ title = {{TRL: Transformers Reinforcement Learning}},
66
+ author = {von Werra, Leandro and Belkada, Younes and Tunstall, Lewis and Beeching, Edward and Thrush, Tristan and Lambert, Nathan and Huang, Shengyi and Rasul, Kashif and Gallouédec, Quentin},
67
+ license = {Apache-2.0},
68
+ url = {https://github.com/huggingface/trl},
69
+ year = {2020}
70
+ }
71
+ ```
adapter_config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": null,
6
+ "base_model_name_or_path": "Qwen/Qwen3-1.7B",
7
+ "bias": "none",
8
+ "corda_config": null,
9
+ "ensure_weight_tying": false,
10
+ "eva_config": null,
11
+ "exclude_modules": null,
12
+ "fan_in_fan_out": false,
13
+ "inference_mode": true,
14
+ "init_lora_weights": true,
15
+ "layer_replication": null,
16
+ "layers_pattern": null,
17
+ "layers_to_transform": null,
18
+ "loftq_config": {},
19
+ "lora_alpha": 32,
20
+ "lora_bias": false,
21
+ "lora_dropout": 0.05,
22
+ "megatron_config": null,
23
+ "megatron_core": "megatron.core",
24
+ "modules_to_save": null,
25
+ "peft_type": "LORA",
26
+ "peft_version": "0.18.1",
27
+ "qalora_group_size": 16,
28
+ "r": 16,
29
+ "rank_pattern": {},
30
+ "revision": null,
31
+ "target_modules": [
32
+ "v_proj",
33
+ "q_proj"
34
+ ],
35
+ "target_parameters": null,
36
+ "task_type": "CAUSAL_LM",
37
+ "trainable_token_indices": null,
38
+ "use_dora": false,
39
+ "use_qalora": false,
40
+ "use_rslora": false
41
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b901e70822382d594fea5f25d6c35255f8f8a8e6672725dd1a5ccc1f03e80ea4
3
+ size 12859984
chat_template.jinja ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 message.content is string 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.content is string %}
27
+ {%- set content = message.content %}
28
+ {%- else %}
29
+ {%- set content = '' %}
30
+ {%- endif %}
31
+ {%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
32
+ {{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
33
+ {%- elif message.role == "assistant" %}
34
+ {%- set reasoning_content = '' %}
35
+ {%- if message.reasoning_content is string %}
36
+ {%- set reasoning_content = message.reasoning_content %}
37
+ {%- else %}
38
+ {%- if '</think>' in content %}
39
+ {%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
40
+ {%- set content = content.split('</think>')[-1].lstrip('\n') %}
41
+ {%- endif %}
42
+ {%- endif %}
43
+ {%- if loop.index0 > ns.last_query_index %}
44
+ {%- if loop.last or (not loop.last and reasoning_content) %}
45
+ {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }}
46
+ {%- else %}
47
+ {{- '<|im_start|>' + message.role + '\n' + content }}
48
+ {%- endif %}
49
+ {%- else %}
50
+ {{- '<|im_start|>' + message.role + '\n' + content }}
51
+ {%- endif %}
52
+ {%- if message.tool_calls %}
53
+ {%- for tool_call in message.tool_calls %}
54
+ {%- if (loop.first and content) or (not loop.first) %}
55
+ {{- '\n' }}
56
+ {%- endif %}
57
+ {%- if tool_call.function %}
58
+ {%- set tool_call = tool_call.function %}
59
+ {%- endif %}
60
+ {{- '<tool_call>\n{"name": "' }}
61
+ {{- tool_call.name }}
62
+ {{- '", "arguments": ' }}
63
+ {%- if tool_call.arguments is string %}
64
+ {{- tool_call.arguments }}
65
+ {%- else %}
66
+ {{- tool_call.arguments | tojson }}
67
+ {%- endif %}
68
+ {{- '}\n</tool_call>' }}
69
+ {%- endfor %}
70
+ {%- endif %}
71
+ {{- '<|im_end|>\n' }}
72
+ {%- elif message.role == "tool" %}
73
+ {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
74
+ {{- '<|im_start|>user' }}
75
+ {%- endif %}
76
+ {{- '\n<tool_response>\n' }}
77
+ {{- content }}
78
+ {{- '\n</tool_response>' }}
79
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
80
+ {{- '<|im_end|>\n' }}
81
+ {%- endif %}
82
+ {%- endif %}
83
+ {%- endfor %}
84
+ {%- if add_generation_prompt %}
85
+ {{- '<|im_start|>assistant\n' }}
86
+ {%- if enable_thinking is defined and enable_thinking is false %}
87
+ {{- '<think>\n\n</think>\n\n' }}
88
+ {%- endif %}
89
+ {%- endif %}
checkpoint-100/README.md ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: Qwen/Qwen3-1.7B
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:Qwen/Qwen3-1.7B
7
+ - grpo
8
+ - lora
9
+ - transformers
10
+ - trl
11
+ ---
12
+
13
+ # Model Card for Model ID
14
+
15
+ <!-- Provide a quick summary of what the model is/does. -->
16
+
17
+
18
+
19
+ ## Model Details
20
+
21
+ ### Model Description
22
+
23
+ <!-- Provide a longer summary of what this model is. -->
24
+
25
+
26
+
27
+ - **Developed by:** [More Information Needed]
28
+ - **Funded by [optional]:** [More Information Needed]
29
+ - **Shared by [optional]:** [More Information Needed]
30
+ - **Model type:** [More Information Needed]
31
+ - **Language(s) (NLP):** [More Information Needed]
32
+ - **License:** [More Information Needed]
33
+ - **Finetuned from model [optional]:** [More Information Needed]
34
+
35
+ ### Model Sources [optional]
36
+
37
+ <!-- Provide the basic links for the model. -->
38
+
39
+ - **Repository:** [More Information Needed]
40
+ - **Paper [optional]:** [More Information Needed]
41
+ - **Demo [optional]:** [More Information Needed]
42
+
43
+ ## Uses
44
+
45
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
46
+
47
+ ### Direct Use
48
+
49
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
50
+
51
+ [More Information Needed]
52
+
53
+ ### Downstream Use [optional]
54
+
55
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
56
+
57
+ [More Information Needed]
58
+
59
+ ### Out-of-Scope Use
60
+
61
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
62
+
63
+ [More Information Needed]
64
+
65
+ ## Bias, Risks, and Limitations
66
+
67
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
68
+
69
+ [More Information Needed]
70
+
71
+ ### Recommendations
72
+
73
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
74
+
75
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
76
+
77
+ ## How to Get Started with the Model
78
+
79
+ Use the code below to get started with the model.
80
+
81
+ [More Information Needed]
82
+
83
+ ## Training Details
84
+
85
+ ### Training Data
86
+
87
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
88
+
89
+ [More Information Needed]
90
+
91
+ ### Training Procedure
92
+
93
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
94
+
95
+ #### Preprocessing [optional]
96
+
97
+ [More Information Needed]
98
+
99
+
100
+ #### Training Hyperparameters
101
+
102
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
103
+
104
+ #### Speeds, Sizes, Times [optional]
105
+
106
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
107
+
108
+ [More Information Needed]
109
+
110
+ ## Evaluation
111
+
112
+ <!-- This section describes the evaluation protocols and provides the results. -->
113
+
114
+ ### Testing Data, Factors & Metrics
115
+
116
+ #### Testing Data
117
+
118
+ <!-- This should link to a Dataset Card if possible. -->
119
+
120
+ [More Information Needed]
121
+
122
+ #### Factors
123
+
124
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
125
+
126
+ [More Information Needed]
127
+
128
+ #### Metrics
129
+
130
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
131
+
132
+ [More Information Needed]
133
+
134
+ ### Results
135
+
136
+ [More Information Needed]
137
+
138
+ #### Summary
139
+
140
+
141
+
142
+ ## Model Examination [optional]
143
+
144
+ <!-- Relevant interpretability work for the model goes here -->
145
+
146
+ [More Information Needed]
147
+
148
+ ## Environmental Impact
149
+
150
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
151
+
152
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
153
+
154
+ - **Hardware Type:** [More Information Needed]
155
+ - **Hours used:** [More Information Needed]
156
+ - **Cloud Provider:** [More Information Needed]
157
+ - **Compute Region:** [More Information Needed]
158
+ - **Carbon Emitted:** [More Information Needed]
159
+
160
+ ## Technical Specifications [optional]
161
+
162
+ ### Model Architecture and Objective
163
+
164
+ [More Information Needed]
165
+
166
+ ### Compute Infrastructure
167
+
168
+ [More Information Needed]
169
+
170
+ #### Hardware
171
+
172
+ [More Information Needed]
173
+
174
+ #### Software
175
+
176
+ [More Information Needed]
177
+
178
+ ## Citation [optional]
179
+
180
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
181
+
182
+ **BibTeX:**
183
+
184
+ [More Information Needed]
185
+
186
+ **APA:**
187
+
188
+ [More Information Needed]
189
+
190
+ ## Glossary [optional]
191
+
192
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
193
+
194
+ [More Information Needed]
195
+
196
+ ## More Information [optional]
197
+
198
+ [More Information Needed]
199
+
200
+ ## Model Card Authors [optional]
201
+
202
+ [More Information Needed]
203
+
204
+ ## Model Card Contact
205
+
206
+ [More Information Needed]
207
+ ### Framework versions
208
+
209
+ - PEFT 0.18.1
checkpoint-100/adapter_config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": null,
6
+ "base_model_name_or_path": "Qwen/Qwen3-1.7B",
7
+ "bias": "none",
8
+ "corda_config": null,
9
+ "ensure_weight_tying": false,
10
+ "eva_config": null,
11
+ "exclude_modules": null,
12
+ "fan_in_fan_out": false,
13
+ "inference_mode": true,
14
+ "init_lora_weights": true,
15
+ "layer_replication": null,
16
+ "layers_pattern": null,
17
+ "layers_to_transform": null,
18
+ "loftq_config": {},
19
+ "lora_alpha": 32,
20
+ "lora_bias": false,
21
+ "lora_dropout": 0.05,
22
+ "megatron_config": null,
23
+ "megatron_core": "megatron.core",
24
+ "modules_to_save": null,
25
+ "peft_type": "LORA",
26
+ "peft_version": "0.18.1",
27
+ "qalora_group_size": 16,
28
+ "r": 16,
29
+ "rank_pattern": {},
30
+ "revision": null,
31
+ "target_modules": [
32
+ "v_proj",
33
+ "q_proj"
34
+ ],
35
+ "target_parameters": null,
36
+ "task_type": "CAUSAL_LM",
37
+ "trainable_token_indices": null,
38
+ "use_dora": false,
39
+ "use_qalora": false,
40
+ "use_rslora": false
41
+ }
checkpoint-100/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b3af3135e0e3d72aa87b4f3f80a05b691cc345124c98e180a8eb7ed8b763b5c0
3
+ size 12859984
checkpoint-100/chat_template.jinja ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 message.content is string 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.content is string %}
27
+ {%- set content = message.content %}
28
+ {%- else %}
29
+ {%- set content = '' %}
30
+ {%- endif %}
31
+ {%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
32
+ {{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
33
+ {%- elif message.role == "assistant" %}
34
+ {%- set reasoning_content = '' %}
35
+ {%- if message.reasoning_content is string %}
36
+ {%- set reasoning_content = message.reasoning_content %}
37
+ {%- else %}
38
+ {%- if '</think>' in content %}
39
+ {%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
40
+ {%- set content = content.split('</think>')[-1].lstrip('\n') %}
41
+ {%- endif %}
42
+ {%- endif %}
43
+ {%- if loop.index0 > ns.last_query_index %}
44
+ {%- if loop.last or (not loop.last and reasoning_content) %}
45
+ {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }}
46
+ {%- else %}
47
+ {{- '<|im_start|>' + message.role + '\n' + content }}
48
+ {%- endif %}
49
+ {%- else %}
50
+ {{- '<|im_start|>' + message.role + '\n' + content }}
51
+ {%- endif %}
52
+ {%- if message.tool_calls %}
53
+ {%- for tool_call in message.tool_calls %}
54
+ {%- if (loop.first and content) or (not loop.first) %}
55
+ {{- '\n' }}
56
+ {%- endif %}
57
+ {%- if tool_call.function %}
58
+ {%- set tool_call = tool_call.function %}
59
+ {%- endif %}
60
+ {{- '<tool_call>\n{"name": "' }}
61
+ {{- tool_call.name }}
62
+ {{- '", "arguments": ' }}
63
+ {%- if tool_call.arguments is string %}
64
+ {{- tool_call.arguments }}
65
+ {%- else %}
66
+ {{- tool_call.arguments | tojson }}
67
+ {%- endif %}
68
+ {{- '}\n</tool_call>' }}
69
+ {%- endfor %}
70
+ {%- endif %}
71
+ {{- '<|im_end|>\n' }}
72
+ {%- elif message.role == "tool" %}
73
+ {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
74
+ {{- '<|im_start|>user' }}
75
+ {%- endif %}
76
+ {{- '\n<tool_response>\n' }}
77
+ {{- content }}
78
+ {{- '\n</tool_response>' }}
79
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
80
+ {{- '<|im_end|>\n' }}
81
+ {%- endif %}
82
+ {%- endif %}
83
+ {%- endfor %}
84
+ {%- if add_generation_prompt %}
85
+ {{- '<|im_start|>assistant\n' }}
86
+ {%- if enable_thinking is defined and enable_thinking is false %}
87
+ {{- '<think>\n\n</think>\n\n' }}
88
+ {%- endif %}
89
+ {%- endif %}
checkpoint-100/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c0ba93647d9d5d0c63ab0551a702750bc5e319d960b47bb97269ae9484d0e7dc
3
+ size 25784378
checkpoint-100/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:107ffc3c6a81e0357a53f0323b12cf4b4be6fb32b58864913dd16ecf758541ff
3
+ size 14244
checkpoint-100/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:33cd2334e8e11b8041f92de5ce16bfbf92f1da6c9b2885131f752b65b608ca48
3
+ size 1064
checkpoint-100/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:be75606093db2094d7cd20f3c2f385c212750648bd6ea4fb2bf507a6a4c55506
3
+ size 11422650
checkpoint-100/tokenizer_config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "backend": "tokenizers",
4
+ "bos_token": null,
5
+ "clean_up_tokenization_spaces": false,
6
+ "eos_token": "<|im_end|>",
7
+ "errors": "replace",
8
+ "extra_special_tokens": [
9
+ "<|im_start|>",
10
+ "<|im_end|>",
11
+ "<|object_ref_start|>",
12
+ "<|object_ref_end|>",
13
+ "<|box_start|>",
14
+ "<|box_end|>",
15
+ "<|quad_start|>",
16
+ "<|quad_end|>",
17
+ "<|vision_start|>",
18
+ "<|vision_end|>",
19
+ "<|vision_pad|>",
20
+ "<|image_pad|>",
21
+ "<|video_pad|>"
22
+ ],
23
+ "is_local": false,
24
+ "model_max_length": 131072,
25
+ "pad_token": "<|endoftext|>",
26
+ "split_special_tokens": false,
27
+ "tokenizer_class": "Qwen2Tokenizer",
28
+ "unk_token": null
29
+ }
checkpoint-100/trainer_state.json ADDED
@@ -0,0 +1,574 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 1.0,
6
+ "eval_steps": 500,
7
+ "global_step": 100,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "clip_ratio/high_max": 0.0,
14
+ "clip_ratio/high_mean": 0.0,
15
+ "clip_ratio/low_mean": 0.0,
16
+ "clip_ratio/low_min": 0.0,
17
+ "clip_ratio/region_mean": 0.0,
18
+ "completions/clipped_ratio": 0.35,
19
+ "completions/max_length": 4096.0,
20
+ "completions/max_terminated_length": 2360.0,
21
+ "completions/mean_length": 2797.55,
22
+ "completions/mean_terminated_length": 2071.1333984375,
23
+ "completions/min_length": 1845.0,
24
+ "completions/min_terminated_length": 1845.0,
25
+ "entropy": 0.09876374900341034,
26
+ "epoch": 0.05,
27
+ "frac_reward_zero_std": 0.0,
28
+ "grad_norm": 0.164414182305336,
29
+ "learning_rate": 1.9600000000000002e-05,
30
+ "loss": 0.24185845851898194,
31
+ "num_tokens": 78039.0,
32
+ "reward": 3.5581498622894285,
33
+ "reward_std": 5.68612232208252,
34
+ "rewards/combined_reward_fn/mean": 3.5581498622894285,
35
+ "rewards/combined_reward_fn/std": 5.686122417449951,
36
+ "step": 5,
37
+ "step_time": 108.90133817999158
38
+ },
39
+ {
40
+ "clip_ratio/high_max": 0.0,
41
+ "clip_ratio/high_mean": 0.0,
42
+ "clip_ratio/low_mean": 0.0,
43
+ "clip_ratio/low_min": 0.0,
44
+ "clip_ratio/region_mean": 0.0,
45
+ "completions/clipped_ratio": 0.2,
46
+ "completions/max_length": 3651.2,
47
+ "completions/max_terminated_length": 2558.4,
48
+ "completions/mean_length": 2587.95,
49
+ "completions/mean_terminated_length": 2181.400048828125,
50
+ "completions/min_length": 1912.2,
51
+ "completions/min_terminated_length": 1912.2,
52
+ "entropy": 0.090367890894413,
53
+ "epoch": 0.1,
54
+ "frac_reward_zero_std": 0.0,
55
+ "grad_norm": 0.16067856550216675,
56
+ "learning_rate": 1.91e-05,
57
+ "loss": 0.12473864555358886,
58
+ "num_tokens": 151926.0,
59
+ "reward": 5.4179000616073605,
60
+ "reward_std": 5.021739101409912,
61
+ "rewards/combined_reward_fn/mean": 5.4179000616073605,
62
+ "rewards/combined_reward_fn/std": 5.021739077568054,
63
+ "step": 10,
64
+ "step_time": 101.38653199401452
65
+ },
66
+ {
67
+ "clip_ratio/high_max": 0.0,
68
+ "clip_ratio/high_mean": 0.0,
69
+ "clip_ratio/low_mean": 0.0,
70
+ "clip_ratio/low_min": 0.0,
71
+ "clip_ratio/region_mean": 0.0,
72
+ "completions/clipped_ratio": 0.55,
73
+ "completions/max_length": 4096.0,
74
+ "completions/max_terminated_length": 1866.2,
75
+ "completions/mean_length": 3242.2,
76
+ "completions/mean_terminated_length": 1720.3333740234375,
77
+ "completions/min_length": 2368.6,
78
+ "completions/min_terminated_length": 1549.4,
79
+ "entropy": 0.10808060467243194,
80
+ "epoch": 0.15,
81
+ "frac_reward_zero_std": 0.0,
82
+ "grad_norm": 0.11999707669019699,
83
+ "learning_rate": 1.86e-05,
84
+ "loss": 0.1977977991104126,
85
+ "num_tokens": 238722.0,
86
+ "reward": 2.5534999847412108,
87
+ "reward_std": 5.597218799591064,
88
+ "rewards/combined_reward_fn/mean": 2.5534999847412108,
89
+ "rewards/combined_reward_fn/std": 5.5972188949584964,
90
+ "step": 15,
91
+ "step_time": 123.89894773198758
92
+ },
93
+ {
94
+ "clip_ratio/high_max": 0.0,
95
+ "clip_ratio/high_mean": 0.0,
96
+ "clip_ratio/low_mean": 0.0,
97
+ "clip_ratio/low_min": 0.0,
98
+ "clip_ratio/region_mean": 0.0,
99
+ "completions/clipped_ratio": 0.2,
100
+ "completions/max_length": 3873.0,
101
+ "completions/max_terminated_length": 2985.6,
102
+ "completions/mean_length": 2729.5,
103
+ "completions/mean_terminated_length": 2360.933349609375,
104
+ "completions/min_length": 1923.0,
105
+ "completions/min_terminated_length": 1923.0,
106
+ "entropy": 0.09633768200874329,
107
+ "epoch": 0.2,
108
+ "frac_reward_zero_std": 0.0,
109
+ "grad_norm": 0.1394500881433487,
110
+ "learning_rate": 1.8100000000000003e-05,
111
+ "loss": 0.07866127490997314,
112
+ "num_tokens": 315336.0,
113
+ "reward": 4.6565999507904055,
114
+ "reward_std": 4.923504161834717,
115
+ "rewards/combined_reward_fn/mean": 4.6565999507904055,
116
+ "rewards/combined_reward_fn/std": 4.923504161834717,
117
+ "step": 20,
118
+ "step_time": 111.82979753639083
119
+ },
120
+ {
121
+ "clip_ratio/high_max": 0.0,
122
+ "clip_ratio/high_mean": 0.0,
123
+ "clip_ratio/low_mean": 0.0,
124
+ "clip_ratio/low_min": 0.0,
125
+ "clip_ratio/region_mean": 0.0,
126
+ "completions/clipped_ratio": 0.25,
127
+ "completions/max_length": 4096.0,
128
+ "completions/max_terminated_length": 3064.6,
129
+ "completions/mean_length": 3032.15,
130
+ "completions/mean_terminated_length": 2677.5333984375,
131
+ "completions/min_length": 2128.6,
132
+ "completions/min_terminated_length": 2128.6,
133
+ "entropy": 0.09437247812747955,
134
+ "epoch": 0.25,
135
+ "frac_reward_zero_std": 0.0,
136
+ "grad_norm": 0.12652961909770966,
137
+ "learning_rate": 1.76e-05,
138
+ "loss": 0.15245428085327148,
139
+ "num_tokens": 397983.0,
140
+ "reward": 4.033899927139283,
141
+ "reward_std": 5.289630603790283,
142
+ "rewards/combined_reward_fn/mean": 4.033899927139283,
143
+ "rewards/combined_reward_fn/std": 5.289630889892578,
144
+ "step": 25,
145
+ "step_time": 118.41992252940545
146
+ },
147
+ {
148
+ "clip_ratio/high_max": 0.0,
149
+ "clip_ratio/high_mean": 0.0,
150
+ "clip_ratio/low_mean": 0.0,
151
+ "clip_ratio/low_min": 0.0,
152
+ "clip_ratio/region_mean": 0.0,
153
+ "completions/clipped_ratio": 0.25,
154
+ "completions/max_length": 3939.8,
155
+ "completions/max_terminated_length": 2742.6,
156
+ "completions/mean_length": 2717.1,
157
+ "completions/mean_terminated_length": 2232.1333984375,
158
+ "completions/min_length": 1779.6,
159
+ "completions/min_terminated_length": 1779.6,
160
+ "entropy": 0.09805799871683121,
161
+ "epoch": 0.3,
162
+ "frac_reward_zero_std": 0.0,
163
+ "grad_norm": 0.12929749488830566,
164
+ "learning_rate": 1.7100000000000002e-05,
165
+ "loss": 0.12725646495819093,
166
+ "num_tokens": 474357.0,
167
+ "reward": 3.0387999057769775,
168
+ "reward_std": 5.2611589431762695,
169
+ "rewards/combined_reward_fn/mean": 3.0387999057769775,
170
+ "rewards/combined_reward_fn/std": 5.261159038543701,
171
+ "step": 30,
172
+ "step_time": 116.51373047439847
173
+ },
174
+ {
175
+ "clip_ratio/high_max": 0.0,
176
+ "clip_ratio/high_mean": 0.0,
177
+ "clip_ratio/low_mean": 0.0,
178
+ "clip_ratio/low_min": 0.0,
179
+ "clip_ratio/region_mean": 0.0,
180
+ "completions/clipped_ratio": 0.15,
181
+ "completions/max_length": 3458.0,
182
+ "completions/max_terminated_length": 2525.4,
183
+ "completions/mean_length": 2463.15,
184
+ "completions/mean_terminated_length": 2185.7333984375,
185
+ "completions/min_length": 1770.4,
186
+ "completions/min_terminated_length": 1770.4,
187
+ "entropy": 0.08664824664592743,
188
+ "epoch": 0.35,
189
+ "frac_reward_zero_std": 0.0,
190
+ "grad_norm": 0.270455926656723,
191
+ "learning_rate": 1.66e-05,
192
+ "loss": 0.15937269926071168,
193
+ "num_tokens": 545644.0,
194
+ "reward": 5.9645998001098635,
195
+ "reward_std": 5.026243317127228,
196
+ "rewards/combined_reward_fn/mean": 5.9645998001098635,
197
+ "rewards/combined_reward_fn/std": 5.026243567466736,
198
+ "step": 35,
199
+ "step_time": 101.08890176118584
200
+ },
201
+ {
202
+ "clip_ratio/high_max": 0.0,
203
+ "clip_ratio/high_mean": 0.0,
204
+ "clip_ratio/low_mean": 0.0,
205
+ "clip_ratio/low_min": 0.0,
206
+ "clip_ratio/region_mean": 0.0,
207
+ "completions/clipped_ratio": 0.2,
208
+ "completions/max_length": 3698.6,
209
+ "completions/max_terminated_length": 2838.0,
210
+ "completions/mean_length": 2698.25,
211
+ "completions/mean_terminated_length": 2359.450048828125,
212
+ "completions/min_length": 1920.4,
213
+ "completions/min_terminated_length": 1920.4,
214
+ "entropy": 0.0883295014500618,
215
+ "epoch": 0.4,
216
+ "frac_reward_zero_std": 0.0,
217
+ "grad_norm": 0.14239603281021118,
218
+ "learning_rate": 1.6100000000000002e-05,
219
+ "loss": 0.08291782140731811,
220
+ "num_tokens": 621613.0,
221
+ "reward": 5.177750015258789,
222
+ "reward_std": 5.595348834991455,
223
+ "rewards/combined_reward_fn/mean": 5.177750015258789,
224
+ "rewards/combined_reward_fn/std": 5.595348834991455,
225
+ "step": 40,
226
+ "step_time": 109.44098777900217
227
+ },
228
+ {
229
+ "clip_ratio/high_max": 0.0,
230
+ "clip_ratio/high_mean": 0.0,
231
+ "clip_ratio/low_mean": 0.0,
232
+ "clip_ratio/low_min": 0.0,
233
+ "clip_ratio/region_mean": 0.0,
234
+ "completions/clipped_ratio": 0.15,
235
+ "completions/max_length": 3677.6,
236
+ "completions/max_terminated_length": 3216.2,
237
+ "completions/mean_length": 2742.0,
238
+ "completions/mean_terminated_length": 2395.95,
239
+ "completions/min_length": 1894.0,
240
+ "completions/min_terminated_length": 1894.0,
241
+ "entropy": 0.0947173461318016,
242
+ "epoch": 0.45,
243
+ "frac_reward_zero_std": 0.0,
244
+ "grad_norm": 0.17538224160671234,
245
+ "learning_rate": 1.5600000000000003e-05,
246
+ "loss": 0.11553004980087281,
247
+ "num_tokens": 698573.0,
248
+ "reward": 6.005599927902222,
249
+ "reward_std": 3.041484570503235,
250
+ "rewards/combined_reward_fn/mean": 6.005599927902222,
251
+ "rewards/combined_reward_fn/std": 3.0414846658706667,
252
+ "step": 45,
253
+ "step_time": 109.76969621782192
254
+ },
255
+ {
256
+ "clip_ratio/high_max": 0.0,
257
+ "clip_ratio/high_mean": 0.0,
258
+ "clip_ratio/low_mean": 0.0,
259
+ "clip_ratio/low_min": 0.0,
260
+ "clip_ratio/region_mean": 0.0,
261
+ "completions/clipped_ratio": 0.15,
262
+ "completions/max_length": 3819.2,
263
+ "completions/max_terminated_length": 3098.2,
264
+ "completions/mean_length": 2648.6,
265
+ "completions/mean_terminated_length": 2391.9833984375,
266
+ "completions/min_length": 1841.2,
267
+ "completions/min_terminated_length": 1841.2,
268
+ "entropy": 0.09659376293420792,
269
+ "epoch": 0.5,
270
+ "frac_reward_zero_std": 0.0,
271
+ "grad_norm": 0.16343547403812408,
272
+ "learning_rate": 1.5100000000000001e-05,
273
+ "loss": 0.027741509675979614,
274
+ "num_tokens": 773653.0,
275
+ "reward": 4.999349927902221,
276
+ "reward_std": 5.17122323513031,
277
+ "rewards/combined_reward_fn/mean": 4.999349927902221,
278
+ "rewards/combined_reward_fn/std": 5.1712233543396,
279
+ "step": 50,
280
+ "step_time": 112.32290486479178
281
+ },
282
+ {
283
+ "clip_ratio/high_max": 0.0,
284
+ "clip_ratio/high_mean": 0.0,
285
+ "clip_ratio/low_mean": 0.0,
286
+ "clip_ratio/low_min": 0.0,
287
+ "clip_ratio/region_mean": 0.0,
288
+ "completions/clipped_ratio": 0.1,
289
+ "completions/max_length": 3323.4,
290
+ "completions/max_terminated_length": 2723.8,
291
+ "completions/mean_length": 2411.05,
292
+ "completions/mean_terminated_length": 2215.033349609375,
293
+ "completions/min_length": 1761.4,
294
+ "completions/min_terminated_length": 1761.4,
295
+ "entropy": 0.08948126435279846,
296
+ "epoch": 0.55,
297
+ "frac_reward_zero_std": 0.0,
298
+ "grad_norm": 0.13685713708400726,
299
+ "learning_rate": 1.46e-05,
300
+ "loss": 0.13086402416229248,
301
+ "num_tokens": 844002.0,
302
+ "reward": 5.210179996490479,
303
+ "reward_std": 4.280504465103149,
304
+ "rewards/combined_reward_fn/mean": 5.210179996490479,
305
+ "rewards/combined_reward_fn/std": 4.280504584312439,
306
+ "step": 55,
307
+ "step_time": 97.91599068460054
308
+ },
309
+ {
310
+ "clip_ratio/high_max": 0.0,
311
+ "clip_ratio/high_mean": 0.0,
312
+ "clip_ratio/low_mean": 0.0,
313
+ "clip_ratio/low_min": 0.0,
314
+ "clip_ratio/region_mean": 0.0,
315
+ "completions/clipped_ratio": 0.1,
316
+ "completions/max_length": 3355.6,
317
+ "completions/max_terminated_length": 2794.4,
318
+ "completions/mean_length": 2484.55,
319
+ "completions/mean_terminated_length": 2306.183349609375,
320
+ "completions/min_length": 1866.0,
321
+ "completions/min_terminated_length": 1866.0,
322
+ "entropy": 0.10166355371475219,
323
+ "epoch": 0.6,
324
+ "frac_reward_zero_std": 0.0,
325
+ "grad_norm": 0.12462152540683746,
326
+ "learning_rate": 1.41e-05,
327
+ "loss": 0.09216442108154296,
328
+ "num_tokens": 915773.0,
329
+ "reward": 7.240950012207032,
330
+ "reward_std": 3.289798986911774,
331
+ "rewards/combined_reward_fn/mean": 7.240950012207032,
332
+ "rewards/combined_reward_fn/std": 3.289798891544342,
333
+ "step": 60,
334
+ "step_time": 96.35008933099452
335
+ },
336
+ {
337
+ "clip_ratio/high_max": 0.0,
338
+ "clip_ratio/high_mean": 0.0,
339
+ "clip_ratio/low_mean": 0.0,
340
+ "clip_ratio/low_min": 0.0,
341
+ "clip_ratio/region_mean": 0.0,
342
+ "completions/clipped_ratio": 0.15,
343
+ "completions/max_length": 3067.6,
344
+ "completions/max_terminated_length": 2370.2,
345
+ "completions/mean_length": 2421.7,
346
+ "completions/mean_terminated_length": 2132.4666748046875,
347
+ "completions/min_length": 1923.0,
348
+ "completions/min_terminated_length": 1923.0,
349
+ "entropy": 0.09233423769474029,
350
+ "epoch": 0.65,
351
+ "frac_reward_zero_std": 0.0,
352
+ "grad_norm": 0.148515522480011,
353
+ "learning_rate": 1.3600000000000002e-05,
354
+ "loss": 0.11075043678283691,
355
+ "num_tokens": 986315.0,
356
+ "reward": 4.487199974060059,
357
+ "reward_std": 6.28532190322876,
358
+ "rewards/combined_reward_fn/mean": 4.487199974060059,
359
+ "rewards/combined_reward_fn/std": 6.28532190322876,
360
+ "step": 65,
361
+ "step_time": 91.01395496120676
362
+ },
363
+ {
364
+ "clip_ratio/high_max": 0.0,
365
+ "clip_ratio/high_mean": 0.0,
366
+ "clip_ratio/low_mean": 0.0,
367
+ "clip_ratio/low_min": 0.0,
368
+ "clip_ratio/region_mean": 0.0,
369
+ "completions/clipped_ratio": 0.05,
370
+ "completions/max_length": 3027.0,
371
+ "completions/max_terminated_length": 2829.6,
372
+ "completions/mean_length": 2464.3,
373
+ "completions/mean_terminated_length": 2382.11669921875,
374
+ "completions/min_length": 2018.4,
375
+ "completions/min_terminated_length": 2018.4,
376
+ "entropy": 0.09054866135120392,
377
+ "epoch": 0.7,
378
+ "frac_reward_zero_std": 0.0,
379
+ "grad_norm": 0.1560310572385788,
380
+ "learning_rate": 1.3100000000000002e-05,
381
+ "loss": -0.004711458086967468,
382
+ "num_tokens": 1057649.0,
383
+ "reward": 6.76639986038208,
384
+ "reward_std": 4.127006316184998,
385
+ "rewards/combined_reward_fn/mean": 6.76639986038208,
386
+ "rewards/combined_reward_fn/std": 4.1270065069198605,
387
+ "step": 70,
388
+ "step_time": 91.32873015338555
389
+ },
390
+ {
391
+ "clip_ratio/high_max": 0.0,
392
+ "clip_ratio/high_mean": 0.0,
393
+ "clip_ratio/low_mean": 0.0,
394
+ "clip_ratio/low_min": 0.0,
395
+ "clip_ratio/region_mean": 0.0,
396
+ "completions/clipped_ratio": 0.1,
397
+ "completions/max_length": 3489.8,
398
+ "completions/max_terminated_length": 3149.2,
399
+ "completions/mean_length": 2482.4,
400
+ "completions/mean_terminated_length": 2306.71669921875,
401
+ "completions/min_length": 1768.8,
402
+ "completions/min_terminated_length": 1768.8,
403
+ "entropy": 0.0954986572265625,
404
+ "epoch": 0.75,
405
+ "frac_reward_zero_std": 0.0,
406
+ "grad_norm": 0.18958808481693268,
407
+ "learning_rate": 1.2600000000000001e-05,
408
+ "loss": 0.05534006357192993,
409
+ "num_tokens": 1129313.0,
410
+ "reward": 3.817350149154663,
411
+ "reward_std": 5.574188280105591,
412
+ "rewards/combined_reward_fn/mean": 3.817350149154663,
413
+ "rewards/combined_reward_fn/std": 5.574188184738159,
414
+ "step": 75,
415
+ "step_time": 103.64483559140936
416
+ },
417
+ {
418
+ "clip_ratio/high_max": 0.0,
419
+ "clip_ratio/high_mean": 0.0,
420
+ "clip_ratio/low_mean": 0.0,
421
+ "clip_ratio/low_min": 0.0,
422
+ "clip_ratio/region_mean": 0.0,
423
+ "completions/clipped_ratio": 0.15,
424
+ "completions/max_length": 3285.8,
425
+ "completions/max_terminated_length": 3066.6,
426
+ "completions/mean_length": 2593.25,
427
+ "completions/mean_terminated_length": 2402.533349609375,
428
+ "completions/min_length": 1864.6,
429
+ "completions/min_terminated_length": 1864.6,
430
+ "entropy": 0.08767899870872498,
431
+ "epoch": 0.8,
432
+ "frac_reward_zero_std": 0.0,
433
+ "grad_norm": 0.17502494156360626,
434
+ "learning_rate": 1.2100000000000001e-05,
435
+ "loss": 0.08078988194465637,
436
+ "num_tokens": 1203294.0,
437
+ "reward": 6.482049989700317,
438
+ "reward_std": 3.041076159477234,
439
+ "rewards/combined_reward_fn/mean": 6.482049989700317,
440
+ "rewards/combined_reward_fn/std": 3.041076183319092,
441
+ "step": 80,
442
+ "step_time": 97.3799867952126
443
+ },
444
+ {
445
+ "clip_ratio/high_max": 0.0,
446
+ "clip_ratio/high_mean": 0.0,
447
+ "clip_ratio/low_mean": 0.0,
448
+ "clip_ratio/low_min": 0.0,
449
+ "clip_ratio/region_mean": 0.0,
450
+ "completions/clipped_ratio": 0.1,
451
+ "completions/max_length": 3385.6,
452
+ "completions/max_terminated_length": 2757.4,
453
+ "completions/mean_length": 2499.25,
454
+ "completions/mean_terminated_length": 2302.983349609375,
455
+ "completions/min_length": 1863.4,
456
+ "completions/min_terminated_length": 1863.4,
457
+ "entropy": 0.09770430624485016,
458
+ "epoch": 0.85,
459
+ "frac_reward_zero_std": 0.0,
460
+ "grad_norm": 0.12575364112854004,
461
+ "learning_rate": 1.16e-05,
462
+ "loss": 0.08057029843330384,
463
+ "num_tokens": 1275307.0,
464
+ "reward": 5.090700006484985,
465
+ "reward_std": 5.10671033859253,
466
+ "rewards/combined_reward_fn/mean": 5.090700006484985,
467
+ "rewards/combined_reward_fn/std": 5.106710624694824,
468
+ "step": 85,
469
+ "step_time": 101.53690337940353
470
+ },
471
+ {
472
+ "clip_ratio/high_max": 0.0,
473
+ "clip_ratio/high_mean": 0.0,
474
+ "clip_ratio/low_mean": 0.0,
475
+ "clip_ratio/low_min": 0.0,
476
+ "clip_ratio/region_mean": 0.0,
477
+ "completions/clipped_ratio": 0.05,
478
+ "completions/max_length": 3158.4,
479
+ "completions/max_terminated_length": 2922.6,
480
+ "completions/mean_length": 2394.3,
481
+ "completions/mean_terminated_length": 2307.26669921875,
482
+ "completions/min_length": 1780.2,
483
+ "completions/min_terminated_length": 1780.2,
484
+ "entropy": 0.09393323212862015,
485
+ "epoch": 0.9,
486
+ "frac_reward_zero_std": 0.0,
487
+ "grad_norm": 0.12616610527038574,
488
+ "learning_rate": 1.1100000000000002e-05,
489
+ "loss": 0.06031765937805176,
490
+ "num_tokens": 1345249.0,
491
+ "reward": 4.1813901424407955,
492
+ "reward_std": 4.4276350975036625,
493
+ "rewards/combined_reward_fn/mean": 4.1813901424407955,
494
+ "rewards/combined_reward_fn/std": 4.427635371685028,
495
+ "step": 90,
496
+ "step_time": 100.51337632600917
497
+ },
498
+ {
499
+ "clip_ratio/high_max": 0.0,
500
+ "clip_ratio/high_mean": 0.0,
501
+ "clip_ratio/low_mean": 0.0,
502
+ "clip_ratio/low_min": 0.0,
503
+ "clip_ratio/region_mean": 0.0,
504
+ "completions/clipped_ratio": 0.05,
505
+ "completions/max_length": 2942.8,
506
+ "completions/max_terminated_length": 2810.8,
507
+ "completions/mean_length": 2343.85,
508
+ "completions/mean_terminated_length": 2270.8,
509
+ "completions/min_length": 1906.6,
510
+ "completions/min_terminated_length": 1906.6,
511
+ "entropy": 0.09947865307331086,
512
+ "epoch": 0.95,
513
+ "frac_reward_zero_std": 0.0,
514
+ "grad_norm": 0.22282515466213226,
515
+ "learning_rate": 1.0600000000000002e-05,
516
+ "loss": -0.007735538482666016,
517
+ "num_tokens": 1414158.0,
518
+ "reward": 7.395149993896484,
519
+ "reward_std": 3.5335000276565554,
520
+ "rewards/combined_reward_fn/mean": 7.395149993896484,
521
+ "rewards/combined_reward_fn/std": 3.533500051498413,
522
+ "step": 95,
523
+ "step_time": 92.49767726239516
524
+ },
525
+ {
526
+ "clip_ratio/high_max": 0.0,
527
+ "clip_ratio/high_mean": 0.0,
528
+ "clip_ratio/low_mean": 0.0,
529
+ "clip_ratio/low_min": 0.0,
530
+ "clip_ratio/region_mean": 0.0,
531
+ "completions/clipped_ratio": 0.15,
532
+ "completions/max_length": 3397.0,
533
+ "completions/max_terminated_length": 2508.2,
534
+ "completions/mean_length": 2472.05,
535
+ "completions/mean_terminated_length": 2197.616748046875,
536
+ "completions/min_length": 1896.2,
537
+ "completions/min_terminated_length": 1896.2,
538
+ "entropy": 0.1014406830072403,
539
+ "epoch": 1.0,
540
+ "frac_reward_zero_std": 0.0,
541
+ "grad_norm": 0.14389891922473907,
542
+ "learning_rate": 1.0100000000000002e-05,
543
+ "loss": 0.10350224971771241,
544
+ "num_tokens": 1485615.0,
545
+ "reward": 4.888350105285644,
546
+ "reward_std": 5.132816410064697,
547
+ "rewards/combined_reward_fn/mean": 4.888350105285644,
548
+ "rewards/combined_reward_fn/std": 5.1328165292739865,
549
+ "step": 100,
550
+ "step_time": 105.17912857598859
551
+ }
552
+ ],
553
+ "logging_steps": 5,
554
+ "max_steps": 200,
555
+ "num_input_tokens_seen": 1485615,
556
+ "num_train_epochs": 2,
557
+ "save_steps": 50,
558
+ "stateful_callbacks": {
559
+ "TrainerControl": {
560
+ "args": {
561
+ "should_epoch_stop": false,
562
+ "should_evaluate": false,
563
+ "should_log": false,
564
+ "should_save": true,
565
+ "should_training_stop": false
566
+ },
567
+ "attributes": {}
568
+ }
569
+ },
570
+ "total_flos": 0.0,
571
+ "train_batch_size": 4,
572
+ "trial_name": null,
573
+ "trial_params": null
574
+ }
checkpoint-100/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:291194e3ba32f6e08ebdda0990ba6335439bdc4b3136db9a90a3cca222fe0461
3
+ size 6712
checkpoint-150/README.md ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: Qwen/Qwen3-1.7B
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:Qwen/Qwen3-1.7B
7
+ - grpo
8
+ - lora
9
+ - transformers
10
+ - trl
11
+ ---
12
+
13
+ # Model Card for Model ID
14
+
15
+ <!-- Provide a quick summary of what the model is/does. -->
16
+
17
+
18
+
19
+ ## Model Details
20
+
21
+ ### Model Description
22
+
23
+ <!-- Provide a longer summary of what this model is. -->
24
+
25
+
26
+
27
+ - **Developed by:** [More Information Needed]
28
+ - **Funded by [optional]:** [More Information Needed]
29
+ - **Shared by [optional]:** [More Information Needed]
30
+ - **Model type:** [More Information Needed]
31
+ - **Language(s) (NLP):** [More Information Needed]
32
+ - **License:** [More Information Needed]
33
+ - **Finetuned from model [optional]:** [More Information Needed]
34
+
35
+ ### Model Sources [optional]
36
+
37
+ <!-- Provide the basic links for the model. -->
38
+
39
+ - **Repository:** [More Information Needed]
40
+ - **Paper [optional]:** [More Information Needed]
41
+ - **Demo [optional]:** [More Information Needed]
42
+
43
+ ## Uses
44
+
45
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
46
+
47
+ ### Direct Use
48
+
49
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
50
+
51
+ [More Information Needed]
52
+
53
+ ### Downstream Use [optional]
54
+
55
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
56
+
57
+ [More Information Needed]
58
+
59
+ ### Out-of-Scope Use
60
+
61
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
62
+
63
+ [More Information Needed]
64
+
65
+ ## Bias, Risks, and Limitations
66
+
67
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
68
+
69
+ [More Information Needed]
70
+
71
+ ### Recommendations
72
+
73
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
74
+
75
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
76
+
77
+ ## How to Get Started with the Model
78
+
79
+ Use the code below to get started with the model.
80
+
81
+ [More Information Needed]
82
+
83
+ ## Training Details
84
+
85
+ ### Training Data
86
+
87
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
88
+
89
+ [More Information Needed]
90
+
91
+ ### Training Procedure
92
+
93
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
94
+
95
+ #### Preprocessing [optional]
96
+
97
+ [More Information Needed]
98
+
99
+
100
+ #### Training Hyperparameters
101
+
102
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
103
+
104
+ #### Speeds, Sizes, Times [optional]
105
+
106
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
107
+
108
+ [More Information Needed]
109
+
110
+ ## Evaluation
111
+
112
+ <!-- This section describes the evaluation protocols and provides the results. -->
113
+
114
+ ### Testing Data, Factors & Metrics
115
+
116
+ #### Testing Data
117
+
118
+ <!-- This should link to a Dataset Card if possible. -->
119
+
120
+ [More Information Needed]
121
+
122
+ #### Factors
123
+
124
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
125
+
126
+ [More Information Needed]
127
+
128
+ #### Metrics
129
+
130
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
131
+
132
+ [More Information Needed]
133
+
134
+ ### Results
135
+
136
+ [More Information Needed]
137
+
138
+ #### Summary
139
+
140
+
141
+
142
+ ## Model Examination [optional]
143
+
144
+ <!-- Relevant interpretability work for the model goes here -->
145
+
146
+ [More Information Needed]
147
+
148
+ ## Environmental Impact
149
+
150
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
151
+
152
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
153
+
154
+ - **Hardware Type:** [More Information Needed]
155
+ - **Hours used:** [More Information Needed]
156
+ - **Cloud Provider:** [More Information Needed]
157
+ - **Compute Region:** [More Information Needed]
158
+ - **Carbon Emitted:** [More Information Needed]
159
+
160
+ ## Technical Specifications [optional]
161
+
162
+ ### Model Architecture and Objective
163
+
164
+ [More Information Needed]
165
+
166
+ ### Compute Infrastructure
167
+
168
+ [More Information Needed]
169
+
170
+ #### Hardware
171
+
172
+ [More Information Needed]
173
+
174
+ #### Software
175
+
176
+ [More Information Needed]
177
+
178
+ ## Citation [optional]
179
+
180
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
181
+
182
+ **BibTeX:**
183
+
184
+ [More Information Needed]
185
+
186
+ **APA:**
187
+
188
+ [More Information Needed]
189
+
190
+ ## Glossary [optional]
191
+
192
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
193
+
194
+ [More Information Needed]
195
+
196
+ ## More Information [optional]
197
+
198
+ [More Information Needed]
199
+
200
+ ## Model Card Authors [optional]
201
+
202
+ [More Information Needed]
203
+
204
+ ## Model Card Contact
205
+
206
+ [More Information Needed]
207
+ ### Framework versions
208
+
209
+ - PEFT 0.18.1
checkpoint-150/adapter_config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": null,
6
+ "base_model_name_or_path": "Qwen/Qwen3-1.7B",
7
+ "bias": "none",
8
+ "corda_config": null,
9
+ "ensure_weight_tying": false,
10
+ "eva_config": null,
11
+ "exclude_modules": null,
12
+ "fan_in_fan_out": false,
13
+ "inference_mode": true,
14
+ "init_lora_weights": true,
15
+ "layer_replication": null,
16
+ "layers_pattern": null,
17
+ "layers_to_transform": null,
18
+ "loftq_config": {},
19
+ "lora_alpha": 32,
20
+ "lora_bias": false,
21
+ "lora_dropout": 0.05,
22
+ "megatron_config": null,
23
+ "megatron_core": "megatron.core",
24
+ "modules_to_save": null,
25
+ "peft_type": "LORA",
26
+ "peft_version": "0.18.1",
27
+ "qalora_group_size": 16,
28
+ "r": 16,
29
+ "rank_pattern": {},
30
+ "revision": null,
31
+ "target_modules": [
32
+ "v_proj",
33
+ "q_proj"
34
+ ],
35
+ "target_parameters": null,
36
+ "task_type": "CAUSAL_LM",
37
+ "trainable_token_indices": null,
38
+ "use_dora": false,
39
+ "use_qalora": false,
40
+ "use_rslora": false
41
+ }
checkpoint-150/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:837276d69e214a2b20d569b84f4639d3a409f3cb3130239b0a1efd9bb07f776b
3
+ size 12859984
checkpoint-150/chat_template.jinja ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 message.content is string 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.content is string %}
27
+ {%- set content = message.content %}
28
+ {%- else %}
29
+ {%- set content = '' %}
30
+ {%- endif %}
31
+ {%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
32
+ {{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
33
+ {%- elif message.role == "assistant" %}
34
+ {%- set reasoning_content = '' %}
35
+ {%- if message.reasoning_content is string %}
36
+ {%- set reasoning_content = message.reasoning_content %}
37
+ {%- else %}
38
+ {%- if '</think>' in content %}
39
+ {%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
40
+ {%- set content = content.split('</think>')[-1].lstrip('\n') %}
41
+ {%- endif %}
42
+ {%- endif %}
43
+ {%- if loop.index0 > ns.last_query_index %}
44
+ {%- if loop.last or (not loop.last and reasoning_content) %}
45
+ {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }}
46
+ {%- else %}
47
+ {{- '<|im_start|>' + message.role + '\n' + content }}
48
+ {%- endif %}
49
+ {%- else %}
50
+ {{- '<|im_start|>' + message.role + '\n' + content }}
51
+ {%- endif %}
52
+ {%- if message.tool_calls %}
53
+ {%- for tool_call in message.tool_calls %}
54
+ {%- if (loop.first and content) or (not loop.first) %}
55
+ {{- '\n' }}
56
+ {%- endif %}
57
+ {%- if tool_call.function %}
58
+ {%- set tool_call = tool_call.function %}
59
+ {%- endif %}
60
+ {{- '<tool_call>\n{"name": "' }}
61
+ {{- tool_call.name }}
62
+ {{- '", "arguments": ' }}
63
+ {%- if tool_call.arguments is string %}
64
+ {{- tool_call.arguments }}
65
+ {%- else %}
66
+ {{- tool_call.arguments | tojson }}
67
+ {%- endif %}
68
+ {{- '}\n</tool_call>' }}
69
+ {%- endfor %}
70
+ {%- endif %}
71
+ {{- '<|im_end|>\n' }}
72
+ {%- elif message.role == "tool" %}
73
+ {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
74
+ {{- '<|im_start|>user' }}
75
+ {%- endif %}
76
+ {{- '\n<tool_response>\n' }}
77
+ {{- content }}
78
+ {{- '\n</tool_response>' }}
79
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
80
+ {{- '<|im_end|>\n' }}
81
+ {%- endif %}
82
+ {%- endif %}
83
+ {%- endfor %}
84
+ {%- if add_generation_prompt %}
85
+ {{- '<|im_start|>assistant\n' }}
86
+ {%- if enable_thinking is defined and enable_thinking is false %}
87
+ {{- '<think>\n\n</think>\n\n' }}
88
+ {%- endif %}
89
+ {%- endif %}
checkpoint-150/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eff56ffb00be4555df9f4e033c01e576df91a0697f59a275a4b1b967d80de6a8
3
+ size 25784378
checkpoint-150/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7cb0e8796aee0ce473bb8d8c7d1bfbce3591fd7d4b7ef31a37cbfab8375d0bf4
3
+ size 14244
checkpoint-150/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8525ddc478a14472e3ce372156a9476206f0f61bfa815893d66d05b3fa9e3a1d
3
+ size 1064
checkpoint-150/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:be75606093db2094d7cd20f3c2f385c212750648bd6ea4fb2bf507a6a4c55506
3
+ size 11422650
checkpoint-150/tokenizer_config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "backend": "tokenizers",
4
+ "bos_token": null,
5
+ "clean_up_tokenization_spaces": false,
6
+ "eos_token": "<|im_end|>",
7
+ "errors": "replace",
8
+ "extra_special_tokens": [
9
+ "<|im_start|>",
10
+ "<|im_end|>",
11
+ "<|object_ref_start|>",
12
+ "<|object_ref_end|>",
13
+ "<|box_start|>",
14
+ "<|box_end|>",
15
+ "<|quad_start|>",
16
+ "<|quad_end|>",
17
+ "<|vision_start|>",
18
+ "<|vision_end|>",
19
+ "<|vision_pad|>",
20
+ "<|image_pad|>",
21
+ "<|video_pad|>"
22
+ ],
23
+ "is_local": false,
24
+ "model_max_length": 131072,
25
+ "pad_token": "<|endoftext|>",
26
+ "split_special_tokens": false,
27
+ "tokenizer_class": "Qwen2Tokenizer",
28
+ "unk_token": null
29
+ }
checkpoint-150/trainer_state.json ADDED
@@ -0,0 +1,844 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 1.5,
6
+ "eval_steps": 500,
7
+ "global_step": 150,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "clip_ratio/high_max": 0.0,
14
+ "clip_ratio/high_mean": 0.0,
15
+ "clip_ratio/low_mean": 0.0,
16
+ "clip_ratio/low_min": 0.0,
17
+ "clip_ratio/region_mean": 0.0,
18
+ "completions/clipped_ratio": 0.35,
19
+ "completions/max_length": 4096.0,
20
+ "completions/max_terminated_length": 2360.0,
21
+ "completions/mean_length": 2797.55,
22
+ "completions/mean_terminated_length": 2071.1333984375,
23
+ "completions/min_length": 1845.0,
24
+ "completions/min_terminated_length": 1845.0,
25
+ "entropy": 0.09876374900341034,
26
+ "epoch": 0.05,
27
+ "frac_reward_zero_std": 0.0,
28
+ "grad_norm": 0.164414182305336,
29
+ "learning_rate": 1.9600000000000002e-05,
30
+ "loss": 0.24185845851898194,
31
+ "num_tokens": 78039.0,
32
+ "reward": 3.5581498622894285,
33
+ "reward_std": 5.68612232208252,
34
+ "rewards/combined_reward_fn/mean": 3.5581498622894285,
35
+ "rewards/combined_reward_fn/std": 5.686122417449951,
36
+ "step": 5,
37
+ "step_time": 108.90133817999158
38
+ },
39
+ {
40
+ "clip_ratio/high_max": 0.0,
41
+ "clip_ratio/high_mean": 0.0,
42
+ "clip_ratio/low_mean": 0.0,
43
+ "clip_ratio/low_min": 0.0,
44
+ "clip_ratio/region_mean": 0.0,
45
+ "completions/clipped_ratio": 0.2,
46
+ "completions/max_length": 3651.2,
47
+ "completions/max_terminated_length": 2558.4,
48
+ "completions/mean_length": 2587.95,
49
+ "completions/mean_terminated_length": 2181.400048828125,
50
+ "completions/min_length": 1912.2,
51
+ "completions/min_terminated_length": 1912.2,
52
+ "entropy": 0.090367890894413,
53
+ "epoch": 0.1,
54
+ "frac_reward_zero_std": 0.0,
55
+ "grad_norm": 0.16067856550216675,
56
+ "learning_rate": 1.91e-05,
57
+ "loss": 0.12473864555358886,
58
+ "num_tokens": 151926.0,
59
+ "reward": 5.4179000616073605,
60
+ "reward_std": 5.021739101409912,
61
+ "rewards/combined_reward_fn/mean": 5.4179000616073605,
62
+ "rewards/combined_reward_fn/std": 5.021739077568054,
63
+ "step": 10,
64
+ "step_time": 101.38653199401452
65
+ },
66
+ {
67
+ "clip_ratio/high_max": 0.0,
68
+ "clip_ratio/high_mean": 0.0,
69
+ "clip_ratio/low_mean": 0.0,
70
+ "clip_ratio/low_min": 0.0,
71
+ "clip_ratio/region_mean": 0.0,
72
+ "completions/clipped_ratio": 0.55,
73
+ "completions/max_length": 4096.0,
74
+ "completions/max_terminated_length": 1866.2,
75
+ "completions/mean_length": 3242.2,
76
+ "completions/mean_terminated_length": 1720.3333740234375,
77
+ "completions/min_length": 2368.6,
78
+ "completions/min_terminated_length": 1549.4,
79
+ "entropy": 0.10808060467243194,
80
+ "epoch": 0.15,
81
+ "frac_reward_zero_std": 0.0,
82
+ "grad_norm": 0.11999707669019699,
83
+ "learning_rate": 1.86e-05,
84
+ "loss": 0.1977977991104126,
85
+ "num_tokens": 238722.0,
86
+ "reward": 2.5534999847412108,
87
+ "reward_std": 5.597218799591064,
88
+ "rewards/combined_reward_fn/mean": 2.5534999847412108,
89
+ "rewards/combined_reward_fn/std": 5.5972188949584964,
90
+ "step": 15,
91
+ "step_time": 123.89894773198758
92
+ },
93
+ {
94
+ "clip_ratio/high_max": 0.0,
95
+ "clip_ratio/high_mean": 0.0,
96
+ "clip_ratio/low_mean": 0.0,
97
+ "clip_ratio/low_min": 0.0,
98
+ "clip_ratio/region_mean": 0.0,
99
+ "completions/clipped_ratio": 0.2,
100
+ "completions/max_length": 3873.0,
101
+ "completions/max_terminated_length": 2985.6,
102
+ "completions/mean_length": 2729.5,
103
+ "completions/mean_terminated_length": 2360.933349609375,
104
+ "completions/min_length": 1923.0,
105
+ "completions/min_terminated_length": 1923.0,
106
+ "entropy": 0.09633768200874329,
107
+ "epoch": 0.2,
108
+ "frac_reward_zero_std": 0.0,
109
+ "grad_norm": 0.1394500881433487,
110
+ "learning_rate": 1.8100000000000003e-05,
111
+ "loss": 0.07866127490997314,
112
+ "num_tokens": 315336.0,
113
+ "reward": 4.6565999507904055,
114
+ "reward_std": 4.923504161834717,
115
+ "rewards/combined_reward_fn/mean": 4.6565999507904055,
116
+ "rewards/combined_reward_fn/std": 4.923504161834717,
117
+ "step": 20,
118
+ "step_time": 111.82979753639083
119
+ },
120
+ {
121
+ "clip_ratio/high_max": 0.0,
122
+ "clip_ratio/high_mean": 0.0,
123
+ "clip_ratio/low_mean": 0.0,
124
+ "clip_ratio/low_min": 0.0,
125
+ "clip_ratio/region_mean": 0.0,
126
+ "completions/clipped_ratio": 0.25,
127
+ "completions/max_length": 4096.0,
128
+ "completions/max_terminated_length": 3064.6,
129
+ "completions/mean_length": 3032.15,
130
+ "completions/mean_terminated_length": 2677.5333984375,
131
+ "completions/min_length": 2128.6,
132
+ "completions/min_terminated_length": 2128.6,
133
+ "entropy": 0.09437247812747955,
134
+ "epoch": 0.25,
135
+ "frac_reward_zero_std": 0.0,
136
+ "grad_norm": 0.12652961909770966,
137
+ "learning_rate": 1.76e-05,
138
+ "loss": 0.15245428085327148,
139
+ "num_tokens": 397983.0,
140
+ "reward": 4.033899927139283,
141
+ "reward_std": 5.289630603790283,
142
+ "rewards/combined_reward_fn/mean": 4.033899927139283,
143
+ "rewards/combined_reward_fn/std": 5.289630889892578,
144
+ "step": 25,
145
+ "step_time": 118.41992252940545
146
+ },
147
+ {
148
+ "clip_ratio/high_max": 0.0,
149
+ "clip_ratio/high_mean": 0.0,
150
+ "clip_ratio/low_mean": 0.0,
151
+ "clip_ratio/low_min": 0.0,
152
+ "clip_ratio/region_mean": 0.0,
153
+ "completions/clipped_ratio": 0.25,
154
+ "completions/max_length": 3939.8,
155
+ "completions/max_terminated_length": 2742.6,
156
+ "completions/mean_length": 2717.1,
157
+ "completions/mean_terminated_length": 2232.1333984375,
158
+ "completions/min_length": 1779.6,
159
+ "completions/min_terminated_length": 1779.6,
160
+ "entropy": 0.09805799871683121,
161
+ "epoch": 0.3,
162
+ "frac_reward_zero_std": 0.0,
163
+ "grad_norm": 0.12929749488830566,
164
+ "learning_rate": 1.7100000000000002e-05,
165
+ "loss": 0.12725646495819093,
166
+ "num_tokens": 474357.0,
167
+ "reward": 3.0387999057769775,
168
+ "reward_std": 5.2611589431762695,
169
+ "rewards/combined_reward_fn/mean": 3.0387999057769775,
170
+ "rewards/combined_reward_fn/std": 5.261159038543701,
171
+ "step": 30,
172
+ "step_time": 116.51373047439847
173
+ },
174
+ {
175
+ "clip_ratio/high_max": 0.0,
176
+ "clip_ratio/high_mean": 0.0,
177
+ "clip_ratio/low_mean": 0.0,
178
+ "clip_ratio/low_min": 0.0,
179
+ "clip_ratio/region_mean": 0.0,
180
+ "completions/clipped_ratio": 0.15,
181
+ "completions/max_length": 3458.0,
182
+ "completions/max_terminated_length": 2525.4,
183
+ "completions/mean_length": 2463.15,
184
+ "completions/mean_terminated_length": 2185.7333984375,
185
+ "completions/min_length": 1770.4,
186
+ "completions/min_terminated_length": 1770.4,
187
+ "entropy": 0.08664824664592743,
188
+ "epoch": 0.35,
189
+ "frac_reward_zero_std": 0.0,
190
+ "grad_norm": 0.270455926656723,
191
+ "learning_rate": 1.66e-05,
192
+ "loss": 0.15937269926071168,
193
+ "num_tokens": 545644.0,
194
+ "reward": 5.9645998001098635,
195
+ "reward_std": 5.026243317127228,
196
+ "rewards/combined_reward_fn/mean": 5.9645998001098635,
197
+ "rewards/combined_reward_fn/std": 5.026243567466736,
198
+ "step": 35,
199
+ "step_time": 101.08890176118584
200
+ },
201
+ {
202
+ "clip_ratio/high_max": 0.0,
203
+ "clip_ratio/high_mean": 0.0,
204
+ "clip_ratio/low_mean": 0.0,
205
+ "clip_ratio/low_min": 0.0,
206
+ "clip_ratio/region_mean": 0.0,
207
+ "completions/clipped_ratio": 0.2,
208
+ "completions/max_length": 3698.6,
209
+ "completions/max_terminated_length": 2838.0,
210
+ "completions/mean_length": 2698.25,
211
+ "completions/mean_terminated_length": 2359.450048828125,
212
+ "completions/min_length": 1920.4,
213
+ "completions/min_terminated_length": 1920.4,
214
+ "entropy": 0.0883295014500618,
215
+ "epoch": 0.4,
216
+ "frac_reward_zero_std": 0.0,
217
+ "grad_norm": 0.14239603281021118,
218
+ "learning_rate": 1.6100000000000002e-05,
219
+ "loss": 0.08291782140731811,
220
+ "num_tokens": 621613.0,
221
+ "reward": 5.177750015258789,
222
+ "reward_std": 5.595348834991455,
223
+ "rewards/combined_reward_fn/mean": 5.177750015258789,
224
+ "rewards/combined_reward_fn/std": 5.595348834991455,
225
+ "step": 40,
226
+ "step_time": 109.44098777900217
227
+ },
228
+ {
229
+ "clip_ratio/high_max": 0.0,
230
+ "clip_ratio/high_mean": 0.0,
231
+ "clip_ratio/low_mean": 0.0,
232
+ "clip_ratio/low_min": 0.0,
233
+ "clip_ratio/region_mean": 0.0,
234
+ "completions/clipped_ratio": 0.15,
235
+ "completions/max_length": 3677.6,
236
+ "completions/max_terminated_length": 3216.2,
237
+ "completions/mean_length": 2742.0,
238
+ "completions/mean_terminated_length": 2395.95,
239
+ "completions/min_length": 1894.0,
240
+ "completions/min_terminated_length": 1894.0,
241
+ "entropy": 0.0947173461318016,
242
+ "epoch": 0.45,
243
+ "frac_reward_zero_std": 0.0,
244
+ "grad_norm": 0.17538224160671234,
245
+ "learning_rate": 1.5600000000000003e-05,
246
+ "loss": 0.11553004980087281,
247
+ "num_tokens": 698573.0,
248
+ "reward": 6.005599927902222,
249
+ "reward_std": 3.041484570503235,
250
+ "rewards/combined_reward_fn/mean": 6.005599927902222,
251
+ "rewards/combined_reward_fn/std": 3.0414846658706667,
252
+ "step": 45,
253
+ "step_time": 109.76969621782192
254
+ },
255
+ {
256
+ "clip_ratio/high_max": 0.0,
257
+ "clip_ratio/high_mean": 0.0,
258
+ "clip_ratio/low_mean": 0.0,
259
+ "clip_ratio/low_min": 0.0,
260
+ "clip_ratio/region_mean": 0.0,
261
+ "completions/clipped_ratio": 0.15,
262
+ "completions/max_length": 3819.2,
263
+ "completions/max_terminated_length": 3098.2,
264
+ "completions/mean_length": 2648.6,
265
+ "completions/mean_terminated_length": 2391.9833984375,
266
+ "completions/min_length": 1841.2,
267
+ "completions/min_terminated_length": 1841.2,
268
+ "entropy": 0.09659376293420792,
269
+ "epoch": 0.5,
270
+ "frac_reward_zero_std": 0.0,
271
+ "grad_norm": 0.16343547403812408,
272
+ "learning_rate": 1.5100000000000001e-05,
273
+ "loss": 0.027741509675979614,
274
+ "num_tokens": 773653.0,
275
+ "reward": 4.999349927902221,
276
+ "reward_std": 5.17122323513031,
277
+ "rewards/combined_reward_fn/mean": 4.999349927902221,
278
+ "rewards/combined_reward_fn/std": 5.1712233543396,
279
+ "step": 50,
280
+ "step_time": 112.32290486479178
281
+ },
282
+ {
283
+ "clip_ratio/high_max": 0.0,
284
+ "clip_ratio/high_mean": 0.0,
285
+ "clip_ratio/low_mean": 0.0,
286
+ "clip_ratio/low_min": 0.0,
287
+ "clip_ratio/region_mean": 0.0,
288
+ "completions/clipped_ratio": 0.1,
289
+ "completions/max_length": 3323.4,
290
+ "completions/max_terminated_length": 2723.8,
291
+ "completions/mean_length": 2411.05,
292
+ "completions/mean_terminated_length": 2215.033349609375,
293
+ "completions/min_length": 1761.4,
294
+ "completions/min_terminated_length": 1761.4,
295
+ "entropy": 0.08948126435279846,
296
+ "epoch": 0.55,
297
+ "frac_reward_zero_std": 0.0,
298
+ "grad_norm": 0.13685713708400726,
299
+ "learning_rate": 1.46e-05,
300
+ "loss": 0.13086402416229248,
301
+ "num_tokens": 844002.0,
302
+ "reward": 5.210179996490479,
303
+ "reward_std": 4.280504465103149,
304
+ "rewards/combined_reward_fn/mean": 5.210179996490479,
305
+ "rewards/combined_reward_fn/std": 4.280504584312439,
306
+ "step": 55,
307
+ "step_time": 97.91599068460054
308
+ },
309
+ {
310
+ "clip_ratio/high_max": 0.0,
311
+ "clip_ratio/high_mean": 0.0,
312
+ "clip_ratio/low_mean": 0.0,
313
+ "clip_ratio/low_min": 0.0,
314
+ "clip_ratio/region_mean": 0.0,
315
+ "completions/clipped_ratio": 0.1,
316
+ "completions/max_length": 3355.6,
317
+ "completions/max_terminated_length": 2794.4,
318
+ "completions/mean_length": 2484.55,
319
+ "completions/mean_terminated_length": 2306.183349609375,
320
+ "completions/min_length": 1866.0,
321
+ "completions/min_terminated_length": 1866.0,
322
+ "entropy": 0.10166355371475219,
323
+ "epoch": 0.6,
324
+ "frac_reward_zero_std": 0.0,
325
+ "grad_norm": 0.12462152540683746,
326
+ "learning_rate": 1.41e-05,
327
+ "loss": 0.09216442108154296,
328
+ "num_tokens": 915773.0,
329
+ "reward": 7.240950012207032,
330
+ "reward_std": 3.289798986911774,
331
+ "rewards/combined_reward_fn/mean": 7.240950012207032,
332
+ "rewards/combined_reward_fn/std": 3.289798891544342,
333
+ "step": 60,
334
+ "step_time": 96.35008933099452
335
+ },
336
+ {
337
+ "clip_ratio/high_max": 0.0,
338
+ "clip_ratio/high_mean": 0.0,
339
+ "clip_ratio/low_mean": 0.0,
340
+ "clip_ratio/low_min": 0.0,
341
+ "clip_ratio/region_mean": 0.0,
342
+ "completions/clipped_ratio": 0.15,
343
+ "completions/max_length": 3067.6,
344
+ "completions/max_terminated_length": 2370.2,
345
+ "completions/mean_length": 2421.7,
346
+ "completions/mean_terminated_length": 2132.4666748046875,
347
+ "completions/min_length": 1923.0,
348
+ "completions/min_terminated_length": 1923.0,
349
+ "entropy": 0.09233423769474029,
350
+ "epoch": 0.65,
351
+ "frac_reward_zero_std": 0.0,
352
+ "grad_norm": 0.148515522480011,
353
+ "learning_rate": 1.3600000000000002e-05,
354
+ "loss": 0.11075043678283691,
355
+ "num_tokens": 986315.0,
356
+ "reward": 4.487199974060059,
357
+ "reward_std": 6.28532190322876,
358
+ "rewards/combined_reward_fn/mean": 4.487199974060059,
359
+ "rewards/combined_reward_fn/std": 6.28532190322876,
360
+ "step": 65,
361
+ "step_time": 91.01395496120676
362
+ },
363
+ {
364
+ "clip_ratio/high_max": 0.0,
365
+ "clip_ratio/high_mean": 0.0,
366
+ "clip_ratio/low_mean": 0.0,
367
+ "clip_ratio/low_min": 0.0,
368
+ "clip_ratio/region_mean": 0.0,
369
+ "completions/clipped_ratio": 0.05,
370
+ "completions/max_length": 3027.0,
371
+ "completions/max_terminated_length": 2829.6,
372
+ "completions/mean_length": 2464.3,
373
+ "completions/mean_terminated_length": 2382.11669921875,
374
+ "completions/min_length": 2018.4,
375
+ "completions/min_terminated_length": 2018.4,
376
+ "entropy": 0.09054866135120392,
377
+ "epoch": 0.7,
378
+ "frac_reward_zero_std": 0.0,
379
+ "grad_norm": 0.1560310572385788,
380
+ "learning_rate": 1.3100000000000002e-05,
381
+ "loss": -0.004711458086967468,
382
+ "num_tokens": 1057649.0,
383
+ "reward": 6.76639986038208,
384
+ "reward_std": 4.127006316184998,
385
+ "rewards/combined_reward_fn/mean": 6.76639986038208,
386
+ "rewards/combined_reward_fn/std": 4.1270065069198605,
387
+ "step": 70,
388
+ "step_time": 91.32873015338555
389
+ },
390
+ {
391
+ "clip_ratio/high_max": 0.0,
392
+ "clip_ratio/high_mean": 0.0,
393
+ "clip_ratio/low_mean": 0.0,
394
+ "clip_ratio/low_min": 0.0,
395
+ "clip_ratio/region_mean": 0.0,
396
+ "completions/clipped_ratio": 0.1,
397
+ "completions/max_length": 3489.8,
398
+ "completions/max_terminated_length": 3149.2,
399
+ "completions/mean_length": 2482.4,
400
+ "completions/mean_terminated_length": 2306.71669921875,
401
+ "completions/min_length": 1768.8,
402
+ "completions/min_terminated_length": 1768.8,
403
+ "entropy": 0.0954986572265625,
404
+ "epoch": 0.75,
405
+ "frac_reward_zero_std": 0.0,
406
+ "grad_norm": 0.18958808481693268,
407
+ "learning_rate": 1.2600000000000001e-05,
408
+ "loss": 0.05534006357192993,
409
+ "num_tokens": 1129313.0,
410
+ "reward": 3.817350149154663,
411
+ "reward_std": 5.574188280105591,
412
+ "rewards/combined_reward_fn/mean": 3.817350149154663,
413
+ "rewards/combined_reward_fn/std": 5.574188184738159,
414
+ "step": 75,
415
+ "step_time": 103.64483559140936
416
+ },
417
+ {
418
+ "clip_ratio/high_max": 0.0,
419
+ "clip_ratio/high_mean": 0.0,
420
+ "clip_ratio/low_mean": 0.0,
421
+ "clip_ratio/low_min": 0.0,
422
+ "clip_ratio/region_mean": 0.0,
423
+ "completions/clipped_ratio": 0.15,
424
+ "completions/max_length": 3285.8,
425
+ "completions/max_terminated_length": 3066.6,
426
+ "completions/mean_length": 2593.25,
427
+ "completions/mean_terminated_length": 2402.533349609375,
428
+ "completions/min_length": 1864.6,
429
+ "completions/min_terminated_length": 1864.6,
430
+ "entropy": 0.08767899870872498,
431
+ "epoch": 0.8,
432
+ "frac_reward_zero_std": 0.0,
433
+ "grad_norm": 0.17502494156360626,
434
+ "learning_rate": 1.2100000000000001e-05,
435
+ "loss": 0.08078988194465637,
436
+ "num_tokens": 1203294.0,
437
+ "reward": 6.482049989700317,
438
+ "reward_std": 3.041076159477234,
439
+ "rewards/combined_reward_fn/mean": 6.482049989700317,
440
+ "rewards/combined_reward_fn/std": 3.041076183319092,
441
+ "step": 80,
442
+ "step_time": 97.3799867952126
443
+ },
444
+ {
445
+ "clip_ratio/high_max": 0.0,
446
+ "clip_ratio/high_mean": 0.0,
447
+ "clip_ratio/low_mean": 0.0,
448
+ "clip_ratio/low_min": 0.0,
449
+ "clip_ratio/region_mean": 0.0,
450
+ "completions/clipped_ratio": 0.1,
451
+ "completions/max_length": 3385.6,
452
+ "completions/max_terminated_length": 2757.4,
453
+ "completions/mean_length": 2499.25,
454
+ "completions/mean_terminated_length": 2302.983349609375,
455
+ "completions/min_length": 1863.4,
456
+ "completions/min_terminated_length": 1863.4,
457
+ "entropy": 0.09770430624485016,
458
+ "epoch": 0.85,
459
+ "frac_reward_zero_std": 0.0,
460
+ "grad_norm": 0.12575364112854004,
461
+ "learning_rate": 1.16e-05,
462
+ "loss": 0.08057029843330384,
463
+ "num_tokens": 1275307.0,
464
+ "reward": 5.090700006484985,
465
+ "reward_std": 5.10671033859253,
466
+ "rewards/combined_reward_fn/mean": 5.090700006484985,
467
+ "rewards/combined_reward_fn/std": 5.106710624694824,
468
+ "step": 85,
469
+ "step_time": 101.53690337940353
470
+ },
471
+ {
472
+ "clip_ratio/high_max": 0.0,
473
+ "clip_ratio/high_mean": 0.0,
474
+ "clip_ratio/low_mean": 0.0,
475
+ "clip_ratio/low_min": 0.0,
476
+ "clip_ratio/region_mean": 0.0,
477
+ "completions/clipped_ratio": 0.05,
478
+ "completions/max_length": 3158.4,
479
+ "completions/max_terminated_length": 2922.6,
480
+ "completions/mean_length": 2394.3,
481
+ "completions/mean_terminated_length": 2307.26669921875,
482
+ "completions/min_length": 1780.2,
483
+ "completions/min_terminated_length": 1780.2,
484
+ "entropy": 0.09393323212862015,
485
+ "epoch": 0.9,
486
+ "frac_reward_zero_std": 0.0,
487
+ "grad_norm": 0.12616610527038574,
488
+ "learning_rate": 1.1100000000000002e-05,
489
+ "loss": 0.06031765937805176,
490
+ "num_tokens": 1345249.0,
491
+ "reward": 4.1813901424407955,
492
+ "reward_std": 4.4276350975036625,
493
+ "rewards/combined_reward_fn/mean": 4.1813901424407955,
494
+ "rewards/combined_reward_fn/std": 4.427635371685028,
495
+ "step": 90,
496
+ "step_time": 100.51337632600917
497
+ },
498
+ {
499
+ "clip_ratio/high_max": 0.0,
500
+ "clip_ratio/high_mean": 0.0,
501
+ "clip_ratio/low_mean": 0.0,
502
+ "clip_ratio/low_min": 0.0,
503
+ "clip_ratio/region_mean": 0.0,
504
+ "completions/clipped_ratio": 0.05,
505
+ "completions/max_length": 2942.8,
506
+ "completions/max_terminated_length": 2810.8,
507
+ "completions/mean_length": 2343.85,
508
+ "completions/mean_terminated_length": 2270.8,
509
+ "completions/min_length": 1906.6,
510
+ "completions/min_terminated_length": 1906.6,
511
+ "entropy": 0.09947865307331086,
512
+ "epoch": 0.95,
513
+ "frac_reward_zero_std": 0.0,
514
+ "grad_norm": 0.22282515466213226,
515
+ "learning_rate": 1.0600000000000002e-05,
516
+ "loss": -0.007735538482666016,
517
+ "num_tokens": 1414158.0,
518
+ "reward": 7.395149993896484,
519
+ "reward_std": 3.5335000276565554,
520
+ "rewards/combined_reward_fn/mean": 7.395149993896484,
521
+ "rewards/combined_reward_fn/std": 3.533500051498413,
522
+ "step": 95,
523
+ "step_time": 92.49767726239516
524
+ },
525
+ {
526
+ "clip_ratio/high_max": 0.0,
527
+ "clip_ratio/high_mean": 0.0,
528
+ "clip_ratio/low_mean": 0.0,
529
+ "clip_ratio/low_min": 0.0,
530
+ "clip_ratio/region_mean": 0.0,
531
+ "completions/clipped_ratio": 0.15,
532
+ "completions/max_length": 3397.0,
533
+ "completions/max_terminated_length": 2508.2,
534
+ "completions/mean_length": 2472.05,
535
+ "completions/mean_terminated_length": 2197.616748046875,
536
+ "completions/min_length": 1896.2,
537
+ "completions/min_terminated_length": 1896.2,
538
+ "entropy": 0.1014406830072403,
539
+ "epoch": 1.0,
540
+ "frac_reward_zero_std": 0.0,
541
+ "grad_norm": 0.14389891922473907,
542
+ "learning_rate": 1.0100000000000002e-05,
543
+ "loss": 0.10350224971771241,
544
+ "num_tokens": 1485615.0,
545
+ "reward": 4.888350105285644,
546
+ "reward_std": 5.132816410064697,
547
+ "rewards/combined_reward_fn/mean": 4.888350105285644,
548
+ "rewards/combined_reward_fn/std": 5.1328165292739865,
549
+ "step": 100,
550
+ "step_time": 105.17912857598859
551
+ },
552
+ {
553
+ "clip_ratio/high_max": 0.0,
554
+ "clip_ratio/high_mean": 0.0,
555
+ "clip_ratio/low_mean": 0.0,
556
+ "clip_ratio/low_min": 0.0,
557
+ "clip_ratio/region_mean": 0.0,
558
+ "completions/clipped_ratio": 0.1,
559
+ "completions/max_length": 3233.4,
560
+ "completions/max_terminated_length": 2584.4,
561
+ "completions/mean_length": 2312.45,
562
+ "completions/mean_terminated_length": 2121.500048828125,
563
+ "completions/min_length": 1802.6,
564
+ "completions/min_terminated_length": 1802.6,
565
+ "entropy": 0.09058995842933655,
566
+ "epoch": 1.05,
567
+ "frac_reward_zero_std": 0.0,
568
+ "grad_norm": 0.13503997027873993,
569
+ "learning_rate": 9.600000000000001e-06,
570
+ "loss": 0.06539378762245178,
571
+ "num_tokens": 1553912.0,
572
+ "reward": 5.310800075531006,
573
+ "reward_std": 5.286368298530578,
574
+ "rewards/combined_reward_fn/mean": 5.310800075531006,
575
+ "rewards/combined_reward_fn/std": 5.2863685131073,
576
+ "step": 105,
577
+ "step_time": 101.96216435760725
578
+ },
579
+ {
580
+ "clip_ratio/high_max": 0.0,
581
+ "clip_ratio/high_mean": 0.0,
582
+ "clip_ratio/low_mean": 0.0,
583
+ "clip_ratio/low_min": 0.0,
584
+ "clip_ratio/region_mean": 0.0,
585
+ "completions/clipped_ratio": 0.1,
586
+ "completions/max_length": 3560.0,
587
+ "completions/max_terminated_length": 2975.6,
588
+ "completions/mean_length": 2525.1,
589
+ "completions/mean_terminated_length": 2350.86669921875,
590
+ "completions/min_length": 1907.2,
591
+ "completions/min_terminated_length": 1907.2,
592
+ "entropy": 0.09794304817914963,
593
+ "epoch": 1.1,
594
+ "frac_reward_zero_std": 0.0,
595
+ "grad_norm": 0.11566527932882309,
596
+ "learning_rate": 9.100000000000001e-06,
597
+ "loss": 0.10097475051879883,
598
+ "num_tokens": 1626398.0,
599
+ "reward": 5.373299884796142,
600
+ "reward_std": 3.8057665109634398,
601
+ "rewards/combined_reward_fn/mean": 5.373299884796142,
602
+ "rewards/combined_reward_fn/std": 3.8057666063308715,
603
+ "step": 110,
604
+ "step_time": 110.98522113121581
605
+ },
606
+ {
607
+ "clip_ratio/high_max": 0.0,
608
+ "clip_ratio/high_mean": 0.0,
609
+ "clip_ratio/low_mean": 0.0,
610
+ "clip_ratio/low_min": 0.0,
611
+ "clip_ratio/region_mean": 0.0,
612
+ "completions/clipped_ratio": 0.1,
613
+ "completions/max_length": 3259.2,
614
+ "completions/max_terminated_length": 2561.8,
615
+ "completions/mean_length": 2418.6,
616
+ "completions/mean_terminated_length": 2230.16669921875,
617
+ "completions/min_length": 1993.6,
618
+ "completions/min_terminated_length": 1993.6,
619
+ "entropy": 0.08254525065422058,
620
+ "epoch": 1.15,
621
+ "frac_reward_zero_std": 0.0,
622
+ "grad_norm": 0.17645150423049927,
623
+ "learning_rate": 8.6e-06,
624
+ "loss": 0.010759654641151428,
625
+ "num_tokens": 1696810.0,
626
+ "reward": 3.8589000701904297,
627
+ "reward_std": 4.830600321292877,
628
+ "rewards/combined_reward_fn/mean": 3.8589000701904297,
629
+ "rewards/combined_reward_fn/std": 4.8306004226207735,
630
+ "step": 115,
631
+ "step_time": 101.04576327840331
632
+ },
633
+ {
634
+ "clip_ratio/high_max": 0.0,
635
+ "clip_ratio/high_mean": 0.0,
636
+ "clip_ratio/low_mean": 0.0,
637
+ "clip_ratio/low_min": 0.0,
638
+ "clip_ratio/region_mean": 0.0,
639
+ "completions/clipped_ratio": 0.2,
640
+ "completions/max_length": 3757.4,
641
+ "completions/max_terminated_length": 2404.2,
642
+ "completions/mean_length": 2464.25,
643
+ "completions/mean_terminated_length": 2059.8833984375,
644
+ "completions/min_length": 1768.4,
645
+ "completions/min_terminated_length": 1768.4,
646
+ "entropy": 0.08660776913166046,
647
+ "epoch": 1.2,
648
+ "frac_reward_zero_std": 0.0,
649
+ "grad_norm": 0.15443815290927887,
650
+ "learning_rate": 8.1e-06,
651
+ "loss": 0.22375082969665527,
652
+ "num_tokens": 1768159.0,
653
+ "reward": 5.913300037384033,
654
+ "reward_std": 4.695694637298584,
655
+ "rewards/combined_reward_fn/mean": 5.913300037384033,
656
+ "rewards/combined_reward_fn/std": 4.6956947326660154,
657
+ "step": 120,
658
+ "step_time": 115.54127626260743
659
+ },
660
+ {
661
+ "clip_ratio/high_max": 0.0,
662
+ "clip_ratio/high_mean": 0.0,
663
+ "clip_ratio/low_mean": 0.0,
664
+ "clip_ratio/low_min": 0.0,
665
+ "clip_ratio/region_mean": 0.0,
666
+ "completions/clipped_ratio": 0.05,
667
+ "completions/max_length": 2899.8,
668
+ "completions/max_terminated_length": 2640.4,
669
+ "completions/mean_length": 2322.3,
670
+ "completions/mean_terminated_length": 2230.45,
671
+ "completions/min_length": 1914.6,
672
+ "completions/min_terminated_length": 1914.6,
673
+ "entropy": 0.08824309259653092,
674
+ "epoch": 1.25,
675
+ "frac_reward_zero_std": 0.0,
676
+ "grad_norm": 0.16980406641960144,
677
+ "learning_rate": 7.600000000000001e-06,
678
+ "loss": 0.024670909345149993,
679
+ "num_tokens": 1836645.0,
680
+ "reward": 5.819709968566895,
681
+ "reward_std": 4.154629921913147,
682
+ "rewards/combined_reward_fn/mean": 5.819709968566895,
683
+ "rewards/combined_reward_fn/std": 4.154630184173584,
684
+ "step": 125,
685
+ "step_time": 90.41040673980024
686
+ },
687
+ {
688
+ "clip_ratio/high_max": 0.0,
689
+ "clip_ratio/high_mean": 0.0,
690
+ "clip_ratio/low_mean": 0.0,
691
+ "clip_ratio/low_min": 0.0,
692
+ "clip_ratio/region_mean": 0.0,
693
+ "completions/clipped_ratio": 0.1,
694
+ "completions/max_length": 3268.4,
695
+ "completions/max_terminated_length": 2870.2,
696
+ "completions/mean_length": 2633.25,
697
+ "completions/mean_terminated_length": 2480.300048828125,
698
+ "completions/min_length": 2124.8,
699
+ "completions/min_terminated_length": 2124.8,
700
+ "entropy": 0.09058777540922165,
701
+ "epoch": 1.3,
702
+ "frac_reward_zero_std": 0.0,
703
+ "grad_norm": 0.11714135110378265,
704
+ "learning_rate": 7.100000000000001e-06,
705
+ "loss": 0.06325926780700683,
706
+ "num_tokens": 1911426.0,
707
+ "reward": 6.010169887542725,
708
+ "reward_std": 4.046402001380921,
709
+ "rewards/combined_reward_fn/mean": 6.010169887542725,
710
+ "rewards/combined_reward_fn/std": 4.046402168273926,
711
+ "step": 130,
712
+ "step_time": 101.50792271901155
713
+ },
714
+ {
715
+ "clip_ratio/high_max": 0.0,
716
+ "clip_ratio/high_mean": 0.0,
717
+ "clip_ratio/low_mean": 0.0,
718
+ "clip_ratio/low_min": 0.0,
719
+ "clip_ratio/region_mean": 0.0,
720
+ "completions/clipped_ratio": 0.0,
721
+ "completions/max_length": 2831.6,
722
+ "completions/max_terminated_length": 2831.6,
723
+ "completions/mean_length": 2293.7,
724
+ "completions/mean_terminated_length": 2293.7,
725
+ "completions/min_length": 1818.2,
726
+ "completions/min_terminated_length": 1818.2,
727
+ "entropy": 0.10288319885730743,
728
+ "epoch": 1.35,
729
+ "frac_reward_zero_std": 0.0,
730
+ "grad_norm": 0.1425861418247223,
731
+ "learning_rate": 6.600000000000001e-06,
732
+ "loss": -0.03755061030387878,
733
+ "num_tokens": 1979416.0,
734
+ "reward": 6.556550073623657,
735
+ "reward_std": 3.4997296571731566,
736
+ "rewards/combined_reward_fn/mean": 6.556550073623657,
737
+ "rewards/combined_reward_fn/std": 3.4997297048568727,
738
+ "step": 135,
739
+ "step_time": 88.84195423700149
740
+ },
741
+ {
742
+ "clip_ratio/high_max": 0.0,
743
+ "clip_ratio/high_mean": 0.0,
744
+ "clip_ratio/low_mean": 0.0,
745
+ "clip_ratio/low_min": 0.0,
746
+ "clip_ratio/region_mean": 0.0,
747
+ "completions/clipped_ratio": 0.2,
748
+ "completions/max_length": 3319.4,
749
+ "completions/max_terminated_length": 2498.6,
750
+ "completions/mean_length": 2664.25,
751
+ "completions/mean_terminated_length": 2199.083349609375,
752
+ "completions/min_length": 1739.6,
753
+ "completions/min_terminated_length": 1739.6,
754
+ "entropy": 0.08756150305271149,
755
+ "epoch": 1.4,
756
+ "frac_reward_zero_std": 0.0,
757
+ "grad_norm": 0.12729056179523468,
758
+ "learning_rate": 6.1e-06,
759
+ "loss": 0.05446885228157043,
760
+ "num_tokens": 2054829.0,
761
+ "reward": 3.3084999561309814,
762
+ "reward_std": 6.0273261070251465,
763
+ "rewards/combined_reward_fn/mean": 3.3084999561309814,
764
+ "rewards/combined_reward_fn/std": 6.0273261070251465,
765
+ "step": 140,
766
+ "step_time": 107.17153390740278
767
+ },
768
+ {
769
+ "clip_ratio/high_max": 0.0,
770
+ "clip_ratio/high_mean": 0.0,
771
+ "clip_ratio/low_mean": 0.0,
772
+ "clip_ratio/low_min": 0.0,
773
+ "clip_ratio/region_mean": 0.0,
774
+ "completions/clipped_ratio": 0.15,
775
+ "completions/max_length": 3832.4,
776
+ "completions/max_terminated_length": 2908.4,
777
+ "completions/mean_length": 2760.1,
778
+ "completions/mean_terminated_length": 2483.6833740234374,
779
+ "completions/min_length": 2114.4,
780
+ "completions/min_terminated_length": 2114.4,
781
+ "entropy": 0.09180340468883515,
782
+ "epoch": 1.45,
783
+ "frac_reward_zero_std": 0.0,
784
+ "grad_norm": 0.12470444291830063,
785
+ "learning_rate": 5.600000000000001e-06,
786
+ "loss": 0.12354047298431396,
787
+ "num_tokens": 2132031.0,
788
+ "reward": 4.915040111541748,
789
+ "reward_std": 5.242267656326294,
790
+ "rewards/combined_reward_fn/mean": 4.915040111541748,
791
+ "rewards/combined_reward_fn/std": 5.242267799377442,
792
+ "step": 145,
793
+ "step_time": 118.50906647598603
794
+ },
795
+ {
796
+ "clip_ratio/high_max": 0.0,
797
+ "clip_ratio/high_mean": 0.0,
798
+ "clip_ratio/low_mean": 0.0,
799
+ "clip_ratio/low_min": 0.0,
800
+ "clip_ratio/region_mean": 0.0,
801
+ "completions/clipped_ratio": 0.15,
802
+ "completions/max_length": 3527.6,
803
+ "completions/max_terminated_length": 2709.4,
804
+ "completions/mean_length": 2601.1,
805
+ "completions/mean_terminated_length": 2348.533349609375,
806
+ "completions/min_length": 1946.6,
807
+ "completions/min_terminated_length": 1946.6,
808
+ "entropy": 0.08960584700107574,
809
+ "epoch": 1.5,
810
+ "frac_reward_zero_std": 0.0,
811
+ "grad_norm": 0.16406011581420898,
812
+ "learning_rate": 5.1e-06,
813
+ "loss": 0.12920334339141845,
814
+ "num_tokens": 2206113.0,
815
+ "reward": 3.5731899976730346,
816
+ "reward_std": 5.10755033493042,
817
+ "rewards/combined_reward_fn/mean": 3.5731899976730346,
818
+ "rewards/combined_reward_fn/std": 5.107550430297851,
819
+ "step": 150,
820
+ "step_time": 111.50722688417882
821
+ }
822
+ ],
823
+ "logging_steps": 5,
824
+ "max_steps": 200,
825
+ "num_input_tokens_seen": 2206113,
826
+ "num_train_epochs": 2,
827
+ "save_steps": 50,
828
+ "stateful_callbacks": {
829
+ "TrainerControl": {
830
+ "args": {
831
+ "should_epoch_stop": false,
832
+ "should_evaluate": false,
833
+ "should_log": false,
834
+ "should_save": true,
835
+ "should_training_stop": false
836
+ },
837
+ "attributes": {}
838
+ }
839
+ },
840
+ "total_flos": 0.0,
841
+ "train_batch_size": 4,
842
+ "trial_name": null,
843
+ "trial_params": null
844
+ }
checkpoint-150/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:291194e3ba32f6e08ebdda0990ba6335439bdc4b3136db9a90a3cca222fe0461
3
+ size 6712
checkpoint-200/README.md ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: Qwen/Qwen3-1.7B
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:Qwen/Qwen3-1.7B
7
+ - grpo
8
+ - lora
9
+ - transformers
10
+ - trl
11
+ ---
12
+
13
+ # Model Card for Model ID
14
+
15
+ <!-- Provide a quick summary of what the model is/does. -->
16
+
17
+
18
+
19
+ ## Model Details
20
+
21
+ ### Model Description
22
+
23
+ <!-- Provide a longer summary of what this model is. -->
24
+
25
+
26
+
27
+ - **Developed by:** [More Information Needed]
28
+ - **Funded by [optional]:** [More Information Needed]
29
+ - **Shared by [optional]:** [More Information Needed]
30
+ - **Model type:** [More Information Needed]
31
+ - **Language(s) (NLP):** [More Information Needed]
32
+ - **License:** [More Information Needed]
33
+ - **Finetuned from model [optional]:** [More Information Needed]
34
+
35
+ ### Model Sources [optional]
36
+
37
+ <!-- Provide the basic links for the model. -->
38
+
39
+ - **Repository:** [More Information Needed]
40
+ - **Paper [optional]:** [More Information Needed]
41
+ - **Demo [optional]:** [More Information Needed]
42
+
43
+ ## Uses
44
+
45
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
46
+
47
+ ### Direct Use
48
+
49
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
50
+
51
+ [More Information Needed]
52
+
53
+ ### Downstream Use [optional]
54
+
55
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
56
+
57
+ [More Information Needed]
58
+
59
+ ### Out-of-Scope Use
60
+
61
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
62
+
63
+ [More Information Needed]
64
+
65
+ ## Bias, Risks, and Limitations
66
+
67
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
68
+
69
+ [More Information Needed]
70
+
71
+ ### Recommendations
72
+
73
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
74
+
75
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
76
+
77
+ ## How to Get Started with the Model
78
+
79
+ Use the code below to get started with the model.
80
+
81
+ [More Information Needed]
82
+
83
+ ## Training Details
84
+
85
+ ### Training Data
86
+
87
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
88
+
89
+ [More Information Needed]
90
+
91
+ ### Training Procedure
92
+
93
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
94
+
95
+ #### Preprocessing [optional]
96
+
97
+ [More Information Needed]
98
+
99
+
100
+ #### Training Hyperparameters
101
+
102
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
103
+
104
+ #### Speeds, Sizes, Times [optional]
105
+
106
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
107
+
108
+ [More Information Needed]
109
+
110
+ ## Evaluation
111
+
112
+ <!-- This section describes the evaluation protocols and provides the results. -->
113
+
114
+ ### Testing Data, Factors & Metrics
115
+
116
+ #### Testing Data
117
+
118
+ <!-- This should link to a Dataset Card if possible. -->
119
+
120
+ [More Information Needed]
121
+
122
+ #### Factors
123
+
124
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
125
+
126
+ [More Information Needed]
127
+
128
+ #### Metrics
129
+
130
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
131
+
132
+ [More Information Needed]
133
+
134
+ ### Results
135
+
136
+ [More Information Needed]
137
+
138
+ #### Summary
139
+
140
+
141
+
142
+ ## Model Examination [optional]
143
+
144
+ <!-- Relevant interpretability work for the model goes here -->
145
+
146
+ [More Information Needed]
147
+
148
+ ## Environmental Impact
149
+
150
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
151
+
152
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
153
+
154
+ - **Hardware Type:** [More Information Needed]
155
+ - **Hours used:** [More Information Needed]
156
+ - **Cloud Provider:** [More Information Needed]
157
+ - **Compute Region:** [More Information Needed]
158
+ - **Carbon Emitted:** [More Information Needed]
159
+
160
+ ## Technical Specifications [optional]
161
+
162
+ ### Model Architecture and Objective
163
+
164
+ [More Information Needed]
165
+
166
+ ### Compute Infrastructure
167
+
168
+ [More Information Needed]
169
+
170
+ #### Hardware
171
+
172
+ [More Information Needed]
173
+
174
+ #### Software
175
+
176
+ [More Information Needed]
177
+
178
+ ## Citation [optional]
179
+
180
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
181
+
182
+ **BibTeX:**
183
+
184
+ [More Information Needed]
185
+
186
+ **APA:**
187
+
188
+ [More Information Needed]
189
+
190
+ ## Glossary [optional]
191
+
192
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
193
+
194
+ [More Information Needed]
195
+
196
+ ## More Information [optional]
197
+
198
+ [More Information Needed]
199
+
200
+ ## Model Card Authors [optional]
201
+
202
+ [More Information Needed]
203
+
204
+ ## Model Card Contact
205
+
206
+ [More Information Needed]
207
+ ### Framework versions
208
+
209
+ - PEFT 0.18.1
checkpoint-200/adapter_config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": null,
6
+ "base_model_name_or_path": "Qwen/Qwen3-1.7B",
7
+ "bias": "none",
8
+ "corda_config": null,
9
+ "ensure_weight_tying": false,
10
+ "eva_config": null,
11
+ "exclude_modules": null,
12
+ "fan_in_fan_out": false,
13
+ "inference_mode": true,
14
+ "init_lora_weights": true,
15
+ "layer_replication": null,
16
+ "layers_pattern": null,
17
+ "layers_to_transform": null,
18
+ "loftq_config": {},
19
+ "lora_alpha": 32,
20
+ "lora_bias": false,
21
+ "lora_dropout": 0.05,
22
+ "megatron_config": null,
23
+ "megatron_core": "megatron.core",
24
+ "modules_to_save": null,
25
+ "peft_type": "LORA",
26
+ "peft_version": "0.18.1",
27
+ "qalora_group_size": 16,
28
+ "r": 16,
29
+ "rank_pattern": {},
30
+ "revision": null,
31
+ "target_modules": [
32
+ "v_proj",
33
+ "q_proj"
34
+ ],
35
+ "target_parameters": null,
36
+ "task_type": "CAUSAL_LM",
37
+ "trainable_token_indices": null,
38
+ "use_dora": false,
39
+ "use_qalora": false,
40
+ "use_rslora": false
41
+ }
checkpoint-200/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b901e70822382d594fea5f25d6c35255f8f8a8e6672725dd1a5ccc1f03e80ea4
3
+ size 12859984
checkpoint-200/chat_template.jinja ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 message.content is string 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.content is string %}
27
+ {%- set content = message.content %}
28
+ {%- else %}
29
+ {%- set content = '' %}
30
+ {%- endif %}
31
+ {%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
32
+ {{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
33
+ {%- elif message.role == "assistant" %}
34
+ {%- set reasoning_content = '' %}
35
+ {%- if message.reasoning_content is string %}
36
+ {%- set reasoning_content = message.reasoning_content %}
37
+ {%- else %}
38
+ {%- if '</think>' in content %}
39
+ {%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
40
+ {%- set content = content.split('</think>')[-1].lstrip('\n') %}
41
+ {%- endif %}
42
+ {%- endif %}
43
+ {%- if loop.index0 > ns.last_query_index %}
44
+ {%- if loop.last or (not loop.last and reasoning_content) %}
45
+ {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }}
46
+ {%- else %}
47
+ {{- '<|im_start|>' + message.role + '\n' + content }}
48
+ {%- endif %}
49
+ {%- else %}
50
+ {{- '<|im_start|>' + message.role + '\n' + content }}
51
+ {%- endif %}
52
+ {%- if message.tool_calls %}
53
+ {%- for tool_call in message.tool_calls %}
54
+ {%- if (loop.first and content) or (not loop.first) %}
55
+ {{- '\n' }}
56
+ {%- endif %}
57
+ {%- if tool_call.function %}
58
+ {%- set tool_call = tool_call.function %}
59
+ {%- endif %}
60
+ {{- '<tool_call>\n{"name": "' }}
61
+ {{- tool_call.name }}
62
+ {{- '", "arguments": ' }}
63
+ {%- if tool_call.arguments is string %}
64
+ {{- tool_call.arguments }}
65
+ {%- else %}
66
+ {{- tool_call.arguments | tojson }}
67
+ {%- endif %}
68
+ {{- '}\n</tool_call>' }}
69
+ {%- endfor %}
70
+ {%- endif %}
71
+ {{- '<|im_end|>\n' }}
72
+ {%- elif message.role == "tool" %}
73
+ {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
74
+ {{- '<|im_start|>user' }}
75
+ {%- endif %}
76
+ {{- '\n<tool_response>\n' }}
77
+ {{- content }}
78
+ {{- '\n</tool_response>' }}
79
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
80
+ {{- '<|im_end|>\n' }}
81
+ {%- endif %}
82
+ {%- endif %}
83
+ {%- endfor %}
84
+ {%- if add_generation_prompt %}
85
+ {{- '<|im_start|>assistant\n' }}
86
+ {%- if enable_thinking is defined and enable_thinking is false %}
87
+ {{- '<think>\n\n</think>\n\n' }}
88
+ {%- endif %}
89
+ {%- endif %}
checkpoint-200/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:77659a390afc239239b31f5f3ed0b7ee2482f5a925b888ec3e1aee02e50e56a8
3
+ size 25784378
checkpoint-200/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a40412e54825d9a05f0b9f7b221070e94f0657afc1e290e2b403630e094a442a
3
+ size 14244
checkpoint-200/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fb148ad6cd6502048dc3eee274a6708e5b4f6b72c0d56ebc272935446c220acd
3
+ size 1064
checkpoint-200/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:be75606093db2094d7cd20f3c2f385c212750648bd6ea4fb2bf507a6a4c55506
3
+ size 11422650
checkpoint-200/tokenizer_config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "backend": "tokenizers",
4
+ "bos_token": null,
5
+ "clean_up_tokenization_spaces": false,
6
+ "eos_token": "<|im_end|>",
7
+ "errors": "replace",
8
+ "extra_special_tokens": [
9
+ "<|im_start|>",
10
+ "<|im_end|>",
11
+ "<|object_ref_start|>",
12
+ "<|object_ref_end|>",
13
+ "<|box_start|>",
14
+ "<|box_end|>",
15
+ "<|quad_start|>",
16
+ "<|quad_end|>",
17
+ "<|vision_start|>",
18
+ "<|vision_end|>",
19
+ "<|vision_pad|>",
20
+ "<|image_pad|>",
21
+ "<|video_pad|>"
22
+ ],
23
+ "is_local": false,
24
+ "model_max_length": 131072,
25
+ "pad_token": "<|endoftext|>",
26
+ "split_special_tokens": false,
27
+ "tokenizer_class": "Qwen2Tokenizer",
28
+ "unk_token": null
29
+ }
checkpoint-200/trainer_state.json ADDED
@@ -0,0 +1,1114 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 2.0,
6
+ "eval_steps": 500,
7
+ "global_step": 200,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "clip_ratio/high_max": 0.0,
14
+ "clip_ratio/high_mean": 0.0,
15
+ "clip_ratio/low_mean": 0.0,
16
+ "clip_ratio/low_min": 0.0,
17
+ "clip_ratio/region_mean": 0.0,
18
+ "completions/clipped_ratio": 0.35,
19
+ "completions/max_length": 4096.0,
20
+ "completions/max_terminated_length": 2360.0,
21
+ "completions/mean_length": 2797.55,
22
+ "completions/mean_terminated_length": 2071.1333984375,
23
+ "completions/min_length": 1845.0,
24
+ "completions/min_terminated_length": 1845.0,
25
+ "entropy": 0.09876374900341034,
26
+ "epoch": 0.05,
27
+ "frac_reward_zero_std": 0.0,
28
+ "grad_norm": 0.164414182305336,
29
+ "learning_rate": 1.9600000000000002e-05,
30
+ "loss": 0.24185845851898194,
31
+ "num_tokens": 78039.0,
32
+ "reward": 3.5581498622894285,
33
+ "reward_std": 5.68612232208252,
34
+ "rewards/combined_reward_fn/mean": 3.5581498622894285,
35
+ "rewards/combined_reward_fn/std": 5.686122417449951,
36
+ "step": 5,
37
+ "step_time": 108.90133817999158
38
+ },
39
+ {
40
+ "clip_ratio/high_max": 0.0,
41
+ "clip_ratio/high_mean": 0.0,
42
+ "clip_ratio/low_mean": 0.0,
43
+ "clip_ratio/low_min": 0.0,
44
+ "clip_ratio/region_mean": 0.0,
45
+ "completions/clipped_ratio": 0.2,
46
+ "completions/max_length": 3651.2,
47
+ "completions/max_terminated_length": 2558.4,
48
+ "completions/mean_length": 2587.95,
49
+ "completions/mean_terminated_length": 2181.400048828125,
50
+ "completions/min_length": 1912.2,
51
+ "completions/min_terminated_length": 1912.2,
52
+ "entropy": 0.090367890894413,
53
+ "epoch": 0.1,
54
+ "frac_reward_zero_std": 0.0,
55
+ "grad_norm": 0.16067856550216675,
56
+ "learning_rate": 1.91e-05,
57
+ "loss": 0.12473864555358886,
58
+ "num_tokens": 151926.0,
59
+ "reward": 5.4179000616073605,
60
+ "reward_std": 5.021739101409912,
61
+ "rewards/combined_reward_fn/mean": 5.4179000616073605,
62
+ "rewards/combined_reward_fn/std": 5.021739077568054,
63
+ "step": 10,
64
+ "step_time": 101.38653199401452
65
+ },
66
+ {
67
+ "clip_ratio/high_max": 0.0,
68
+ "clip_ratio/high_mean": 0.0,
69
+ "clip_ratio/low_mean": 0.0,
70
+ "clip_ratio/low_min": 0.0,
71
+ "clip_ratio/region_mean": 0.0,
72
+ "completions/clipped_ratio": 0.55,
73
+ "completions/max_length": 4096.0,
74
+ "completions/max_terminated_length": 1866.2,
75
+ "completions/mean_length": 3242.2,
76
+ "completions/mean_terminated_length": 1720.3333740234375,
77
+ "completions/min_length": 2368.6,
78
+ "completions/min_terminated_length": 1549.4,
79
+ "entropy": 0.10808060467243194,
80
+ "epoch": 0.15,
81
+ "frac_reward_zero_std": 0.0,
82
+ "grad_norm": 0.11999707669019699,
83
+ "learning_rate": 1.86e-05,
84
+ "loss": 0.1977977991104126,
85
+ "num_tokens": 238722.0,
86
+ "reward": 2.5534999847412108,
87
+ "reward_std": 5.597218799591064,
88
+ "rewards/combined_reward_fn/mean": 2.5534999847412108,
89
+ "rewards/combined_reward_fn/std": 5.5972188949584964,
90
+ "step": 15,
91
+ "step_time": 123.89894773198758
92
+ },
93
+ {
94
+ "clip_ratio/high_max": 0.0,
95
+ "clip_ratio/high_mean": 0.0,
96
+ "clip_ratio/low_mean": 0.0,
97
+ "clip_ratio/low_min": 0.0,
98
+ "clip_ratio/region_mean": 0.0,
99
+ "completions/clipped_ratio": 0.2,
100
+ "completions/max_length": 3873.0,
101
+ "completions/max_terminated_length": 2985.6,
102
+ "completions/mean_length": 2729.5,
103
+ "completions/mean_terminated_length": 2360.933349609375,
104
+ "completions/min_length": 1923.0,
105
+ "completions/min_terminated_length": 1923.0,
106
+ "entropy": 0.09633768200874329,
107
+ "epoch": 0.2,
108
+ "frac_reward_zero_std": 0.0,
109
+ "grad_norm": 0.1394500881433487,
110
+ "learning_rate": 1.8100000000000003e-05,
111
+ "loss": 0.07866127490997314,
112
+ "num_tokens": 315336.0,
113
+ "reward": 4.6565999507904055,
114
+ "reward_std": 4.923504161834717,
115
+ "rewards/combined_reward_fn/mean": 4.6565999507904055,
116
+ "rewards/combined_reward_fn/std": 4.923504161834717,
117
+ "step": 20,
118
+ "step_time": 111.82979753639083
119
+ },
120
+ {
121
+ "clip_ratio/high_max": 0.0,
122
+ "clip_ratio/high_mean": 0.0,
123
+ "clip_ratio/low_mean": 0.0,
124
+ "clip_ratio/low_min": 0.0,
125
+ "clip_ratio/region_mean": 0.0,
126
+ "completions/clipped_ratio": 0.25,
127
+ "completions/max_length": 4096.0,
128
+ "completions/max_terminated_length": 3064.6,
129
+ "completions/mean_length": 3032.15,
130
+ "completions/mean_terminated_length": 2677.5333984375,
131
+ "completions/min_length": 2128.6,
132
+ "completions/min_terminated_length": 2128.6,
133
+ "entropy": 0.09437247812747955,
134
+ "epoch": 0.25,
135
+ "frac_reward_zero_std": 0.0,
136
+ "grad_norm": 0.12652961909770966,
137
+ "learning_rate": 1.76e-05,
138
+ "loss": 0.15245428085327148,
139
+ "num_tokens": 397983.0,
140
+ "reward": 4.033899927139283,
141
+ "reward_std": 5.289630603790283,
142
+ "rewards/combined_reward_fn/mean": 4.033899927139283,
143
+ "rewards/combined_reward_fn/std": 5.289630889892578,
144
+ "step": 25,
145
+ "step_time": 118.41992252940545
146
+ },
147
+ {
148
+ "clip_ratio/high_max": 0.0,
149
+ "clip_ratio/high_mean": 0.0,
150
+ "clip_ratio/low_mean": 0.0,
151
+ "clip_ratio/low_min": 0.0,
152
+ "clip_ratio/region_mean": 0.0,
153
+ "completions/clipped_ratio": 0.25,
154
+ "completions/max_length": 3939.8,
155
+ "completions/max_terminated_length": 2742.6,
156
+ "completions/mean_length": 2717.1,
157
+ "completions/mean_terminated_length": 2232.1333984375,
158
+ "completions/min_length": 1779.6,
159
+ "completions/min_terminated_length": 1779.6,
160
+ "entropy": 0.09805799871683121,
161
+ "epoch": 0.3,
162
+ "frac_reward_zero_std": 0.0,
163
+ "grad_norm": 0.12929749488830566,
164
+ "learning_rate": 1.7100000000000002e-05,
165
+ "loss": 0.12725646495819093,
166
+ "num_tokens": 474357.0,
167
+ "reward": 3.0387999057769775,
168
+ "reward_std": 5.2611589431762695,
169
+ "rewards/combined_reward_fn/mean": 3.0387999057769775,
170
+ "rewards/combined_reward_fn/std": 5.261159038543701,
171
+ "step": 30,
172
+ "step_time": 116.51373047439847
173
+ },
174
+ {
175
+ "clip_ratio/high_max": 0.0,
176
+ "clip_ratio/high_mean": 0.0,
177
+ "clip_ratio/low_mean": 0.0,
178
+ "clip_ratio/low_min": 0.0,
179
+ "clip_ratio/region_mean": 0.0,
180
+ "completions/clipped_ratio": 0.15,
181
+ "completions/max_length": 3458.0,
182
+ "completions/max_terminated_length": 2525.4,
183
+ "completions/mean_length": 2463.15,
184
+ "completions/mean_terminated_length": 2185.7333984375,
185
+ "completions/min_length": 1770.4,
186
+ "completions/min_terminated_length": 1770.4,
187
+ "entropy": 0.08664824664592743,
188
+ "epoch": 0.35,
189
+ "frac_reward_zero_std": 0.0,
190
+ "grad_norm": 0.270455926656723,
191
+ "learning_rate": 1.66e-05,
192
+ "loss": 0.15937269926071168,
193
+ "num_tokens": 545644.0,
194
+ "reward": 5.9645998001098635,
195
+ "reward_std": 5.026243317127228,
196
+ "rewards/combined_reward_fn/mean": 5.9645998001098635,
197
+ "rewards/combined_reward_fn/std": 5.026243567466736,
198
+ "step": 35,
199
+ "step_time": 101.08890176118584
200
+ },
201
+ {
202
+ "clip_ratio/high_max": 0.0,
203
+ "clip_ratio/high_mean": 0.0,
204
+ "clip_ratio/low_mean": 0.0,
205
+ "clip_ratio/low_min": 0.0,
206
+ "clip_ratio/region_mean": 0.0,
207
+ "completions/clipped_ratio": 0.2,
208
+ "completions/max_length": 3698.6,
209
+ "completions/max_terminated_length": 2838.0,
210
+ "completions/mean_length": 2698.25,
211
+ "completions/mean_terminated_length": 2359.450048828125,
212
+ "completions/min_length": 1920.4,
213
+ "completions/min_terminated_length": 1920.4,
214
+ "entropy": 0.0883295014500618,
215
+ "epoch": 0.4,
216
+ "frac_reward_zero_std": 0.0,
217
+ "grad_norm": 0.14239603281021118,
218
+ "learning_rate": 1.6100000000000002e-05,
219
+ "loss": 0.08291782140731811,
220
+ "num_tokens": 621613.0,
221
+ "reward": 5.177750015258789,
222
+ "reward_std": 5.595348834991455,
223
+ "rewards/combined_reward_fn/mean": 5.177750015258789,
224
+ "rewards/combined_reward_fn/std": 5.595348834991455,
225
+ "step": 40,
226
+ "step_time": 109.44098777900217
227
+ },
228
+ {
229
+ "clip_ratio/high_max": 0.0,
230
+ "clip_ratio/high_mean": 0.0,
231
+ "clip_ratio/low_mean": 0.0,
232
+ "clip_ratio/low_min": 0.0,
233
+ "clip_ratio/region_mean": 0.0,
234
+ "completions/clipped_ratio": 0.15,
235
+ "completions/max_length": 3677.6,
236
+ "completions/max_terminated_length": 3216.2,
237
+ "completions/mean_length": 2742.0,
238
+ "completions/mean_terminated_length": 2395.95,
239
+ "completions/min_length": 1894.0,
240
+ "completions/min_terminated_length": 1894.0,
241
+ "entropy": 0.0947173461318016,
242
+ "epoch": 0.45,
243
+ "frac_reward_zero_std": 0.0,
244
+ "grad_norm": 0.17538224160671234,
245
+ "learning_rate": 1.5600000000000003e-05,
246
+ "loss": 0.11553004980087281,
247
+ "num_tokens": 698573.0,
248
+ "reward": 6.005599927902222,
249
+ "reward_std": 3.041484570503235,
250
+ "rewards/combined_reward_fn/mean": 6.005599927902222,
251
+ "rewards/combined_reward_fn/std": 3.0414846658706667,
252
+ "step": 45,
253
+ "step_time": 109.76969621782192
254
+ },
255
+ {
256
+ "clip_ratio/high_max": 0.0,
257
+ "clip_ratio/high_mean": 0.0,
258
+ "clip_ratio/low_mean": 0.0,
259
+ "clip_ratio/low_min": 0.0,
260
+ "clip_ratio/region_mean": 0.0,
261
+ "completions/clipped_ratio": 0.15,
262
+ "completions/max_length": 3819.2,
263
+ "completions/max_terminated_length": 3098.2,
264
+ "completions/mean_length": 2648.6,
265
+ "completions/mean_terminated_length": 2391.9833984375,
266
+ "completions/min_length": 1841.2,
267
+ "completions/min_terminated_length": 1841.2,
268
+ "entropy": 0.09659376293420792,
269
+ "epoch": 0.5,
270
+ "frac_reward_zero_std": 0.0,
271
+ "grad_norm": 0.16343547403812408,
272
+ "learning_rate": 1.5100000000000001e-05,
273
+ "loss": 0.027741509675979614,
274
+ "num_tokens": 773653.0,
275
+ "reward": 4.999349927902221,
276
+ "reward_std": 5.17122323513031,
277
+ "rewards/combined_reward_fn/mean": 4.999349927902221,
278
+ "rewards/combined_reward_fn/std": 5.1712233543396,
279
+ "step": 50,
280
+ "step_time": 112.32290486479178
281
+ },
282
+ {
283
+ "clip_ratio/high_max": 0.0,
284
+ "clip_ratio/high_mean": 0.0,
285
+ "clip_ratio/low_mean": 0.0,
286
+ "clip_ratio/low_min": 0.0,
287
+ "clip_ratio/region_mean": 0.0,
288
+ "completions/clipped_ratio": 0.1,
289
+ "completions/max_length": 3323.4,
290
+ "completions/max_terminated_length": 2723.8,
291
+ "completions/mean_length": 2411.05,
292
+ "completions/mean_terminated_length": 2215.033349609375,
293
+ "completions/min_length": 1761.4,
294
+ "completions/min_terminated_length": 1761.4,
295
+ "entropy": 0.08948126435279846,
296
+ "epoch": 0.55,
297
+ "frac_reward_zero_std": 0.0,
298
+ "grad_norm": 0.13685713708400726,
299
+ "learning_rate": 1.46e-05,
300
+ "loss": 0.13086402416229248,
301
+ "num_tokens": 844002.0,
302
+ "reward": 5.210179996490479,
303
+ "reward_std": 4.280504465103149,
304
+ "rewards/combined_reward_fn/mean": 5.210179996490479,
305
+ "rewards/combined_reward_fn/std": 4.280504584312439,
306
+ "step": 55,
307
+ "step_time": 97.91599068460054
308
+ },
309
+ {
310
+ "clip_ratio/high_max": 0.0,
311
+ "clip_ratio/high_mean": 0.0,
312
+ "clip_ratio/low_mean": 0.0,
313
+ "clip_ratio/low_min": 0.0,
314
+ "clip_ratio/region_mean": 0.0,
315
+ "completions/clipped_ratio": 0.1,
316
+ "completions/max_length": 3355.6,
317
+ "completions/max_terminated_length": 2794.4,
318
+ "completions/mean_length": 2484.55,
319
+ "completions/mean_terminated_length": 2306.183349609375,
320
+ "completions/min_length": 1866.0,
321
+ "completions/min_terminated_length": 1866.0,
322
+ "entropy": 0.10166355371475219,
323
+ "epoch": 0.6,
324
+ "frac_reward_zero_std": 0.0,
325
+ "grad_norm": 0.12462152540683746,
326
+ "learning_rate": 1.41e-05,
327
+ "loss": 0.09216442108154296,
328
+ "num_tokens": 915773.0,
329
+ "reward": 7.240950012207032,
330
+ "reward_std": 3.289798986911774,
331
+ "rewards/combined_reward_fn/mean": 7.240950012207032,
332
+ "rewards/combined_reward_fn/std": 3.289798891544342,
333
+ "step": 60,
334
+ "step_time": 96.35008933099452
335
+ },
336
+ {
337
+ "clip_ratio/high_max": 0.0,
338
+ "clip_ratio/high_mean": 0.0,
339
+ "clip_ratio/low_mean": 0.0,
340
+ "clip_ratio/low_min": 0.0,
341
+ "clip_ratio/region_mean": 0.0,
342
+ "completions/clipped_ratio": 0.15,
343
+ "completions/max_length": 3067.6,
344
+ "completions/max_terminated_length": 2370.2,
345
+ "completions/mean_length": 2421.7,
346
+ "completions/mean_terminated_length": 2132.4666748046875,
347
+ "completions/min_length": 1923.0,
348
+ "completions/min_terminated_length": 1923.0,
349
+ "entropy": 0.09233423769474029,
350
+ "epoch": 0.65,
351
+ "frac_reward_zero_std": 0.0,
352
+ "grad_norm": 0.148515522480011,
353
+ "learning_rate": 1.3600000000000002e-05,
354
+ "loss": 0.11075043678283691,
355
+ "num_tokens": 986315.0,
356
+ "reward": 4.487199974060059,
357
+ "reward_std": 6.28532190322876,
358
+ "rewards/combined_reward_fn/mean": 4.487199974060059,
359
+ "rewards/combined_reward_fn/std": 6.28532190322876,
360
+ "step": 65,
361
+ "step_time": 91.01395496120676
362
+ },
363
+ {
364
+ "clip_ratio/high_max": 0.0,
365
+ "clip_ratio/high_mean": 0.0,
366
+ "clip_ratio/low_mean": 0.0,
367
+ "clip_ratio/low_min": 0.0,
368
+ "clip_ratio/region_mean": 0.0,
369
+ "completions/clipped_ratio": 0.05,
370
+ "completions/max_length": 3027.0,
371
+ "completions/max_terminated_length": 2829.6,
372
+ "completions/mean_length": 2464.3,
373
+ "completions/mean_terminated_length": 2382.11669921875,
374
+ "completions/min_length": 2018.4,
375
+ "completions/min_terminated_length": 2018.4,
376
+ "entropy": 0.09054866135120392,
377
+ "epoch": 0.7,
378
+ "frac_reward_zero_std": 0.0,
379
+ "grad_norm": 0.1560310572385788,
380
+ "learning_rate": 1.3100000000000002e-05,
381
+ "loss": -0.004711458086967468,
382
+ "num_tokens": 1057649.0,
383
+ "reward": 6.76639986038208,
384
+ "reward_std": 4.127006316184998,
385
+ "rewards/combined_reward_fn/mean": 6.76639986038208,
386
+ "rewards/combined_reward_fn/std": 4.1270065069198605,
387
+ "step": 70,
388
+ "step_time": 91.32873015338555
389
+ },
390
+ {
391
+ "clip_ratio/high_max": 0.0,
392
+ "clip_ratio/high_mean": 0.0,
393
+ "clip_ratio/low_mean": 0.0,
394
+ "clip_ratio/low_min": 0.0,
395
+ "clip_ratio/region_mean": 0.0,
396
+ "completions/clipped_ratio": 0.1,
397
+ "completions/max_length": 3489.8,
398
+ "completions/max_terminated_length": 3149.2,
399
+ "completions/mean_length": 2482.4,
400
+ "completions/mean_terminated_length": 2306.71669921875,
401
+ "completions/min_length": 1768.8,
402
+ "completions/min_terminated_length": 1768.8,
403
+ "entropy": 0.0954986572265625,
404
+ "epoch": 0.75,
405
+ "frac_reward_zero_std": 0.0,
406
+ "grad_norm": 0.18958808481693268,
407
+ "learning_rate": 1.2600000000000001e-05,
408
+ "loss": 0.05534006357192993,
409
+ "num_tokens": 1129313.0,
410
+ "reward": 3.817350149154663,
411
+ "reward_std": 5.574188280105591,
412
+ "rewards/combined_reward_fn/mean": 3.817350149154663,
413
+ "rewards/combined_reward_fn/std": 5.574188184738159,
414
+ "step": 75,
415
+ "step_time": 103.64483559140936
416
+ },
417
+ {
418
+ "clip_ratio/high_max": 0.0,
419
+ "clip_ratio/high_mean": 0.0,
420
+ "clip_ratio/low_mean": 0.0,
421
+ "clip_ratio/low_min": 0.0,
422
+ "clip_ratio/region_mean": 0.0,
423
+ "completions/clipped_ratio": 0.15,
424
+ "completions/max_length": 3285.8,
425
+ "completions/max_terminated_length": 3066.6,
426
+ "completions/mean_length": 2593.25,
427
+ "completions/mean_terminated_length": 2402.533349609375,
428
+ "completions/min_length": 1864.6,
429
+ "completions/min_terminated_length": 1864.6,
430
+ "entropy": 0.08767899870872498,
431
+ "epoch": 0.8,
432
+ "frac_reward_zero_std": 0.0,
433
+ "grad_norm": 0.17502494156360626,
434
+ "learning_rate": 1.2100000000000001e-05,
435
+ "loss": 0.08078988194465637,
436
+ "num_tokens": 1203294.0,
437
+ "reward": 6.482049989700317,
438
+ "reward_std": 3.041076159477234,
439
+ "rewards/combined_reward_fn/mean": 6.482049989700317,
440
+ "rewards/combined_reward_fn/std": 3.041076183319092,
441
+ "step": 80,
442
+ "step_time": 97.3799867952126
443
+ },
444
+ {
445
+ "clip_ratio/high_max": 0.0,
446
+ "clip_ratio/high_mean": 0.0,
447
+ "clip_ratio/low_mean": 0.0,
448
+ "clip_ratio/low_min": 0.0,
449
+ "clip_ratio/region_mean": 0.0,
450
+ "completions/clipped_ratio": 0.1,
451
+ "completions/max_length": 3385.6,
452
+ "completions/max_terminated_length": 2757.4,
453
+ "completions/mean_length": 2499.25,
454
+ "completions/mean_terminated_length": 2302.983349609375,
455
+ "completions/min_length": 1863.4,
456
+ "completions/min_terminated_length": 1863.4,
457
+ "entropy": 0.09770430624485016,
458
+ "epoch": 0.85,
459
+ "frac_reward_zero_std": 0.0,
460
+ "grad_norm": 0.12575364112854004,
461
+ "learning_rate": 1.16e-05,
462
+ "loss": 0.08057029843330384,
463
+ "num_tokens": 1275307.0,
464
+ "reward": 5.090700006484985,
465
+ "reward_std": 5.10671033859253,
466
+ "rewards/combined_reward_fn/mean": 5.090700006484985,
467
+ "rewards/combined_reward_fn/std": 5.106710624694824,
468
+ "step": 85,
469
+ "step_time": 101.53690337940353
470
+ },
471
+ {
472
+ "clip_ratio/high_max": 0.0,
473
+ "clip_ratio/high_mean": 0.0,
474
+ "clip_ratio/low_mean": 0.0,
475
+ "clip_ratio/low_min": 0.0,
476
+ "clip_ratio/region_mean": 0.0,
477
+ "completions/clipped_ratio": 0.05,
478
+ "completions/max_length": 3158.4,
479
+ "completions/max_terminated_length": 2922.6,
480
+ "completions/mean_length": 2394.3,
481
+ "completions/mean_terminated_length": 2307.26669921875,
482
+ "completions/min_length": 1780.2,
483
+ "completions/min_terminated_length": 1780.2,
484
+ "entropy": 0.09393323212862015,
485
+ "epoch": 0.9,
486
+ "frac_reward_zero_std": 0.0,
487
+ "grad_norm": 0.12616610527038574,
488
+ "learning_rate": 1.1100000000000002e-05,
489
+ "loss": 0.06031765937805176,
490
+ "num_tokens": 1345249.0,
491
+ "reward": 4.1813901424407955,
492
+ "reward_std": 4.4276350975036625,
493
+ "rewards/combined_reward_fn/mean": 4.1813901424407955,
494
+ "rewards/combined_reward_fn/std": 4.427635371685028,
495
+ "step": 90,
496
+ "step_time": 100.51337632600917
497
+ },
498
+ {
499
+ "clip_ratio/high_max": 0.0,
500
+ "clip_ratio/high_mean": 0.0,
501
+ "clip_ratio/low_mean": 0.0,
502
+ "clip_ratio/low_min": 0.0,
503
+ "clip_ratio/region_mean": 0.0,
504
+ "completions/clipped_ratio": 0.05,
505
+ "completions/max_length": 2942.8,
506
+ "completions/max_terminated_length": 2810.8,
507
+ "completions/mean_length": 2343.85,
508
+ "completions/mean_terminated_length": 2270.8,
509
+ "completions/min_length": 1906.6,
510
+ "completions/min_terminated_length": 1906.6,
511
+ "entropy": 0.09947865307331086,
512
+ "epoch": 0.95,
513
+ "frac_reward_zero_std": 0.0,
514
+ "grad_norm": 0.22282515466213226,
515
+ "learning_rate": 1.0600000000000002e-05,
516
+ "loss": -0.007735538482666016,
517
+ "num_tokens": 1414158.0,
518
+ "reward": 7.395149993896484,
519
+ "reward_std": 3.5335000276565554,
520
+ "rewards/combined_reward_fn/mean": 7.395149993896484,
521
+ "rewards/combined_reward_fn/std": 3.533500051498413,
522
+ "step": 95,
523
+ "step_time": 92.49767726239516
524
+ },
525
+ {
526
+ "clip_ratio/high_max": 0.0,
527
+ "clip_ratio/high_mean": 0.0,
528
+ "clip_ratio/low_mean": 0.0,
529
+ "clip_ratio/low_min": 0.0,
530
+ "clip_ratio/region_mean": 0.0,
531
+ "completions/clipped_ratio": 0.15,
532
+ "completions/max_length": 3397.0,
533
+ "completions/max_terminated_length": 2508.2,
534
+ "completions/mean_length": 2472.05,
535
+ "completions/mean_terminated_length": 2197.616748046875,
536
+ "completions/min_length": 1896.2,
537
+ "completions/min_terminated_length": 1896.2,
538
+ "entropy": 0.1014406830072403,
539
+ "epoch": 1.0,
540
+ "frac_reward_zero_std": 0.0,
541
+ "grad_norm": 0.14389891922473907,
542
+ "learning_rate": 1.0100000000000002e-05,
543
+ "loss": 0.10350224971771241,
544
+ "num_tokens": 1485615.0,
545
+ "reward": 4.888350105285644,
546
+ "reward_std": 5.132816410064697,
547
+ "rewards/combined_reward_fn/mean": 4.888350105285644,
548
+ "rewards/combined_reward_fn/std": 5.1328165292739865,
549
+ "step": 100,
550
+ "step_time": 105.17912857598859
551
+ },
552
+ {
553
+ "clip_ratio/high_max": 0.0,
554
+ "clip_ratio/high_mean": 0.0,
555
+ "clip_ratio/low_mean": 0.0,
556
+ "clip_ratio/low_min": 0.0,
557
+ "clip_ratio/region_mean": 0.0,
558
+ "completions/clipped_ratio": 0.1,
559
+ "completions/max_length": 3233.4,
560
+ "completions/max_terminated_length": 2584.4,
561
+ "completions/mean_length": 2312.45,
562
+ "completions/mean_terminated_length": 2121.500048828125,
563
+ "completions/min_length": 1802.6,
564
+ "completions/min_terminated_length": 1802.6,
565
+ "entropy": 0.09058995842933655,
566
+ "epoch": 1.05,
567
+ "frac_reward_zero_std": 0.0,
568
+ "grad_norm": 0.13503997027873993,
569
+ "learning_rate": 9.600000000000001e-06,
570
+ "loss": 0.06539378762245178,
571
+ "num_tokens": 1553912.0,
572
+ "reward": 5.310800075531006,
573
+ "reward_std": 5.286368298530578,
574
+ "rewards/combined_reward_fn/mean": 5.310800075531006,
575
+ "rewards/combined_reward_fn/std": 5.2863685131073,
576
+ "step": 105,
577
+ "step_time": 101.96216435760725
578
+ },
579
+ {
580
+ "clip_ratio/high_max": 0.0,
581
+ "clip_ratio/high_mean": 0.0,
582
+ "clip_ratio/low_mean": 0.0,
583
+ "clip_ratio/low_min": 0.0,
584
+ "clip_ratio/region_mean": 0.0,
585
+ "completions/clipped_ratio": 0.1,
586
+ "completions/max_length": 3560.0,
587
+ "completions/max_terminated_length": 2975.6,
588
+ "completions/mean_length": 2525.1,
589
+ "completions/mean_terminated_length": 2350.86669921875,
590
+ "completions/min_length": 1907.2,
591
+ "completions/min_terminated_length": 1907.2,
592
+ "entropy": 0.09794304817914963,
593
+ "epoch": 1.1,
594
+ "frac_reward_zero_std": 0.0,
595
+ "grad_norm": 0.11566527932882309,
596
+ "learning_rate": 9.100000000000001e-06,
597
+ "loss": 0.10097475051879883,
598
+ "num_tokens": 1626398.0,
599
+ "reward": 5.373299884796142,
600
+ "reward_std": 3.8057665109634398,
601
+ "rewards/combined_reward_fn/mean": 5.373299884796142,
602
+ "rewards/combined_reward_fn/std": 3.8057666063308715,
603
+ "step": 110,
604
+ "step_time": 110.98522113121581
605
+ },
606
+ {
607
+ "clip_ratio/high_max": 0.0,
608
+ "clip_ratio/high_mean": 0.0,
609
+ "clip_ratio/low_mean": 0.0,
610
+ "clip_ratio/low_min": 0.0,
611
+ "clip_ratio/region_mean": 0.0,
612
+ "completions/clipped_ratio": 0.1,
613
+ "completions/max_length": 3259.2,
614
+ "completions/max_terminated_length": 2561.8,
615
+ "completions/mean_length": 2418.6,
616
+ "completions/mean_terminated_length": 2230.16669921875,
617
+ "completions/min_length": 1993.6,
618
+ "completions/min_terminated_length": 1993.6,
619
+ "entropy": 0.08254525065422058,
620
+ "epoch": 1.15,
621
+ "frac_reward_zero_std": 0.0,
622
+ "grad_norm": 0.17645150423049927,
623
+ "learning_rate": 8.6e-06,
624
+ "loss": 0.010759654641151428,
625
+ "num_tokens": 1696810.0,
626
+ "reward": 3.8589000701904297,
627
+ "reward_std": 4.830600321292877,
628
+ "rewards/combined_reward_fn/mean": 3.8589000701904297,
629
+ "rewards/combined_reward_fn/std": 4.8306004226207735,
630
+ "step": 115,
631
+ "step_time": 101.04576327840331
632
+ },
633
+ {
634
+ "clip_ratio/high_max": 0.0,
635
+ "clip_ratio/high_mean": 0.0,
636
+ "clip_ratio/low_mean": 0.0,
637
+ "clip_ratio/low_min": 0.0,
638
+ "clip_ratio/region_mean": 0.0,
639
+ "completions/clipped_ratio": 0.2,
640
+ "completions/max_length": 3757.4,
641
+ "completions/max_terminated_length": 2404.2,
642
+ "completions/mean_length": 2464.25,
643
+ "completions/mean_terminated_length": 2059.8833984375,
644
+ "completions/min_length": 1768.4,
645
+ "completions/min_terminated_length": 1768.4,
646
+ "entropy": 0.08660776913166046,
647
+ "epoch": 1.2,
648
+ "frac_reward_zero_std": 0.0,
649
+ "grad_norm": 0.15443815290927887,
650
+ "learning_rate": 8.1e-06,
651
+ "loss": 0.22375082969665527,
652
+ "num_tokens": 1768159.0,
653
+ "reward": 5.913300037384033,
654
+ "reward_std": 4.695694637298584,
655
+ "rewards/combined_reward_fn/mean": 5.913300037384033,
656
+ "rewards/combined_reward_fn/std": 4.6956947326660154,
657
+ "step": 120,
658
+ "step_time": 115.54127626260743
659
+ },
660
+ {
661
+ "clip_ratio/high_max": 0.0,
662
+ "clip_ratio/high_mean": 0.0,
663
+ "clip_ratio/low_mean": 0.0,
664
+ "clip_ratio/low_min": 0.0,
665
+ "clip_ratio/region_mean": 0.0,
666
+ "completions/clipped_ratio": 0.05,
667
+ "completions/max_length": 2899.8,
668
+ "completions/max_terminated_length": 2640.4,
669
+ "completions/mean_length": 2322.3,
670
+ "completions/mean_terminated_length": 2230.45,
671
+ "completions/min_length": 1914.6,
672
+ "completions/min_terminated_length": 1914.6,
673
+ "entropy": 0.08824309259653092,
674
+ "epoch": 1.25,
675
+ "frac_reward_zero_std": 0.0,
676
+ "grad_norm": 0.16980406641960144,
677
+ "learning_rate": 7.600000000000001e-06,
678
+ "loss": 0.024670909345149993,
679
+ "num_tokens": 1836645.0,
680
+ "reward": 5.819709968566895,
681
+ "reward_std": 4.154629921913147,
682
+ "rewards/combined_reward_fn/mean": 5.819709968566895,
683
+ "rewards/combined_reward_fn/std": 4.154630184173584,
684
+ "step": 125,
685
+ "step_time": 90.41040673980024
686
+ },
687
+ {
688
+ "clip_ratio/high_max": 0.0,
689
+ "clip_ratio/high_mean": 0.0,
690
+ "clip_ratio/low_mean": 0.0,
691
+ "clip_ratio/low_min": 0.0,
692
+ "clip_ratio/region_mean": 0.0,
693
+ "completions/clipped_ratio": 0.1,
694
+ "completions/max_length": 3268.4,
695
+ "completions/max_terminated_length": 2870.2,
696
+ "completions/mean_length": 2633.25,
697
+ "completions/mean_terminated_length": 2480.300048828125,
698
+ "completions/min_length": 2124.8,
699
+ "completions/min_terminated_length": 2124.8,
700
+ "entropy": 0.09058777540922165,
701
+ "epoch": 1.3,
702
+ "frac_reward_zero_std": 0.0,
703
+ "grad_norm": 0.11714135110378265,
704
+ "learning_rate": 7.100000000000001e-06,
705
+ "loss": 0.06325926780700683,
706
+ "num_tokens": 1911426.0,
707
+ "reward": 6.010169887542725,
708
+ "reward_std": 4.046402001380921,
709
+ "rewards/combined_reward_fn/mean": 6.010169887542725,
710
+ "rewards/combined_reward_fn/std": 4.046402168273926,
711
+ "step": 130,
712
+ "step_time": 101.50792271901155
713
+ },
714
+ {
715
+ "clip_ratio/high_max": 0.0,
716
+ "clip_ratio/high_mean": 0.0,
717
+ "clip_ratio/low_mean": 0.0,
718
+ "clip_ratio/low_min": 0.0,
719
+ "clip_ratio/region_mean": 0.0,
720
+ "completions/clipped_ratio": 0.0,
721
+ "completions/max_length": 2831.6,
722
+ "completions/max_terminated_length": 2831.6,
723
+ "completions/mean_length": 2293.7,
724
+ "completions/mean_terminated_length": 2293.7,
725
+ "completions/min_length": 1818.2,
726
+ "completions/min_terminated_length": 1818.2,
727
+ "entropy": 0.10288319885730743,
728
+ "epoch": 1.35,
729
+ "frac_reward_zero_std": 0.0,
730
+ "grad_norm": 0.1425861418247223,
731
+ "learning_rate": 6.600000000000001e-06,
732
+ "loss": -0.03755061030387878,
733
+ "num_tokens": 1979416.0,
734
+ "reward": 6.556550073623657,
735
+ "reward_std": 3.4997296571731566,
736
+ "rewards/combined_reward_fn/mean": 6.556550073623657,
737
+ "rewards/combined_reward_fn/std": 3.4997297048568727,
738
+ "step": 135,
739
+ "step_time": 88.84195423700149
740
+ },
741
+ {
742
+ "clip_ratio/high_max": 0.0,
743
+ "clip_ratio/high_mean": 0.0,
744
+ "clip_ratio/low_mean": 0.0,
745
+ "clip_ratio/low_min": 0.0,
746
+ "clip_ratio/region_mean": 0.0,
747
+ "completions/clipped_ratio": 0.2,
748
+ "completions/max_length": 3319.4,
749
+ "completions/max_terminated_length": 2498.6,
750
+ "completions/mean_length": 2664.25,
751
+ "completions/mean_terminated_length": 2199.083349609375,
752
+ "completions/min_length": 1739.6,
753
+ "completions/min_terminated_length": 1739.6,
754
+ "entropy": 0.08756150305271149,
755
+ "epoch": 1.4,
756
+ "frac_reward_zero_std": 0.0,
757
+ "grad_norm": 0.12729056179523468,
758
+ "learning_rate": 6.1e-06,
759
+ "loss": 0.05446885228157043,
760
+ "num_tokens": 2054829.0,
761
+ "reward": 3.3084999561309814,
762
+ "reward_std": 6.0273261070251465,
763
+ "rewards/combined_reward_fn/mean": 3.3084999561309814,
764
+ "rewards/combined_reward_fn/std": 6.0273261070251465,
765
+ "step": 140,
766
+ "step_time": 107.17153390740278
767
+ },
768
+ {
769
+ "clip_ratio/high_max": 0.0,
770
+ "clip_ratio/high_mean": 0.0,
771
+ "clip_ratio/low_mean": 0.0,
772
+ "clip_ratio/low_min": 0.0,
773
+ "clip_ratio/region_mean": 0.0,
774
+ "completions/clipped_ratio": 0.15,
775
+ "completions/max_length": 3832.4,
776
+ "completions/max_terminated_length": 2908.4,
777
+ "completions/mean_length": 2760.1,
778
+ "completions/mean_terminated_length": 2483.6833740234374,
779
+ "completions/min_length": 2114.4,
780
+ "completions/min_terminated_length": 2114.4,
781
+ "entropy": 0.09180340468883515,
782
+ "epoch": 1.45,
783
+ "frac_reward_zero_std": 0.0,
784
+ "grad_norm": 0.12470444291830063,
785
+ "learning_rate": 5.600000000000001e-06,
786
+ "loss": 0.12354047298431396,
787
+ "num_tokens": 2132031.0,
788
+ "reward": 4.915040111541748,
789
+ "reward_std": 5.242267656326294,
790
+ "rewards/combined_reward_fn/mean": 4.915040111541748,
791
+ "rewards/combined_reward_fn/std": 5.242267799377442,
792
+ "step": 145,
793
+ "step_time": 118.50906647598603
794
+ },
795
+ {
796
+ "clip_ratio/high_max": 0.0,
797
+ "clip_ratio/high_mean": 0.0,
798
+ "clip_ratio/low_mean": 0.0,
799
+ "clip_ratio/low_min": 0.0,
800
+ "clip_ratio/region_mean": 0.0,
801
+ "completions/clipped_ratio": 0.15,
802
+ "completions/max_length": 3527.6,
803
+ "completions/max_terminated_length": 2709.4,
804
+ "completions/mean_length": 2601.1,
805
+ "completions/mean_terminated_length": 2348.533349609375,
806
+ "completions/min_length": 1946.6,
807
+ "completions/min_terminated_length": 1946.6,
808
+ "entropy": 0.08960584700107574,
809
+ "epoch": 1.5,
810
+ "frac_reward_zero_std": 0.0,
811
+ "grad_norm": 0.16406011581420898,
812
+ "learning_rate": 5.1e-06,
813
+ "loss": 0.12920334339141845,
814
+ "num_tokens": 2206113.0,
815
+ "reward": 3.5731899976730346,
816
+ "reward_std": 5.10755033493042,
817
+ "rewards/combined_reward_fn/mean": 3.5731899976730346,
818
+ "rewards/combined_reward_fn/std": 5.107550430297851,
819
+ "step": 150,
820
+ "step_time": 111.50722688417882
821
+ },
822
+ {
823
+ "clip_ratio/high_max": 0.0,
824
+ "clip_ratio/high_mean": 0.0,
825
+ "clip_ratio/low_mean": 0.0,
826
+ "clip_ratio/low_min": 0.0,
827
+ "clip_ratio/region_mean": 0.0,
828
+ "completions/clipped_ratio": 0.2,
829
+ "completions/max_length": 3467.0,
830
+ "completions/max_terminated_length": 2623.2,
831
+ "completions/mean_length": 2645.45,
832
+ "completions/mean_terminated_length": 2311.06669921875,
833
+ "completions/min_length": 2093.2,
834
+ "completions/min_terminated_length": 2093.2,
835
+ "entropy": 0.1021485298871994,
836
+ "epoch": 1.55,
837
+ "frac_reward_zero_std": 0.2,
838
+ "grad_norm": 0.0,
839
+ "learning_rate": 4.600000000000001e-06,
840
+ "loss": 0.0487419068813324,
841
+ "num_tokens": 2281086.0,
842
+ "reward": 2.5386499881744387,
843
+ "reward_std": 4.577268314361572,
844
+ "rewards/combined_reward_fn/mean": 2.5386499881744387,
845
+ "rewards/combined_reward_fn/std": 4.577268314361572,
846
+ "step": 155,
847
+ "step_time": 113.60341777240392
848
+ },
849
+ {
850
+ "clip_ratio/high_max": 0.0,
851
+ "clip_ratio/high_mean": 0.0,
852
+ "clip_ratio/low_mean": 0.0,
853
+ "clip_ratio/low_min": 0.0,
854
+ "clip_ratio/region_mean": 0.0,
855
+ "completions/clipped_ratio": 0.1,
856
+ "completions/max_length": 3284.6,
857
+ "completions/max_terminated_length": 2564.6,
858
+ "completions/mean_length": 2384.7,
859
+ "completions/mean_terminated_length": 2168.533349609375,
860
+ "completions/min_length": 1880.4,
861
+ "completions/min_terminated_length": 1880.4,
862
+ "entropy": 0.07901217043399811,
863
+ "epoch": 1.6,
864
+ "frac_reward_zero_std": 0.0,
865
+ "grad_norm": 0.11951136589050293,
866
+ "learning_rate": 4.1e-06,
867
+ "loss": 0.12389217615127564,
868
+ "num_tokens": 2350824.0,
869
+ "reward": 6.6975000381469725,
870
+ "reward_std": 4.296219682693481,
871
+ "rewards/combined_reward_fn/mean": 6.6975000381469725,
872
+ "rewards/combined_reward_fn/std": 4.296219825744629,
873
+ "step": 160,
874
+ "step_time": 103.55389254660113
875
+ },
876
+ {
877
+ "clip_ratio/high_max": 0.0,
878
+ "clip_ratio/high_mean": 0.0,
879
+ "clip_ratio/low_mean": 0.0,
880
+ "clip_ratio/low_min": 0.0,
881
+ "clip_ratio/region_mean": 0.0,
882
+ "completions/clipped_ratio": 0.05,
883
+ "completions/max_length": 3210.8,
884
+ "completions/max_terminated_length": 2835.6,
885
+ "completions/mean_length": 2370.0,
886
+ "completions/mean_terminated_length": 2262.1166748046876,
887
+ "completions/min_length": 1711.2,
888
+ "completions/min_terminated_length": 1711.2,
889
+ "entropy": 0.11034855544567108,
890
+ "epoch": 1.65,
891
+ "frac_reward_zero_std": 0.0,
892
+ "grad_norm": 0.15524832904338837,
893
+ "learning_rate": 3.6000000000000003e-06,
894
+ "loss": 0.023141218721866606,
895
+ "num_tokens": 2420284.0,
896
+ "reward": 5.670350027084351,
897
+ "reward_std": 4.717032456398011,
898
+ "rewards/combined_reward_fn/mean": 5.670350027084351,
899
+ "rewards/combined_reward_fn/std": 4.717032456398011,
900
+ "step": 165,
901
+ "step_time": 98.23545178200584
902
+ },
903
+ {
904
+ "clip_ratio/high_max": 0.0,
905
+ "clip_ratio/high_mean": 0.0,
906
+ "clip_ratio/low_mean": 0.0,
907
+ "clip_ratio/low_min": 0.0,
908
+ "clip_ratio/region_mean": 0.0,
909
+ "completions/clipped_ratio": 0.05,
910
+ "completions/max_length": 2942.6,
911
+ "completions/max_terminated_length": 2779.4,
912
+ "completions/mean_length": 2444.8,
913
+ "completions/mean_terminated_length": 2379.5,
914
+ "completions/min_length": 1915.2,
915
+ "completions/min_terminated_length": 1915.2,
916
+ "entropy": 0.09058590531349182,
917
+ "epoch": 1.7,
918
+ "frac_reward_zero_std": 0.0,
919
+ "grad_norm": 0.17255985736846924,
920
+ "learning_rate": 3.1000000000000004e-06,
921
+ "loss": -0.03838949203491211,
922
+ "num_tokens": 2491268.0,
923
+ "reward": 8.130179595947265,
924
+ "reward_std": 2.6957954287528993,
925
+ "rewards/combined_reward_fn/mean": 8.130179595947265,
926
+ "rewards/combined_reward_fn/std": 2.69579541683197,
927
+ "step": 170,
928
+ "step_time": 89.64412425479387
929
+ },
930
+ {
931
+ "clip_ratio/high_max": 0.0,
932
+ "clip_ratio/high_mean": 0.0,
933
+ "clip_ratio/low_mean": 0.0,
934
+ "clip_ratio/low_min": 0.0,
935
+ "clip_ratio/region_mean": 0.0,
936
+ "completions/clipped_ratio": 0.2,
937
+ "completions/max_length": 4016.0,
938
+ "completions/max_terminated_length": 3245.4,
939
+ "completions/mean_length": 2821.8,
940
+ "completions/mean_terminated_length": 2518.5167236328125,
941
+ "completions/min_length": 1979.8,
942
+ "completions/min_terminated_length": 1979.8,
943
+ "entropy": 0.10169393718242645,
944
+ "epoch": 1.75,
945
+ "frac_reward_zero_std": 0.0,
946
+ "grad_norm": 0.14736266434192657,
947
+ "learning_rate": 2.6e-06,
948
+ "loss": 0.12008615732192993,
949
+ "num_tokens": 2569752.0,
950
+ "reward": 4.244350171089172,
951
+ "reward_std": 5.004626512527466,
952
+ "rewards/combined_reward_fn/mean": 4.244350171089172,
953
+ "rewards/combined_reward_fn/std": 5.004626512527466,
954
+ "step": 175,
955
+ "step_time": 124.0094484991976
956
+ },
957
+ {
958
+ "clip_ratio/high_max": 0.0,
959
+ "clip_ratio/high_mean": 0.0,
960
+ "clip_ratio/low_mean": 0.0,
961
+ "clip_ratio/low_min": 0.0,
962
+ "clip_ratio/region_mean": 0.0,
963
+ "completions/clipped_ratio": 0.0,
964
+ "completions/max_length": 2440.6,
965
+ "completions/max_terminated_length": 2440.6,
966
+ "completions/mean_length": 2072.25,
967
+ "completions/mean_terminated_length": 2072.25,
968
+ "completions/min_length": 1723.8,
969
+ "completions/min_terminated_length": 1723.8,
970
+ "entropy": 0.0946453794836998,
971
+ "epoch": 1.8,
972
+ "frac_reward_zero_std": 0.0,
973
+ "grad_norm": 0.15898209810256958,
974
+ "learning_rate": 2.1000000000000002e-06,
975
+ "loss": -0.030627071857452393,
976
+ "num_tokens": 2633297.0,
977
+ "reward": 6.971000003814697,
978
+ "reward_std": 3.39311888217926,
979
+ "rewards/combined_reward_fn/mean": 6.971000003814697,
980
+ "rewards/combined_reward_fn/std": 3.3931188583374023,
981
+ "step": 180,
982
+ "step_time": 75.84038563302019
983
+ },
984
+ {
985
+ "clip_ratio/high_max": 0.0,
986
+ "clip_ratio/high_mean": 0.0,
987
+ "clip_ratio/low_mean": 0.0,
988
+ "clip_ratio/low_min": 0.0,
989
+ "clip_ratio/region_mean": 0.0,
990
+ "completions/clipped_ratio": 0.2,
991
+ "completions/max_length": 3888.4,
992
+ "completions/max_terminated_length": 2815.0,
993
+ "completions/mean_length": 2714.55,
994
+ "completions/mean_terminated_length": 2339.3000732421874,
995
+ "completions/min_length": 1939.6,
996
+ "completions/min_terminated_length": 1939.6,
997
+ "entropy": 0.08963364362716675,
998
+ "epoch": 1.85,
999
+ "frac_reward_zero_std": 0.0,
1000
+ "grad_norm": 0.1486842930316925,
1001
+ "learning_rate": 1.6000000000000001e-06,
1002
+ "loss": 0.20532758235931398,
1003
+ "num_tokens": 2709620.0,
1004
+ "reward": 5.776600074768067,
1005
+ "reward_std": 4.742965912818908,
1006
+ "rewards/combined_reward_fn/mean": 5.776600074768067,
1007
+ "rewards/combined_reward_fn/std": 4.7429660081863405,
1008
+ "step": 185,
1009
+ "step_time": 120.16855793340365
1010
+ },
1011
+ {
1012
+ "clip_ratio/high_max": 0.0,
1013
+ "clip_ratio/high_mean": 0.0,
1014
+ "clip_ratio/low_mean": 0.0,
1015
+ "clip_ratio/low_min": 0.0,
1016
+ "clip_ratio/region_mean": 0.0,
1017
+ "completions/clipped_ratio": 0.25,
1018
+ "completions/max_length": 3764.2,
1019
+ "completions/max_terminated_length": 3377.0,
1020
+ "completions/mean_length": 2875.3,
1021
+ "completions/mean_terminated_length": 2650.4,
1022
+ "completions/min_length": 2316.2,
1023
+ "completions/min_terminated_length": 2316.2,
1024
+ "entropy": 0.09077955931425094,
1025
+ "epoch": 1.9,
1026
+ "frac_reward_zero_std": 0.0,
1027
+ "grad_norm": 0.14634189009666443,
1028
+ "learning_rate": 1.1e-06,
1029
+ "loss": 0.00014334097504615785,
1030
+ "num_tokens": 2789198.0,
1031
+ "reward": 5.053549718856812,
1032
+ "reward_std": 4.128131377696991,
1033
+ "rewards/combined_reward_fn/mean": 5.053549718856812,
1034
+ "rewards/combined_reward_fn/std": 4.128131443262101,
1035
+ "step": 190,
1036
+ "step_time": 118.10398631540593
1037
+ },
1038
+ {
1039
+ "clip_ratio/high_max": 0.0,
1040
+ "clip_ratio/high_mean": 0.0,
1041
+ "clip_ratio/low_mean": 0.0,
1042
+ "clip_ratio/low_min": 0.0,
1043
+ "clip_ratio/region_mean": 0.0,
1044
+ "completions/clipped_ratio": 0.25,
1045
+ "completions/max_length": 3993.2,
1046
+ "completions/max_terminated_length": 2888.4,
1047
+ "completions/mean_length": 2753.0,
1048
+ "completions/mean_terminated_length": 2300.500048828125,
1049
+ "completions/min_length": 1844.4,
1050
+ "completions/min_terminated_length": 1844.4,
1051
+ "entropy": 0.09003306776285172,
1052
+ "epoch": 1.95,
1053
+ "frac_reward_zero_std": 0.0,
1054
+ "grad_norm": 0.1261162906885147,
1055
+ "learning_rate": 6.000000000000001e-07,
1056
+ "loss": 0.20989387035369872,
1057
+ "num_tokens": 2866242.0,
1058
+ "reward": 5.2975998878479,
1059
+ "reward_std": 4.944919896125794,
1060
+ "rewards/combined_reward_fn/mean": 5.2975998878479,
1061
+ "rewards/combined_reward_fn/std": 4.944919896125794,
1062
+ "step": 195,
1063
+ "step_time": 127.51930990898981
1064
+ },
1065
+ {
1066
+ "clip_ratio/high_max": 0.0,
1067
+ "clip_ratio/high_mean": 0.0,
1068
+ "clip_ratio/low_mean": 0.0,
1069
+ "clip_ratio/low_min": 0.0,
1070
+ "clip_ratio/region_mean": 0.0,
1071
+ "completions/clipped_ratio": 0.05,
1072
+ "completions/max_length": 2903.2,
1073
+ "completions/max_terminated_length": 2600.4,
1074
+ "completions/mean_length": 2282.7,
1075
+ "completions/mean_terminated_length": 2189.75,
1076
+ "completions/min_length": 1668.2,
1077
+ "completions/min_terminated_length": 1668.2,
1078
+ "entropy": 0.09424156248569489,
1079
+ "epoch": 2.0,
1080
+ "frac_reward_zero_std": 0.0,
1081
+ "grad_norm": 0.14964203536510468,
1082
+ "learning_rate": 1.0000000000000001e-07,
1083
+ "loss": 0.00013558268547058104,
1084
+ "num_tokens": 2933920.0,
1085
+ "reward": 7.005850124359131,
1086
+ "reward_std": 3.2380080938339235,
1087
+ "rewards/combined_reward_fn/mean": 7.005850124359131,
1088
+ "rewards/combined_reward_fn/std": 3.23800812959671,
1089
+ "step": 200,
1090
+ "step_time": 90.21042252739426
1091
+ }
1092
+ ],
1093
+ "logging_steps": 5,
1094
+ "max_steps": 200,
1095
+ "num_input_tokens_seen": 2933920,
1096
+ "num_train_epochs": 2,
1097
+ "save_steps": 50,
1098
+ "stateful_callbacks": {
1099
+ "TrainerControl": {
1100
+ "args": {
1101
+ "should_epoch_stop": false,
1102
+ "should_evaluate": false,
1103
+ "should_log": false,
1104
+ "should_save": true,
1105
+ "should_training_stop": true
1106
+ },
1107
+ "attributes": {}
1108
+ }
1109
+ },
1110
+ "total_flos": 0.0,
1111
+ "train_batch_size": 4,
1112
+ "trial_name": null,
1113
+ "trial_params": null
1114
+ }
checkpoint-200/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:291194e3ba32f6e08ebdda0990ba6335439bdc4b3136db9a90a3cca222fe0461
3
+ size 6712
metrics/plots/bugs_comparison.png ADDED
metrics/plots/coverage_comparison.png ADDED
metrics/plots/reward_comparison.png ADDED
metrics/results.json ADDED
@@ -0,0 +1,140 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "training_args": {
3
+ "model_id": "Qwen/Qwen3-1.7B",
4
+ "num_episodes": 100,
5
+ "num_generations": 4,
6
+ "max_steps": 200,
7
+ "learning_rate": 2e-05,
8
+ "batch_size": 4,
9
+ "max_completion_length": 4096,
10
+ "output_dir": "./checkpoints/grpo_api_tester",
11
+ "test_mode": false
12
+ },
13
+ "training_time_seconds": 21035.5,
14
+ "baseline_agents": {
15
+ "random": {
16
+ "basic_validation": {
17
+ "total_reward": 2.73,
18
+ "bugs_found": 0,
19
+ "total_bugs": 3,
20
+ "coverage_pct": 50.0
21
+ },
22
+ "edge_cases": {
23
+ "total_reward": 2.733,
24
+ "bugs_found": 2,
25
+ "total_bugs": 9,
26
+ "coverage_pct": 50.0
27
+ },
28
+ "security_workflows": {
29
+ "total_reward": 2.995,
30
+ "bugs_found": 3,
31
+ "total_bugs": 13,
32
+ "coverage_pct": 50.0
33
+ }
34
+ },
35
+ "sequential": {
36
+ "basic_validation": {
37
+ "total_reward": 4.32,
38
+ "bugs_found": 3,
39
+ "total_bugs": 3,
40
+ "coverage_pct": 50.0
41
+ },
42
+ "edge_cases": {
43
+ "total_reward": 4.07,
44
+ "bugs_found": 4,
45
+ "total_bugs": 9,
46
+ "coverage_pct": 50.0
47
+ },
48
+ "security_workflows": {
49
+ "total_reward": 3.645,
50
+ "bugs_found": 4,
51
+ "total_bugs": 13,
52
+ "coverage_pct": 50.0
53
+ }
54
+ },
55
+ "smart": {
56
+ "basic_validation": {
57
+ "total_reward": 4.86,
58
+ "bugs_found": 3,
59
+ "total_bugs": 3,
60
+ "coverage_pct": 50.0
61
+ },
62
+ "edge_cases": {
63
+ "total_reward": 5.185,
64
+ "bugs_found": 8,
65
+ "total_bugs": 9,
66
+ "coverage_pct": 50.0
67
+ },
68
+ "security_workflows": {
69
+ "total_reward": 5.135,
70
+ "bugs_found": 10,
71
+ "total_bugs": 13,
72
+ "coverage_pct": 50.0
73
+ }
74
+ }
75
+ },
76
+ "base_model": {
77
+ "basic_validation": {
78
+ "task_id": "basic_validation",
79
+ "seed": 9999,
80
+ "steps": 0,
81
+ "total_reward": 0.0,
82
+ "bugs_found": 0,
83
+ "total_bugs": 3,
84
+ "coverage_pct": 0.0,
85
+ "bugs_found_ids": []
86
+ },
87
+ "edge_cases": {
88
+ "task_id": "edge_cases",
89
+ "seed": 9999,
90
+ "steps": 0,
91
+ "total_reward": 0.0,
92
+ "bugs_found": 0,
93
+ "total_bugs": 9,
94
+ "coverage_pct": 0.0,
95
+ "bugs_found_ids": []
96
+ },
97
+ "security_workflows": {
98
+ "task_id": "security_workflows",
99
+ "seed": 9999,
100
+ "steps": 0,
101
+ "total_reward": 0.0,
102
+ "bugs_found": 0,
103
+ "total_bugs": 13,
104
+ "coverage_pct": 0.0,
105
+ "bugs_found_ids": []
106
+ }
107
+ },
108
+ "trained_model": {
109
+ "basic_validation": {
110
+ "task_id": "basic_validation",
111
+ "seed": 9999,
112
+ "steps": 0,
113
+ "total_reward": 0.0,
114
+ "bugs_found": 0,
115
+ "total_bugs": 3,
116
+ "coverage_pct": 0.0,
117
+ "bugs_found_ids": []
118
+ },
119
+ "edge_cases": {
120
+ "task_id": "edge_cases",
121
+ "seed": 9999,
122
+ "steps": 0,
123
+ "total_reward": 0.0,
124
+ "bugs_found": 0,
125
+ "total_bugs": 9,
126
+ "coverage_pct": 0.0,
127
+ "bugs_found_ids": []
128
+ },
129
+ "security_workflows": {
130
+ "task_id": "security_workflows",
131
+ "seed": 9999,
132
+ "steps": 0,
133
+ "total_reward": 0.0,
134
+ "bugs_found": 0,
135
+ "total_bugs": 13,
136
+ "coverage_pct": 0.0,
137
+ "bugs_found_ids": []
138
+ }
139
+ }
140
+ }
metrics/results.md ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Training Results
2
+
3
+ **Model**: Qwen/Qwen3-1.7B
4
+ **Training time**: 350.6 minutes
5
+ **Episodes**: 100
6
+ **Max steps**: 200
7
+
8
+ ## Comparison Table
9
+
10
+ | Agent/Model | Task | Reward | Bugs | Coverage |
11
+ |---|---|---|---|---|
12
+ | random | basic_validation | 2.7300 | 0/3 | 50.0% |
13
+ | random | edge_cases | 2.7330 | 2/9 | 50.0% |
14
+ | random | security_workflows | 2.9950 | 3/13 | 50.0% |
15
+ | sequential | basic_validation | 4.3200 | 3/3 | 50.0% |
16
+ | sequential | edge_cases | 4.0700 | 4/9 | 50.0% |
17
+ | sequential | security_workflows | 3.6450 | 4/13 | 50.0% |
18
+ | smart | basic_validation | 4.8600 | 3/3 | 50.0% |
19
+ | smart | edge_cases | 5.1850 | 8/9 | 50.0% |
20
+ | smart | security_workflows | 5.1350 | 10/13 | 50.0% |
21
+ | **base model** | basic_validation | 0.0000 | 0/3 | 0.0% |
22
+ | **base model** | edge_cases | 0.0000 | 0/9 | 0.0% |
23
+ | **base model** | security_workflows | 0.0000 | 0/13 | 0.0% |
24
+ | **GRPO trained** | basic_validation | 0.0000 (+0.0000) | 0/3 | 0.0% |
25
+ | **GRPO trained** | edge_cases | 0.0000 (+0.0000) | 0/9 | 0.0% |
26
+ | **GRPO trained** | security_workflows | 0.0000 (+0.0000) | 0/13 | 0.0% |
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:be75606093db2094d7cd20f3c2f385c212750648bd6ea4fb2bf507a6a4c55506
3
+ size 11422650
tokenizer_config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "backend": "tokenizers",
4
+ "bos_token": null,
5
+ "clean_up_tokenization_spaces": false,
6
+ "eos_token": "<|im_end|>",
7
+ "errors": "replace",
8
+ "extra_special_tokens": [
9
+ "<|im_start|>",
10
+ "<|im_end|>",
11
+ "<|object_ref_start|>",
12
+ "<|object_ref_end|>",
13
+ "<|box_start|>",
14
+ "<|box_end|>",
15
+ "<|quad_start|>",
16
+ "<|quad_end|>",
17
+ "<|vision_start|>",
18
+ "<|vision_end|>",
19
+ "<|vision_pad|>",
20
+ "<|image_pad|>",
21
+ "<|video_pad|>"
22
+ ],
23
+ "is_local": false,
24
+ "model_max_length": 131072,
25
+ "pad_token": "<|endoftext|>",
26
+ "split_special_tokens": false,
27
+ "tokenizer_class": "Qwen2Tokenizer",
28
+ "unk_token": null
29
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:291194e3ba32f6e08ebdda0990ba6335439bdc4b3136db9a90a3cca222fe0461
3
+ size 6712