RyanFan commited on
Commit
8b2b153
·
verified ·
1 Parent(s): a1ce794

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-stress
5
+ tags:
6
+ - generated_from_trainer
7
+ - trl
8
+ - grpo
9
+ licence: license
10
+ ---
11
+
12
+ # Model Card for RLVR-pmdata-stress
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-stress", 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/uyivg3er)
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.57.6
39
+ - Pytorch: 2.5.1
40
+ - Datasets: 4.0.0
41
+ - Tokenizers: 0.22.2
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
+ }
chat_template.jinja ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- if tools %}
2
+ {{- '<|im_start|>system\n' }}
3
+ {%- if messages[0]['role'] == 'system' %}
4
+ {{- messages[0]['content'] }}
5
+ {%- else %}
6
+ {{- 'You are Qwen, created by Alibaba Cloud. You are a helpful assistant.' }}
7
+ {%- endif %}
8
+ {{- "\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>" }}
9
+ {%- for tool in tools %}
10
+ {{- "\n" }}
11
+ {{- tool | tojson }}
12
+ {%- endfor %}
13
+ {{- "\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" }}
14
+ {%- else %}
15
+ {%- if messages[0]['role'] == 'system' %}
16
+ {{- '<|im_start|>system\n' + messages[0]['content'] + '<|im_end|>\n' }}
17
+ {%- else %}
18
+ {{- '<|im_start|>system\nYou are Qwen, created by Alibaba Cloud. You are a helpful assistant.<|im_end|>\n' }}
19
+ {%- endif %}
20
+ {%- endif %}
21
+ {%- for message in messages %}
22
+ {%- if (message.role == "user") or (message.role == "system" and not loop.first) or (message.role == "assistant" and not message.tool_calls) %}
23
+ {{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
24
+ {%- elif message.role == "assistant" %}
25
+ {{- '<|im_start|>' + message.role }}
26
+ {%- if message.content %}
27
+ {{- '\n' + message.content }}
28
+ {%- endif %}
29
+ {%- for tool_call in message.tool_calls %}
30
+ {%- if tool_call.function is defined %}
31
+ {%- set tool_call = tool_call.function %}
32
+ {%- endif %}
33
+ {{- '\n<tool_call>\n{"name": "' }}
34
+ {{- tool_call.name }}
35
+ {{- '", "arguments": ' }}
36
+ {{- tool_call.arguments | tojson }}
37
+ {{- '}\n</tool_call>' }}
38
+ {%- endfor %}
39
+ {{- '<|im_end|>\n' }}
40
+ {%- elif message.role == "tool" %}
41
+ {%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != "tool") %}
42
+ {{- '<|im_start|>user' }}
43
+ {%- endif %}
44
+ {{- '\n<tool_response>\n' }}
45
+ {{- message.content }}
46
+ {{- '\n</tool_response>' }}
47
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
48
+ {{- '<|im_end|>\n' }}
49
+ {%- endif %}
50
+ {%- endif %}
51
+ {%- endfor %}
52
+ {%- if add_generation_prompt %}
53
+ {{- '<|im_start|>assistant\n' }}
54
+ {%- endif %}
config.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Qwen2ForCausalLM"
4
+ ],
5
+ "attention_dropout": 0.0,
6
+ "dtype": "bfloat16",
7
+ "eos_token_id": 151645,
8
+ "hidden_act": "silu",
9
+ "hidden_size": 1536,
10
+ "initializer_range": 0.02,
11
+ "intermediate_size": 8960,
12
+ "layer_types": [
13
+ "full_attention",
14
+ "full_attention",
15
+ "full_attention",
16
+ "full_attention",
17
+ "full_attention",
18
+ "full_attention",
19
+ "full_attention",
20
+ "full_attention",
21
+ "full_attention",
22
+ "full_attention",
23
+ "full_attention",
24
+ "full_attention",
25
+ "full_attention",
26
+ "full_attention",
27
+ "full_attention",
28
+ "full_attention",
29
+ "full_attention",
30
+ "full_attention",
31
+ "full_attention",
32
+ "full_attention",
33
+ "full_attention",
34
+ "full_attention",
35
+ "full_attention",
36
+ "full_attention",
37
+ "full_attention",
38
+ "full_attention",
39
+ "full_attention",
40
+ "full_attention"
41
+ ],
42
+ "max_position_embeddings": 32768,
43
+ "max_window_layers": 21,
44
+ "model_type": "qwen2",
45
+ "num_attention_heads": 12,
46
+ "num_hidden_layers": 28,
47
+ "num_key_value_heads": 2,
48
+ "pad_token_id": 151643,
49
+ "rms_norm_eps": 1e-06,
50
+ "rope_scaling": null,
51
+ "rope_theta": 1000000.0,
52
+ "sliding_window": null,
53
+ "tie_word_embeddings": true,
54
+ "transformers_version": "4.57.6",
55
+ "use_cache": false,
56
+ "use_sliding_window": false,
57
+ "vocab_size": 151936
58
+ }
generation_config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_sample": true,
3
+ "eos_token_id": [
4
+ 151645,
5
+ 151643
6
+ ],
7
+ "pad_token_id": 151643,
8
+ "repetition_penalty": 1.1,
9
+ "temperature": 0.7,
10
+ "top_k": 20,
11
+ "top_p": 0.8,
12
+ "transformers_version": "4.57.6"
13
+ }
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:b88eb08b1e57a43ce9431d2568b8769d44e86bb1f1089031e1f5c51d4e884f7c
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,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
+ "clean_up_tokenization_spaces": false,
199
+ "eos_token": "<|im_end|>",
200
+ "errors": "replace",
201
+ "extra_special_tokens": {},
202
+ "model_max_length": 131072,
203
+ "pad_token": "<|endoftext|>",
204
+ "padding_side": "left",
205
+ "split_special_tokens": false,
206
+ "tokenizer_class": "Qwen2Tokenizer",
207
+ "unk_token": null
208
+ }
trainer_state.json ADDED
@@ -0,0 +1,437 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 1.0,
6
+ "eval_steps": 40,
7
+ "global_step": 69,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "clip_ratio/high_max": 0.0,
14
+ "clip_ratio/high_mean": 0.0,
15
+ "clip_ratio/low_mean": 0.0,
16
+ "clip_ratio/low_min": 0.0,
17
+ "clip_ratio/region_mean": 0.0,
18
+ "completions/clipped_ratio": 0.01875,
19
+ "completions/max_length": 1430.6,
20
+ "completions/max_terminated_length": 1348.6,
21
+ "completions/mean_length": 335.071875,
22
+ "completions/mean_terminated_length": 312.637841796875,
23
+ "completions/min_length": 38.4,
24
+ "completions/min_terminated_length": 38.4,
25
+ "epoch": 0.07246376811594203,
26
+ "grad_norm": 0.28337302803993225,
27
+ "learning_rate": 1e-06,
28
+ "loss": 0.0087,
29
+ "num_tokens": 353715.0,
30
+ "reward": 0.49375,
31
+ "reward_std": 0.14153526425361634,
32
+ "rewards/accuracy_reward": 0.078125,
33
+ "rewards/brier_reward": 0.0,
34
+ "rewards/confidence_one_or_zero": 0.0,
35
+ "rewards/format_reward": 0.909375,
36
+ "rewards/mean_confidence_reward": 0.0,
37
+ "step": 5
38
+ },
39
+ {
40
+ "clip_ratio/high_max": 0.0,
41
+ "clip_ratio/high_mean": 0.0,
42
+ "clip_ratio/low_mean": 0.0,
43
+ "clip_ratio/low_min": 0.0,
44
+ "clip_ratio/region_mean": 0.0,
45
+ "completions/clipped_ratio": 0.028125,
46
+ "completions/max_length": 1459.6,
47
+ "completions/max_terminated_length": 1266.4,
48
+ "completions/mean_length": 364.325,
49
+ "completions/mean_terminated_length": 330.822705078125,
50
+ "completions/min_length": 36.6,
51
+ "completions/min_terminated_length": 36.6,
52
+ "epoch": 0.14492753623188406,
53
+ "grad_norm": 0.2535293400287628,
54
+ "learning_rate": 1e-06,
55
+ "loss": 0.0203,
56
+ "num_tokens": 721175.0,
57
+ "reward": 0.5078125,
58
+ "reward_std": 0.1156127318739891,
59
+ "rewards/accuracy_reward": 0.075,
60
+ "rewards/brier_reward": 0.0,
61
+ "rewards/confidence_one_or_zero": 0.0,
62
+ "rewards/format_reward": 0.940625,
63
+ "rewards/mean_confidence_reward": 0.0,
64
+ "step": 10
65
+ },
66
+ {
67
+ "clip_ratio/high_max": 0.0,
68
+ "clip_ratio/high_mean": 0.0,
69
+ "clip_ratio/low_mean": 0.0,
70
+ "clip_ratio/low_min": 0.0,
71
+ "clip_ratio/region_mean": 0.0,
72
+ "completions/clipped_ratio": 0.03125,
73
+ "completions/max_length": 1536.0,
74
+ "completions/max_terminated_length": 1304.0,
75
+ "completions/mean_length": 369.721875,
76
+ "completions/mean_terminated_length": 332.17138671875,
77
+ "completions/min_length": 43.8,
78
+ "completions/min_terminated_length": 43.8,
79
+ "epoch": 0.21739130434782608,
80
+ "grad_norm": 0.2700359523296356,
81
+ "learning_rate": 1e-06,
82
+ "loss": 0.0239,
83
+ "num_tokens": 1100826.0,
84
+ "reward": 0.509375,
85
+ "reward_std": 0.11002618819475174,
86
+ "rewards/accuracy_reward": 0.06875,
87
+ "rewards/brier_reward": 0.0,
88
+ "rewards/confidence_one_or_zero": 0.0,
89
+ "rewards/format_reward": 0.95,
90
+ "rewards/mean_confidence_reward": 0.0,
91
+ "step": 15
92
+ },
93
+ {
94
+ "clip_ratio/high_max": 0.0,
95
+ "clip_ratio/high_mean": 0.0,
96
+ "clip_ratio/low_mean": 0.0,
97
+ "clip_ratio/low_min": 0.0,
98
+ "clip_ratio/region_mean": 0.0,
99
+ "completions/clipped_ratio": 0.01875,
100
+ "completions/max_length": 1535.4,
101
+ "completions/max_terminated_length": 1345.6,
102
+ "completions/mean_length": 308.225,
103
+ "completions/mean_terminated_length": 284.83876953125,
104
+ "completions/min_length": 52.8,
105
+ "completions/min_terminated_length": 52.8,
106
+ "epoch": 0.2898550724637681,
107
+ "grad_norm": 79.66336059570312,
108
+ "learning_rate": 1e-06,
109
+ "loss": 0.006,
110
+ "num_tokens": 1455930.0,
111
+ "reward": 0.5375,
112
+ "reward_std": 0.14514370113611222,
113
+ "rewards/accuracy_reward": 0.125,
114
+ "rewards/brier_reward": 0.0,
115
+ "rewards/confidence_one_or_zero": 0.0,
116
+ "rewards/format_reward": 0.95,
117
+ "rewards/mean_confidence_reward": 0.0,
118
+ "step": 20
119
+ },
120
+ {
121
+ "clip_ratio/high_max": 0.0,
122
+ "clip_ratio/high_mean": 0.0,
123
+ "clip_ratio/low_mean": 0.0,
124
+ "clip_ratio/low_min": 0.0,
125
+ "clip_ratio/region_mean": 0.0,
126
+ "completions/clipped_ratio": 0.009375,
127
+ "completions/max_length": 1318.6,
128
+ "completions/max_terminated_length": 1085.4,
129
+ "completions/mean_length": 294.978125,
130
+ "completions/mean_terminated_length": 283.2386779785156,
131
+ "completions/min_length": 50.4,
132
+ "completions/min_terminated_length": 50.4,
133
+ "epoch": 0.36231884057971014,
134
+ "grad_norm": 0.3315078914165497,
135
+ "learning_rate": 1e-06,
136
+ "loss": 0.0131,
137
+ "num_tokens": 1802399.0,
138
+ "reward": 0.546875,
139
+ "reward_std": 0.10421528071165084,
140
+ "rewards/accuracy_reward": 0.109375,
141
+ "rewards/brier_reward": 0.0,
142
+ "rewards/confidence_one_or_zero": 0.0,
143
+ "rewards/format_reward": 0.984375,
144
+ "rewards/mean_confidence_reward": 0.0,
145
+ "step": 25
146
+ },
147
+ {
148
+ "clip_ratio/high_max": 0.0,
149
+ "clip_ratio/high_mean": 0.0,
150
+ "clip_ratio/low_mean": 0.0,
151
+ "clip_ratio/low_min": 0.0,
152
+ "clip_ratio/region_mean": 0.0,
153
+ "completions/clipped_ratio": 0.0125,
154
+ "completions/max_length": 1316.8,
155
+ "completions/max_terminated_length": 1147.8,
156
+ "completions/mean_length": 302.25625,
157
+ "completions/mean_terminated_length": 285.8982391357422,
158
+ "completions/min_length": 38.2,
159
+ "completions/min_terminated_length": 38.2,
160
+ "epoch": 0.43478260869565216,
161
+ "grad_norm": 0.28265270590782166,
162
+ "learning_rate": 1e-06,
163
+ "loss": 0.0216,
164
+ "num_tokens": 2145009.0,
165
+ "reward": 0.5640625,
166
+ "reward_std": 0.14281345307826995,
167
+ "rewards/accuracy_reward": 0.15,
168
+ "rewards/brier_reward": 0.0,
169
+ "rewards/confidence_one_or_zero": 0.0,
170
+ "rewards/format_reward": 0.978125,
171
+ "rewards/mean_confidence_reward": 0.0,
172
+ "step": 30
173
+ },
174
+ {
175
+ "clip_ratio/high_max": 0.0,
176
+ "clip_ratio/high_mean": 0.0,
177
+ "clip_ratio/low_mean": 0.0,
178
+ "clip_ratio/low_min": 0.0,
179
+ "clip_ratio/region_mean": 0.0,
180
+ "completions/clipped_ratio": 0.009375,
181
+ "completions/max_length": 1283.4,
182
+ "completions/max_terminated_length": 1149.0,
183
+ "completions/mean_length": 203.6375,
184
+ "completions/mean_terminated_length": 191.23175659179688,
185
+ "completions/min_length": 33.4,
186
+ "completions/min_terminated_length": 33.4,
187
+ "epoch": 0.5072463768115942,
188
+ "grad_norm": 0.521085798740387,
189
+ "learning_rate": 1e-06,
190
+ "loss": 0.0275,
191
+ "num_tokens": 2468121.0,
192
+ "reward": 0.5921875,
193
+ "reward_std": 0.17295827567577363,
194
+ "rewards/accuracy_reward": 0.203125,
195
+ "rewards/brier_reward": 0.0,
196
+ "rewards/confidence_one_or_zero": 0.0,
197
+ "rewards/format_reward": 0.98125,
198
+ "rewards/mean_confidence_reward": 0.0,
199
+ "step": 35
200
+ },
201
+ {
202
+ "clip_ratio/high_max": 0.0,
203
+ "clip_ratio/high_mean": 0.0,
204
+ "clip_ratio/low_mean": 0.0,
205
+ "clip_ratio/low_min": 0.0,
206
+ "clip_ratio/region_mean": 0.0,
207
+ "completions/clipped_ratio": 0.0,
208
+ "completions/max_length": 882.6,
209
+ "completions/max_terminated_length": 882.6,
210
+ "completions/mean_length": 147.784375,
211
+ "completions/mean_terminated_length": 147.784375,
212
+ "completions/min_length": 34.6,
213
+ "completions/min_terminated_length": 34.6,
214
+ "epoch": 0.5797101449275363,
215
+ "grad_norm": 0.8032597899436951,
216
+ "learning_rate": 1e-06,
217
+ "loss": 0.0051,
218
+ "num_tokens": 2770984.0,
219
+ "reward": 0.640625,
220
+ "reward_std": 0.21402235925197602,
221
+ "rewards/accuracy_reward": 0.290625,
222
+ "rewards/brier_reward": 0.0,
223
+ "rewards/confidence_one_or_zero": 0.0,
224
+ "rewards/format_reward": 0.990625,
225
+ "rewards/mean_confidence_reward": 0.0,
226
+ "step": 40
227
+ },
228
+ {
229
+ "epoch": 0.5797101449275363,
230
+ "eval_completions/clipped_ratio": 0.0,
231
+ "eval_completions/max_length": 476.0,
232
+ "eval_completions/max_terminated_length": 476.0,
233
+ "eval_completions/mean_length": 158.0253623188406,
234
+ "eval_completions/mean_terminated_length": 158.0253623188406,
235
+ "eval_completions/min_length": 52.710144927536234,
236
+ "eval_completions/min_terminated_length": 52.710144927536234,
237
+ "eval_loss": 0.0,
238
+ "eval_num_tokens": 2770984.0,
239
+ "eval_reward": 0.6630434782608695,
240
+ "eval_reward_std": 0.182892012855281,
241
+ "eval_rewards/accuracy_reward": 0.3278985507246377,
242
+ "eval_rewards/brier_reward": 0.0,
243
+ "eval_rewards/confidence_one_or_zero": 0.0,
244
+ "eval_rewards/format_reward": 0.9981884057971014,
245
+ "eval_rewards/mean_confidence_reward": 0.0,
246
+ "eval_runtime": 344.0574,
247
+ "eval_samples_per_second": 0.802,
248
+ "eval_steps_per_second": 0.102,
249
+ "step": 40
250
+ },
251
+ {
252
+ "clip_ratio/high_max": 0.0,
253
+ "clip_ratio/high_mean": 0.0,
254
+ "clip_ratio/low_mean": 0.0,
255
+ "clip_ratio/low_min": 0.0,
256
+ "clip_ratio/region_mean": 0.0,
257
+ "completions/clipped_ratio": 0.003125,
258
+ "completions/max_length": 936.2,
259
+ "completions/max_terminated_length": 822.2,
260
+ "completions/mean_length": 140.45625,
261
+ "completions/mean_terminated_length": 136.07177734375,
262
+ "completions/min_length": 38.8,
263
+ "completions/min_terminated_length": 38.8,
264
+ "epoch": 0.6521739130434783,
265
+ "grad_norm": 0.6651497483253479,
266
+ "learning_rate": 1e-06,
267
+ "loss": 0.0099,
268
+ "num_tokens": 3060702.0,
269
+ "reward": 0.6875,
270
+ "reward_std": 0.20059720277786255,
271
+ "rewards/accuracy_reward": 0.378125,
272
+ "rewards/brier_reward": 0.0,
273
+ "rewards/confidence_one_or_zero": 0.0,
274
+ "rewards/format_reward": 0.996875,
275
+ "rewards/mean_confidence_reward": 0.0,
276
+ "step": 45
277
+ },
278
+ {
279
+ "clip_ratio/high_max": 0.0,
280
+ "clip_ratio/high_mean": 0.0,
281
+ "clip_ratio/low_mean": 0.0,
282
+ "clip_ratio/low_min": 0.0,
283
+ "clip_ratio/region_mean": 0.0,
284
+ "completions/clipped_ratio": 0.0,
285
+ "completions/max_length": 727.0,
286
+ "completions/max_terminated_length": 727.0,
287
+ "completions/mean_length": 102.665625,
288
+ "completions/mean_terminated_length": 102.665625,
289
+ "completions/min_length": 33.0,
290
+ "completions/min_terminated_length": 33.0,
291
+ "epoch": 0.7246376811594203,
292
+ "grad_norm": 0.5408816933631897,
293
+ "learning_rate": 1e-06,
294
+ "loss": 0.0,
295
+ "num_tokens": 3339431.0,
296
+ "reward": 0.75,
297
+ "reward_std": 0.1764850214123726,
298
+ "rewards/accuracy_reward": 0.5,
299
+ "rewards/brier_reward": 0.0,
300
+ "rewards/confidence_one_or_zero": 0.0,
301
+ "rewards/format_reward": 1.0,
302
+ "rewards/mean_confidence_reward": 0.0,
303
+ "step": 50
304
+ },
305
+ {
306
+ "clip_ratio/high_max": 0.0,
307
+ "clip_ratio/high_mean": 0.0,
308
+ "clip_ratio/low_mean": 0.0,
309
+ "clip_ratio/low_min": 0.0,
310
+ "clip_ratio/region_mean": 0.0,
311
+ "completions/clipped_ratio": 0.0,
312
+ "completions/max_length": 334.6,
313
+ "completions/max_terminated_length": 334.6,
314
+ "completions/mean_length": 80.190625,
315
+ "completions/mean_terminated_length": 80.190625,
316
+ "completions/min_length": 30.6,
317
+ "completions/min_terminated_length": 30.6,
318
+ "epoch": 0.7971014492753623,
319
+ "grad_norm": 0.3914719820022583,
320
+ "learning_rate": 1e-06,
321
+ "loss": 0.0084,
322
+ "num_tokens": 3607440.0,
323
+ "reward": 0.775,
324
+ "reward_std": 0.10122594833374024,
325
+ "rewards/accuracy_reward": 0.55,
326
+ "rewards/brier_reward": 0.0,
327
+ "rewards/confidence_one_or_zero": 0.0,
328
+ "rewards/format_reward": 1.0,
329
+ "rewards/mean_confidence_reward": 0.0,
330
+ "step": 55
331
+ },
332
+ {
333
+ "clip_ratio/high_max": 0.0,
334
+ "clip_ratio/high_mean": 0.0,
335
+ "clip_ratio/low_mean": 0.0,
336
+ "clip_ratio/low_min": 0.0,
337
+ "clip_ratio/region_mean": 0.0,
338
+ "completions/clipped_ratio": 0.0,
339
+ "completions/max_length": 448.4,
340
+ "completions/max_terminated_length": 448.4,
341
+ "completions/mean_length": 79.365625,
342
+ "completions/mean_terminated_length": 79.365625,
343
+ "completions/min_length": 31.8,
344
+ "completions/min_terminated_length": 31.8,
345
+ "epoch": 0.8695652173913043,
346
+ "grad_norm": 0.31264522671699524,
347
+ "learning_rate": 1e-06,
348
+ "loss": 0.0008,
349
+ "num_tokens": 3882353.0,
350
+ "reward": 0.7984375,
351
+ "reward_std": 0.07020031586289406,
352
+ "rewards/accuracy_reward": 0.596875,
353
+ "rewards/brier_reward": 0.0,
354
+ "rewards/confidence_one_or_zero": 0.0,
355
+ "rewards/format_reward": 1.0,
356
+ "rewards/mean_confidence_reward": 0.0,
357
+ "step": 60
358
+ },
359
+ {
360
+ "clip_ratio/high_max": 0.0,
361
+ "clip_ratio/high_mean": 0.0,
362
+ "clip_ratio/low_mean": 0.0,
363
+ "clip_ratio/low_min": 0.0,
364
+ "clip_ratio/region_mean": 0.0,
365
+ "completions/clipped_ratio": 0.0,
366
+ "completions/max_length": 315.0,
367
+ "completions/max_terminated_length": 315.0,
368
+ "completions/mean_length": 71.5,
369
+ "completions/mean_terminated_length": 71.5,
370
+ "completions/min_length": 32.8,
371
+ "completions/min_terminated_length": 32.8,
372
+ "epoch": 0.9420289855072463,
373
+ "grad_norm": 0.23081329464912415,
374
+ "learning_rate": 1e-06,
375
+ "loss": 0.0006,
376
+ "num_tokens": 4160501.0,
377
+ "reward": 0.7890625,
378
+ "reward_std": 0.04423343911767006,
379
+ "rewards/accuracy_reward": 0.578125,
380
+ "rewards/brier_reward": 0.0,
381
+ "rewards/confidence_one_or_zero": 0.0,
382
+ "rewards/format_reward": 1.0,
383
+ "rewards/mean_confidence_reward": 0.0,
384
+ "step": 65
385
+ },
386
+ {
387
+ "clip_ratio/high_max": 0.0,
388
+ "clip_ratio/high_mean": 0.0,
389
+ "clip_ratio/low_mean": 0.0,
390
+ "clip_ratio/low_min": 0.0,
391
+ "clip_ratio/region_mean": 0.0,
392
+ "completions/clipped_ratio": 0.0,
393
+ "completions/max_length": 231.0,
394
+ "completions/max_terminated_length": 231.0,
395
+ "completions/mean_length": 68.57421875,
396
+ "completions/mean_terminated_length": 68.57421875,
397
+ "completions/min_length": 35.5,
398
+ "completions/min_terminated_length": 35.5,
399
+ "epoch": 1.0,
400
+ "num_tokens": 4377256.0,
401
+ "reward": 0.787109375,
402
+ "reward_std": 0.0655214935541153,
403
+ "rewards/accuracy_reward": 0.57421875,
404
+ "rewards/brier_reward": 0.0,
405
+ "rewards/confidence_one_or_zero": 0.0,
406
+ "rewards/format_reward": 1.0,
407
+ "rewards/mean_confidence_reward": 0.0,
408
+ "step": 69,
409
+ "total_flos": 0.0,
410
+ "train_loss": 0.010691649024037348,
411
+ "train_runtime": 1641.1771,
412
+ "train_samples_per_second": 0.673,
413
+ "train_steps_per_second": 0.042
414
+ }
415
+ ],
416
+ "logging_steps": 5,
417
+ "max_steps": 69,
418
+ "num_input_tokens_seen": 4377256,
419
+ "num_train_epochs": 1,
420
+ "save_steps": 40,
421
+ "stateful_callbacks": {
422
+ "TrainerControl": {
423
+ "args": {
424
+ "should_epoch_stop": false,
425
+ "should_evaluate": false,
426
+ "should_log": false,
427
+ "should_save": true,
428
+ "should_training_stop": true
429
+ },
430
+ "attributes": {}
431
+ }
432
+ },
433
+ "total_flos": 0.0,
434
+ "train_batch_size": 4,
435
+ "trial_name": null,
436
+ "trial_params": null
437
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cb61c261bf13bf5183c2c6f70305d8134e1c7ab2dc594b8f48f51fdb8be6a05a
3
+ size 8120
vocab.json ADDED
The diff for this file is too large to render. See raw diff