qgallouedec HF staff commited on
Commit
74880be
·
verified ·
1 Parent(s): 31ef406

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,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B
3
+ library_name: transformers
4
+ model_name: Qwen2.5-1.5B-Open-R1-GRPO
5
+ tags:
6
+ - generated_from_trainer
7
+ - trl
8
+ - grpo
9
+ licence: license
10
+ ---
11
+
12
+ # Model Card for Qwen2.5-1.5B-Open-R1-GRPO
13
+
14
+ This model is a fine-tuned version of [deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B](https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B).
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="qgallouedec/Qwen2.5-1.5B-Open-R1-GRPO", 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/huggingface/huggingface/runs/01bzzj29)
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.0.dev0
38
+ - Transformers: 4.48.2
39
+ - Pytorch: 2.5.1
40
+ - Datasets: 3.2.0
41
+ - Tokenizers: 0.21.0
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
+ ```
all_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "total_flos": 0.0,
3
+ "train_loss": 0.014327551128428614,
4
+ "train_runtime": 37261.3403,
5
+ "train_samples": 72441,
6
+ "train_samples_per_second": 1.944,
7
+ "train_steps_per_second": 0.004
8
+ }
config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "deepseek-ai/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": null,
23
+ "tie_word_embeddings": false,
24
+ "torch_dtype": "bfloat16",
25
+ "transformers_version": "4.48.2",
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.48.2"
9
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eceff82baa18ea8138916ad6afee457705462ee3fc073919f7b6dfa2faed606e
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,196 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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|>'}}{% 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
+ "padding_side": "left",
192
+ "sp_model_kwargs": {},
193
+ "tokenizer_class": "LlamaTokenizer",
194
+ "unk_token": null,
195
+ "use_default_system_prompt": false
196
+ }
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "total_flos": 0.0,
3
+ "train_loss": 0.014327551128428614,
4
+ "train_runtime": 37261.3403,
5
+ "train_samples": 72441,
6
+ "train_samples_per_second": 1.944,
7
+ "train_steps_per_second": 0.004
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,244 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0.9964664310954063,
5
+ "eval_steps": 100,
6
+ "global_step": 141,
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": 850.0869255065918,
13
+ "epoch": 0.0706713780918728,
14
+ "grad_norm": 0.0022115861294292796,
15
+ "kl": 0.003094172477722168,
16
+ "learning_rate": 1.3333333333333333e-05,
17
+ "loss": 0.0001,
18
+ "reward": 0.29531251308508216,
19
+ "reward_std": 0.19793715761043132,
20
+ "rewards/accuracy_reward": 0.29531251308508216,
21
+ "rewards/format_reward": 0.0,
22
+ "step": 10
23
+ },
24
+ {
25
+ "completion_length": 744.1211002349853,
26
+ "epoch": 0.1413427561837456,
27
+ "grad_norm": 0.003696289903221297,
28
+ "kl": 0.018381881713867187,
29
+ "learning_rate": 1.9922392066001724e-05,
30
+ "loss": 0.0007,
31
+ "reward": 0.48858819287270305,
32
+ "reward_std": 0.2174148814752698,
33
+ "rewards/accuracy_reward": 0.48858819287270305,
34
+ "rewards/format_reward": 0.0,
35
+ "step": 20
36
+ },
37
+ {
38
+ "completion_length": 713.0984733581543,
39
+ "epoch": 0.21201413427561838,
40
+ "grad_norm": 0.0024686855149483843,
41
+ "kl": 0.02651519775390625,
42
+ "learning_rate": 1.9308737486442045e-05,
43
+ "loss": 0.0011,
44
+ "reward": 0.5330636397004127,
45
+ "reward_std": 0.2213304042816162,
46
+ "rewards/accuracy_reward": 0.5330636397004127,
47
+ "rewards/format_reward": 0.0,
48
+ "step": 30
49
+ },
50
+ {
51
+ "completion_length": 709.7984985351562,
52
+ "epoch": 0.2826855123674912,
53
+ "grad_norm": 0.007778931793156943,
54
+ "kl": 0.06893463134765625,
55
+ "learning_rate": 1.811938005715857e-05,
56
+ "loss": 0.0028,
57
+ "reward": 0.5337611852213741,
58
+ "reward_std": 0.233057678071782,
59
+ "rewards/accuracy_reward": 0.5337611852213741,
60
+ "rewards/format_reward": 0.0,
61
+ "step": 40
62
+ },
63
+ {
64
+ "completion_length": 694.2912990570069,
65
+ "epoch": 0.35335689045936397,
66
+ "grad_norm": 0.005119559728567491,
67
+ "kl": 0.180267333984375,
68
+ "learning_rate": 1.6427876096865394e-05,
69
+ "loss": 0.0072,
70
+ "reward": 0.5083984619006514,
71
+ "reward_std": 0.2548479220829904,
72
+ "rewards/accuracy_reward": 0.5083984619006514,
73
+ "rewards/format_reward": 0.0,
74
+ "step": 50
75
+ },
76
+ {
77
+ "completion_length": 665.2431941986084,
78
+ "epoch": 0.42402826855123676,
79
+ "grad_norm": 0.008723708066027886,
80
+ "kl": 0.339019775390625,
81
+ "learning_rate": 1.4338837391175582e-05,
82
+ "loss": 0.0136,
83
+ "reward": 0.49467078112065793,
84
+ "reward_std": 0.25909726731479166,
85
+ "rewards/accuracy_reward": 0.49467078112065793,
86
+ "rewards/format_reward": 0.0,
87
+ "step": 60
88
+ },
89
+ {
90
+ "completion_length": 701.4673881530762,
91
+ "epoch": 0.49469964664310956,
92
+ "grad_norm": 0.0075081355308690345,
93
+ "kl": 0.332379150390625,
94
+ "learning_rate": 1.1981461431993978e-05,
95
+ "loss": 0.0133,
96
+ "reward": 0.44556363597512244,
97
+ "reward_std": 0.24962579645216465,
98
+ "rewards/accuracy_reward": 0.44556363597512244,
99
+ "rewards/format_reward": 0.0,
100
+ "step": 70
101
+ },
102
+ {
103
+ "completion_length": 710.1393180847168,
104
+ "epoch": 0.5653710247349824,
105
+ "grad_norm": 0.0033178540730168207,
106
+ "kl": 0.35029296875,
107
+ "learning_rate": 9.501541143393028e-06,
108
+ "loss": 0.014,
109
+ "reward": 0.4244698856025934,
110
+ "reward_std": 0.24767237259075045,
111
+ "rewards/accuracy_reward": 0.4244698856025934,
112
+ "rewards/format_reward": 0.0,
113
+ "step": 80
114
+ },
115
+ {
116
+ "completion_length": 699.833821105957,
117
+ "epoch": 0.6360424028268551,
118
+ "grad_norm": 0.003957101265408949,
119
+ "kl": 0.36490478515625,
120
+ "learning_rate": 7.052448255890958e-06,
121
+ "loss": 0.0146,
122
+ "reward": 0.4340122971683741,
123
+ "reward_std": 0.24540567621588708,
124
+ "rewards/accuracy_reward": 0.4340122971683741,
125
+ "rewards/format_reward": 0.0,
126
+ "step": 90
127
+ },
128
+ {
129
+ "completion_length": 682.0039073944092,
130
+ "epoch": 0.7067137809187279,
131
+ "grad_norm": 0.004813844603096353,
132
+ "kl": 0.3904541015625,
133
+ "learning_rate": 4.78564796620502e-06,
134
+ "loss": 0.0156,
135
+ "reward": 0.4361049311235547,
136
+ "reward_std": 0.2509981536306441,
137
+ "rewards/accuracy_reward": 0.4361049311235547,
138
+ "rewards/format_reward": 0.0,
139
+ "step": 100
140
+ },
141
+ {
142
+ "epoch": 0.7067137809187279,
143
+ "eval_completion_length": 691.6812744140625,
144
+ "eval_kl": 0.45751953125,
145
+ "eval_loss": 0.01872875541448593,
146
+ "eval_reward": 0.431919664144516,
147
+ "eval_reward_std": 0.2369636967778206,
148
+ "eval_rewards/accuracy_reward": 0.431919664144516,
149
+ "eval_rewards/format_reward": 0.0,
150
+ "eval_runtime": 59.8849,
151
+ "eval_samples_per_second": 1.653,
152
+ "eval_steps_per_second": 0.017,
153
+ "step": 100
154
+ },
155
+ {
156
+ "completion_length": 663.3428577423095,
157
+ "epoch": 0.7773851590106007,
158
+ "grad_norm": 0.006247088903073629,
159
+ "kl": 0.381396484375,
160
+ "learning_rate": 2.8413315074028157e-06,
161
+ "loss": 0.0152,
162
+ "reward": 0.45943082477897407,
163
+ "reward_std": 0.24997999798506498,
164
+ "rewards/accuracy_reward": 0.45943082477897407,
165
+ "rewards/format_reward": 0.0,
166
+ "step": 110
167
+ },
168
+ {
169
+ "completion_length": 595.9743253707886,
170
+ "epoch": 0.8480565371024735,
171
+ "grad_norm": 0.020585142096098717,
172
+ "kl": 0.5493408203125,
173
+ "learning_rate": 1.339745962155613e-06,
174
+ "loss": 0.022,
175
+ "reward": 0.4173270294442773,
176
+ "reward_std": 0.2547059410251677,
177
+ "rewards/accuracy_reward": 0.4173270294442773,
178
+ "rewards/format_reward": 0.0,
179
+ "step": 120
180
+ },
181
+ {
182
+ "completion_length": 495.40225582122804,
183
+ "epoch": 0.9187279151943463,
184
+ "grad_norm": 0.06438517297446601,
185
+ "kl": 0.87666015625,
186
+ "learning_rate": 3.7375753049987974e-07,
187
+ "loss": 0.0351,
188
+ "reward": 0.34868863206356765,
189
+ "reward_std": 0.2646566031500697,
190
+ "rewards/accuracy_reward": 0.34868863206356765,
191
+ "rewards/format_reward": 0.0,
192
+ "step": 130
193
+ },
194
+ {
195
+ "completion_length": 463.35523929595945,
196
+ "epoch": 0.9893992932862191,
197
+ "grad_norm": 0.016874489295012295,
198
+ "kl": 1.010009765625,
199
+ "learning_rate": 3.1081799918375454e-09,
200
+ "loss": 0.0404,
201
+ "reward": 0.3240513550117612,
202
+ "reward_std": 0.2695816809311509,
203
+ "rewards/accuracy_reward": 0.3240513550117612,
204
+ "rewards/format_reward": 0.0,
205
+ "step": 140
206
+ },
207
+ {
208
+ "completion_length": 454.1158103942871,
209
+ "epoch": 0.9964664310954063,
210
+ "kl": 1.02001953125,
211
+ "reward": 0.3373326016589999,
212
+ "reward_std": 0.27406518068164587,
213
+ "rewards/accuracy_reward": 0.3373326016589999,
214
+ "rewards/format_reward": 0.0,
215
+ "step": 141,
216
+ "total_flos": 0.0,
217
+ "train_loss": 0.014327551128428614,
218
+ "train_runtime": 37261.3403,
219
+ "train_samples_per_second": 1.944,
220
+ "train_steps_per_second": 0.004
221
+ }
222
+ ],
223
+ "logging_steps": 10,
224
+ "max_steps": 141,
225
+ "num_input_tokens_seen": 0,
226
+ "num_train_epochs": 1,
227
+ "save_steps": 500,
228
+ "stateful_callbacks": {
229
+ "TrainerControl": {
230
+ "args": {
231
+ "should_epoch_stop": false,
232
+ "should_evaluate": false,
233
+ "should_log": false,
234
+ "should_save": false,
235
+ "should_training_stop": false
236
+ },
237
+ "attributes": {}
238
+ }
239
+ },
240
+ "total_flos": 0.0,
241
+ "train_batch_size": 32,
242
+ "trial_name": null,
243
+ "trial_params": null
244
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5ad6ccbc783747f38b4f99fbf439a3579c209df18cc08e6e2a9a7e10f88d2908
3
+ size 7416