superdocker commited on
Commit
4ab0141
·
verified ·
1 Parent(s): c165fb9

Model save

Browse files
.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: R1-Qwen-1.5B-Simple-RL-QAT
4
+ tags:
5
+ - generated_from_trainer
6
+ - trl
7
+ - grpo
8
+ licence: license
9
+ ---
10
+
11
+ # Model Card for R1-Qwen-1.5B-Simple-RL-QAT
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="superdocker/R1-Qwen-1.5B-Simple-RL-QAT", 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/superdocker/huggingface/runs/s5bapey3)
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.16.0.dev0
37
+ - Transformers: 4.49.0
38
+ - Pytorch: 2.5.1
39
+ - Datasets: 3.4.1
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
+ ```
all_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "total_flos": 0.0,
3
+ "train_loss": 8962.659198401161,
4
+ "train_runtime": 130047.8561,
5
+ "train_samples": 7500,
6
+ "train_samples_per_second": 0.058,
7
+ "train_steps_per_second": 0.001
8
+ }
config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/raid/LLM/deepseek-r1-distill-qwen-1.5b",
3
+ "architectures": [
4
+ "Qwen2ForCausalLM"
5
+ ],
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 151643,
8
+ "eos_token_id": 151643,
9
+ "hidden_act": "silu",
10
+ "hidden_size": 1536,
11
+ "initializer_range": 0.02,
12
+ "intermediate_size": 8960,
13
+ "max_position_embeddings": 131072,
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": 10000,
22
+ "sliding_window": 4096,
23
+ "tie_word_embeddings": false,
24
+ "torch_dtype": "bfloat16",
25
+ "transformers_version": "4.49.0",
26
+ "use_cache": false,
27
+ "use_mrope": false,
28
+ "use_sliding_window": false,
29
+ "vocab_size": 151936
30
+ }
generation_config.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 151646,
4
+ "do_sample": true,
5
+ "eos_token_id": 151643,
6
+ "temperature": 0.6,
7
+ "top_p": 0.95,
8
+ "transformers_version": "4.49.0"
9
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6d057d060852eeb646ed52ada58c4f95f9229b752950c057f015cb15f0f15af1
3
+ size 3554214752
special_tokens_map.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<|begin▁of▁sentence|>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "<|end▁of▁sentence|>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "<|end▁of▁sentence|>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ }
23
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a4256422650d141f228fe954acee98679da412984c29a569877eefd3af69315a
3
+ size 11422959
tokenizer_config.json ADDED
@@ -0,0 +1,195 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "add_prefix_space": null,
5
+ "added_tokens_decoder": {
6
+ "151643": {
7
+ "content": "<|end▁of▁sentence|>",
8
+ "lstrip": false,
9
+ "normalized": false,
10
+ "rstrip": false,
11
+ "single_word": false,
12
+ "special": true
13
+ },
14
+ "151644": {
15
+ "content": "<|User|>",
16
+ "lstrip": false,
17
+ "normalized": false,
18
+ "rstrip": false,
19
+ "single_word": false,
20
+ "special": false
21
+ },
22
+ "151645": {
23
+ "content": "<|Assistant|>",
24
+ "lstrip": false,
25
+ "normalized": false,
26
+ "rstrip": false,
27
+ "single_word": false,
28
+ "special": false
29
+ },
30
+ "151646": {
31
+ "content": "<|begin▁of▁sentence|>",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false,
36
+ "special": true
37
+ },
38
+ "151647": {
39
+ "content": "<|EOT|>",
40
+ "lstrip": false,
41
+ "normalized": false,
42
+ "rstrip": false,
43
+ "single_word": false,
44
+ "special": false
45
+ },
46
+ "151648": {
47
+ "content": "<think>",
48
+ "lstrip": false,
49
+ "normalized": false,
50
+ "rstrip": false,
51
+ "single_word": false,
52
+ "special": false
53
+ },
54
+ "151649": {
55
+ "content": "</think>",
56
+ "lstrip": false,
57
+ "normalized": false,
58
+ "rstrip": false,
59
+ "single_word": false,
60
+ "special": false
61
+ },
62
+ "151650": {
63
+ "content": "<|quad_start|>",
64
+ "lstrip": false,
65
+ "normalized": false,
66
+ "rstrip": false,
67
+ "single_word": false,
68
+ "special": true
69
+ },
70
+ "151651": {
71
+ "content": "<|quad_end|>",
72
+ "lstrip": false,
73
+ "normalized": false,
74
+ "rstrip": false,
75
+ "single_word": false,
76
+ "special": true
77
+ },
78
+ "151652": {
79
+ "content": "<|vision_start|>",
80
+ "lstrip": false,
81
+ "normalized": false,
82
+ "rstrip": false,
83
+ "single_word": false,
84
+ "special": true
85
+ },
86
+ "151653": {
87
+ "content": "<|vision_end|>",
88
+ "lstrip": false,
89
+ "normalized": false,
90
+ "rstrip": false,
91
+ "single_word": false,
92
+ "special": true
93
+ },
94
+ "151654": {
95
+ "content": "<|vision_pad|>",
96
+ "lstrip": false,
97
+ "normalized": false,
98
+ "rstrip": false,
99
+ "single_word": false,
100
+ "special": true
101
+ },
102
+ "151655": {
103
+ "content": "<|image_pad|>",
104
+ "lstrip": false,
105
+ "normalized": false,
106
+ "rstrip": false,
107
+ "single_word": false,
108
+ "special": true
109
+ },
110
+ "151656": {
111
+ "content": "<|video_pad|>",
112
+ "lstrip": false,
113
+ "normalized": false,
114
+ "rstrip": false,
115
+ "single_word": false,
116
+ "special": true
117
+ },
118
+ "151657": {
119
+ "content": "<tool_call>",
120
+ "lstrip": false,
121
+ "normalized": false,
122
+ "rstrip": false,
123
+ "single_word": false,
124
+ "special": false
125
+ },
126
+ "151658": {
127
+ "content": "</tool_call>",
128
+ "lstrip": false,
129
+ "normalized": false,
130
+ "rstrip": false,
131
+ "single_word": false,
132
+ "special": false
133
+ },
134
+ "151659": {
135
+ "content": "<|fim_prefix|>",
136
+ "lstrip": false,
137
+ "normalized": false,
138
+ "rstrip": false,
139
+ "single_word": false,
140
+ "special": false
141
+ },
142
+ "151660": {
143
+ "content": "<|fim_middle|>",
144
+ "lstrip": false,
145
+ "normalized": false,
146
+ "rstrip": false,
147
+ "single_word": false,
148
+ "special": false
149
+ },
150
+ "151661": {
151
+ "content": "<|fim_suffix|>",
152
+ "lstrip": false,
153
+ "normalized": false,
154
+ "rstrip": false,
155
+ "single_word": false,
156
+ "special": false
157
+ },
158
+ "151662": {
159
+ "content": "<|fim_pad|>",
160
+ "lstrip": false,
161
+ "normalized": false,
162
+ "rstrip": false,
163
+ "single_word": false,
164
+ "special": false
165
+ },
166
+ "151663": {
167
+ "content": "<|repo_name|>",
168
+ "lstrip": false,
169
+ "normalized": false,
170
+ "rstrip": false,
171
+ "single_word": false,
172
+ "special": false
173
+ },
174
+ "151664": {
175
+ "content": "<|file_sep|>",
176
+ "lstrip": false,
177
+ "normalized": false,
178
+ "rstrip": false,
179
+ "single_word": false,
180
+ "special": false
181
+ }
182
+ },
183
+ "bos_token": "<|begin▁of▁sentence|>",
184
+ "chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% set ns = namespace(is_first=false, is_tool=false, is_output_first=true, system_prompt='') %}{%- for message in messages %}{%- if message['role'] == 'system' %}{% set ns.system_prompt = message['content'] %}{%- endif %}{%- endfor %}{{bos_token}}{{ns.system_prompt}}{%- for message in messages %}{%- if message['role'] == 'user' %}{%- set ns.is_tool = false -%}{{'<|User|>' + message['content']}}{%- endif %}{%- if message['role'] == 'assistant' and message['content'] is none %}{%- set ns.is_tool = false -%}{%- for tool in message['tool_calls']%}{%- if not ns.is_first %}{{'<|Assistant|><|tool▁calls▁begin|><|tool▁call▁begin��>' + tool['type'] + '<|tool▁sep|>' + tool['function']['name'] + '\\n' + '```json' + '\\n' + tool['function']['arguments'] + '\\n' + '```' + '<|tool▁call▁end|>'}}{%- set ns.is_first = true -%}{%- else %}{{'\\n' + '<|tool▁call▁begin|>' + tool['type'] + '<|tool▁sep|>' + tool['function']['name'] + '\\n' + '```json' + '\\n' + tool['function']['arguments'] + '\\n' + '```' + '<|tool▁call▁end|>'}}{{'<|tool▁calls▁end|><|end▁of▁sentence|>'}}{%- endif %}{%- endfor %}{%- endif %}{%- if message['role'] == 'assistant' and message['content'] is not none %}{%- if ns.is_tool %}{{'<|tool▁outputs▁end|>' + message['content'] + '<|end▁of▁sentence|>'}}{%- set ns.is_tool = false -%}{%- else %}{% set content = message['content'] %}{% if '</think>' in content %}{% set content = content.split('</think>')[-1] %}{% endif %}{{'<|Assistant|>' + content + '<|end▁of▁sentence|>'}}{%- endif %}{%- endif %}{%- if message['role'] == 'tool' %}{%- set ns.is_tool = true -%}{%- if ns.is_output_first %}{{'<|tool▁outputs▁begin|><|tool▁output▁begin|>' + message['content'] + '<|tool▁output▁end|>'}}{%- set ns.is_output_first = false %}{%- else %}{{'\\n<|tool▁output▁begin|>' + message['content'] + '<|tool▁output▁end|>'}}{%- endif %}{%- endif %}{%- endfor -%}{% if ns.is_tool %}{{'<|tool▁outputs▁end|>'}}{% endif %}{% if add_generation_prompt and not ns.is_tool %}{{'<|Assistant|><think>\\n'}}{% endif %}",
185
+ "clean_up_tokenization_spaces": false,
186
+ "eos_token": "<|end▁of▁sentence|>",
187
+ "extra_special_tokens": {},
188
+ "legacy": true,
189
+ "model_max_length": 16384,
190
+ "pad_token": "<|end▁of▁sentence|>",
191
+ "sp_model_kwargs": {},
192
+ "tokenizer_class": "LlamaTokenizerFast",
193
+ "unk_token": null,
194
+ "use_default_system_prompt": false
195
+ }
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "total_flos": 0.0,
3
+ "train_loss": 8962.659198401161,
4
+ "train_runtime": 130047.8561,
5
+ "train_samples": 7500,
6
+ "train_samples_per_second": 0.058,
7
+ "train_steps_per_second": 0.001
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,393 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0.997867803837953,
5
+ "eval_steps": 100,
6
+ "global_step": 117,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "clip_ratio": 0.0,
13
+ "completion_length": 970.990234375,
14
+ "epoch": 0.008528784648187633,
15
+ "grad_norm": 5149.8681640625,
16
+ "kl": 108.171875,
17
+ "learning_rate": 2.5e-07,
18
+ "loss": 4.2554,
19
+ "reward": 0.04296875,
20
+ "reward_std": 0.08174194628372788,
21
+ "rewards/accuracy_reward": 0.04296875,
22
+ "rewards/format_reward": 0.0,
23
+ "step": 1
24
+ },
25
+ {
26
+ "clip_ratio": 0.0,
27
+ "completion_length": 958.310546875,
28
+ "epoch": 0.042643923240938165,
29
+ "grad_norm": 172.85690307617188,
30
+ "kl": 18.325897216796875,
31
+ "learning_rate": 1.25e-06,
32
+ "loss": 0.7551,
33
+ "reward": 0.0498046875,
34
+ "reward_std": 0.08129667222965509,
35
+ "rewards/accuracy_reward": 0.0498046875,
36
+ "rewards/format_reward": 0.0,
37
+ "step": 5
38
+ },
39
+ {
40
+ "clip_ratio": 0.0,
41
+ "completion_length": 976.34921875,
42
+ "epoch": 0.08528784648187633,
43
+ "grad_norm": 480.36053466796875,
44
+ "kl": 25.84681396484375,
45
+ "learning_rate": 2.5e-06,
46
+ "loss": 1.012,
47
+ "reward": 0.033984375,
48
+ "reward_std": 0.06525826780125499,
49
+ "rewards/accuracy_reward": 0.033984375,
50
+ "rewards/format_reward": 0.0,
51
+ "step": 10
52
+ },
53
+ {
54
+ "clip_ratio": 0.0,
55
+ "completion_length": 958.119921875,
56
+ "epoch": 0.1279317697228145,
57
+ "grad_norm": 73.20281982421875,
58
+ "kl": 5242973.483386231,
59
+ "learning_rate": 2.993961440992859e-06,
60
+ "loss": 209719.025,
61
+ "reward": 0.05390625,
62
+ "reward_std": 0.09599261675029994,
63
+ "rewards/accuracy_reward": 0.05390625,
64
+ "rewards/format_reward": 0.0,
65
+ "step": 15
66
+ },
67
+ {
68
+ "clip_ratio": 0.0,
69
+ "completion_length": 968.887890625,
70
+ "epoch": 0.17057569296375266,
71
+ "grad_norm": 6133.8427734375,
72
+ "kl": 101.4647705078125,
73
+ "learning_rate": 2.957235057439301e-06,
74
+ "loss": 3.494,
75
+ "reward": 0.040625,
76
+ "reward_std": 0.07280914252623916,
77
+ "rewards/accuracy_reward": 0.040625,
78
+ "rewards/format_reward": 0.0,
79
+ "step": 20
80
+ },
81
+ {
82
+ "clip_ratio": 0.0,
83
+ "completion_length": 966.09453125,
84
+ "epoch": 0.21321961620469082,
85
+ "grad_norm": 42.56804656982422,
86
+ "kl": 3.52724609375,
87
+ "learning_rate": 2.887956450710995e-06,
88
+ "loss": 0.1737,
89
+ "reward": 0.043359375,
90
+ "reward_std": 0.08650039257481694,
91
+ "rewards/accuracy_reward": 0.043359375,
92
+ "rewards/format_reward": 0.0,
93
+ "step": 25
94
+ },
95
+ {
96
+ "clip_ratio": 0.0,
97
+ "completion_length": 964.712890625,
98
+ "epoch": 0.255863539445629,
99
+ "grad_norm": 22.991064071655273,
100
+ "kl": 9.3487060546875,
101
+ "learning_rate": 2.7876731904027993e-06,
102
+ "loss": 0.4194,
103
+ "reward": 0.043359375,
104
+ "reward_std": 0.0765833955258131,
105
+ "rewards/accuracy_reward": 0.043359375,
106
+ "rewards/format_reward": 0.0,
107
+ "step": 30
108
+ },
109
+ {
110
+ "clip_ratio": 0.0,
111
+ "completion_length": 966.508203125,
112
+ "epoch": 0.29850746268656714,
113
+ "grad_norm": 0.8270885348320007,
114
+ "kl": 1.1582275390625,
115
+ "learning_rate": 2.6586254388368995e-06,
116
+ "loss": 0.0603,
117
+ "reward": 0.032421875,
118
+ "reward_std": 0.06923360293731093,
119
+ "rewards/accuracy_reward": 0.032421875,
120
+ "rewards/format_reward": 0.0,
121
+ "step": 35
122
+ },
123
+ {
124
+ "clip_ratio": 0.0,
125
+ "completion_length": 950.016015625,
126
+ "epoch": 0.3411513859275053,
127
+ "grad_norm": 1.6428107023239136,
128
+ "kl": 0.749462890625,
129
+ "learning_rate": 2.5036959095382875e-06,
130
+ "loss": 0.0448,
131
+ "reward": 0.0375,
132
+ "reward_std": 0.07326922472566366,
133
+ "rewards/accuracy_reward": 0.0375,
134
+ "rewards/format_reward": 0.0,
135
+ "step": 40
136
+ },
137
+ {
138
+ "clip_ratio": 0.0,
139
+ "completion_length": 939.1578125,
140
+ "epoch": 0.3837953091684435,
141
+ "grad_norm": 0.9584478139877319,
142
+ "kl": 0.4450439453125,
143
+ "learning_rate": 2.3263454721781537e-06,
144
+ "loss": 0.0335,
145
+ "reward": 0.0328125,
146
+ "reward_std": 0.06661374988034367,
147
+ "rewards/accuracy_reward": 0.0328125,
148
+ "rewards/format_reward": 0.0,
149
+ "step": 45
150
+ },
151
+ {
152
+ "clip_ratio": 0.0,
153
+ "completion_length": 913.96171875,
154
+ "epoch": 0.42643923240938164,
155
+ "grad_norm": 6.290709018707275,
156
+ "kl": 0.7226806640625,
157
+ "learning_rate": 2.1305358424643485e-06,
158
+ "loss": 0.0474,
159
+ "reward": 0.037890625,
160
+ "reward_std": 0.06831033481284976,
161
+ "rewards/accuracy_reward": 0.037890625,
162
+ "rewards/format_reward": 0.0,
163
+ "step": 50
164
+ },
165
+ {
166
+ "clip_ratio": 0.0,
167
+ "completion_length": 918.1359375,
168
+ "epoch": 0.4690831556503198,
169
+ "grad_norm": 17.22686195373535,
170
+ "kl": 2.5564208984375,
171
+ "learning_rate": 1.9206410839590043e-06,
172
+ "loss": 0.1184,
173
+ "reward": 0.02421875,
174
+ "reward_std": 0.051806316059082744,
175
+ "rewards/accuracy_reward": 0.02421875,
176
+ "rewards/format_reward": 0.0,
177
+ "step": 55
178
+ },
179
+ {
180
+ "clip_ratio": 0.0,
181
+ "completion_length": 926.554296875,
182
+ "epoch": 0.511727078891258,
183
+ "grad_norm": 0.19467273354530334,
184
+ "kl": 0.2774169921875,
185
+ "learning_rate": 1.7013498987264833e-06,
186
+ "loss": 0.0223,
187
+ "reward": 0.03046875,
188
+ "reward_std": 0.05941885020583868,
189
+ "rewards/accuracy_reward": 0.03046875,
190
+ "rewards/format_reward": 0.0,
191
+ "step": 60
192
+ },
193
+ {
194
+ "clip_ratio": 0.0,
195
+ "completion_length": 899.465234375,
196
+ "epoch": 0.5543710021321961,
197
+ "grad_norm": 0.3655730187892914,
198
+ "kl": 0.3230712890625,
199
+ "learning_rate": 1.4775608894771048e-06,
200
+ "loss": 0.0251,
201
+ "reward": 0.033203125,
202
+ "reward_std": 0.06403546240180731,
203
+ "rewards/accuracy_reward": 0.033203125,
204
+ "rewards/format_reward": 0.0,
205
+ "step": 65
206
+ },
207
+ {
208
+ "clip_ratio": 0.0,
209
+ "completion_length": 917.436328125,
210
+ "epoch": 0.5970149253731343,
211
+ "grad_norm": 0.2492106854915619,
212
+ "kl": 0.293310546875,
213
+ "learning_rate": 1.2542731328772936e-06,
214
+ "loss": 0.0277,
215
+ "reward": 0.02578125,
216
+ "reward_std": 0.055067837610840796,
217
+ "rewards/accuracy_reward": 0.02578125,
218
+ "rewards/format_reward": 0.0,
219
+ "step": 70
220
+ },
221
+ {
222
+ "clip_ratio": 0.0,
223
+ "completion_length": 909.30859375,
224
+ "epoch": 0.6396588486140725,
225
+ "grad_norm": 2.718404531478882,
226
+ "kl": 0.3013916015625,
227
+ "learning_rate": 1.036474508437579e-06,
228
+ "loss": 0.0231,
229
+ "reward": 0.0328125,
230
+ "reward_std": 0.06329943230375648,
231
+ "rewards/accuracy_reward": 0.0328125,
232
+ "rewards/format_reward": 0.0,
233
+ "step": 75
234
+ },
235
+ {
236
+ "clip_ratio": 0.0,
237
+ "completion_length": 912.4890625,
238
+ "epoch": 0.6823027718550106,
239
+ "grad_norm": 0.30672064423561096,
240
+ "kl": 0.372900390625,
241
+ "learning_rate": 8.290302775265509e-07,
242
+ "loss": 0.0301,
243
+ "reward": 0.048828125,
244
+ "reward_std": 0.08031583921983838,
245
+ "rewards/accuracy_reward": 0.048828125,
246
+ "rewards/format_reward": 0.0,
247
+ "step": 80
248
+ },
249
+ {
250
+ "clip_ratio": 0.0,
251
+ "completion_length": 928.358203125,
252
+ "epoch": 0.7249466950959488,
253
+ "grad_norm": 0.3099748492240906,
254
+ "kl": 0.2901123046875,
255
+ "learning_rate": 6.3657440147149e-07,
256
+ "loss": 0.0265,
257
+ "reward": 0.034375,
258
+ "reward_std": 0.06373528819531202,
259
+ "rewards/accuracy_reward": 0.034375,
260
+ "rewards/format_reward": 0.0,
261
+ "step": 85
262
+ },
263
+ {
264
+ "clip_ratio": 0.0,
265
+ "completion_length": 933.30234375,
266
+ "epoch": 0.767590618336887,
267
+ "grad_norm": 0.22397631406784058,
268
+ "kl": 0.2540771484375,
269
+ "learning_rate": 4.63406026519703e-07,
270
+ "loss": 0.0234,
271
+ "reward": 0.0328125,
272
+ "reward_std": 0.06618089880794287,
273
+ "rewards/accuracy_reward": 0.0328125,
274
+ "rewards/format_reward": 0.0,
275
+ "step": 90
276
+ },
277
+ {
278
+ "clip_ratio": 0.0,
279
+ "completion_length": 925.9453125,
280
+ "epoch": 0.8102345415778252,
281
+ "grad_norm": 2.046766519546509,
282
+ "kl": 0.7256103515625,
283
+ "learning_rate": 3.133934480154885e-07,
284
+ "loss": 0.0453,
285
+ "reward": 0.03984375,
286
+ "reward_std": 0.07409646594896913,
287
+ "rewards/accuracy_reward": 0.03984375,
288
+ "rewards/format_reward": 0.0,
289
+ "step": 95
290
+ },
291
+ {
292
+ "epoch": 0.8528784648187633,
293
+ "grad_norm": 3.6699347496032715,
294
+ "learning_rate": 1.8988769907430552e-07,
295
+ "loss": 0.0264,
296
+ "step": 100
297
+ },
298
+ {
299
+ "epoch": 0.8528784648187633,
300
+ "eval_clip_ratio": 0.0,
301
+ "eval_completion_length": 919.21535,
302
+ "eval_kl": 0.7742375,
303
+ "eval_loss": 0.038456786423921585,
304
+ "eval_reward": 0.04495,
305
+ "eval_reward_std": 0.08059001454114914,
306
+ "eval_rewards/accuracy_reward": 0.04495,
307
+ "eval_rewards/format_reward": 0.0,
308
+ "eval_runtime": 50297.2291,
309
+ "eval_samples_per_second": 0.099,
310
+ "eval_steps_per_second": 0.002,
311
+ "step": 100
312
+ },
313
+ {
314
+ "clip_ratio": 0.0,
315
+ "completion_length": 931.1998046875,
316
+ "epoch": 0.8955223880597015,
317
+ "grad_norm": 0.6975847482681274,
318
+ "kl": 0.38209228515625,
319
+ "learning_rate": 9.564769404039419e-08,
320
+ "loss": 0.0303,
321
+ "reward": 0.045703125,
322
+ "reward_std": 0.08059242363087833,
323
+ "rewards/accuracy_reward": 0.045703125,
324
+ "rewards/format_reward": 0.0,
325
+ "step": 105
326
+ },
327
+ {
328
+ "clip_ratio": 0.0,
329
+ "completion_length": 931.4921875,
330
+ "epoch": 0.9381663113006397,
331
+ "grad_norm": 5.085315227508545,
332
+ "kl": 0.3639404296875,
333
+ "learning_rate": 3.277859889929147e-08,
334
+ "loss": 0.0291,
335
+ "reward": 0.03671875,
336
+ "reward_std": 0.0733986516483128,
337
+ "rewards/accuracy_reward": 0.03671875,
338
+ "rewards/format_reward": 0.0,
339
+ "step": 110
340
+ },
341
+ {
342
+ "clip_ratio": 0.0,
343
+ "completion_length": 937.898828125,
344
+ "epoch": 0.9808102345415778,
345
+ "grad_norm": 0.3364603817462921,
346
+ "kl": 0.2610107421875,
347
+ "learning_rate": 2.684805348397268e-09,
348
+ "loss": 0.0206,
349
+ "reward": 0.041796875,
350
+ "reward_std": 0.07050482770428061,
351
+ "rewards/accuracy_reward": 0.041796875,
352
+ "rewards/format_reward": 0.0,
353
+ "step": 115
354
+ },
355
+ {
356
+ "clip_ratio": 0.0,
357
+ "completion_length": 911.7675857543945,
358
+ "epoch": 0.997867803837953,
359
+ "kl": 0.24102783203125,
360
+ "reward": 0.0439453125,
361
+ "reward_std": 0.08275857008993626,
362
+ "rewards/accuracy_reward": 0.0439453125,
363
+ "rewards/format_reward": 0.0,
364
+ "step": 117,
365
+ "total_flos": 0.0,
366
+ "train_loss": 8962.659198401161,
367
+ "train_runtime": 130047.8561,
368
+ "train_samples_per_second": 0.058,
369
+ "train_steps_per_second": 0.001
370
+ }
371
+ ],
372
+ "logging_steps": 5,
373
+ "max_steps": 117,
374
+ "num_input_tokens_seen": 0,
375
+ "num_train_epochs": 1,
376
+ "save_steps": 500,
377
+ "stateful_callbacks": {
378
+ "TrainerControl": {
379
+ "args": {
380
+ "should_epoch_stop": false,
381
+ "should_evaluate": false,
382
+ "should_log": false,
383
+ "should_save": false,
384
+ "should_training_stop": false
385
+ },
386
+ "attributes": {}
387
+ }
388
+ },
389
+ "total_flos": 0.0,
390
+ "train_batch_size": 16,
391
+ "trial_name": null,
392
+ "trial_params": null
393
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:48e2219698298f124f88531b663cd37185126589e112bdb59b8b3c24284a6e21
3
+ size 7992