AdAstraAbyssoque commited on
Commit
9d4bd25
·
verified ·
1 Parent(s): 063eefa

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: Qwen2.5-1.5B-Open-R1-GRPO
4
+ tags:
5
+ - generated_from_trainer
6
+ - trl
7
+ - grpo
8
+ licence: license
9
+ ---
10
+
11
+ # Model Card for Qwen2.5-1.5B-Open-R1-GRPO
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="AdAstraAbyssoque/Qwen2.5-1.5B-Open-R1-GRPO", 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/bowen_liu-hkust/huggingface/runs/l6h2xw0a)
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.3.2
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
+ ```
added_tokens.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "</tool_call>": 151658,
3
+ "<tool_call>": 151657,
4
+ "<|box_end|>": 151649,
5
+ "<|box_start|>": 151648,
6
+ "<|endoftext|>": 151643,
7
+ "<|file_sep|>": 151664,
8
+ "<|fim_middle|>": 151660,
9
+ "<|fim_pad|>": 151662,
10
+ "<|fim_prefix|>": 151659,
11
+ "<|fim_suffix|>": 151661,
12
+ "<|im_end|>": 151645,
13
+ "<|im_start|>": 151644,
14
+ "<|image_pad|>": 151655,
15
+ "<|object_ref_end|>": 151647,
16
+ "<|object_ref_start|>": 151646,
17
+ "<|quad_end|>": 151651,
18
+ "<|quad_start|>": 151650,
19
+ "<|repo_name|>": 151663,
20
+ "<|video_pad|>": 151656,
21
+ "<|vision_end|>": 151653,
22
+ "<|vision_pad|>": 151654,
23
+ "<|vision_start|>": 151652
24
+ }
all_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "total_flos": 0.0,
3
+ "train_loss": 0.0007773728164679863,
4
+ "train_runtime": 208.1409,
5
+ "train_samples": 500,
6
+ "train_samples_per_second": 2.402,
7
+ "train_steps_per_second": 0.086
8
+ }
config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/hpc2hdd/home/jerryjiawenl/bowen/models/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": 32768,
23
+ "tie_word_embeddings": true,
24
+ "torch_dtype": "bfloat16",
25
+ "transformers_version": "4.49.0",
26
+ "use_cache": false,
27
+ "use_sliding_window": false,
28
+ "vocab_size": 151936
29
+ }
generation_config.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 151643,
3
+ "do_sample": true,
4
+ "eos_token_id": [
5
+ 151645,
6
+ 151643
7
+ ],
8
+ "pad_token_id": 151643,
9
+ "repetition_penalty": 1.1,
10
+ "temperature": 0.7,
11
+ "top_k": 20,
12
+ "top_p": 0.8,
13
+ "transformers_version": "4.49.0"
14
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:628058b2b0995b86520a5bad7df85d4294fffbfbd8ce417fd135c3db826532f4
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
+ "chat_template": "{%- if tools %}\n {{- '<|im_start|>system\\n' }}\n {%- if messages[0]['role'] == 'system' %}\n {{- messages[0]['content'] }}\n {%- else %}\n {{- 'You are Qwen, created by Alibaba Cloud. You are a helpful assistant.' }}\n {%- endif %}\n {{- \"\\n\\n# Tools\\n\\nYou may call one or more functions to assist with the user query.\\n\\nYou are provided with function signatures within <tools></tools> XML tags:\\n<tools>\" }}\n {%- for tool in tools %}\n {{- \"\\n\" }}\n {{- tool | tojson }}\n {%- endfor %}\n {{- \"\\n</tools>\\n\\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\\n<tool_call>\\n{\\\"name\\\": <function-name>, \\\"arguments\\\": <args-json-object>}\\n</tool_call><|im_end|>\\n\" }}\n{%- else %}\n {%- if messages[0]['role'] == 'system' %}\n {{- '<|im_start|>system\\n' + messages[0]['content'] + '<|im_end|>\\n' }}\n {%- else %}\n {{- '<|im_start|>system\\nYou are Qwen, created by Alibaba Cloud. You are a helpful assistant.<|im_end|>\\n' }}\n {%- endif %}\n{%- endif %}\n{%- for message in messages %}\n {%- if (message.role == \"user\") or (message.role == \"system\" and not loop.first) or (message.role == \"assistant\" and not message.tool_calls) %}\n {{- '<|im_start|>' + message.role + '\\n' + message.content + '<|im_end|>' + '\\n' }}\n {%- elif message.role == \"assistant\" %}\n {{- '<|im_start|>' + message.role }}\n {%- if message.content %}\n {{- '\\n' + message.content }}\n {%- endif %}\n {%- for tool_call in message.tool_calls %}\n {%- if tool_call.function is defined %}\n {%- set tool_call = tool_call.function %}\n {%- endif %}\n {{- '\\n<tool_call>\\n{\"name\": \"' }}\n {{- tool_call.name }}\n {{- '\", \"arguments\": ' }}\n {{- tool_call.arguments | tojson }}\n {{- '}\\n</tool_call>' }}\n {%- endfor %}\n {{- '<|im_end|>\\n' }}\n {%- elif message.role == \"tool\" %}\n {%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != \"tool\") %}\n {{- '<|im_start|>user' }}\n {%- endif %}\n {{- '\\n<tool_response>\\n' }}\n {{- message.content }}\n {{- '\\n</tool_response>' }}\n {%- if loop.last or (messages[loop.index0 + 1].role != \"tool\") %}\n {{- '<|im_end|>\\n' }}\n {%- endif %}\n {%- endif %}\n{%- endfor %}\n{%- if add_generation_prompt %}\n {{- '<|im_start|>assistant\\n' }}\n{%- endif %}\n",
199
+ "clean_up_tokenization_spaces": false,
200
+ "eos_token": "<|im_end|>",
201
+ "errors": "replace",
202
+ "extra_special_tokens": {},
203
+ "model_max_length": 131072,
204
+ "pad_token": "<|endoftext|>",
205
+ "split_special_tokens": false,
206
+ "tokenizer_class": "Qwen2Tokenizer",
207
+ "unk_token": null
208
+ }
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "total_flos": 0.0,
3
+ "train_loss": 0.0007773728164679863,
4
+ "train_runtime": 208.1409,
5
+ "train_samples": 500,
6
+ "train_samples_per_second": 2.402,
7
+ "train_steps_per_second": 0.086
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,277 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0.9444444444444444,
5
+ "eval_steps": 500,
6
+ "global_step": 17,
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": 396.88172149658203,
14
+ "epoch": 0.06896551724137931,
15
+ "grad_norm": 0.3486388921737671,
16
+ "kl": 0.0,
17
+ "learning_rate": 1e-05,
18
+ "loss": -0.0087,
19
+ "reward": 0.337053582072258,
20
+ "reward_std": 0.7216125279664993,
21
+ "rewards/<lambda>": 0.3169643059372902,
22
+ "rewards/format_reward": 0.020089286845177412,
23
+ "step": 1
24
+ },
25
+ {
26
+ "clip_ratio": 0.0,
27
+ "completion_length": 402.25001525878906,
28
+ "epoch": 0.13793103448275862,
29
+ "grad_norm": 0.31598225235939026,
30
+ "kl": 0.0,
31
+ "learning_rate": 2e-05,
32
+ "loss": -0.0083,
33
+ "reward": 0.3638393059372902,
34
+ "reward_std": 0.7311068773269653,
35
+ "rewards/<lambda>": 0.3526785895228386,
36
+ "rewards/format_reward": 0.011160714784637094,
37
+ "step": 2
38
+ },
39
+ {
40
+ "clip_ratio": 0.0,
41
+ "completion_length": 401.2143020629883,
42
+ "epoch": 0.20689655172413793,
43
+ "grad_norm": 0.3833157420158386,
44
+ "kl": 0.008453369140625,
45
+ "learning_rate": 1.9659258262890683e-05,
46
+ "loss": 0.0091,
47
+ "reward": 0.3660714477300644,
48
+ "reward_std": 0.700179249048233,
49
+ "rewards/<lambda>": 0.3392857238650322,
50
+ "rewards/format_reward": 0.026785716181620955,
51
+ "step": 3
52
+ },
53
+ {
54
+ "clip_ratio": 0.0,
55
+ "completion_length": 300.3839416503906,
56
+ "epoch": 0.27586206896551724,
57
+ "grad_norm": 131.17250061035156,
58
+ "kl": 1.0369873046875,
59
+ "learning_rate": 1.866025403784439e-05,
60
+ "loss": 0.0823,
61
+ "reward": 0.486607164144516,
62
+ "reward_std": 0.8625286668539047,
63
+ "rewards/<lambda>": 0.4508928880095482,
64
+ "rewards/format_reward": 0.035714288242161274,
65
+ "step": 4
66
+ },
67
+ {
68
+ "clip_ratio": 0.0,
69
+ "completion_length": 373.6428680419922,
70
+ "epoch": 0.3448275862068966,
71
+ "grad_norm": 3.0509426593780518,
72
+ "kl": 0.2314453125,
73
+ "learning_rate": 1.7071067811865477e-05,
74
+ "loss": -0.0147,
75
+ "reward": 0.6294643133878708,
76
+ "reward_std": 0.9069008827209473,
77
+ "rewards/<lambda>": 0.5178571566939354,
78
+ "rewards/format_reward": 0.11160714738070965,
79
+ "step": 5
80
+ },
81
+ {
82
+ "clip_ratio": 0.0,
83
+ "completion_length": 426.9553756713867,
84
+ "epoch": 0.41379310344827586,
85
+ "grad_norm": 4.6992268562316895,
86
+ "kl": 0.201904296875,
87
+ "learning_rate": 1.5000000000000002e-05,
88
+ "loss": 0.0026,
89
+ "reward": 0.558035746216774,
90
+ "reward_std": 0.906622901558876,
91
+ "rewards/<lambda>": 0.5178571566939354,
92
+ "rewards/format_reward": 0.0401785746216774,
93
+ "step": 6
94
+ },
95
+ {
96
+ "clip_ratio": 0.0,
97
+ "completion_length": 455.0915298461914,
98
+ "epoch": 0.4827586206896552,
99
+ "grad_norm": 0.3951745331287384,
100
+ "kl": 0.177734375,
101
+ "learning_rate": 1.2588190451025209e-05,
102
+ "loss": 0.001,
103
+ "reward": 0.4508928805589676,
104
+ "reward_std": 0.8413252383470535,
105
+ "rewards/<lambda>": 0.4508928805589676,
106
+ "rewards/format_reward": 0.0,
107
+ "step": 7
108
+ },
109
+ {
110
+ "clip_ratio": 0.0,
111
+ "completion_length": 450.3794860839844,
112
+ "epoch": 0.5517241379310345,
113
+ "grad_norm": 0.369406521320343,
114
+ "kl": 0.164306640625,
115
+ "learning_rate": 1e-05,
116
+ "loss": 0.0424,
117
+ "reward": 0.500000037252903,
118
+ "reward_std": 0.8601988106966019,
119
+ "rewards/<lambda>": 0.500000037252903,
120
+ "rewards/format_reward": 0.0,
121
+ "step": 8
122
+ },
123
+ {
124
+ "clip_ratio": 0.0,
125
+ "completion_length": 423.6205596923828,
126
+ "epoch": 0.6206896551724138,
127
+ "grad_norm": 0.39313390851020813,
128
+ "kl": 0.155029296875,
129
+ "learning_rate": 7.411809548974792e-06,
130
+ "loss": -0.0279,
131
+ "reward": 0.5223214626312256,
132
+ "reward_std": 0.8841909915208817,
133
+ "rewards/<lambda>": 0.5223214626312256,
134
+ "rewards/format_reward": 0.0,
135
+ "step": 9
136
+ },
137
+ {
138
+ "clip_ratio": 0.0,
139
+ "completion_length": 438.4888610839844,
140
+ "epoch": 0.6896551724137931,
141
+ "grad_norm": 0.3800601661205292,
142
+ "kl": 0.149169921875,
143
+ "learning_rate": 5.000000000000003e-06,
144
+ "loss": -0.0136,
145
+ "reward": 0.549107164144516,
146
+ "reward_std": 0.8823030292987823,
147
+ "rewards/<lambda>": 0.549107164144516,
148
+ "rewards/format_reward": 0.0,
149
+ "step": 10
150
+ },
151
+ {
152
+ "clip_ratio": 0.0,
153
+ "completion_length": 398.26341247558594,
154
+ "epoch": 0.7586206896551724,
155
+ "grad_norm": 0.3832401931285858,
156
+ "kl": 0.141845703125,
157
+ "learning_rate": 2.9289321881345257e-06,
158
+ "loss": -0.0314,
159
+ "reward": 0.5089286118745804,
160
+ "reward_std": 0.8833121657371521,
161
+ "rewards/<lambda>": 0.5089286118745804,
162
+ "rewards/format_reward": 0.0,
163
+ "step": 11
164
+ },
165
+ {
166
+ "clip_ratio": 0.0,
167
+ "completion_length": 424.11832427978516,
168
+ "epoch": 0.8275862068965517,
169
+ "grad_norm": 0.3395453095436096,
170
+ "kl": 0.134521484375,
171
+ "learning_rate": 1.339745962155613e-06,
172
+ "loss": -0.0237,
173
+ "reward": 0.5758928954601288,
174
+ "reward_std": 0.9218239635229111,
175
+ "rewards/<lambda>": 0.5758928954601288,
176
+ "rewards/format_reward": 0.0,
177
+ "step": 12
178
+ },
179
+ {
180
+ "clip_ratio": 0.0,
181
+ "completion_length": 397.5379638671875,
182
+ "epoch": 0.896551724137931,
183
+ "grad_norm": 0.3803483247756958,
184
+ "kl": 0.1341552734375,
185
+ "learning_rate": 3.4074173710931804e-07,
186
+ "loss": -0.0323,
187
+ "reward": 0.5625000149011612,
188
+ "reward_std": 0.9007573574781418,
189
+ "rewards/<lambda>": 0.5625000149011612,
190
+ "rewards/format_reward": 0.0,
191
+ "step": 13
192
+ },
193
+ {
194
+ "clip_ratio": 0.0,
195
+ "completion_length": 413.578125,
196
+ "epoch": 0.9655172413793104,
197
+ "grad_norm": 0.33767423033714294,
198
+ "kl": 0.13232421875,
199
+ "learning_rate": 0.0,
200
+ "loss": -0.0033,
201
+ "reward": 0.5558035969734192,
202
+ "reward_std": 0.8983689099550247,
203
+ "rewards/<lambda>": 0.5535714477300644,
204
+ "rewards/format_reward": 0.0022321429569274187,
205
+ "step": 14
206
+ },
207
+ {
208
+ "clip_ratio": 0.0,
209
+ "completion_length": 405.5379638671875,
210
+ "epoch": 0.8333333333333334,
211
+ "grad_norm": 0.12590771913528442,
212
+ "kl": 0.12841796875,
213
+ "learning_rate": 1.6853038769745466e-06,
214
+ "loss": 0.0044,
215
+ "reward": 0.0,
216
+ "reward_std": 0.0,
217
+ "rewards/graph_reward": 0.0,
218
+ "step": 15
219
+ },
220
+ {
221
+ "clip_ratio": 0.0,
222
+ "completion_length": 417.88394927978516,
223
+ "epoch": 0.8888888888888888,
224
+ "grad_norm": 0.0930359959602356,
225
+ "kl": 0.12646484375,
226
+ "learning_rate": 7.612046748871327e-07,
227
+ "loss": 0.0045,
228
+ "reward": 0.0,
229
+ "reward_std": 0.0,
230
+ "rewards/graph_reward": 0.0,
231
+ "step": 16
232
+ },
233
+ {
234
+ "clip_ratio": 0.0,
235
+ "completion_length": 407.75894927978516,
236
+ "epoch": 0.9444444444444444,
237
+ "grad_norm": 0.10877575725317001,
238
+ "kl": 0.1221923828125,
239
+ "learning_rate": 1.921471959676957e-07,
240
+ "loss": 0.0043,
241
+ "reward": 0.0,
242
+ "reward_std": 0.0,
243
+ "rewards/graph_reward": 0.0,
244
+ "step": 17
245
+ },
246
+ {
247
+ "epoch": 0.9444444444444444,
248
+ "step": 17,
249
+ "total_flos": 0.0,
250
+ "train_loss": 0.0007773728164679863,
251
+ "train_runtime": 208.1409,
252
+ "train_samples_per_second": 2.402,
253
+ "train_steps_per_second": 0.086
254
+ }
255
+ ],
256
+ "logging_steps": 1,
257
+ "max_steps": 18,
258
+ "num_input_tokens_seen": 0,
259
+ "num_train_epochs": 1,
260
+ "save_steps": 500,
261
+ "stateful_callbacks": {
262
+ "TrainerControl": {
263
+ "args": {
264
+ "should_epoch_stop": false,
265
+ "should_evaluate": false,
266
+ "should_log": false,
267
+ "should_save": true,
268
+ "should_training_stop": false
269
+ },
270
+ "attributes": {}
271
+ }
272
+ },
273
+ "total_flos": 0.0,
274
+ "train_batch_size": 16,
275
+ "trial_name": null,
276
+ "trial_params": null
277
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b9aa2a3738a7da83f0c23eb100d99f8dae0b8bf02fbf8496e484cba1dbe6bcbd
3
+ size 7992
vocab.json ADDED
The diff for this file is too large to render. See raw diff