RyanFan commited on
Commit
7d9d4b4
·
verified ·
1 Parent(s): 94338cb

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: Qwen/Qwen2.5-1.5B-Instruct
3
+ library_name: transformers
4
+ model_name: RLVR-pmdata-fatigue
5
+ tags:
6
+ - generated_from_trainer
7
+ - trl
8
+ - grpo
9
+ licence: license
10
+ ---
11
+
12
+ # Model Card for RLVR-pmdata-fatigue
13
+
14
+ This model is a fine-tuned version of [Qwen/Qwen2.5-1.5B-Instruct](https://huggingface.co/Qwen/Qwen2.5-1.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="RyanFan/RLVR-pmdata-fatigue", 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/ryanzhang123-the-university-of-auckland/RLCR/runs/8fodpixn)
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.16.0.dev0
38
+ - Transformers: 4.48.3
39
+ - Pytorch: 2.5.1
40
+ - Datasets: 4.0.0
41
+ - Tokenizers: 0.21.4
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
+ }
config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Qwen/Qwen2.5-1.5B-Instruct",
3
+ "architectures": [
4
+ "Qwen2ForCausalLM"
5
+ ],
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 151643,
8
+ "eos_token_id": 151645,
9
+ "hidden_act": "silu",
10
+ "hidden_size": 1536,
11
+ "initializer_range": 0.02,
12
+ "intermediate_size": 8960,
13
+ "max_position_embeddings": 32768,
14
+ "max_window_layers": 21,
15
+ "model_type": "qwen2",
16
+ "num_attention_heads": 12,
17
+ "num_hidden_layers": 28,
18
+ "num_key_value_heads": 2,
19
+ "rms_norm_eps": 1e-06,
20
+ "rope_scaling": null,
21
+ "rope_theta": 1000000.0,
22
+ "sliding_window": null,
23
+ "tie_word_embeddings": true,
24
+ "torch_dtype": "bfloat16",
25
+ "transformers_version": "4.48.3",
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.48.3"
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:40380a8dfbb132c829e91c184360e092c9c619dd8b1b99075e291f9719bd601e
3
+ size 3554214752
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,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "padding_side": "left",
206
+ "split_special_tokens": false,
207
+ "tokenizer_class": "Qwen2Tokenizer",
208
+ "unk_token": null
209
+ }
trainer_state.json ADDED
@@ -0,0 +1,382 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 2.9790660225442833,
5
+ "eval_steps": 50,
6
+ "global_step": 57,
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/high_max": 0.0,
13
+ "clip_ratio/high_mean": 0.0,
14
+ "clip_ratio/low_mean": 0.0,
15
+ "clip_ratio/low_min": 0.0,
16
+ "clip_ratio/region_mean": 0.0,
17
+ "completions/clipped_ratio": 0.01796875,
18
+ "completions/max_length": 1536.0,
19
+ "completions/max_terminated_length": 1460.2,
20
+ "completions/mean_length": 279.752734375,
21
+ "completions/mean_terminated_length": 256.78699951171876,
22
+ "completions/min_length": 18.6,
23
+ "completions/min_terminated_length": 18.6,
24
+ "epoch": 0.2576489533011272,
25
+ "grad_norm": 0.0036736442707479,
26
+ "learning_rate": 1e-06,
27
+ "loss": 0.0517,
28
+ "num_tokens": 2633967.0,
29
+ "reward": 0.449609375,
30
+ "reward_std": 0.26302570104599,
31
+ "rewards/accuracy_reward": 0.1078125,
32
+ "rewards/brier_reward": 0.0,
33
+ "rewards/confidence_one_or_zero": 0.0,
34
+ "rewards/format_reward": 0.79140625,
35
+ "rewards/mean_confidence_reward": 0.0,
36
+ "step": 5
37
+ },
38
+ {
39
+ "clip_ratio/high_max": 0.0,
40
+ "clip_ratio/high_mean": 0.0,
41
+ "clip_ratio/low_mean": 0.0,
42
+ "clip_ratio/low_min": 0.0,
43
+ "clip_ratio/region_mean": 0.0,
44
+ "completions/clipped_ratio": 0.0203125,
45
+ "completions/max_length": 1536.0,
46
+ "completions/max_terminated_length": 1427.2,
47
+ "completions/mean_length": 264.9375,
48
+ "completions/mean_terminated_length": 238.61123046875,
49
+ "completions/min_length": 20.4,
50
+ "completions/min_terminated_length": 20.4,
51
+ "epoch": 0.5152979066022544,
52
+ "grad_norm": 0.0027966429479420185,
53
+ "learning_rate": 1e-06,
54
+ "loss": 0.0573,
55
+ "num_tokens": 5253343.0,
56
+ "reward": 0.48828125,
57
+ "reward_std": 0.22618062496185304,
58
+ "rewards/accuracy_reward": 0.11171875,
59
+ "rewards/brier_reward": 0.0,
60
+ "rewards/confidence_one_or_zero": 0.0,
61
+ "rewards/format_reward": 0.86484375,
62
+ "rewards/mean_confidence_reward": 0.0,
63
+ "step": 10
64
+ },
65
+ {
66
+ "clip_ratio/high_max": 0.0,
67
+ "clip_ratio/high_mean": 0.0,
68
+ "clip_ratio/low_mean": 0.0,
69
+ "clip_ratio/low_min": 0.0,
70
+ "clip_ratio/region_mean": 0.0,
71
+ "completions/clipped_ratio": 0.013671875,
72
+ "completions/max_length": 1536.0,
73
+ "completions/max_terminated_length": 1427.8,
74
+ "completions/mean_length": 243.132421875,
75
+ "completions/mean_terminated_length": 225.1757385253906,
76
+ "completions/min_length": 19.2,
77
+ "completions/min_terminated_length": 19.2,
78
+ "epoch": 0.7729468599033816,
79
+ "grad_norm": 0.0027919576968997717,
80
+ "learning_rate": 1e-06,
81
+ "loss": 0.0508,
82
+ "num_tokens": 7785930.0,
83
+ "reward": 0.5384765625,
84
+ "reward_std": 0.20729482173919678,
85
+ "rewards/accuracy_reward": 0.151171875,
86
+ "rewards/brier_reward": 0.0,
87
+ "rewards/confidence_one_or_zero": 0.0,
88
+ "rewards/format_reward": 0.92578125,
89
+ "rewards/mean_confidence_reward": 0.0,
90
+ "step": 15
91
+ },
92
+ {
93
+ "clip_ratio/high_max": 0.0,
94
+ "clip_ratio/high_mean": 0.0,
95
+ "clip_ratio/low_mean": 0.0,
96
+ "clip_ratio/low_min": 0.0,
97
+ "clip_ratio/region_mean": 0.0,
98
+ "completions/clipped_ratio": 0.008984375,
99
+ "completions/max_length": 1500.2,
100
+ "completions/max_terminated_length": 1367.0,
101
+ "completions/mean_length": 194.6075469970703,
102
+ "completions/mean_terminated_length": 182.4259765625,
103
+ "completions/min_length": 25.6,
104
+ "completions/min_terminated_length": 25.6,
105
+ "epoch": 1.0515297906602254,
106
+ "grad_norm": 0.0026636295951902866,
107
+ "learning_rate": 1e-06,
108
+ "loss": 0.0368,
109
+ "num_tokens": 10185722.0,
110
+ "reward": 0.5662109375,
111
+ "reward_std": 0.18961112201213837,
112
+ "rewards/accuracy_reward": 0.168359375,
113
+ "rewards/brier_reward": 0.0,
114
+ "rewards/confidence_one_or_zero": 0.0,
115
+ "rewards/format_reward": 0.9640625,
116
+ "rewards/mean_confidence_reward": 0.0,
117
+ "step": 20
118
+ },
119
+ {
120
+ "clip_ratio/high_max": 0.0,
121
+ "clip_ratio/high_mean": 0.0,
122
+ "clip_ratio/low_mean": 0.0,
123
+ "clip_ratio/low_min": 0.0,
124
+ "clip_ratio/region_mean": 0.0,
125
+ "completions/clipped_ratio": 0.00859375,
126
+ "completions/max_length": 1536.0,
127
+ "completions/max_terminated_length": 1419.8,
128
+ "completions/mean_length": 188.075,
129
+ "completions/mean_terminated_length": 176.3938751220703,
130
+ "completions/min_length": 21.4,
131
+ "completions/min_terminated_length": 21.4,
132
+ "epoch": 1.3091787439613527,
133
+ "grad_norm": 0.22164781391620636,
134
+ "learning_rate": 1e-06,
135
+ "loss": 0.0405,
136
+ "num_tokens": 12578554.0,
137
+ "reward": 0.5794921875,
138
+ "reward_std": 0.19335586726665496,
139
+ "rewards/accuracy_reward": 0.183984375,
140
+ "rewards/brier_reward": 0.0,
141
+ "rewards/confidence_one_or_zero": 0.0,
142
+ "rewards/format_reward": 0.975,
143
+ "rewards/mean_confidence_reward": 0.0,
144
+ "step": 25
145
+ },
146
+ {
147
+ "clip_ratio/high_max": 0.0,
148
+ "clip_ratio/high_mean": 0.0,
149
+ "clip_ratio/low_mean": 0.0,
150
+ "clip_ratio/low_min": 0.0,
151
+ "clip_ratio/region_mean": 0.0,
152
+ "completions/clipped_ratio": 0.005859375,
153
+ "completions/max_length": 1536.0,
154
+ "completions/max_terminated_length": 1215.2,
155
+ "completions/mean_length": 155.2171875,
156
+ "completions/mean_terminated_length": 147.11905822753906,
157
+ "completions/min_length": 24.0,
158
+ "completions/min_terminated_length": 24.0,
159
+ "epoch": 1.5668276972624797,
160
+ "grad_norm": 0.0035365140065550804,
161
+ "learning_rate": 1e-06,
162
+ "loss": 0.0301,
163
+ "num_tokens": 14894734.0,
164
+ "reward": 0.6017578125,
165
+ "reward_std": 0.19969140589237214,
166
+ "rewards/accuracy_reward": 0.226171875,
167
+ "rewards/brier_reward": 0.0,
168
+ "rewards/confidence_one_or_zero": 0.0,
169
+ "rewards/format_reward": 0.97734375,
170
+ "rewards/mean_confidence_reward": 0.0,
171
+ "step": 30
172
+ },
173
+ {
174
+ "clip_ratio/high_max": 0.0,
175
+ "clip_ratio/high_mean": 0.0,
176
+ "clip_ratio/low_mean": 0.0,
177
+ "clip_ratio/low_min": 0.0,
178
+ "clip_ratio/region_mean": 0.0,
179
+ "completions/clipped_ratio": 0.0046875,
180
+ "completions/max_length": 1496.2,
181
+ "completions/max_terminated_length": 1239.8,
182
+ "completions/mean_length": 137.501171875,
183
+ "completions/mean_terminated_length": 130.90984344482422,
184
+ "completions/min_length": 26.0,
185
+ "completions/min_terminated_length": 26.0,
186
+ "epoch": 1.8244766505636072,
187
+ "grad_norm": 0.0037556523457169533,
188
+ "learning_rate": 1e-06,
189
+ "loss": 0.024,
190
+ "num_tokens": 17157569.0,
191
+ "reward": 0.6326171875,
192
+ "reward_std": 0.21426038444042206,
193
+ "rewards/accuracy_reward": 0.27890625,
194
+ "rewards/brier_reward": 0.0,
195
+ "rewards/confidence_one_or_zero": 0.0,
196
+ "rewards/format_reward": 0.986328125,
197
+ "rewards/mean_confidence_reward": 0.0,
198
+ "step": 35
199
+ },
200
+ {
201
+ "clip_ratio/high_max": 0.0,
202
+ "clip_ratio/high_mean": 0.0,
203
+ "clip_ratio/low_mean": 0.0,
204
+ "clip_ratio/low_min": 0.0,
205
+ "clip_ratio/region_mean": 0.0,
206
+ "completions/clipped_ratio": 0.003125,
207
+ "completions/max_length": 1443.0,
208
+ "completions/max_terminated_length": 1248.8,
209
+ "completions/mean_length": 115.93357849121094,
210
+ "completions/mean_terminated_length": 111.49920654296875,
211
+ "completions/min_length": 22.6,
212
+ "completions/min_terminated_length": 22.6,
213
+ "epoch": 2.103059581320451,
214
+ "grad_norm": 0.003962252289056778,
215
+ "learning_rate": 1e-06,
216
+ "loss": 0.0231,
217
+ "num_tokens": 19372337.0,
218
+ "reward": 0.6611328125,
219
+ "reward_std": 0.21592704355716705,
220
+ "rewards/accuracy_reward": 0.330078125,
221
+ "rewards/brier_reward": 0.0,
222
+ "rewards/confidence_one_or_zero": 0.0,
223
+ "rewards/format_reward": 0.9921875,
224
+ "rewards/mean_confidence_reward": 0.0,
225
+ "step": 40
226
+ },
227
+ {
228
+ "clip_ratio/high_max": 0.0,
229
+ "clip_ratio/high_mean": 0.0,
230
+ "clip_ratio/low_mean": 0.0,
231
+ "clip_ratio/low_min": 0.0,
232
+ "clip_ratio/region_mean": 0.0,
233
+ "completions/clipped_ratio": 0.00390625,
234
+ "completions/max_length": 1472.2,
235
+ "completions/max_terminated_length": 1166.6,
236
+ "completions/mean_length": 110.8234375,
237
+ "completions/mean_terminated_length": 105.24631805419922,
238
+ "completions/min_length": 23.8,
239
+ "completions/min_terminated_length": 23.8,
240
+ "epoch": 2.360708534621578,
241
+ "grad_norm": 0.00423570116981864,
242
+ "learning_rate": 1e-06,
243
+ "loss": 0.0169,
244
+ "num_tokens": 21575605.0,
245
+ "reward": 0.673046875,
246
+ "reward_std": 0.21441609561443328,
247
+ "rewards/accuracy_reward": 0.352734375,
248
+ "rewards/brier_reward": 0.0,
249
+ "rewards/confidence_one_or_zero": 0.0,
250
+ "rewards/format_reward": 0.993359375,
251
+ "rewards/mean_confidence_reward": 0.0,
252
+ "step": 45
253
+ },
254
+ {
255
+ "clip_ratio/high_max": 0.0,
256
+ "clip_ratio/high_mean": 0.0,
257
+ "clip_ratio/low_mean": 0.0,
258
+ "clip_ratio/low_min": 0.0,
259
+ "clip_ratio/region_mean": 0.0,
260
+ "completions/clipped_ratio": 0.001171875,
261
+ "completions/max_length": 1278.6,
262
+ "completions/max_terminated_length": 1227.6,
263
+ "completions/mean_length": 103.966796875,
264
+ "completions/mean_terminated_length": 102.2909912109375,
265
+ "completions/min_length": 25.4,
266
+ "completions/min_terminated_length": 25.4,
267
+ "epoch": 2.6183574879227054,
268
+ "grad_norm": 0.004094306379556656,
269
+ "learning_rate": 1e-06,
270
+ "loss": 0.0155,
271
+ "num_tokens": 23731264.0,
272
+ "reward": 0.6849609375,
273
+ "reward_std": 0.20115672945976257,
274
+ "rewards/accuracy_reward": 0.373046875,
275
+ "rewards/brier_reward": 0.0,
276
+ "rewards/confidence_one_or_zero": 0.0,
277
+ "rewards/format_reward": 0.996875,
278
+ "rewards/mean_confidence_reward": 0.0,
279
+ "step": 50
280
+ },
281
+ {
282
+ "epoch": 2.6183574879227054,
283
+ "eval_completions/clipped_ratio": 0.0018115942028985507,
284
+ "eval_completions/max_length": 290.5144927536232,
285
+ "eval_completions/max_terminated_length": 271.78985507246375,
286
+ "eval_completions/mean_length": 98.78260869565217,
287
+ "eval_completions/mean_terminated_length": 96.16291411026664,
288
+ "eval_completions/min_length": 44.02173913043478,
289
+ "eval_completions/min_terminated_length": 44.02173913043478,
290
+ "eval_loss": 0.0,
291
+ "eval_num_tokens": 23731264.0,
292
+ "eval_reward": 0.7006340579710145,
293
+ "eval_reward_std": 0.1998574921618337,
294
+ "eval_rewards/accuracy_reward": 0.4057971014492754,
295
+ "eval_rewards/brier_reward": 0.0,
296
+ "eval_rewards/confidence_one_or_zero": 0.0,
297
+ "eval_rewards/format_reward": 0.9954710144927537,
298
+ "eval_rewards/mean_confidence_reward": 0.0,
299
+ "eval_runtime": 218.3081,
300
+ "eval_samples_per_second": 0.632,
301
+ "eval_steps_per_second": 0.082,
302
+ "step": 50
303
+ },
304
+ {
305
+ "clip_ratio/high_max": 0.0,
306
+ "clip_ratio/high_mean": 0.0,
307
+ "clip_ratio/low_mean": 0.0,
308
+ "clip_ratio/low_min": 0.0,
309
+ "clip_ratio/region_mean": 0.0,
310
+ "completions/clipped_ratio": 0.0015625,
311
+ "completions/max_length": 1389.4,
312
+ "completions/max_terminated_length": 1131.6,
313
+ "completions/mean_length": 99.516796875,
314
+ "completions/mean_terminated_length": 97.26914672851562,
315
+ "completions/min_length": 26.6,
316
+ "completions/min_terminated_length": 26.6,
317
+ "epoch": 2.8760064412238324,
318
+ "grad_norm": 0.004530761390924454,
319
+ "learning_rate": 1e-06,
320
+ "loss": 0.0119,
321
+ "num_tokens": 25926723.0,
322
+ "reward": 0.7265625,
323
+ "reward_std": 0.19322206377983092,
324
+ "rewards/accuracy_reward": 0.455078125,
325
+ "rewards/brier_reward": 0.0,
326
+ "rewards/confidence_one_or_zero": 0.0,
327
+ "rewards/format_reward": 0.998046875,
328
+ "rewards/mean_confidence_reward": 0.0,
329
+ "step": 55
330
+ },
331
+ {
332
+ "clip_ratio/high_max": 0.0,
333
+ "clip_ratio/high_mean": 0.0,
334
+ "clip_ratio/low_mean": 0.0,
335
+ "clip_ratio/low_min": 0.0,
336
+ "clip_ratio/region_mean": 0.0,
337
+ "completions/clipped_ratio": 0.0032701404816513624,
338
+ "completions/max_length": 1536.0,
339
+ "completions/max_terminated_length": 976.0,
340
+ "completions/mean_length": 94.65605926513672,
341
+ "completions/mean_terminated_length": 89.92797088623047,
342
+ "completions/min_length": 28.0,
343
+ "completions/min_terminated_length": 28.0,
344
+ "epoch": 2.9790660225442833,
345
+ "num_tokens": 26798038.0,
346
+ "reward": 0.7451171875,
347
+ "reward_std": 0.18223696947097778,
348
+ "rewards/accuracy_reward": 0.494140625,
349
+ "rewards/brier_reward": 0.0,
350
+ "rewards/confidence_one_or_zero": 0.0,
351
+ "rewards/format_reward": 0.99609375,
352
+ "rewards/mean_confidence_reward": 0.0,
353
+ "step": 57,
354
+ "total_flos": 0.0,
355
+ "train_loss": 0.03191714903764557,
356
+ "train_runtime": 6840.6585,
357
+ "train_samples_per_second": 0.545,
358
+ "train_steps_per_second": 0.008
359
+ }
360
+ ],
361
+ "logging_steps": 5,
362
+ "max_steps": 57,
363
+ "num_input_tokens_seen": 26798038,
364
+ "num_train_epochs": 3,
365
+ "save_steps": 60,
366
+ "stateful_callbacks": {
367
+ "TrainerControl": {
368
+ "args": {
369
+ "should_epoch_stop": false,
370
+ "should_evaluate": false,
371
+ "should_log": false,
372
+ "should_save": true,
373
+ "should_training_stop": true
374
+ },
375
+ "attributes": {}
376
+ }
377
+ },
378
+ "total_flos": 0.0,
379
+ "train_batch_size": 8,
380
+ "trial_name": null,
381
+ "trial_params": null
382
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:77303ee5cb82ddd81c365006fcae39f4332acff80bfdba5b9367543dde750194
3
+ size 8056
vocab.json ADDED
The diff for this file is too large to render. See raw diff