Model save
Browse files- .gitattributes +1 -0
- README.md +67 -0
- added_tokens.json +24 -0
- all_results.json +8 -0
- config.json +29 -0
- generation_config.json +14 -0
- merges.txt +0 -0
- model.safetensors +3 -0
- special_tokens_map.json +31 -0
- tokenizer.json +3 -0
- tokenizer_config.json +209 -0
- train_results.json +8 -0
- trainer_state.json +720 -0
- training_args.bin +3 -0
- vocab.json +0 -0
.gitattributes
CHANGED
@@ -33,3 +33,4 @@ 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 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
model_name: Qwen2.5-1.5B-Open-R1-GRPO
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
- trl
|
7 |
+
- grpo
|
8 |
+
licence: license
|
9 |
+
---
|
10 |
+
|
11 |
+
# Model Card for Qwen2.5-1.5B-Open-R1-GRPO
|
12 |
+
|
13 |
+
This model is a fine-tuned version of [None](https://huggingface.co/None).
|
14 |
+
It has been trained using [TRL](https://github.com/huggingface/trl).
|
15 |
+
|
16 |
+
## Quick start
|
17 |
+
|
18 |
+
```python
|
19 |
+
from transformers import pipeline
|
20 |
+
|
21 |
+
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?"
|
22 |
+
generator = pipeline("text-generation", model="LuyiCui/Qwen2.5-1.5B-Open-R1-GRPO", device="cuda")
|
23 |
+
output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
|
24 |
+
print(output["generated_text"])
|
25 |
+
```
|
26 |
+
|
27 |
+
## Training procedure
|
28 |
+
|
29 |
+
[<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/cuiluyi/huggingface/runs/zkm542w0)
|
30 |
+
|
31 |
+
|
32 |
+
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).
|
33 |
+
|
34 |
+
### Framework versions
|
35 |
+
|
36 |
+
- TRL: 0.15.0.dev0
|
37 |
+
- Transformers: 4.49.0.dev0
|
38 |
+
- Pytorch: 2.5.1
|
39 |
+
- Datasets: 3.2.0
|
40 |
+
- Tokenizers: 0.21.0
|
41 |
+
|
42 |
+
## Citations
|
43 |
+
|
44 |
+
Cite GRPO as:
|
45 |
+
|
46 |
+
```bibtex
|
47 |
+
@article{zhihong2024deepseekmath,
|
48 |
+
title = {{DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models}},
|
49 |
+
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},
|
50 |
+
year = 2024,
|
51 |
+
eprint = {arXiv:2402.03300},
|
52 |
+
}
|
53 |
+
|
54 |
+
```
|
55 |
+
|
56 |
+
Cite TRL as:
|
57 |
+
|
58 |
+
```bibtex
|
59 |
+
@misc{vonwerra2022trl,
|
60 |
+
title = {{TRL: Transformer Reinforcement Learning}},
|
61 |
+
author = {Leandro von Werra and Younes Belkada and Lewis Tunstall and Edward Beeching and Tristan Thrush and Nathan Lambert and Shengyi Huang and Kashif Rasul and Quentin Gallouédec},
|
62 |
+
year = 2020,
|
63 |
+
journal = {GitHub repository},
|
64 |
+
publisher = {GitHub},
|
65 |
+
howpublished = {\url{https://github.com/huggingface/trl}}
|
66 |
+
}
|
67 |
+
```
|
added_tokens.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"</tool_call>": 151658,
|
3 |
+
"<tool_call>": 151657,
|
4 |
+
"<|box_end|>": 151649,
|
5 |
+
"<|box_start|>": 151648,
|
6 |
+
"<|endoftext|>": 151643,
|
7 |
+
"<|file_sep|>": 151664,
|
8 |
+
"<|fim_middle|>": 151660,
|
9 |
+
"<|fim_pad|>": 151662,
|
10 |
+
"<|fim_prefix|>": 151659,
|
11 |
+
"<|fim_suffix|>": 151661,
|
12 |
+
"<|im_end|>": 151645,
|
13 |
+
"<|im_start|>": 151644,
|
14 |
+
"<|image_pad|>": 151655,
|
15 |
+
"<|object_ref_end|>": 151647,
|
16 |
+
"<|object_ref_start|>": 151646,
|
17 |
+
"<|quad_end|>": 151651,
|
18 |
+
"<|quad_start|>": 151650,
|
19 |
+
"<|repo_name|>": 151663,
|
20 |
+
"<|video_pad|>": 151656,
|
21 |
+
"<|vision_end|>": 151653,
|
22 |
+
"<|vision_pad|>": 151654,
|
23 |
+
"<|vision_start|>": 151652
|
24 |
+
}
|
all_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"total_flos": 0.0,
|
3 |
+
"train_loss": 11.024624033321947,
|
4 |
+
"train_runtime": 8177.44,
|
5 |
+
"train_samples": 2000,
|
6 |
+
"train_samples_per_second": 0.245,
|
7 |
+
"train_steps_per_second": 0.031
|
8 |
+
}
|
config.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/data/cuiluyi/resources/models/Qwen/Qwen2.5-1.5B-Instruct",
|
3 |
+
"architectures": [
|
4 |
+
"Qwen2ForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_dropout": 0.0,
|
7 |
+
"bos_token_id": 151643,
|
8 |
+
"eos_token_id": 151645,
|
9 |
+
"hidden_act": "silu",
|
10 |
+
"hidden_size": 1536,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"intermediate_size": 8960,
|
13 |
+
"max_position_embeddings": 32768,
|
14 |
+
"max_window_layers": 21,
|
15 |
+
"model_type": "qwen2",
|
16 |
+
"num_attention_heads": 12,
|
17 |
+
"num_hidden_layers": 28,
|
18 |
+
"num_key_value_heads": 2,
|
19 |
+
"rms_norm_eps": 1e-06,
|
20 |
+
"rope_scaling": null,
|
21 |
+
"rope_theta": 1000000.0,
|
22 |
+
"sliding_window": null,
|
23 |
+
"tie_word_embeddings": true,
|
24 |
+
"torch_dtype": "bfloat16",
|
25 |
+
"transformers_version": "4.49.0.dev0",
|
26 |
+
"use_cache": false,
|
27 |
+
"use_sliding_window": false,
|
28 |
+
"vocab_size": 151936
|
29 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token_id": 151643,
|
3 |
+
"do_sample": true,
|
4 |
+
"eos_token_id": [
|
5 |
+
151645,
|
6 |
+
151643
|
7 |
+
],
|
8 |
+
"pad_token_id": 151643,
|
9 |
+
"repetition_penalty": 1.1,
|
10 |
+
"temperature": 0.7,
|
11 |
+
"top_k": 20,
|
12 |
+
"top_p": 0.8,
|
13 |
+
"transformers_version": "4.49.0.dev0"
|
14 |
+
}
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1585b87c3a015ccc1d0dedcdfb24d2ae2c12339d73e1cb8b79de7fc1ac57d613
|
3 |
+
size 3087467144
|
special_tokens_map.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"<|im_start|>",
|
4 |
+
"<|im_end|>",
|
5 |
+
"<|object_ref_start|>",
|
6 |
+
"<|object_ref_end|>",
|
7 |
+
"<|box_start|>",
|
8 |
+
"<|box_end|>",
|
9 |
+
"<|quad_start|>",
|
10 |
+
"<|quad_end|>",
|
11 |
+
"<|vision_start|>",
|
12 |
+
"<|vision_end|>",
|
13 |
+
"<|vision_pad|>",
|
14 |
+
"<|image_pad|>",
|
15 |
+
"<|video_pad|>"
|
16 |
+
],
|
17 |
+
"eos_token": {
|
18 |
+
"content": "<|im_end|>",
|
19 |
+
"lstrip": false,
|
20 |
+
"normalized": false,
|
21 |
+
"rstrip": false,
|
22 |
+
"single_word": false
|
23 |
+
},
|
24 |
+
"pad_token": {
|
25 |
+
"content": "<|endoftext|>",
|
26 |
+
"lstrip": false,
|
27 |
+
"normalized": false,
|
28 |
+
"rstrip": false,
|
29 |
+
"single_word": false
|
30 |
+
}
|
31 |
+
}
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2 |
+
"add_bos_token": false,
|
3 |
+
"add_prefix_space": false,
|
4 |
+
"added_tokens_decoder": {
|
5 |
+
"151643": {
|
6 |
+
"content": "<|endoftext|>",
|
7 |
+
"lstrip": false,
|
8 |
+
"normalized": false,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false,
|
11 |
+
"special": true
|
12 |
+
},
|
13 |
+
"151644": {
|
14 |
+
"content": "<|im_start|>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": false,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false,
|
19 |
+
"special": true
|
20 |
+
},
|
21 |
+
"151645": {
|
22 |
+
"content": "<|im_end|>",
|
23 |
+
"lstrip": false,
|
24 |
+
"normalized": false,
|
25 |
+
"rstrip": false,
|
26 |
+
"single_word": false,
|
27 |
+
"special": true
|
28 |
+
},
|
29 |
+
"151646": {
|
30 |
+
"content": "<|object_ref_start|>",
|
31 |
+
"lstrip": false,
|
32 |
+
"normalized": false,
|
33 |
+
"rstrip": false,
|
34 |
+
"single_word": false,
|
35 |
+
"special": true
|
36 |
+
},
|
37 |
+
"151647": {
|
38 |
+
"content": "<|object_ref_end|>",
|
39 |
+
"lstrip": false,
|
40 |
+
"normalized": false,
|
41 |
+
"rstrip": false,
|
42 |
+
"single_word": false,
|
43 |
+
"special": true
|
44 |
+
},
|
45 |
+
"151648": {
|
46 |
+
"content": "<|box_start|>",
|
47 |
+
"lstrip": false,
|
48 |
+
"normalized": false,
|
49 |
+
"rstrip": false,
|
50 |
+
"single_word": false,
|
51 |
+
"special": true
|
52 |
+
},
|
53 |
+
"151649": {
|
54 |
+
"content": "<|box_end|>",
|
55 |
+
"lstrip": false,
|
56 |
+
"normalized": false,
|
57 |
+
"rstrip": false,
|
58 |
+
"single_word": false,
|
59 |
+
"special": true
|
60 |
+
},
|
61 |
+
"151650": {
|
62 |
+
"content": "<|quad_start|>",
|
63 |
+
"lstrip": false,
|
64 |
+
"normalized": false,
|
65 |
+
"rstrip": false,
|
66 |
+
"single_word": false,
|
67 |
+
"special": true
|
68 |
+
},
|
69 |
+
"151651": {
|
70 |
+
"content": "<|quad_end|>",
|
71 |
+
"lstrip": false,
|
72 |
+
"normalized": false,
|
73 |
+
"rstrip": false,
|
74 |
+
"single_word": false,
|
75 |
+
"special": true
|
76 |
+
},
|
77 |
+
"151652": {
|
78 |
+
"content": "<|vision_start|>",
|
79 |
+
"lstrip": false,
|
80 |
+
"normalized": false,
|
81 |
+
"rstrip": false,
|
82 |
+
"single_word": false,
|
83 |
+
"special": true
|
84 |
+
},
|
85 |
+
"151653": {
|
86 |
+
"content": "<|vision_end|>",
|
87 |
+
"lstrip": false,
|
88 |
+
"normalized": false,
|
89 |
+
"rstrip": false,
|
90 |
+
"single_word": false,
|
91 |
+
"special": true
|
92 |
+
},
|
93 |
+
"151654": {
|
94 |
+
"content": "<|vision_pad|>",
|
95 |
+
"lstrip": false,
|
96 |
+
"normalized": false,
|
97 |
+
"rstrip": false,
|
98 |
+
"single_word": false,
|
99 |
+
"special": true
|
100 |
+
},
|
101 |
+
"151655": {
|
102 |
+
"content": "<|image_pad|>",
|
103 |
+
"lstrip": false,
|
104 |
+
"normalized": false,
|
105 |
+
"rstrip": false,
|
106 |
+
"single_word": false,
|
107 |
+
"special": true
|
108 |
+
},
|
109 |
+
"151656": {
|
110 |
+
"content": "<|video_pad|>",
|
111 |
+
"lstrip": false,
|
112 |
+
"normalized": false,
|
113 |
+
"rstrip": false,
|
114 |
+
"single_word": false,
|
115 |
+
"special": true
|
116 |
+
},
|
117 |
+
"151657": {
|
118 |
+
"content": "<tool_call>",
|
119 |
+
"lstrip": false,
|
120 |
+
"normalized": false,
|
121 |
+
"rstrip": false,
|
122 |
+
"single_word": false,
|
123 |
+
"special": false
|
124 |
+
},
|
125 |
+
"151658": {
|
126 |
+
"content": "</tool_call>",
|
127 |
+
"lstrip": false,
|
128 |
+
"normalized": false,
|
129 |
+
"rstrip": false,
|
130 |
+
"single_word": false,
|
131 |
+
"special": false
|
132 |
+
},
|
133 |
+
"151659": {
|
134 |
+
"content": "<|fim_prefix|>",
|
135 |
+
"lstrip": false,
|
136 |
+
"normalized": false,
|
137 |
+
"rstrip": false,
|
138 |
+
"single_word": false,
|
139 |
+
"special": false
|
140 |
+
},
|
141 |
+
"151660": {
|
142 |
+
"content": "<|fim_middle|>",
|
143 |
+
"lstrip": false,
|
144 |
+
"normalized": false,
|
145 |
+
"rstrip": false,
|
146 |
+
"single_word": false,
|
147 |
+
"special": false
|
148 |
+
},
|
149 |
+
"151661": {
|
150 |
+
"content": "<|fim_suffix|>",
|
151 |
+
"lstrip": false,
|
152 |
+
"normalized": false,
|
153 |
+
"rstrip": false,
|
154 |
+
"single_word": false,
|
155 |
+
"special": false
|
156 |
+
},
|
157 |
+
"151662": {
|
158 |
+
"content": "<|fim_pad|>",
|
159 |
+
"lstrip": false,
|
160 |
+
"normalized": false,
|
161 |
+
"rstrip": false,
|
162 |
+
"single_word": false,
|
163 |
+
"special": false
|
164 |
+
},
|
165 |
+
"151663": {
|
166 |
+
"content": "<|repo_name|>",
|
167 |
+
"lstrip": false,
|
168 |
+
"normalized": false,
|
169 |
+
"rstrip": false,
|
170 |
+
"single_word": false,
|
171 |
+
"special": false
|
172 |
+
},
|
173 |
+
"151664": {
|
174 |
+
"content": "<|file_sep|>",
|
175 |
+
"lstrip": false,
|
176 |
+
"normalized": false,
|
177 |
+
"rstrip": false,
|
178 |
+
"single_word": false,
|
179 |
+
"special": false
|
180 |
+
}
|
181 |
+
},
|
182 |
+
"additional_special_tokens": [
|
183 |
+
"<|im_start|>",
|
184 |
+
"<|im_end|>",
|
185 |
+
"<|object_ref_start|>",
|
186 |
+
"<|object_ref_end|>",
|
187 |
+
"<|box_start|>",
|
188 |
+
"<|box_end|>",
|
189 |
+
"<|quad_start|>",
|
190 |
+
"<|quad_end|>",
|
191 |
+
"<|vision_start|>",
|
192 |
+
"<|vision_end|>",
|
193 |
+
"<|vision_pad|>",
|
194 |
+
"<|image_pad|>",
|
195 |
+
"<|video_pad|>"
|
196 |
+
],
|
197 |
+
"bos_token": null,
|
198 |
+
"chat_template": "{%- if tools %}\n {{- '<|im_start|>system\\n' }}\n {%- if messages[0]['role'] == 'system' %}\n {{- messages[0]['content'] }}\n {%- else %}\n {{- 'You are Qwen, created by Alibaba Cloud. You are a helpful assistant.' }}\n {%- endif %}\n {{- \"\\n\\n# Tools\\n\\nYou may call one or more functions to assist with the user query.\\n\\nYou are provided with function signatures within <tools></tools> XML tags:\\n<tools>\" }}\n {%- for tool in tools %}\n {{- \"\\n\" }}\n {{- tool | tojson }}\n {%- endfor %}\n {{- \"\\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\" }}\n{%- else %}\n {%- if messages[0]['role'] == 'system' %}\n {{- '<|im_start|>system\\n' + messages[0]['content'] + '<|im_end|>\\n' }}\n {%- else %}\n {{- '<|im_start|>system\\nYou are Qwen, created by Alibaba Cloud. You are a helpful assistant.<|im_end|>\\n' }}\n {%- endif %}\n{%- endif %}\n{%- for message in messages %}\n {%- if (message.role == \"user\") or (message.role == \"system\" and not loop.first) or (message.role == \"assistant\" and not message.tool_calls) %}\n {{- '<|im_start|>' + message.role + '\\n' + message.content + '<|im_end|>' + '\\n' }}\n {%- elif message.role == \"assistant\" %}\n {{- '<|im_start|>' + message.role }}\n {%- if message.content %}\n {{- '\\n' + message.content }}\n {%- endif %}\n {%- for tool_call in message.tool_calls %}\n {%- if tool_call.function is defined %}\n {%- set tool_call = tool_call.function %}\n {%- endif %}\n {{- '\\n<tool_call>\\n{\"name\": \"' }}\n {{- tool_call.name }}\n {{- '\", \"arguments\": ' }}\n {{- tool_call.arguments | tojson }}\n {{- '}\\n</tool_call>' }}\n {%- endfor %}\n {{- '<|im_end|>\\n' }}\n {%- elif message.role == \"tool\" %}\n {%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != \"tool\") %}\n {{- '<|im_start|>user' }}\n {%- endif %}\n {{- '\\n<tool_response>\\n' }}\n {{- message.content }}\n {{- '\\n</tool_response>' }}\n {%- if loop.last or (messages[loop.index0 + 1].role != \"tool\") %}\n {{- '<|im_end|>\\n' }}\n {%- endif %}\n {%- endif %}\n{%- endfor %}\n{%- if add_generation_prompt %}\n {{- '<|im_start|>assistant\\n' }}\n{%- endif %}\n",
|
199 |
+
"clean_up_tokenization_spaces": false,
|
200 |
+
"eos_token": "<|im_end|>",
|
201 |
+
"errors": "replace",
|
202 |
+
"extra_special_tokens": {},
|
203 |
+
"model_max_length": 131072,
|
204 |
+
"pad_token": "<|endoftext|>",
|
205 |
+
"padding_side": "left",
|
206 |
+
"split_special_tokens": false,
|
207 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
208 |
+
"unk_token": null
|
209 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"total_flos": 0.0,
|
3 |
+
"train_loss": 11.024624033321947,
|
4 |
+
"train_runtime": 8177.44,
|
5 |
+
"train_samples": 2000,
|
6 |
+
"train_samples_per_second": 0.245,
|
7 |
+
"train_steps_per_second": 0.031
|
8 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,720 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 1.0,
|
5 |
+
"eval_steps": 100,
|
6 |
+
"global_step": 250,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"completion_length": 460.1208465576172,
|
13 |
+
"epoch": 0.02,
|
14 |
+
"grad_norm": 1.802279947354497,
|
15 |
+
"kl": 0.00032548904418945314,
|
16 |
+
"learning_rate": 4.000000000000001e-06,
|
17 |
+
"loss": 0.0,
|
18 |
+
"reward": 0.6041666805744171,
|
19 |
+
"reward_std": 0.4559453740715981,
|
20 |
+
"rewards/accuracy_reward": 0.14583333879709243,
|
21 |
+
"rewards/format_reward": 0.45833334922790525,
|
22 |
+
"step": 5
|
23 |
+
},
|
24 |
+
{
|
25 |
+
"completion_length": 193.0666717529297,
|
26 |
+
"epoch": 0.04,
|
27 |
+
"grad_norm": 2.646688833040104,
|
28 |
+
"kl": 0.115576171875,
|
29 |
+
"learning_rate": 8.000000000000001e-06,
|
30 |
+
"loss": 0.0046,
|
31 |
+
"reward": 0.9041666865348816,
|
32 |
+
"reward_std": 0.29244016036391257,
|
33 |
+
"rewards/accuracy_reward": 0.06250000074505806,
|
34 |
+
"rewards/format_reward": 0.8416666805744171,
|
35 |
+
"step": 10
|
36 |
+
},
|
37 |
+
{
|
38 |
+
"completion_length": 146.40833892822266,
|
39 |
+
"epoch": 0.06,
|
40 |
+
"grad_norm": 3.596725518738137,
|
41 |
+
"kl": 0.151220703125,
|
42 |
+
"learning_rate": 1.2e-05,
|
43 |
+
"loss": 0.006,
|
44 |
+
"reward": 0.9833333611488342,
|
45 |
+
"reward_std": 0.15119582265615464,
|
46 |
+
"rewards/accuracy_reward": 0.02916666716337204,
|
47 |
+
"rewards/format_reward": 0.9541666865348816,
|
48 |
+
"step": 15
|
49 |
+
},
|
50 |
+
{
|
51 |
+
"completion_length": 177.0041717529297,
|
52 |
+
"epoch": 0.08,
|
53 |
+
"grad_norm": 0.904416286564434,
|
54 |
+
"kl": 0.14755859375,
|
55 |
+
"learning_rate": 1.6000000000000003e-05,
|
56 |
+
"loss": 0.0059,
|
57 |
+
"reward": 1.0125000298023223,
|
58 |
+
"reward_std": 0.20182792022824286,
|
59 |
+
"rewards/accuracy_reward": 0.06250000149011611,
|
60 |
+
"rewards/format_reward": 0.950000011920929,
|
61 |
+
"step": 20
|
62 |
+
},
|
63 |
+
{
|
64 |
+
"completion_length": 232.3125030517578,
|
65 |
+
"epoch": 0.1,
|
66 |
+
"grad_norm": 1.1878978579316373,
|
67 |
+
"kl": 0.128955078125,
|
68 |
+
"learning_rate": 2e-05,
|
69 |
+
"loss": 0.0052,
|
70 |
+
"reward": 1.1083333492279053,
|
71 |
+
"reward_std": 0.26786036118865014,
|
72 |
+
"rewards/accuracy_reward": 0.16250000782310964,
|
73 |
+
"rewards/format_reward": 0.9458333492279053,
|
74 |
+
"step": 25
|
75 |
+
},
|
76 |
+
{
|
77 |
+
"completion_length": 278.2250061035156,
|
78 |
+
"epoch": 0.12,
|
79 |
+
"grad_norm": 1.1015274367009757,
|
80 |
+
"kl": 0.11708984375,
|
81 |
+
"learning_rate": 1.9975640502598243e-05,
|
82 |
+
"loss": 0.0047,
|
83 |
+
"reward": 1.0583333432674409,
|
84 |
+
"reward_std": 0.4198418617248535,
|
85 |
+
"rewards/accuracy_reward": 0.17916667386889457,
|
86 |
+
"rewards/format_reward": 0.8791666924953461,
|
87 |
+
"step": 30
|
88 |
+
},
|
89 |
+
{
|
90 |
+
"completion_length": 321.1458450317383,
|
91 |
+
"epoch": 0.14,
|
92 |
+
"grad_norm": 1.4687757867130748,
|
93 |
+
"kl": 0.175,
|
94 |
+
"learning_rate": 1.9902680687415704e-05,
|
95 |
+
"loss": 0.007,
|
96 |
+
"reward": 1.1125000238418579,
|
97 |
+
"reward_std": 0.3428553894162178,
|
98 |
+
"rewards/accuracy_reward": 0.17916667312383652,
|
99 |
+
"rewards/format_reward": 0.9333333611488343,
|
100 |
+
"step": 35
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"completion_length": 403.1916839599609,
|
104 |
+
"epoch": 0.16,
|
105 |
+
"grad_norm": 5.101977047647239,
|
106 |
+
"kl": 0.21806640625,
|
107 |
+
"learning_rate": 1.9781476007338058e-05,
|
108 |
+
"loss": 0.0087,
|
109 |
+
"reward": 1.208333384990692,
|
110 |
+
"reward_std": 0.3654559038579464,
|
111 |
+
"rewards/accuracy_reward": 0.2708333428949118,
|
112 |
+
"rewards/format_reward": 0.9375000178813935,
|
113 |
+
"step": 40
|
114 |
+
},
|
115 |
+
{
|
116 |
+
"completion_length": 373.4916763305664,
|
117 |
+
"epoch": 0.18,
|
118 |
+
"grad_norm": 0.8111764758573549,
|
119 |
+
"kl": 0.27001953125,
|
120 |
+
"learning_rate": 1.961261695938319e-05,
|
121 |
+
"loss": 0.0108,
|
122 |
+
"reward": 1.1541666984558105,
|
123 |
+
"reward_std": 0.3001556023955345,
|
124 |
+
"rewards/accuracy_reward": 0.2000000063329935,
|
125 |
+
"rewards/format_reward": 0.9541666805744171,
|
126 |
+
"step": 45
|
127 |
+
},
|
128 |
+
{
|
129 |
+
"completion_length": 330.6041732788086,
|
130 |
+
"epoch": 0.2,
|
131 |
+
"grad_norm": 1.715639326948892,
|
132 |
+
"kl": 0.2083984375,
|
133 |
+
"learning_rate": 1.9396926207859085e-05,
|
134 |
+
"loss": 0.0083,
|
135 |
+
"reward": 1.2000000476837158,
|
136 |
+
"reward_std": 0.35943536311388014,
|
137 |
+
"rewards/accuracy_reward": 0.2583333417773247,
|
138 |
+
"rewards/format_reward": 0.9416666805744172,
|
139 |
+
"step": 50
|
140 |
+
},
|
141 |
+
{
|
142 |
+
"completion_length": 250.3041778564453,
|
143 |
+
"epoch": 0.22,
|
144 |
+
"grad_norm": 6.204624879520759,
|
145 |
+
"kl": 0.4203125,
|
146 |
+
"learning_rate": 1.913545457642601e-05,
|
147 |
+
"loss": 0.0168,
|
148 |
+
"reward": 1.087500023841858,
|
149 |
+
"reward_std": 0.3333131104707718,
|
150 |
+
"rewards/accuracy_reward": 0.17500001043081284,
|
151 |
+
"rewards/format_reward": 0.912500011920929,
|
152 |
+
"step": 55
|
153 |
+
},
|
154 |
+
{
|
155 |
+
"completion_length": 337.4125091552734,
|
156 |
+
"epoch": 0.24,
|
157 |
+
"grad_norm": 12684.323654415588,
|
158 |
+
"kl": 13734.98203125,
|
159 |
+
"learning_rate": 1.8829475928589272e-05,
|
160 |
+
"loss": 548.7591,
|
161 |
+
"reward": 0.791666692495346,
|
162 |
+
"reward_std": 0.488527849316597,
|
163 |
+
"rewards/accuracy_reward": 0.0958333346992731,
|
164 |
+
"rewards/format_reward": 0.6958333522081375,
|
165 |
+
"step": 60
|
166 |
+
},
|
167 |
+
{
|
168 |
+
"completion_length": 531.7333465576172,
|
169 |
+
"epoch": 0.26,
|
170 |
+
"grad_norm": 8.44517412426292,
|
171 |
+
"kl": 1.90859375,
|
172 |
+
"learning_rate": 1.848048096156426e-05,
|
173 |
+
"loss": 0.0764,
|
174 |
+
"reward": 0.4291666768491268,
|
175 |
+
"reward_std": 0.5041220858693123,
|
176 |
+
"rewards/accuracy_reward": 0.0666666679084301,
|
177 |
+
"rewards/format_reward": 0.3625000067055225,
|
178 |
+
"step": 65
|
179 |
+
},
|
180 |
+
{
|
181 |
+
"completion_length": 289.68334197998047,
|
182 |
+
"epoch": 0.28,
|
183 |
+
"grad_norm": 10.463530390230416,
|
184 |
+
"kl": 1.259765625,
|
185 |
+
"learning_rate": 1.8090169943749477e-05,
|
186 |
+
"loss": 0.0505,
|
187 |
+
"reward": 0.791666692495346,
|
188 |
+
"reward_std": 0.50125632584095,
|
189 |
+
"rewards/accuracy_reward": 0.09583333618938923,
|
190 |
+
"rewards/format_reward": 0.6958333492279053,
|
191 |
+
"step": 70
|
192 |
+
},
|
193 |
+
{
|
194 |
+
"completion_length": 255.75833740234376,
|
195 |
+
"epoch": 0.3,
|
196 |
+
"grad_norm": 3.5149825133274617,
|
197 |
+
"kl": 0.7419921875,
|
198 |
+
"learning_rate": 1.766044443118978e-05,
|
199 |
+
"loss": 0.0297,
|
200 |
+
"reward": 0.9875000238418579,
|
201 |
+
"reward_std": 0.3046964339911938,
|
202 |
+
"rewards/accuracy_reward": 0.08333333432674409,
|
203 |
+
"rewards/format_reward": 0.9041666805744171,
|
204 |
+
"step": 75
|
205 |
+
},
|
206 |
+
{
|
207 |
+
"completion_length": 255.90000610351564,
|
208 |
+
"epoch": 0.32,
|
209 |
+
"grad_norm": 4.453741845912516,
|
210 |
+
"kl": 0.38984375,
|
211 |
+
"learning_rate": 1.7193398003386514e-05,
|
212 |
+
"loss": 0.0156,
|
213 |
+
"reward": 1.075000035762787,
|
214 |
+
"reward_std": 0.20900286808609964,
|
215 |
+
"rewards/accuracy_reward": 0.11250000298023224,
|
216 |
+
"rewards/format_reward": 0.9625000298023224,
|
217 |
+
"step": 80
|
218 |
+
},
|
219 |
+
{
|
220 |
+
"completion_length": 246.9666763305664,
|
221 |
+
"epoch": 0.34,
|
222 |
+
"grad_norm": 13.40541291266616,
|
223 |
+
"kl": 2.200390625,
|
224 |
+
"learning_rate": 1.6691306063588583e-05,
|
225 |
+
"loss": 0.0883,
|
226 |
+
"reward": 1.0416666984558105,
|
227 |
+
"reward_std": 0.3525183081626892,
|
228 |
+
"rewards/accuracy_reward": 0.14166667126119137,
|
229 |
+
"rewards/format_reward": 0.9000000178813934,
|
230 |
+
"step": 85
|
231 |
+
},
|
232 |
+
{
|
233 |
+
"completion_length": 230.99167175292968,
|
234 |
+
"epoch": 0.36,
|
235 |
+
"grad_norm": 3.056906791586755,
|
236 |
+
"kl": 0.9048828125,
|
237 |
+
"learning_rate": 1.6156614753256583e-05,
|
238 |
+
"loss": 0.0362,
|
239 |
+
"reward": 1.1375000476837158,
|
240 |
+
"reward_std": 0.2906723290681839,
|
241 |
+
"rewards/accuracy_reward": 0.18333334103226662,
|
242 |
+
"rewards/format_reward": 0.9541666805744171,
|
243 |
+
"step": 90
|
244 |
+
},
|
245 |
+
{
|
246 |
+
"completion_length": 234.40834045410156,
|
247 |
+
"epoch": 0.38,
|
248 |
+
"grad_norm": 1.307857007062594,
|
249 |
+
"kl": 0.4330078125,
|
250 |
+
"learning_rate": 1.5591929034707468e-05,
|
251 |
+
"loss": 0.0173,
|
252 |
+
"reward": 1.137500035762787,
|
253 |
+
"reward_std": 0.24904104620218276,
|
254 |
+
"rewards/accuracy_reward": 0.18333333730697632,
|
255 |
+
"rewards/format_reward": 0.9541666865348816,
|
256 |
+
"step": 95
|
257 |
+
},
|
258 |
+
{
|
259 |
+
"completion_length": 229.05833892822267,
|
260 |
+
"epoch": 0.4,
|
261 |
+
"grad_norm": 7.704130617990992,
|
262 |
+
"kl": 0.6828125,
|
263 |
+
"learning_rate": 1.5000000000000002e-05,
|
264 |
+
"loss": 0.0273,
|
265 |
+
"reward": 1.066666692495346,
|
266 |
+
"reward_std": 0.46584135591983794,
|
267 |
+
"rewards/accuracy_reward": 0.20416667498648167,
|
268 |
+
"rewards/format_reward": 0.8625000298023224,
|
269 |
+
"step": 100
|
270 |
+
},
|
271 |
+
{
|
272 |
+
"epoch": 0.4,
|
273 |
+
"eval_completion_length": 239.04327627328726,
|
274 |
+
"eval_kl": 6.236778846153846,
|
275 |
+
"eval_loss": 0.2575533390045166,
|
276 |
+
"eval_reward": 0.8733974649355962,
|
277 |
+
"eval_reward_std": 0.48696746505223787,
|
278 |
+
"eval_rewards/accuracy_reward": 0.15705128773473775,
|
279 |
+
"eval_rewards/format_reward": 0.7163461721860446,
|
280 |
+
"eval_runtime": 122.539,
|
281 |
+
"eval_samples_per_second": 0.808,
|
282 |
+
"eval_steps_per_second": 0.024,
|
283 |
+
"step": 100
|
284 |
+
},
|
285 |
+
{
|
286 |
+
"completion_length": 242.44583892822266,
|
287 |
+
"epoch": 0.42,
|
288 |
+
"grad_norm": 11.103519186469361,
|
289 |
+
"kl": 3.2890625,
|
290 |
+
"learning_rate": 1.4383711467890776e-05,
|
291 |
+
"loss": 0.1314,
|
292 |
+
"reward": 0.7958333551883697,
|
293 |
+
"reward_std": 0.49174695312976835,
|
294 |
+
"rewards/accuracy_reward": 0.1125000037252903,
|
295 |
+
"rewards/format_reward": 0.6833333551883698,
|
296 |
+
"step": 105
|
297 |
+
},
|
298 |
+
{
|
299 |
+
"completion_length": 269.5166717529297,
|
300 |
+
"epoch": 0.44,
|
301 |
+
"grad_norm": 10.198571524313941,
|
302 |
+
"kl": 0.8923828125,
|
303 |
+
"learning_rate": 1.3746065934159123e-05,
|
304 |
+
"loss": 0.0357,
|
305 |
+
"reward": 0.837500023841858,
|
306 |
+
"reward_std": 0.43169391751289365,
|
307 |
+
"rewards/accuracy_reward": 0.08750000037252903,
|
308 |
+
"rewards/format_reward": 0.7500000178813935,
|
309 |
+
"step": 110
|
310 |
+
},
|
311 |
+
{
|
312 |
+
"completion_length": 216.58333892822264,
|
313 |
+
"epoch": 0.46,
|
314 |
+
"grad_norm": 105.22697678836317,
|
315 |
+
"kl": 1.768359375,
|
316 |
+
"learning_rate": 1.3090169943749475e-05,
|
317 |
+
"loss": 0.0707,
|
318 |
+
"reward": 0.9041666984558105,
|
319 |
+
"reward_std": 0.4620524659752846,
|
320 |
+
"rewards/accuracy_reward": 0.11250000223517417,
|
321 |
+
"rewards/format_reward": 0.7916666805744171,
|
322 |
+
"step": 115
|
323 |
+
},
|
324 |
+
{
|
325 |
+
"completion_length": 221.1541717529297,
|
326 |
+
"epoch": 0.48,
|
327 |
+
"grad_norm": 6606.088155209928,
|
328 |
+
"kl": 27.155078125,
|
329 |
+
"learning_rate": 1.2419218955996677e-05,
|
330 |
+
"loss": 1.0907,
|
331 |
+
"reward": 1.0500000417232513,
|
332 |
+
"reward_std": 0.3967551693320274,
|
333 |
+
"rewards/accuracy_reward": 0.17916667573153972,
|
334 |
+
"rewards/format_reward": 0.8708333551883698,
|
335 |
+
"step": 120
|
336 |
+
},
|
337 |
+
{
|
338 |
+
"completion_length": 236.00834045410156,
|
339 |
+
"epoch": 0.5,
|
340 |
+
"grad_norm": 8.287123875687264,
|
341 |
+
"kl": 0.7736328125,
|
342 |
+
"learning_rate": 1.1736481776669307e-05,
|
343 |
+
"loss": 0.0309,
|
344 |
+
"reward": 1.1125000417232513,
|
345 |
+
"reward_std": 0.3053982339799404,
|
346 |
+
"rewards/accuracy_reward": 0.1708333384245634,
|
347 |
+
"rewards/format_reward": 0.9416666924953461,
|
348 |
+
"step": 125
|
349 |
+
},
|
350 |
+
{
|
351 |
+
"completion_length": 256.1875061035156,
|
352 |
+
"epoch": 0.52,
|
353 |
+
"grad_norm": 5.02200322357131,
|
354 |
+
"kl": 0.4322265625,
|
355 |
+
"learning_rate": 1.1045284632676535e-05,
|
356 |
+
"loss": 0.0173,
|
357 |
+
"reward": 1.1541667222976684,
|
358 |
+
"reward_std": 0.2508885085582733,
|
359 |
+
"rewards/accuracy_reward": 0.17083333656191826,
|
360 |
+
"rewards/format_reward": 0.9833333492279053,
|
361 |
+
"step": 130
|
362 |
+
},
|
363 |
+
{
|
364 |
+
"completion_length": 276.4541763305664,
|
365 |
+
"epoch": 0.54,
|
366 |
+
"grad_norm": 4.384174961816704,
|
367 |
+
"kl": 0.4177734375,
|
368 |
+
"learning_rate": 1.0348994967025012e-05,
|
369 |
+
"loss": 0.0167,
|
370 |
+
"reward": 1.1083333611488342,
|
371 |
+
"reward_std": 0.2354046382009983,
|
372 |
+
"rewards/accuracy_reward": 0.1375000026077032,
|
373 |
+
"rewards/format_reward": 0.9708333432674408,
|
374 |
+
"step": 135
|
375 |
+
},
|
376 |
+
{
|
377 |
+
"completion_length": 268.2125076293945,
|
378 |
+
"epoch": 0.56,
|
379 |
+
"grad_norm": 3.342401293663943,
|
380 |
+
"kl": 0.35498046875,
|
381 |
+
"learning_rate": 9.651005032974994e-06,
|
382 |
+
"loss": 0.0142,
|
383 |
+
"reward": 1.1041667103767394,
|
384 |
+
"reward_std": 0.2977468356490135,
|
385 |
+
"rewards/accuracy_reward": 0.15416667200624942,
|
386 |
+
"rewards/format_reward": 0.9500000238418579,
|
387 |
+
"step": 140
|
388 |
+
},
|
389 |
+
{
|
390 |
+
"completion_length": 243.7666748046875,
|
391 |
+
"epoch": 0.58,
|
392 |
+
"grad_norm": 10.249167956214594,
|
393 |
+
"kl": 1.1703125,
|
394 |
+
"learning_rate": 8.954715367323468e-06,
|
395 |
+
"loss": 0.0468,
|
396 |
+
"reward": 1.0458333671092988,
|
397 |
+
"reward_std": 0.38689075857400895,
|
398 |
+
"rewards/accuracy_reward": 0.1458333373069763,
|
399 |
+
"rewards/format_reward": 0.9000000178813934,
|
400 |
+
"step": 145
|
401 |
+
},
|
402 |
+
{
|
403 |
+
"completion_length": 226.80834197998047,
|
404 |
+
"epoch": 0.6,
|
405 |
+
"grad_norm": 28.306367181479345,
|
406 |
+
"kl": 0.8587890625,
|
407 |
+
"learning_rate": 8.263518223330698e-06,
|
408 |
+
"loss": 0.0343,
|
409 |
+
"reward": 1.0875000178813934,
|
410 |
+
"reward_std": 0.3584312066435814,
|
411 |
+
"rewards/accuracy_reward": 0.19583333656191826,
|
412 |
+
"rewards/format_reward": 0.8916666865348816,
|
413 |
+
"step": 150
|
414 |
+
},
|
415 |
+
{
|
416 |
+
"completion_length": 210.64167175292968,
|
417 |
+
"epoch": 0.62,
|
418 |
+
"grad_norm": 147.78201107458216,
|
419 |
+
"kl": 1.8443359375,
|
420 |
+
"learning_rate": 7.580781044003324e-06,
|
421 |
+
"loss": 0.0736,
|
422 |
+
"reward": 0.9833333551883697,
|
423 |
+
"reward_std": 0.41491681188344953,
|
424 |
+
"rewards/accuracy_reward": 0.15416667126119138,
|
425 |
+
"rewards/format_reward": 0.8291666865348816,
|
426 |
+
"step": 155
|
427 |
+
},
|
428 |
+
{
|
429 |
+
"completion_length": 247.33334197998047,
|
430 |
+
"epoch": 0.64,
|
431 |
+
"grad_norm": 15.659633952783947,
|
432 |
+
"kl": 2.0666015625,
|
433 |
+
"learning_rate": 6.909830056250527e-06,
|
434 |
+
"loss": 0.0829,
|
435 |
+
"reward": 1.0291667044162751,
|
436 |
+
"reward_std": 0.3954852521419525,
|
437 |
+
"rewards/accuracy_reward": 0.1458333358168602,
|
438 |
+
"rewards/format_reward": 0.8833333551883698,
|
439 |
+
"step": 160
|
440 |
+
},
|
441 |
+
{
|
442 |
+
"completion_length": 209.2166732788086,
|
443 |
+
"epoch": 0.66,
|
444 |
+
"grad_norm": 4.737432858154195,
|
445 |
+
"kl": 0.7224609375,
|
446 |
+
"learning_rate": 6.25393406584088e-06,
|
447 |
+
"loss": 0.0289,
|
448 |
+
"reward": 1.1041667222976685,
|
449 |
+
"reward_std": 0.25414432808756826,
|
450 |
+
"rewards/accuracy_reward": 0.15416666828095912,
|
451 |
+
"rewards/format_reward": 0.950000011920929,
|
452 |
+
"step": 165
|
453 |
+
},
|
454 |
+
{
|
455 |
+
"completion_length": 212.47500610351562,
|
456 |
+
"epoch": 0.68,
|
457 |
+
"grad_norm": 9.622515017916685,
|
458 |
+
"kl": 0.38310546875,
|
459 |
+
"learning_rate": 5.616288532109225e-06,
|
460 |
+
"loss": 0.0153,
|
461 |
+
"reward": 1.1500000476837158,
|
462 |
+
"reward_std": 0.25412100180983543,
|
463 |
+
"rewards/accuracy_reward": 0.17916667461395264,
|
464 |
+
"rewards/format_reward": 0.9708333432674408,
|
465 |
+
"step": 170
|
466 |
+
},
|
467 |
+
{
|
468 |
+
"completion_length": 215.3041732788086,
|
469 |
+
"epoch": 0.7,
|
470 |
+
"grad_norm": 1.614688005147557,
|
471 |
+
"kl": 0.5701171875,
|
472 |
+
"learning_rate": 5.000000000000003e-06,
|
473 |
+
"loss": 0.0228,
|
474 |
+
"reward": 1.137500035762787,
|
475 |
+
"reward_std": 0.22350237593054773,
|
476 |
+
"rewards/accuracy_reward": 0.17083333767950534,
|
477 |
+
"rewards/format_reward": 0.9666666865348816,
|
478 |
+
"step": 175
|
479 |
+
},
|
480 |
+
{
|
481 |
+
"completion_length": 205.10834045410155,
|
482 |
+
"epoch": 0.72,
|
483 |
+
"grad_norm": 1.091336661435543,
|
484 |
+
"kl": 0.5271484375,
|
485 |
+
"learning_rate": 4.408070965292534e-06,
|
486 |
+
"loss": 0.0211,
|
487 |
+
"reward": 1.1125000357627868,
|
488 |
+
"reward_std": 0.3238865025341511,
|
489 |
+
"rewards/accuracy_reward": 0.1625000037252903,
|
490 |
+
"rewards/format_reward": 0.9500000178813934,
|
491 |
+
"step": 180
|
492 |
+
},
|
493 |
+
{
|
494 |
+
"completion_length": 213.24584045410157,
|
495 |
+
"epoch": 0.74,
|
496 |
+
"grad_norm": 2.9050766275055353,
|
497 |
+
"kl": 0.662109375,
|
498 |
+
"learning_rate": 3.8433852467434175e-06,
|
499 |
+
"loss": 0.0265,
|
500 |
+
"reward": 1.1375000476837158,
|
501 |
+
"reward_std": 0.3509949237108231,
|
502 |
+
"rewards/accuracy_reward": 0.20416667200624944,
|
503 |
+
"rewards/format_reward": 0.9333333551883698,
|
504 |
+
"step": 185
|
505 |
+
},
|
506 |
+
{
|
507 |
+
"completion_length": 218.59583587646483,
|
508 |
+
"epoch": 0.76,
|
509 |
+
"grad_norm": 1.5330170710229287,
|
510 |
+
"kl": 0.405859375,
|
511 |
+
"learning_rate": 3.308693936411421e-06,
|
512 |
+
"loss": 0.0162,
|
513 |
+
"reward": 1.1333333492279052,
|
514 |
+
"reward_std": 0.3301138609647751,
|
515 |
+
"rewards/accuracy_reward": 0.18750000409781933,
|
516 |
+
"rewards/format_reward": 0.9458333432674408,
|
517 |
+
"step": 190
|
518 |
+
},
|
519 |
+
{
|
520 |
+
"completion_length": 217.2125045776367,
|
521 |
+
"epoch": 0.78,
|
522 |
+
"grad_norm": 2.9257483023737056,
|
523 |
+
"kl": 0.43125,
|
524 |
+
"learning_rate": 2.8066019966134907e-06,
|
525 |
+
"loss": 0.0172,
|
526 |
+
"reward": 1.1291666984558106,
|
527 |
+
"reward_std": 0.23582691550254822,
|
528 |
+
"rewards/accuracy_reward": 0.15416667200624942,
|
529 |
+
"rewards/format_reward": 0.9750000178813935,
|
530 |
+
"step": 195
|
531 |
+
},
|
532 |
+
{
|
533 |
+
"completion_length": 229.40000610351564,
|
534 |
+
"epoch": 0.8,
|
535 |
+
"grad_norm": 2.9848511807109945,
|
536 |
+
"kl": 0.715234375,
|
537 |
+
"learning_rate": 2.339555568810221e-06,
|
538 |
+
"loss": 0.0286,
|
539 |
+
"reward": 1.108333373069763,
|
540 |
+
"reward_std": 0.31293403804302217,
|
541 |
+
"rewards/accuracy_reward": 0.17500000707805158,
|
542 |
+
"rewards/format_reward": 0.9333333432674408,
|
543 |
+
"step": 200
|
544 |
+
},
|
545 |
+
{
|
546 |
+
"epoch": 0.8,
|
547 |
+
"eval_completion_length": 241.64263857327975,
|
548 |
+
"eval_kl": 0.8054387019230769,
|
549 |
+
"eval_loss": 0.03347592428326607,
|
550 |
+
"eval_reward": 1.1057692628640394,
|
551 |
+
"eval_reward_std": 0.3724508308447324,
|
552 |
+
"eval_rewards/accuracy_reward": 0.19391026347875595,
|
553 |
+
"eval_rewards/format_reward": 0.9118589988121619,
|
554 |
+
"eval_runtime": 148.8747,
|
555 |
+
"eval_samples_per_second": 0.665,
|
556 |
+
"eval_steps_per_second": 0.02,
|
557 |
+
"step": 200
|
558 |
+
},
|
559 |
+
{
|
560 |
+
"completion_length": 272.07500610351565,
|
561 |
+
"epoch": 0.82,
|
562 |
+
"grad_norm": 6.533327129383711,
|
563 |
+
"kl": 1.0576171875,
|
564 |
+
"learning_rate": 1.9098300562505266e-06,
|
565 |
+
"loss": 0.0423,
|
566 |
+
"reward": 1.037500023841858,
|
567 |
+
"reward_std": 0.37259582430124283,
|
568 |
+
"rewards/accuracy_reward": 0.14583333805203438,
|
569 |
+
"rewards/format_reward": 0.8916666865348816,
|
570 |
+
"step": 205
|
571 |
+
},
|
572 |
+
{
|
573 |
+
"completion_length": 308.77500915527344,
|
574 |
+
"epoch": 0.84,
|
575 |
+
"grad_norm": 6.059865062027995,
|
576 |
+
"kl": 0.7416015625,
|
577 |
+
"learning_rate": 1.5195190384357405e-06,
|
578 |
+
"loss": 0.0297,
|
579 |
+
"reward": 1.0541667222976685,
|
580 |
+
"reward_std": 0.4518925681710243,
|
581 |
+
"rewards/accuracy_reward": 0.17916667088866234,
|
582 |
+
"rewards/format_reward": 0.8750000178813935,
|
583 |
+
"step": 210
|
584 |
+
},
|
585 |
+
{
|
586 |
+
"completion_length": 284.2458465576172,
|
587 |
+
"epoch": 0.86,
|
588 |
+
"grad_norm": 7.905885888448849,
|
589 |
+
"kl": 0.6669921875,
|
590 |
+
"learning_rate": 1.1705240714107301e-06,
|
591 |
+
"loss": 0.0266,
|
592 |
+
"reward": 1.0708333492279052,
|
593 |
+
"reward_std": 0.39237469881772996,
|
594 |
+
"rewards/accuracy_reward": 0.18750000484287738,
|
595 |
+
"rewards/format_reward": 0.8833333551883698,
|
596 |
+
"step": 215
|
597 |
+
},
|
598 |
+
{
|
599 |
+
"completion_length": 282.00000762939453,
|
600 |
+
"epoch": 0.88,
|
601 |
+
"grad_norm": 4.37771923360857,
|
602 |
+
"kl": 0.61904296875,
|
603 |
+
"learning_rate": 8.645454235739903e-07,
|
604 |
+
"loss": 0.0248,
|
605 |
+
"reward": 1.0708333671092987,
|
606 |
+
"reward_std": 0.3581776343286037,
|
607 |
+
"rewards/accuracy_reward": 0.16250000484287738,
|
608 |
+
"rewards/format_reward": 0.9083333492279053,
|
609 |
+
"step": 220
|
610 |
+
},
|
611 |
+
{
|
612 |
+
"completion_length": 296.21667327880857,
|
613 |
+
"epoch": 0.9,
|
614 |
+
"grad_norm": 2.6800870053150487,
|
615 |
+
"kl": 0.5798828125,
|
616 |
+
"learning_rate": 6.030737921409169e-07,
|
617 |
+
"loss": 0.0232,
|
618 |
+
"reward": 1.0250000298023223,
|
619 |
+
"reward_std": 0.34061215743422507,
|
620 |
+
"rewards/accuracy_reward": 0.15000000558793544,
|
621 |
+
"rewards/format_reward": 0.8750000119209289,
|
622 |
+
"step": 225
|
623 |
+
},
|
624 |
+
{
|
625 |
+
"completion_length": 266.26250610351565,
|
626 |
+
"epoch": 0.92,
|
627 |
+
"grad_norm": 2.09794383441415,
|
628 |
+
"kl": 0.498046875,
|
629 |
+
"learning_rate": 3.8738304061681107e-07,
|
630 |
+
"loss": 0.0199,
|
631 |
+
"reward": 1.1125000298023224,
|
632 |
+
"reward_std": 0.29474459737539294,
|
633 |
+
"rewards/accuracy_reward": 0.1875000037252903,
|
634 |
+
"rewards/format_reward": 0.9250000178813934,
|
635 |
+
"step": 230
|
636 |
+
},
|
637 |
+
{
|
638 |
+
"completion_length": 237.3041732788086,
|
639 |
+
"epoch": 0.94,
|
640 |
+
"grad_norm": 3.7721249716047582,
|
641 |
+
"kl": 0.3232421875,
|
642 |
+
"learning_rate": 2.1852399266194312e-07,
|
643 |
+
"loss": 0.0129,
|
644 |
+
"reward": 1.1166666924953461,
|
645 |
+
"reward_std": 0.2401700422167778,
|
646 |
+
"rewards/accuracy_reward": 0.15833333805203437,
|
647 |
+
"rewards/format_reward": 0.9583333492279053,
|
648 |
+
"step": 235
|
649 |
+
},
|
650 |
+
{
|
651 |
+
"completion_length": 267.9583404541016,
|
652 |
+
"epoch": 0.96,
|
653 |
+
"grad_norm": 3.3890207151811844,
|
654 |
+
"kl": 0.446875,
|
655 |
+
"learning_rate": 9.731931258429638e-08,
|
656 |
+
"loss": 0.0179,
|
657 |
+
"reward": 1.1541666984558105,
|
658 |
+
"reward_std": 0.35387340411543844,
|
659 |
+
"rewards/accuracy_reward": 0.21250000223517418,
|
660 |
+
"rewards/format_reward": 0.9416666924953461,
|
661 |
+
"step": 240
|
662 |
+
},
|
663 |
+
{
|
664 |
+
"completion_length": 253.70001068115235,
|
665 |
+
"epoch": 0.98,
|
666 |
+
"grad_norm": 1.8424759936451511,
|
667 |
+
"kl": 0.4060546875,
|
668 |
+
"learning_rate": 2.4359497401758026e-08,
|
669 |
+
"loss": 0.0162,
|
670 |
+
"reward": 1.1583333730697631,
|
671 |
+
"reward_std": 0.3411997601389885,
|
672 |
+
"rewards/accuracy_reward": 0.21666667461395264,
|
673 |
+
"rewards/format_reward": 0.9416666805744172,
|
674 |
+
"step": 245
|
675 |
+
},
|
676 |
+
{
|
677 |
+
"completion_length": 263.2708374023438,
|
678 |
+
"epoch": 1.0,
|
679 |
+
"grad_norm": 1.7906114607102377,
|
680 |
+
"kl": 0.4353515625,
|
681 |
+
"learning_rate": 0.0,
|
682 |
+
"loss": 0.0174,
|
683 |
+
"reward": 1.1541666984558105,
|
684 |
+
"reward_std": 0.31376161351799964,
|
685 |
+
"rewards/accuracy_reward": 0.2125000037252903,
|
686 |
+
"rewards/format_reward": 0.9416666865348816,
|
687 |
+
"step": 250
|
688 |
+
},
|
689 |
+
{
|
690 |
+
"epoch": 1.0,
|
691 |
+
"step": 250,
|
692 |
+
"total_flos": 0.0,
|
693 |
+
"train_loss": 11.024624033321947,
|
694 |
+
"train_runtime": 8177.44,
|
695 |
+
"train_samples_per_second": 0.245,
|
696 |
+
"train_steps_per_second": 0.031
|
697 |
+
}
|
698 |
+
],
|
699 |
+
"logging_steps": 5,
|
700 |
+
"max_steps": 250,
|
701 |
+
"num_input_tokens_seen": 0,
|
702 |
+
"num_train_epochs": 1,
|
703 |
+
"save_steps": 500,
|
704 |
+
"stateful_callbacks": {
|
705 |
+
"TrainerControl": {
|
706 |
+
"args": {
|
707 |
+
"should_epoch_stop": false,
|
708 |
+
"should_evaluate": false,
|
709 |
+
"should_log": false,
|
710 |
+
"should_save": false,
|
711 |
+
"should_training_stop": false
|
712 |
+
},
|
713 |
+
"attributes": {}
|
714 |
+
}
|
715 |
+
},
|
716 |
+
"total_flos": 0.0,
|
717 |
+
"train_batch_size": 4,
|
718 |
+
"trial_name": null,
|
719 |
+
"trial_params": null
|
720 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5e3a75ea9214b8718714a127b48b890cc4d75d87b1f89703eb7a46a95a49a921
|
3 |
+
size 7480
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|