Model save
Browse files- .gitattributes +1 -0
- README.md +68 -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 +208 -0
- train_results.json +8 -0
- trainer_state.json +774 -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,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: Qwen/Qwen2.5-0.5B-Instruct
|
3 |
+
library_name: transformers
|
4 |
+
model_name: Freeway-GRPO-Qwen-2.5-0.5B-Instruct
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
- trl
|
8 |
+
- grpo
|
9 |
+
licence: license
|
10 |
+
---
|
11 |
+
|
12 |
+
# Model Card for Freeway-GRPO-Qwen-2.5-0.5B-Instruct
|
13 |
+
|
14 |
+
This model is a fine-tuned version of [Qwen/Qwen2.5-0.5B-Instruct](https://huggingface.co/Qwen/Qwen2.5-0.5B-Instruct).
|
15 |
+
It has been trained using [TRL](https://github.com/huggingface/trl).
|
16 |
+
|
17 |
+
## Quick start
|
18 |
+
|
19 |
+
```python
|
20 |
+
from transformers import pipeline
|
21 |
+
|
22 |
+
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?"
|
23 |
+
generator = pipeline("text-generation", model="wenyl/Freeway-GRPO-Qwen-2.5-0.5B-Instruct", device="cuda")
|
24 |
+
output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
|
25 |
+
print(output["generated_text"])
|
26 |
+
```
|
27 |
+
|
28 |
+
## Training procedure
|
29 |
+
|
30 |
+
[<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/wenyl22/huggingface/runs/azrdhm61)
|
31 |
+
|
32 |
+
|
33 |
+
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).
|
34 |
+
|
35 |
+
### Framework versions
|
36 |
+
|
37 |
+
- TRL: 0.15.2
|
38 |
+
- Transformers: 4.49.0
|
39 |
+
- Pytorch: 2.5.1
|
40 |
+
- Datasets: 3.4.0
|
41 |
+
- Tokenizers: 0.21.1
|
42 |
+
|
43 |
+
## Citations
|
44 |
+
|
45 |
+
Cite GRPO as:
|
46 |
+
|
47 |
+
```bibtex
|
48 |
+
@article{zhihong2024deepseekmath,
|
49 |
+
title = {{DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models}},
|
50 |
+
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},
|
51 |
+
year = 2024,
|
52 |
+
eprint = {arXiv:2402.03300},
|
53 |
+
}
|
54 |
+
|
55 |
+
```
|
56 |
+
|
57 |
+
Cite TRL as:
|
58 |
+
|
59 |
+
```bibtex
|
60 |
+
@misc{vonwerra2022trl,
|
61 |
+
title = {{TRL: Transformer Reinforcement Learning}},
|
62 |
+
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},
|
63 |
+
year = 2020,
|
64 |
+
journal = {GitHub repository},
|
65 |
+
publisher = {GitHub},
|
66 |
+
howpublished = {\url{https://github.com/huggingface/trl}}
|
67 |
+
}
|
68 |
+
```
|
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": 0.004944845609998083,
|
4 |
+
"train_runtime": 5152.2436,
|
5 |
+
"train_samples": 200080,
|
6 |
+
"train_samples_per_second": 3.18,
|
7 |
+
"train_steps_per_second": 0.05
|
8 |
+
}
|
config.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "Qwen/Qwen2.5-0.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": 896,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"intermediate_size": 4864,
|
13 |
+
"max_position_embeddings": 32768,
|
14 |
+
"max_window_layers": 21,
|
15 |
+
"model_type": "qwen2",
|
16 |
+
"num_attention_heads": 14,
|
17 |
+
"num_hidden_layers": 24,
|
18 |
+
"num_key_value_heads": 2,
|
19 |
+
"rms_norm_eps": 1e-06,
|
20 |
+
"rope_scaling": null,
|
21 |
+
"rope_theta": 1000000.0,
|
22 |
+
"sliding_window": 32768,
|
23 |
+
"tie_word_embeddings": true,
|
24 |
+
"torch_dtype": "bfloat16",
|
25 |
+
"transformers_version": "4.49.0",
|
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"
|
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:4e26af9bb4d4d9256f7d456271e45e44685c8b966b59e4d580c5d08fd3170ea0
|
3 |
+
size 988097824
|
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 |
+
}
|
tokenizer.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5eee858c5123a4279c3e1f7b81247343f356ac767940b2692a928ad929543214
|
3 |
+
size 11422063
|
tokenizer_config.json
ADDED
@@ -0,0 +1,208 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": false,
|
3 |
+
"add_prefix_space": false,
|
4 |
+
"added_tokens_decoder": {
|
5 |
+
"151643": {
|
6 |
+
"content": "<|endoftext|>",
|
7 |
+
"lstrip": false,
|
8 |
+
"normalized": false,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false,
|
11 |
+
"special": true
|
12 |
+
},
|
13 |
+
"151644": {
|
14 |
+
"content": "<|im_start|>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": false,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false,
|
19 |
+
"special": true
|
20 |
+
},
|
21 |
+
"151645": {
|
22 |
+
"content": "<|im_end|>",
|
23 |
+
"lstrip": false,
|
24 |
+
"normalized": false,
|
25 |
+
"rstrip": false,
|
26 |
+
"single_word": false,
|
27 |
+
"special": true
|
28 |
+
},
|
29 |
+
"151646": {
|
30 |
+
"content": "<|object_ref_start|>",
|
31 |
+
"lstrip": false,
|
32 |
+
"normalized": false,
|
33 |
+
"rstrip": false,
|
34 |
+
"single_word": false,
|
35 |
+
"special": true
|
36 |
+
},
|
37 |
+
"151647": {
|
38 |
+
"content": "<|object_ref_end|>",
|
39 |
+
"lstrip": false,
|
40 |
+
"normalized": false,
|
41 |
+
"rstrip": false,
|
42 |
+
"single_word": false,
|
43 |
+
"special": true
|
44 |
+
},
|
45 |
+
"151648": {
|
46 |
+
"content": "<|box_start|>",
|
47 |
+
"lstrip": false,
|
48 |
+
"normalized": false,
|
49 |
+
"rstrip": false,
|
50 |
+
"single_word": false,
|
51 |
+
"special": true
|
52 |
+
},
|
53 |
+
"151649": {
|
54 |
+
"content": "<|box_end|>",
|
55 |
+
"lstrip": false,
|
56 |
+
"normalized": false,
|
57 |
+
"rstrip": false,
|
58 |
+
"single_word": false,
|
59 |
+
"special": true
|
60 |
+
},
|
61 |
+
"151650": {
|
62 |
+
"content": "<|quad_start|>",
|
63 |
+
"lstrip": false,
|
64 |
+
"normalized": false,
|
65 |
+
"rstrip": false,
|
66 |
+
"single_word": false,
|
67 |
+
"special": true
|
68 |
+
},
|
69 |
+
"151651": {
|
70 |
+
"content": "<|quad_end|>",
|
71 |
+
"lstrip": false,
|
72 |
+
"normalized": false,
|
73 |
+
"rstrip": false,
|
74 |
+
"single_word": false,
|
75 |
+
"special": true
|
76 |
+
},
|
77 |
+
"151652": {
|
78 |
+
"content": "<|vision_start|>",
|
79 |
+
"lstrip": false,
|
80 |
+
"normalized": false,
|
81 |
+
"rstrip": false,
|
82 |
+
"single_word": false,
|
83 |
+
"special": true
|
84 |
+
},
|
85 |
+
"151653": {
|
86 |
+
"content": "<|vision_end|>",
|
87 |
+
"lstrip": false,
|
88 |
+
"normalized": false,
|
89 |
+
"rstrip": false,
|
90 |
+
"single_word": false,
|
91 |
+
"special": true
|
92 |
+
},
|
93 |
+
"151654": {
|
94 |
+
"content": "<|vision_pad|>",
|
95 |
+
"lstrip": false,
|
96 |
+
"normalized": false,
|
97 |
+
"rstrip": false,
|
98 |
+
"single_word": false,
|
99 |
+
"special": true
|
100 |
+
},
|
101 |
+
"151655": {
|
102 |
+
"content": "<|image_pad|>",
|
103 |
+
"lstrip": false,
|
104 |
+
"normalized": false,
|
105 |
+
"rstrip": false,
|
106 |
+
"single_word": false,
|
107 |
+
"special": true
|
108 |
+
},
|
109 |
+
"151656": {
|
110 |
+
"content": "<|video_pad|>",
|
111 |
+
"lstrip": false,
|
112 |
+
"normalized": false,
|
113 |
+
"rstrip": false,
|
114 |
+
"single_word": false,
|
115 |
+
"special": true
|
116 |
+
},
|
117 |
+
"151657": {
|
118 |
+
"content": "<tool_call>",
|
119 |
+
"lstrip": false,
|
120 |
+
"normalized": false,
|
121 |
+
"rstrip": false,
|
122 |
+
"single_word": false,
|
123 |
+
"special": false
|
124 |
+
},
|
125 |
+
"151658": {
|
126 |
+
"content": "</tool_call>",
|
127 |
+
"lstrip": false,
|
128 |
+
"normalized": false,
|
129 |
+
"rstrip": false,
|
130 |
+
"single_word": false,
|
131 |
+
"special": false
|
132 |
+
},
|
133 |
+
"151659": {
|
134 |
+
"content": "<|fim_prefix|>",
|
135 |
+
"lstrip": false,
|
136 |
+
"normalized": false,
|
137 |
+
"rstrip": false,
|
138 |
+
"single_word": false,
|
139 |
+
"special": false
|
140 |
+
},
|
141 |
+
"151660": {
|
142 |
+
"content": "<|fim_middle|>",
|
143 |
+
"lstrip": false,
|
144 |
+
"normalized": false,
|
145 |
+
"rstrip": false,
|
146 |
+
"single_word": false,
|
147 |
+
"special": false
|
148 |
+
},
|
149 |
+
"151661": {
|
150 |
+
"content": "<|fim_suffix|>",
|
151 |
+
"lstrip": false,
|
152 |
+
"normalized": false,
|
153 |
+
"rstrip": false,
|
154 |
+
"single_word": false,
|
155 |
+
"special": false
|
156 |
+
},
|
157 |
+
"151662": {
|
158 |
+
"content": "<|fim_pad|>",
|
159 |
+
"lstrip": false,
|
160 |
+
"normalized": false,
|
161 |
+
"rstrip": false,
|
162 |
+
"single_word": false,
|
163 |
+
"special": false
|
164 |
+
},
|
165 |
+
"151663": {
|
166 |
+
"content": "<|repo_name|>",
|
167 |
+
"lstrip": false,
|
168 |
+
"normalized": false,
|
169 |
+
"rstrip": false,
|
170 |
+
"single_word": false,
|
171 |
+
"special": false
|
172 |
+
},
|
173 |
+
"151664": {
|
174 |
+
"content": "<|file_sep|>",
|
175 |
+
"lstrip": false,
|
176 |
+
"normalized": false,
|
177 |
+
"rstrip": false,
|
178 |
+
"single_word": false,
|
179 |
+
"special": false
|
180 |
+
}
|
181 |
+
},
|
182 |
+
"additional_special_tokens": [
|
183 |
+
"<|im_start|>",
|
184 |
+
"<|im_end|>",
|
185 |
+
"<|object_ref_start|>",
|
186 |
+
"<|object_ref_end|>",
|
187 |
+
"<|box_start|>",
|
188 |
+
"<|box_end|>",
|
189 |
+
"<|quad_start|>",
|
190 |
+
"<|quad_end|>",
|
191 |
+
"<|vision_start|>",
|
192 |
+
"<|vision_end|>",
|
193 |
+
"<|vision_pad|>",
|
194 |
+
"<|image_pad|>",
|
195 |
+
"<|video_pad|>"
|
196 |
+
],
|
197 |
+
"bos_token": null,
|
198 |
+
"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 |
+
"split_special_tokens": false,
|
206 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
207 |
+
"unk_token": null
|
208 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"total_flos": 0.0,
|
3 |
+
"train_loss": 0.004944845609998083,
|
4 |
+
"train_runtime": 5152.2436,
|
5 |
+
"train_samples": 200080,
|
6 |
+
"train_samples_per_second": 3.18,
|
7 |
+
"train_steps_per_second": 0.05
|
8 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,774 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 0.04094362255097961,
|
5 |
+
"eval_steps": 64,
|
6 |
+
"global_step": 256,
|
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": 52.6875,
|
13 |
+
"epoch": 0.0001599360255897641,
|
14 |
+
"grad_norm": 6.5625,
|
15 |
+
"kl": 0.0,
|
16 |
+
"learning_rate": 1.1538461538461539e-07,
|
17 |
+
"loss": -0.0,
|
18 |
+
"reward": 0.359375,
|
19 |
+
"reward_std": 0.3756504710763693,
|
20 |
+
"rewards/accuracy_reward": 0.171875,
|
21 |
+
"rewards/format_reward": 0.1875,
|
22 |
+
"step": 1
|
23 |
+
},
|
24 |
+
{
|
25 |
+
"completion_length": 49.2109375,
|
26 |
+
"epoch": 0.0007996801279488205,
|
27 |
+
"grad_norm": 5.3125,
|
28 |
+
"kl": 0.0012457009133868269,
|
29 |
+
"learning_rate": 5.76923076923077e-07,
|
30 |
+
"loss": 0.0,
|
31 |
+
"reward": 0.48828125,
|
32 |
+
"reward_std": 0.42536891577765346,
|
33 |
+
"rewards/accuracy_reward": 0.28515625,
|
34 |
+
"rewards/format_reward": 0.203125,
|
35 |
+
"step": 5
|
36 |
+
},
|
37 |
+
{
|
38 |
+
"completion_length": 53.75625,
|
39 |
+
"epoch": 0.001599360255897641,
|
40 |
+
"grad_norm": 7.15625,
|
41 |
+
"kl": 0.0015386140597911436,
|
42 |
+
"learning_rate": 1.153846153846154e-06,
|
43 |
+
"loss": 0.0001,
|
44 |
+
"reward": 0.46875,
|
45 |
+
"reward_std": 0.4507805652916431,
|
46 |
+
"rewards/accuracy_reward": 0.228125,
|
47 |
+
"rewards/format_reward": 0.240625,
|
48 |
+
"step": 10
|
49 |
+
},
|
50 |
+
{
|
51 |
+
"completion_length": 56.421875,
|
52 |
+
"epoch": 0.0023990403838464614,
|
53 |
+
"grad_norm": 6.90625,
|
54 |
+
"kl": 0.0025526953544613208,
|
55 |
+
"learning_rate": 1.7307692307692306e-06,
|
56 |
+
"loss": 0.0001,
|
57 |
+
"reward": 0.51875,
|
58 |
+
"reward_std": 0.47729706913232806,
|
59 |
+
"rewards/accuracy_reward": 0.303125,
|
60 |
+
"rewards/format_reward": 0.215625,
|
61 |
+
"step": 15
|
62 |
+
},
|
63 |
+
{
|
64 |
+
"completion_length": 50.725,
|
65 |
+
"epoch": 0.003198720511795282,
|
66 |
+
"grad_norm": 5.4375,
|
67 |
+
"kl": 0.007305113899565186,
|
68 |
+
"learning_rate": 2.307692307692308e-06,
|
69 |
+
"loss": 0.0003,
|
70 |
+
"reward": 0.584375,
|
71 |
+
"reward_std": 0.4640388172119856,
|
72 |
+
"rewards/accuracy_reward": 0.3,
|
73 |
+
"rewards/format_reward": 0.284375,
|
74 |
+
"step": 20
|
75 |
+
},
|
76 |
+
{
|
77 |
+
"completion_length": 48.2625,
|
78 |
+
"epoch": 0.003998400639744102,
|
79 |
+
"grad_norm": 7.59375,
|
80 |
+
"kl": 0.021931850849068724,
|
81 |
+
"learning_rate": 2.884615384615385e-06,
|
82 |
+
"loss": 0.0009,
|
83 |
+
"reward": 0.709375,
|
84 |
+
"reward_std": 0.49055532105267047,
|
85 |
+
"rewards/accuracy_reward": 0.35,
|
86 |
+
"rewards/format_reward": 0.359375,
|
87 |
+
"step": 25
|
88 |
+
},
|
89 |
+
{
|
90 |
+
"completion_length": 46.578125,
|
91 |
+
"epoch": 0.004798080767692923,
|
92 |
+
"grad_norm": 5.375,
|
93 |
+
"kl": 0.08235460844589397,
|
94 |
+
"learning_rate": 2.997761705224242e-06,
|
95 |
+
"loss": 0.0033,
|
96 |
+
"reward": 0.840625,
|
97 |
+
"reward_std": 0.5524271633476019,
|
98 |
+
"rewards/accuracy_reward": 0.384375,
|
99 |
+
"rewards/format_reward": 0.45625,
|
100 |
+
"step": 30
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"completion_length": 50.603125,
|
104 |
+
"epoch": 0.005597760895641743,
|
105 |
+
"grad_norm": 5.625,
|
106 |
+
"kl": 0.12322683255188167,
|
107 |
+
"learning_rate": 2.9886800800368023e-06,
|
108 |
+
"loss": 0.0049,
|
109 |
+
"reward": 1.01875,
|
110 |
+
"reward_std": 0.47729706913232806,
|
111 |
+
"rewards/accuracy_reward": 0.39375,
|
112 |
+
"rewards/format_reward": 0.625,
|
113 |
+
"step": 35
|
114 |
+
},
|
115 |
+
{
|
116 |
+
"completion_length": 51.74375,
|
117 |
+
"epoch": 0.006397441023590564,
|
118 |
+
"grad_norm": 5.25,
|
119 |
+
"kl": 0.12255409228382633,
|
120 |
+
"learning_rate": 2.972657541113338e-06,
|
121 |
+
"loss": 0.0049,
|
122 |
+
"reward": 1.05,
|
123 |
+
"reward_std": 0.4596193999052048,
|
124 |
+
"rewards/accuracy_reward": 0.403125,
|
125 |
+
"rewards/format_reward": 0.646875,
|
126 |
+
"step": 40
|
127 |
+
},
|
128 |
+
{
|
129 |
+
"completion_length": 51.15,
|
130 |
+
"epoch": 0.007197121151539384,
|
131 |
+
"grad_norm": 4.34375,
|
132 |
+
"kl": 0.11809529251186177,
|
133 |
+
"learning_rate": 2.949768792926617e-06,
|
134 |
+
"loss": 0.0047,
|
135 |
+
"reward": 1.1625,
|
136 |
+
"reward_std": 0.5303300768136978,
|
137 |
+
"rewards/accuracy_reward": 0.45,
|
138 |
+
"rewards/format_reward": 0.7125,
|
139 |
+
"step": 45
|
140 |
+
},
|
141 |
+
{
|
142 |
+
"completion_length": 52.084375,
|
143 |
+
"epoch": 0.007996801279488205,
|
144 |
+
"grad_norm": 5.09375,
|
145 |
+
"kl": 0.14425031405407934,
|
146 |
+
"learning_rate": 2.9201205533865656e-06,
|
147 |
+
"loss": 0.0058,
|
148 |
+
"reward": 1.096875,
|
149 |
+
"reward_std": 0.5170718248933553,
|
150 |
+
"rewards/accuracy_reward": 0.41875,
|
151 |
+
"rewards/format_reward": 0.678125,
|
152 |
+
"step": 50
|
153 |
+
},
|
154 |
+
{
|
155 |
+
"completion_length": 49.265625,
|
156 |
+
"epoch": 0.008796481407437025,
|
157 |
+
"grad_norm": 5.25,
|
158 |
+
"kl": 0.12807998866774142,
|
159 |
+
"learning_rate": 2.8838510562721076e-06,
|
160 |
+
"loss": 0.0051,
|
161 |
+
"reward": 1.08125,
|
162 |
+
"reward_std": 0.5038135729730129,
|
163 |
+
"rewards/accuracy_reward": 0.396875,
|
164 |
+
"rewards/format_reward": 0.684375,
|
165 |
+
"step": 55
|
166 |
+
},
|
167 |
+
{
|
168 |
+
"completion_length": 53.115625,
|
169 |
+
"epoch": 0.009596161535385846,
|
170 |
+
"grad_norm": 5.09375,
|
171 |
+
"kl": 0.12884393450804055,
|
172 |
+
"learning_rate": 2.8411294067214768e-06,
|
173 |
+
"loss": 0.0052,
|
174 |
+
"reward": 1.125,
|
175 |
+
"reward_std": 0.5391689114272594,
|
176 |
+
"rewards/accuracy_reward": 0.45,
|
177 |
+
"rewards/format_reward": 0.675,
|
178 |
+
"step": 60
|
179 |
+
},
|
180 |
+
{
|
181 |
+
"epoch": 0.010235905637744902,
|
182 |
+
"eval_completion_length": 51.59410112359551,
|
183 |
+
"eval_kl": 0.12826356122249297,
|
184 |
+
"eval_loss": 0.004409829154610634,
|
185 |
+
"eval_reward": 1.0603932584269662,
|
186 |
+
"eval_reward_std": 0.5144400355521213,
|
187 |
+
"eval_rewards/accuracy_reward": 0.43820224719101125,
|
188 |
+
"eval_rewards/format_reward": 0.6221910112359551,
|
189 |
+
"eval_runtime": 19.3936,
|
190 |
+
"eval_samples_per_second": 5.156,
|
191 |
+
"eval_steps_per_second": 1.289,
|
192 |
+
"step": 64
|
193 |
+
},
|
194 |
+
{
|
195 |
+
"completion_length": 48.90625,
|
196 |
+
"epoch": 0.010395841663334666,
|
197 |
+
"grad_norm": 4.09375,
|
198 |
+
"kl": 0.1414291060063988,
|
199 |
+
"learning_rate": 2.792154792786e-06,
|
200 |
+
"loss": 0.0055,
|
201 |
+
"reward": 1.03125,
|
202 |
+
"reward_std": 0.4419417306780815,
|
203 |
+
"rewards/accuracy_reward": 0.40625,
|
204 |
+
"rewards/format_reward": 0.625,
|
205 |
+
"step": 65
|
206 |
+
},
|
207 |
+
{
|
208 |
+
"completion_length": 49.440625,
|
209 |
+
"epoch": 0.011195521791283487,
|
210 |
+
"grad_norm": 5.25,
|
211 |
+
"kl": 0.11723160503897816,
|
212 |
+
"learning_rate": 2.737155556723453e-06,
|
213 |
+
"loss": 0.0047,
|
214 |
+
"reward": 1.053125,
|
215 |
+
"reward_std": 0.49055532105267047,
|
216 |
+
"rewards/accuracy_reward": 0.38125,
|
217 |
+
"rewards/format_reward": 0.671875,
|
218 |
+
"step": 70
|
219 |
+
},
|
220 |
+
{
|
221 |
+
"completion_length": 51.290625,
|
222 |
+
"epoch": 0.011995201919232307,
|
223 |
+
"grad_norm": 4.53125,
|
224 |
+
"kl": 0.12841552164172754,
|
225 |
+
"learning_rate": 2.676388130361047e-06,
|
226 |
+
"loss": 0.0051,
|
227 |
+
"reward": 1.084375,
|
228 |
+
"reward_std": 0.5170718248933553,
|
229 |
+
"rewards/accuracy_reward": 0.446875,
|
230 |
+
"rewards/format_reward": 0.6375,
|
231 |
+
"step": 75
|
232 |
+
},
|
233 |
+
{
|
234 |
+
"completion_length": 51.165625,
|
235 |
+
"epoch": 0.012794882047181128,
|
236 |
+
"grad_norm": 4.4375,
|
237 |
+
"kl": 0.12180936294025742,
|
238 |
+
"learning_rate": 2.610135839491878e-06,
|
239 |
+
"loss": 0.0049,
|
240 |
+
"reward": 1.053125,
|
241 |
+
"reward_std": 0.5347494941204787,
|
242 |
+
"rewards/accuracy_reward": 0.4375,
|
243 |
+
"rewards/format_reward": 0.615625,
|
244 |
+
"step": 80
|
245 |
+
},
|
246 |
+
{
|
247 |
+
"completion_length": 47.96875,
|
248 |
+
"epoch": 0.013594562175129948,
|
249 |
+
"grad_norm": 5.28125,
|
250 |
+
"kl": 0.14888262754539028,
|
251 |
+
"learning_rate": 2.538707582879289e-06,
|
252 |
+
"loss": 0.006,
|
253 |
+
"reward": 1.134375,
|
254 |
+
"reward_std": 0.5877825018018484,
|
255 |
+
"rewards/accuracy_reward": 0.4625,
|
256 |
+
"rewards/format_reward": 0.671875,
|
257 |
+
"step": 85
|
258 |
+
},
|
259 |
+
{
|
260 |
+
"completion_length": 47.74375,
|
261 |
+
"epoch": 0.014394242303078768,
|
262 |
+
"grad_norm": 4.84375,
|
263 |
+
"kl": 0.12864484217716382,
|
264 |
+
"learning_rate": 2.4624363920282416e-06,
|
265 |
+
"loss": 0.0051,
|
266 |
+
"reward": 1.0875,
|
267 |
+
"reward_std": 0.6187184229493141,
|
268 |
+
"rewards/accuracy_reward": 0.440625,
|
269 |
+
"rewards/format_reward": 0.646875,
|
270 |
+
"step": 90
|
271 |
+
},
|
272 |
+
{
|
273 |
+
"completion_length": 46.46875,
|
274 |
+
"epoch": 0.015193922431027589,
|
275 |
+
"grad_norm": 4.1875,
|
276 |
+
"kl": 0.12670737880980595,
|
277 |
+
"learning_rate": 2.3816778784387097e-06,
|
278 |
+
"loss": 0.0051,
|
279 |
+
"reward": 1.11875,
|
280 |
+
"reward_std": 0.5038135729730129,
|
281 |
+
"rewards/accuracy_reward": 0.434375,
|
282 |
+
"rewards/format_reward": 0.684375,
|
283 |
+
"step": 95
|
284 |
+
},
|
285 |
+
{
|
286 |
+
"completion_length": 48.203125,
|
287 |
+
"epoch": 0.01599360255897641,
|
288 |
+
"grad_norm": 4.84375,
|
289 |
+
"kl": 0.13195679314667358,
|
290 |
+
"learning_rate": 2.296808575580705e-06,
|
291 |
+
"loss": 0.0053,
|
292 |
+
"reward": 1.121875,
|
293 |
+
"reward_std": 0.5347494941204787,
|
294 |
+
"rewards/accuracy_reward": 0.434375,
|
295 |
+
"rewards/format_reward": 0.6875,
|
296 |
+
"step": 100
|
297 |
+
},
|
298 |
+
{
|
299 |
+
"completion_length": 57.7125,
|
300 |
+
"epoch": 0.01679328268692523,
|
301 |
+
"grad_norm": 4.375,
|
302 |
+
"kl": 0.13236376940039918,
|
303 |
+
"learning_rate": 2.208224183321428e-06,
|
304 |
+
"loss": 0.0053,
|
305 |
+
"reward": 1.1875,
|
306 |
+
"reward_std": 0.49497473835945127,
|
307 |
+
"rewards/accuracy_reward": 0.49375,
|
308 |
+
"rewards/format_reward": 0.69375,
|
309 |
+
"step": 105
|
310 |
+
},
|
311 |
+
{
|
312 |
+
"completion_length": 47.271875,
|
313 |
+
"epoch": 0.01759296281487405,
|
314 |
+
"grad_norm": 5.1875,
|
315 |
+
"kl": 0.1403195610502735,
|
316 |
+
"learning_rate": 2.1163377229898226e-06,
|
317 |
+
"loss": 0.0056,
|
318 |
+
"reward": 1.190625,
|
319 |
+
"reward_std": 0.49939415566623213,
|
320 |
+
"rewards/accuracy_reward": 0.50625,
|
321 |
+
"rewards/format_reward": 0.684375,
|
322 |
+
"step": 110
|
323 |
+
},
|
324 |
+
{
|
325 |
+
"completion_length": 50.625,
|
326 |
+
"epoch": 0.018392642942822873,
|
327 |
+
"grad_norm": 6.34375,
|
328 |
+
"kl": 0.12818894329247996,
|
329 |
+
"learning_rate": 2.0215776116804834e-06,
|
330 |
+
"loss": 0.0051,
|
331 |
+
"reward": 1.175,
|
332 |
+
"reward_std": 0.548007746040821,
|
333 |
+
"rewards/accuracy_reward": 0.46875,
|
334 |
+
"rewards/format_reward": 0.70625,
|
335 |
+
"step": 115
|
336 |
+
},
|
337 |
+
{
|
338 |
+
"completion_length": 49.83125,
|
339 |
+
"epoch": 0.01919232307077169,
|
340 |
+
"grad_norm": 5.28125,
|
341 |
+
"kl": 0.1347155719064176,
|
342 |
+
"learning_rate": 1.924385664775395e-06,
|
343 |
+
"loss": 0.0054,
|
344 |
+
"reward": 1.065625,
|
345 |
+
"reward_std": 0.49055532105267047,
|
346 |
+
"rewards/accuracy_reward": 0.425,
|
347 |
+
"rewards/format_reward": 0.640625,
|
348 |
+
"step": 120
|
349 |
+
},
|
350 |
+
{
|
351 |
+
"completion_length": 51.440625,
|
352 |
+
"epoch": 0.019992003198720514,
|
353 |
+
"grad_norm": 5.34375,
|
354 |
+
"kl": 0.14926065368345007,
|
355 |
+
"learning_rate": 1.8252150359966712e-06,
|
356 |
+
"loss": 0.006,
|
357 |
+
"reward": 1.125,
|
358 |
+
"reward_std": 0.49497473835945127,
|
359 |
+
"rewards/accuracy_reward": 0.46875,
|
360 |
+
"rewards/format_reward": 0.65625,
|
361 |
+
"step": 125
|
362 |
+
},
|
363 |
+
{
|
364 |
+
"epoch": 0.020471811275489804,
|
365 |
+
"eval_completion_length": 49.375,
|
366 |
+
"eval_kl": 0.1358852016114413,
|
367 |
+
"eval_loss": 0.005289154592901468,
|
368 |
+
"eval_reward": 1.1934931506849316,
|
369 |
+
"eval_reward_std": 0.5254868787445434,
|
370 |
+
"eval_rewards/accuracy_reward": 0.464041095890411,
|
371 |
+
"eval_rewards/format_reward": 0.7294520547945206,
|
372 |
+
"eval_runtime": 21.8894,
|
373 |
+
"eval_samples_per_second": 4.568,
|
374 |
+
"eval_steps_per_second": 1.142,
|
375 |
+
"step": 128
|
376 |
+
},
|
377 |
+
{
|
378 |
+
"completion_length": 47.703125,
|
379 |
+
"epoch": 0.020791683326669332,
|
380 |
+
"grad_norm": 5.03125,
|
381 |
+
"kl": 0.1484105174895376,
|
382 |
+
"learning_rate": 1.7245281045947165e-06,
|
383 |
+
"loss": 0.0057,
|
384 |
+
"reward": 1.15625,
|
385 |
+
"reward_std": 0.59662133641541,
|
386 |
+
"rewards/accuracy_reward": 0.515625,
|
387 |
+
"rewards/format_reward": 0.640625,
|
388 |
+
"step": 130
|
389 |
+
},
|
390 |
+
{
|
391 |
+
"completion_length": 48.54375,
|
392 |
+
"epoch": 0.021591363454618154,
|
393 |
+
"grad_norm": 6.5,
|
394 |
+
"kl": 0.1305572761921212,
|
395 |
+
"learning_rate": 1.62279431952272e-06,
|
396 |
+
"loss": 0.0052,
|
397 |
+
"reward": 1.125,
|
398 |
+
"reward_std": 0.5038135729730129,
|
399 |
+
"rewards/accuracy_reward": 0.425,
|
400 |
+
"rewards/format_reward": 0.7,
|
401 |
+
"step": 135
|
402 |
+
},
|
403 |
+
{
|
404 |
+
"completion_length": 50.9,
|
405 |
+
"epoch": 0.022391043582566973,
|
406 |
+
"grad_norm": 5.5,
|
407 |
+
"kl": 0.13983009678777308,
|
408 |
+
"learning_rate": 1.5204880106489266e-06,
|
409 |
+
"loss": 0.0056,
|
410 |
+
"reward": 1.071875,
|
411 |
+
"reward_std": 0.5435883287340403,
|
412 |
+
"rewards/accuracy_reward": 0.41875,
|
413 |
+
"rewards/format_reward": 0.653125,
|
414 |
+
"step": 140
|
415 |
+
},
|
416 |
+
{
|
417 |
+
"completion_length": 48.909375,
|
418 |
+
"epoch": 0.023190723710515795,
|
419 |
+
"grad_norm": 5.375,
|
420 |
+
"kl": 0.1370915047591552,
|
421 |
+
"learning_rate": 1.418086177211835e-06,
|
422 |
+
"loss": 0.0055,
|
423 |
+
"reward": 1.128125,
|
424 |
+
"reward_std": 0.525910659506917,
|
425 |
+
"rewards/accuracy_reward": 0.459375,
|
426 |
+
"rewards/format_reward": 0.66875,
|
427 |
+
"step": 145
|
428 |
+
},
|
429 |
+
{
|
430 |
+
"completion_length": 46.296875,
|
431 |
+
"epoch": 0.023990403838464614,
|
432 |
+
"grad_norm": 6.0,
|
433 |
+
"kl": 0.14994264962151646,
|
434 |
+
"learning_rate": 1.3160662638295526e-06,
|
435 |
+
"loss": 0.006,
|
436 |
+
"reward": 1.18125,
|
437 |
+
"reward_std": 0.48613590374588966,
|
438 |
+
"rewards/accuracy_reward": 0.49375,
|
439 |
+
"rewards/format_reward": 0.6875,
|
440 |
+
"step": 150
|
441 |
+
},
|
442 |
+
{
|
443 |
+
"completion_length": 50.034375,
|
444 |
+
"epoch": 0.024790083966413436,
|
445 |
+
"grad_norm": 4.5625,
|
446 |
+
"kl": 0.13909590368857608,
|
447 |
+
"learning_rate": 1.2149039344325896e-06,
|
448 |
+
"loss": 0.0056,
|
449 |
+
"reward": 1.0875,
|
450 |
+
"reward_std": 0.49497473835945127,
|
451 |
+
"rewards/accuracy_reward": 0.4125,
|
452 |
+
"rewards/format_reward": 0.675,
|
453 |
+
"step": 155
|
454 |
+
},
|
455 |
+
{
|
456 |
+
"completion_length": 52.584375,
|
457 |
+
"epoch": 0.025589764094362255,
|
458 |
+
"grad_norm": 4.46875,
|
459 |
+
"kl": 0.1258360159699805,
|
460 |
+
"learning_rate": 1.11507085449904e-06,
|
461 |
+
"loss": 0.005,
|
462 |
+
"reward": 1.1625,
|
463 |
+
"reward_std": 0.5656854152679444,
|
464 |
+
"rewards/accuracy_reward": 0.46875,
|
465 |
+
"rewards/format_reward": 0.69375,
|
466 |
+
"step": 160
|
467 |
+
},
|
468 |
+
{
|
469 |
+
"completion_length": 50.76875,
|
470 |
+
"epoch": 0.026389444222311077,
|
471 |
+
"grad_norm": 5.875,
|
472 |
+
"kl": 0.17037894912064075,
|
473 |
+
"learning_rate": 1.0170324919323929e-06,
|
474 |
+
"loss": 0.0068,
|
475 |
+
"reward": 1.16875,
|
476 |
+
"reward_std": 0.5038135729730129,
|
477 |
+
"rewards/accuracy_reward": 0.509375,
|
478 |
+
"rewards/format_reward": 0.659375,
|
479 |
+
"step": 165
|
480 |
+
},
|
481 |
+
{
|
482 |
+
"completion_length": 47.490625,
|
483 |
+
"epoch": 0.027189124350259896,
|
484 |
+
"grad_norm": 6.1875,
|
485 |
+
"kl": 0.14714236083673313,
|
486 |
+
"learning_rate": 9.212459468352968e-07,
|
487 |
+
"loss": 0.0059,
|
488 |
+
"reward": 1.103125,
|
489 |
+
"reward_std": 0.5082329902797937,
|
490 |
+
"rewards/accuracy_reward": 0.425,
|
491 |
+
"rewards/format_reward": 0.678125,
|
492 |
+
"step": 170
|
493 |
+
},
|
494 |
+
{
|
495 |
+
"completion_length": 51.25625,
|
496 |
+
"epoch": 0.027988804478208718,
|
497 |
+
"grad_norm": 5.53125,
|
498 |
+
"kl": 0.14223471023142337,
|
499 |
+
"learning_rate": 8.281578202978773e-07,
|
500 |
+
"loss": 0.0057,
|
501 |
+
"reward": 1.175,
|
502 |
+
"reward_std": 0.5126524075865746,
|
503 |
+
"rewards/accuracy_reward": 0.496875,
|
504 |
+
"rewards/format_reward": 0.678125,
|
505 |
+
"step": 175
|
506 |
+
},
|
507 |
+
{
|
508 |
+
"completion_length": 49.021875,
|
509 |
+
"epoch": 0.028788484606157537,
|
510 |
+
"grad_norm": 4.28125,
|
511 |
+
"kl": 0.13608955062227324,
|
512 |
+
"learning_rate": 7.382021321372909e-07,
|
513 |
+
"loss": 0.0054,
|
514 |
+
"reward": 1.215625,
|
515 |
+
"reward_std": 0.4640388172119856,
|
516 |
+
"rewards/accuracy_reward": 0.51875,
|
517 |
+
"rewards/format_reward": 0.696875,
|
518 |
+
"step": 180
|
519 |
+
},
|
520 |
+
{
|
521 |
+
"completion_length": 46.91875,
|
522 |
+
"epoch": 0.02958816473410636,
|
523 |
+
"grad_norm": 4.8125,
|
524 |
+
"kl": 0.13916572104208172,
|
525 |
+
"learning_rate": 6.517982972969913e-07,
|
526 |
+
"loss": 0.0056,
|
527 |
+
"reward": 1.153125,
|
528 |
+
"reward_std": 0.5524271633476019,
|
529 |
+
"rewards/accuracy_reward": 0.4625,
|
530 |
+
"rewards/format_reward": 0.690625,
|
531 |
+
"step": 185
|
532 |
+
},
|
533 |
+
{
|
534 |
+
"completion_length": 47.778125,
|
535 |
+
"epoch": 0.030387844862055178,
|
536 |
+
"grad_norm": 4.375,
|
537 |
+
"kl": 0.14800774758914487,
|
538 |
+
"learning_rate": 5.693491703406479e-07,
|
539 |
+
"loss": 0.0059,
|
540 |
+
"reward": 1.165625,
|
541 |
+
"reward_std": 0.525910659506917,
|
542 |
+
"rewards/accuracy_reward": 0.478125,
|
543 |
+
"rewards/format_reward": 0.6875,
|
544 |
+
"step": 190
|
545 |
+
},
|
546 |
+
{
|
547 |
+
"epoch": 0.030707716913234706,
|
548 |
+
"eval_completion_length": 54.26535087719298,
|
549 |
+
"eval_kl": 0.13607860867979757,
|
550 |
+
"eval_loss": 0.00565306656062603,
|
551 |
+
"eval_reward": 1.1425438596491229,
|
552 |
+
"eval_reward_std": 0.49931662176784714,
|
553 |
+
"eval_rewards/accuracy_reward": 0.49780701754385964,
|
554 |
+
"eval_rewards/format_reward": 0.6447368421052632,
|
555 |
+
"eval_runtime": 21.5975,
|
556 |
+
"eval_samples_per_second": 4.63,
|
557 |
+
"eval_steps_per_second": 1.158,
|
558 |
+
"step": 192
|
559 |
+
},
|
560 |
+
{
|
561 |
+
"completion_length": 59.322916666666664,
|
562 |
+
"epoch": 0.031187524990004,
|
563 |
+
"grad_norm": 6.5625,
|
564 |
+
"kl": 0.14393775458059585,
|
565 |
+
"learning_rate": 4.912391671582093e-07,
|
566 |
+
"loss": 0.0056,
|
567 |
+
"reward": 1.1614583333333333,
|
568 |
+
"reward_std": 0.4345760351667802,
|
569 |
+
"rewards/accuracy_reward": 0.453125,
|
570 |
+
"rewards/format_reward": 0.7083333333333334,
|
571 |
+
"step": 195
|
572 |
+
},
|
573 |
+
{
|
574 |
+
"completion_length": 48.38125,
|
575 |
+
"epoch": 0.03198720511795282,
|
576 |
+
"grad_norm": 5.09375,
|
577 |
+
"kl": 0.15551140770548955,
|
578 |
+
"learning_rate": 4.1783247264156647e-07,
|
579 |
+
"loss": 0.0062,
|
580 |
+
"reward": 1.11875,
|
581 |
+
"reward_std": 0.4684582345187664,
|
582 |
+
"rewards/accuracy_reward": 0.440625,
|
583 |
+
"rewards/format_reward": 0.678125,
|
584 |
+
"step": 200
|
585 |
+
},
|
586 |
+
{
|
587 |
+
"completion_length": 49.403125,
|
588 |
+
"epoch": 0.03278688524590164,
|
589 |
+
"grad_norm": 5.09375,
|
590 |
+
"kl": 0.13503661315189674,
|
591 |
+
"learning_rate": 3.494713426864761e-07,
|
592 |
+
"loss": 0.0054,
|
593 |
+
"reward": 1.296875,
|
594 |
+
"reward_std": 0.5435883287340403,
|
595 |
+
"rewards/accuracy_reward": 0.546875,
|
596 |
+
"rewards/format_reward": 0.75,
|
597 |
+
"step": 205
|
598 |
+
},
|
599 |
+
{
|
600 |
+
"completion_length": 46.8875,
|
601 |
+
"epoch": 0.03358656537385046,
|
602 |
+
"grad_norm": 5.28125,
|
603 |
+
"kl": 0.13574067065492273,
|
604 |
+
"learning_rate": 2.86474508437579e-07,
|
605 |
+
"loss": 0.0054,
|
606 |
+
"reward": 1.2625,
|
607 |
+
"reward_std": 0.5126524075865746,
|
608 |
+
"rewards/accuracy_reward": 0.54375,
|
609 |
+
"rewards/format_reward": 0.71875,
|
610 |
+
"step": 210
|
611 |
+
},
|
612 |
+
{
|
613 |
+
"completion_length": 49.70625,
|
614 |
+
"epoch": 0.03438624550179928,
|
615 |
+
"grad_norm": 4.09375,
|
616 |
+
"kl": 0.12194884136551991,
|
617 |
+
"learning_rate": 2.2913569021667464e-07,
|
618 |
+
"loss": 0.0049,
|
619 |
+
"reward": 1.203125,
|
620 |
+
"reward_std": 0.5435883287340403,
|
621 |
+
"rewards/accuracy_reward": 0.5,
|
622 |
+
"rewards/format_reward": 0.703125,
|
623 |
+
"step": 215
|
624 |
+
},
|
625 |
+
{
|
626 |
+
"completion_length": 49.715625,
|
627 |
+
"epoch": 0.0351859256297481,
|
628 |
+
"grad_norm": 5.28125,
|
629 |
+
"kl": 0.14014763564337046,
|
630 |
+
"learning_rate": 1.7772222806299266e-07,
|
631 |
+
"loss": 0.0056,
|
632 |
+
"reward": 1.203125,
|
633 |
+
"reward_std": 0.4640388172119856,
|
634 |
+
"rewards/accuracy_reward": 0.503125,
|
635 |
+
"rewards/format_reward": 0.7,
|
636 |
+
"step": 220
|
637 |
+
},
|
638 |
+
{
|
639 |
+
"completion_length": 50.23125,
|
640 |
+
"epoch": 0.03598560575769692,
|
641 |
+
"grad_norm": 5.75,
|
642 |
+
"kl": 0.13671348651405424,
|
643 |
+
"learning_rate": 1.3247383527051986e-07,
|
644 |
+
"loss": 0.0055,
|
645 |
+
"reward": 1.209375,
|
646 |
+
"reward_std": 0.48171648643910886,
|
647 |
+
"rewards/accuracy_reward": 0.475,
|
648 |
+
"rewards/format_reward": 0.734375,
|
649 |
+
"step": 225
|
650 |
+
},
|
651 |
+
{
|
652 |
+
"completion_length": 49.9875,
|
653 |
+
"epoch": 0.036785285885645745,
|
654 |
+
"grad_norm": 4.28125,
|
655 |
+
"kl": 0.1529265999328345,
|
656 |
+
"learning_rate": 9.360148073396963e-08,
|
657 |
+
"loss": 0.0061,
|
658 |
+
"reward": 1.13125,
|
659 |
+
"reward_std": 0.5568465806543828,
|
660 |
+
"rewards/accuracy_reward": 0.48125,
|
661 |
+
"rewards/format_reward": 0.65,
|
662 |
+
"step": 230
|
663 |
+
},
|
664 |
+
{
|
665 |
+
"completion_length": 49.721875,
|
666 |
+
"epoch": 0.03758496601359456,
|
667 |
+
"grad_norm": 3.671875,
|
668 |
+
"kl": 0.15454837685683742,
|
669 |
+
"learning_rate": 6.128640531440515e-08,
|
670 |
+
"loss": 0.0062,
|
671 |
+
"reward": 1.109375,
|
672 |
+
"reward_std": 0.49939415566623213,
|
673 |
+
"rewards/accuracy_reward": 0.434375,
|
674 |
+
"rewards/format_reward": 0.675,
|
675 |
+
"step": 235
|
676 |
+
},
|
677 |
+
{
|
678 |
+
"completion_length": 49.690625,
|
679 |
+
"epoch": 0.03838464614154338,
|
680 |
+
"grad_norm": 4.65625,
|
681 |
+
"kl": 0.11877592669334262,
|
682 |
+
"learning_rate": 3.567927681068317e-08,
|
683 |
+
"loss": 0.0048,
|
684 |
+
"reward": 1.2375,
|
685 |
+
"reward_std": 0.5038135729730129,
|
686 |
+
"rewards/accuracy_reward": 0.453125,
|
687 |
+
"rewards/format_reward": 0.784375,
|
688 |
+
"step": 240
|
689 |
+
},
|
690 |
+
{
|
691 |
+
"completion_length": 47.890625,
|
692 |
+
"epoch": 0.039184326269492205,
|
693 |
+
"grad_norm": 5.53125,
|
694 |
+
"kl": 0.17146191628417,
|
695 |
+
"learning_rate": 1.68994874766229e-08,
|
696 |
+
"loss": 0.0069,
|
697 |
+
"reward": 1.15,
|
698 |
+
"reward_std": 0.48613590374588966,
|
699 |
+
"rewards/accuracy_reward": 0.48125,
|
700 |
+
"rewards/format_reward": 0.66875,
|
701 |
+
"step": 245
|
702 |
+
},
|
703 |
+
{
|
704 |
+
"completion_length": 48.56875,
|
705 |
+
"epoch": 0.03998400639744103,
|
706 |
+
"grad_norm": 4.71875,
|
707 |
+
"kl": 0.14072445079218596,
|
708 |
+
"learning_rate": 5.034597359205639e-09,
|
709 |
+
"loss": 0.0056,
|
710 |
+
"reward": 1.2,
|
711 |
+
"reward_std": 0.5391689114272594,
|
712 |
+
"rewards/accuracy_reward": 0.4625,
|
713 |
+
"rewards/format_reward": 0.7375,
|
714 |
+
"step": 250
|
715 |
+
},
|
716 |
+
{
|
717 |
+
"completion_length": 51.275,
|
718 |
+
"epoch": 0.04078368652538984,
|
719 |
+
"grad_norm": 4.84375,
|
720 |
+
"kl": 0.14359070940408855,
|
721 |
+
"learning_rate": 1.3992605321688778e-10,
|
722 |
+
"loss": 0.0057,
|
723 |
+
"reward": 1.209375,
|
724 |
+
"reward_std": 0.4640388172119856,
|
725 |
+
"rewards/accuracy_reward": 0.4875,
|
726 |
+
"rewards/format_reward": 0.721875,
|
727 |
+
"step": 255
|
728 |
+
},
|
729 |
+
{
|
730 |
+
"epoch": 0.04094362255097961,
|
731 |
+
"eval_completion_length": 51.548780487804876,
|
732 |
+
"eval_kl": 0.1350904534593588,
|
733 |
+
"eval_loss": 0.005155267659574747,
|
734 |
+
"eval_reward": 1.1676829268292683,
|
735 |
+
"eval_reward_std": 0.4958370625972748,
|
736 |
+
"eval_rewards/accuracy_reward": 0.47560975609756095,
|
737 |
+
"eval_rewards/format_reward": 0.6920731707317073,
|
738 |
+
"eval_runtime": 24.1797,
|
739 |
+
"eval_samples_per_second": 4.136,
|
740 |
+
"eval_steps_per_second": 1.034,
|
741 |
+
"step": 256
|
742 |
+
},
|
743 |
+
{
|
744 |
+
"epoch": 0.04094362255097961,
|
745 |
+
"step": 256,
|
746 |
+
"total_flos": 0.0,
|
747 |
+
"train_loss": 0.004944845609998083,
|
748 |
+
"train_runtime": 5152.2436,
|
749 |
+
"train_samples_per_second": 3.18,
|
750 |
+
"train_steps_per_second": 0.05
|
751 |
+
}
|
752 |
+
],
|
753 |
+
"logging_steps": 5,
|
754 |
+
"max_steps": 256,
|
755 |
+
"num_input_tokens_seen": 0,
|
756 |
+
"num_train_epochs": 1,
|
757 |
+
"save_steps": 500,
|
758 |
+
"stateful_callbacks": {
|
759 |
+
"TrainerControl": {
|
760 |
+
"args": {
|
761 |
+
"should_epoch_stop": false,
|
762 |
+
"should_evaluate": false,
|
763 |
+
"should_log": false,
|
764 |
+
"should_save": false,
|
765 |
+
"should_training_stop": false
|
766 |
+
},
|
767 |
+
"attributes": {}
|
768 |
+
}
|
769 |
+
},
|
770 |
+
"total_flos": 0.0,
|
771 |
+
"train_batch_size": 2,
|
772 |
+
"trial_name": null,
|
773 |
+
"trial_params": null
|
774 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f4d4914d2c95c3576205435841b4d56e7a276bb9f3bb749a9bdc0d7940323f4c
|
3 |
+
size 6264
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|