MajorJalud commited on
Commit
53d4dfd
·
verified ·
1 Parent(s): 0511517

End of training

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,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: Gensyn/Qwen2.5-0.5B-Instruct
3
+ library_name: transformers
4
+ model_name: Qwen2.5-0.5B-Instruct-Gensyn-Swarm-reptilian_strong_gull
5
+ tags:
6
+ - generated_from_trainer
7
+ - rl-swarm
8
+ - grpo
9
+ - gensyn
10
+ - I am reptilian strong gull
11
+ - trl
12
+ licence: license
13
+ ---
14
+
15
+ # Model Card for Qwen2.5-0.5B-Instruct-Gensyn-Swarm-reptilian_strong_gull
16
+
17
+ This model is a fine-tuned version of [Gensyn/Qwen2.5-0.5B-Instruct](https://huggingface.co/Gensyn/Qwen2.5-0.5B-Instruct).
18
+ It has been trained using [TRL](https://github.com/huggingface/trl).
19
+
20
+ ## Quick start
21
+
22
+ ```python
23
+ from transformers import pipeline
24
+
25
+ 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?"
26
+ generator = pipeline("text-generation", model="MajorJalud/Qwen2.5-0.5B-Instruct-Gensyn-Swarm-reptilian_strong_gull", device="cuda")
27
+ output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
28
+ print(output["generated_text"])
29
+ ```
30
+
31
+ ## Training procedure
32
+
33
+
34
+
35
+
36
+ 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).
37
+
38
+ ### Framework versions
39
+
40
+ - TRL: 0.15.2
41
+ - Transformers: 4.51.0
42
+ - Pytorch: 2.5.1+cu121
43
+ - Datasets: 3.5.0
44
+ - Tokenizers: 0.21.1
45
+
46
+ ## Citations
47
+
48
+ Cite GRPO as:
49
+
50
+ ```bibtex
51
+ @article{zhihong2024deepseekmath,
52
+ title = {{DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models}},
53
+ 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},
54
+ year = 2024,
55
+ eprint = {arXiv:2402.03300},
56
+ }
57
+
58
+ ```
59
+
60
+ Cite TRL as:
61
+
62
+ ```bibtex
63
+ @misc{vonwerra2022trl,
64
+ title = {{TRL: Transformer Reinforcement Learning}},
65
+ 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},
66
+ year = 2020,
67
+ journal = {GitHub repository},
68
+ publisher = {GitHub},
69
+ howpublished = {\url{https://github.com/huggingface/trl}}
70
+ }
71
+ ```
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": 1.3341661542654037e-05,
4
+ "train_runtime": 1161.9841,
5
+ "train_samples": 177,
6
+ "train_samples_per_second": 0.551,
7
+ "train_steps_per_second": 0.034
8
+ }
config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Qwen2ForCausalLM"
4
+ ],
5
+ "attention_dropout": 0.0,
6
+ "bos_token_id": 151643,
7
+ "eos_token_id": 151645,
8
+ "hidden_act": "silu",
9
+ "hidden_size": 896,
10
+ "initializer_range": 0.02,
11
+ "intermediate_size": 4864,
12
+ "max_position_embeddings": 32768,
13
+ "max_window_layers": 21,
14
+ "model_type": "qwen2",
15
+ "num_attention_heads": 14,
16
+ "num_hidden_layers": 24,
17
+ "num_key_value_heads": 2,
18
+ "rms_norm_eps": 1e-06,
19
+ "rope_scaling": null,
20
+ "rope_theta": 1000000.0,
21
+ "sliding_window": 32768,
22
+ "tie_word_embeddings": true,
23
+ "torch_dtype": "float32",
24
+ "transformers_version": "4.51.0",
25
+ "use_cache": true,
26
+ "use_sliding_window": false,
27
+ "vocab_size": 151936
28
+ }
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.51.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:47258c29a19d8b27491a7f624ea1b94aaf92c48a79f23b2fd067d5cf60821acb
3
+ size 1976163472
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": 1.3341661542654037e-05,
4
+ "train_runtime": 1161.9841,
5
+ "train_samples": 177,
6
+ "train_samples_per_second": 0.551,
7
+ "train_steps_per_second": 0.034
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,423 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 1.768361581920904,
6
+ "eval_steps": 500,
7
+ "global_step": 40,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "completion_length": 395.1875,
14
+ "epoch": 0.0903954802259887,
15
+ "grad_norm": 12.909080505371094,
16
+ "kl": 0.0,
17
+ "learning_rate": 2.5e-07,
18
+ "loss": 0.0,
19
+ "reward": 0.741524099605158,
20
+ "reward_std": 0.8750434047542512,
21
+ "rewards/concensus_correctness_reward_func": 0.04931249842047691,
22
+ "rewards/consensus_reward_func": 0.0,
23
+ "rewards/cumulative_reward_2": 0.0,
24
+ "rewards/final_correctness_reward_func": 0.0,
25
+ "rewards/question_recreation_reward_func": 0.38252410243148915,
26
+ "rewards/soft_format_reward_func": 0.0,
27
+ "rewards/strict_format_reward_func": 0.0,
28
+ "rewards/xmlcount_reward_func": 0.30968749942258,
29
+ "step": 2
30
+ },
31
+ {
32
+ "completion_length": 368.4375,
33
+ "epoch": 0.1807909604519774,
34
+ "grad_norm": 98.61309814453125,
35
+ "kl": 0.0015454311651410535,
36
+ "learning_rate": 4.991461232516674e-07,
37
+ "loss": 0.0,
38
+ "reward": 0.7231733221560717,
39
+ "reward_std": 0.6990197440609336,
40
+ "rewards/concensus_correctness_reward_func": 0.06006250157952309,
41
+ "rewards/consensus_reward_func": 0.0625,
42
+ "rewards/cumulative_reward_2": 0.0,
43
+ "rewards/final_correctness_reward_func": 0.0625,
44
+ "rewards/question_recreation_reward_func": 0.349392062285915,
45
+ "rewards/soft_format_reward_func": 0.0,
46
+ "rewards/strict_format_reward_func": 0.0,
47
+ "rewards/xmlcount_reward_func": 0.18871875389595516,
48
+ "step": 4
49
+ },
50
+ {
51
+ "completion_length": 413.59375,
52
+ "epoch": 0.2711864406779661,
53
+ "grad_norm": 5.511989593505859,
54
+ "kl": 0.0014776097959838808,
55
+ "learning_rate": 4.923500664848326e-07,
56
+ "loss": 0.0,
57
+ "reward": 0.8283879230730236,
58
+ "reward_std": 0.9614059533923864,
59
+ "rewards/concensus_correctness_reward_func": 0.0,
60
+ "rewards/consensus_reward_func": 0.0,
61
+ "rewards/cumulative_reward_2": 0.0,
62
+ "rewards/final_correctness_reward_func": 0.1875,
63
+ "rewards/question_recreation_reward_func": 0.4520754173863679,
64
+ "rewards/soft_format_reward_func": 0.0,
65
+ "rewards/strict_format_reward_func": 0.0,
66
+ "rewards/xmlcount_reward_func": 0.18881250091362745,
67
+ "step": 6
68
+ },
69
+ {
70
+ "completion_length": 341.5625,
71
+ "epoch": 0.3615819209039548,
72
+ "grad_norm": 6.719244956970215,
73
+ "kl": 0.0043463728070491925,
74
+ "learning_rate": 4.789433316637643e-07,
75
+ "loss": 0.0,
76
+ "reward": 0.7259982999530621,
77
+ "reward_std": 0.848314385744743,
78
+ "rewards/concensus_correctness_reward_func": 0.0,
79
+ "rewards/consensus_reward_func": 0.0,
80
+ "rewards/cumulative_reward_2": 0.0,
81
+ "rewards/final_correctness_reward_func": 0.3125,
82
+ "rewards/question_recreation_reward_func": 0.2496545419562608,
83
+ "rewards/soft_format_reward_func": 0.0,
84
+ "rewards/strict_format_reward_func": 0.0,
85
+ "rewards/xmlcount_reward_func": 0.16384375654160976,
86
+ "step": 8
87
+ },
88
+ {
89
+ "completion_length": 382.28125,
90
+ "epoch": 0.4519774011299435,
91
+ "grad_norm": 5.959508895874023,
92
+ "kl": 0.0068417362053878605,
93
+ "learning_rate": 4.592916195656321e-07,
94
+ "loss": 0.0,
95
+ "reward": 0.5442365016788244,
96
+ "reward_std": 0.8550017900124658,
97
+ "rewards/concensus_correctness_reward_func": 0.0,
98
+ "rewards/consensus_reward_func": 0.0625,
99
+ "rewards/cumulative_reward_2": 0.0,
100
+ "rewards/final_correctness_reward_func": 0.1875,
101
+ "rewards/question_recreation_reward_func": 0.33914274349808693,
102
+ "rewards/soft_format_reward_func": 0.0,
103
+ "rewards/strict_format_reward_func": 0.0,
104
+ "rewards/xmlcount_reward_func": -0.04490623530000448,
105
+ "step": 10
106
+ },
107
+ {
108
+ "completion_length": 345.9375,
109
+ "epoch": 0.5423728813559322,
110
+ "grad_norm": 50.09251022338867,
111
+ "kl": 0.013233292467702995,
112
+ "learning_rate": 4.339309776682829e-07,
113
+ "loss": 0.0,
114
+ "reward": 1.0947998807241675,
115
+ "reward_std": 0.8173792412999319,
116
+ "rewards/concensus_correctness_reward_func": 0.05431250110268593,
117
+ "rewards/consensus_reward_func": 0.0,
118
+ "rewards/cumulative_reward_2": 0.0,
119
+ "rewards/final_correctness_reward_func": 0.0625,
120
+ "rewards/question_recreation_reward_func": 0.4228936360159423,
121
+ "rewards/soft_format_reward_func": 0.015625,
122
+ "rewards/strict_format_reward_func": 0.0,
123
+ "rewards/xmlcount_reward_func": 0.5394687503576279,
124
+ "step": 12
125
+ },
126
+ {
127
+ "completion_length": 299.5,
128
+ "epoch": 0.632768361581921,
129
+ "grad_norm": 7.578136444091797,
130
+ "kl": 0.008452887726889458,
131
+ "learning_rate": 4.0355317817241697e-07,
132
+ "loss": 0.0,
133
+ "reward": 0.8402107721194625,
134
+ "reward_std": 0.5287668243981898,
135
+ "rewards/concensus_correctness_reward_func": 0.0,
136
+ "rewards/consensus_reward_func": 0.0,
137
+ "rewards/cumulative_reward_2": 0.0,
138
+ "rewards/final_correctness_reward_func": 0.1875,
139
+ "rewards/question_recreation_reward_func": 0.4160232492722571,
140
+ "rewards/soft_format_reward_func": 0.0,
141
+ "rewards/strict_format_reward_func": 0.0,
142
+ "rewards/xmlcount_reward_func": 0.23668749257922173,
143
+ "step": 14
144
+ },
145
+ {
146
+ "completion_length": 336.3125,
147
+ "epoch": 0.7231638418079096,
148
+ "grad_norm": 11.147196769714355,
149
+ "kl": 0.005027780563978013,
150
+ "learning_rate": 3.689868482592684e-07,
151
+ "loss": 0.0,
152
+ "reward": 0.645062399096787,
153
+ "reward_std": 0.7169937930302694,
154
+ "rewards/concensus_correctness_reward_func": 0.0,
155
+ "rewards/consensus_reward_func": 0.0,
156
+ "rewards/cumulative_reward_2": 0.0,
157
+ "rewards/final_correctness_reward_func": 0.125,
158
+ "rewards/question_recreation_reward_func": 0.40240614488720894,
159
+ "rewards/soft_format_reward_func": 0.015625,
160
+ "rewards/strict_format_reward_func": 0.0,
161
+ "rewards/xmlcount_reward_func": 0.10203125467523932,
162
+ "step": 16
163
+ },
164
+ {
165
+ "completion_length": 392.03125,
166
+ "epoch": 0.8135593220338984,
167
+ "grad_norm": 5.5867919921875,
168
+ "kl": 0.012430467017111368,
169
+ "learning_rate": 3.3117486730117087e-07,
170
+ "loss": 0.0,
171
+ "reward": 0.8209520971868187,
172
+ "reward_std": 0.6172742367780302,
173
+ "rewards/concensus_correctness_reward_func": 0.0,
174
+ "rewards/consensus_reward_func": 0.0,
175
+ "rewards/cumulative_reward_2": 0.0,
176
+ "rewards/final_correctness_reward_func": 0.125,
177
+ "rewards/question_recreation_reward_func": 0.35198333975858986,
178
+ "rewards/soft_format_reward_func": 0.0,
179
+ "rewards/strict_format_reward_func": 0.0,
180
+ "rewards/xmlcount_reward_func": 0.34396874718368053,
181
+ "step": 18
182
+ },
183
+ {
184
+ "completion_length": 405.40625,
185
+ "epoch": 0.903954802259887,
186
+ "grad_norm": 10.691946029663086,
187
+ "kl": 0.023764009936712682,
188
+ "learning_rate": 2.911486475701835e-07,
189
+ "loss": 0.0,
190
+ "reward": 0.9620864443713799,
191
+ "reward_std": 0.9047976815054426,
192
+ "rewards/concensus_correctness_reward_func": 0.06006250157952309,
193
+ "rewards/consensus_reward_func": 0.125,
194
+ "rewards/cumulative_reward_2": 0.0,
195
+ "rewards/final_correctness_reward_func": 0.0625,
196
+ "rewards/question_recreation_reward_func": 0.3515239374828525,
197
+ "rewards/soft_format_reward_func": 0.0,
198
+ "rewards/strict_format_reward_func": 0.0,
199
+ "rewards/xmlcount_reward_func": 0.3629999961704016,
200
+ "step": 20
201
+ },
202
+ {
203
+ "completion_length": 355.09375,
204
+ "epoch": 0.9943502824858758,
205
+ "grad_norm": 9.022045135498047,
206
+ "kl": 0.011749600758776069,
207
+ "learning_rate": 2.5e-07,
208
+ "loss": 0.0,
209
+ "reward": 0.8011306787375361,
210
+ "reward_std": 0.8571250168606639,
211
+ "rewards/concensus_correctness_reward_func": 0.08168750256299973,
212
+ "rewards/consensus_reward_func": 0.0625,
213
+ "rewards/cumulative_reward_2": 0.0,
214
+ "rewards/final_correctness_reward_func": 0.125,
215
+ "rewards/question_recreation_reward_func": 0.2845681729959324,
216
+ "rewards/soft_format_reward_func": 0.0,
217
+ "rewards/strict_format_reward_func": 0.0,
218
+ "rewards/xmlcount_reward_func": 0.2473749965429306,
219
+ "step": 22
220
+ },
221
+ {
222
+ "completion_length": 425.3333333333333,
223
+ "epoch": 1.0451977401129944,
224
+ "grad_norm": 6.792358875274658,
225
+ "kl": 0.023303805540005367,
226
+ "learning_rate": 2.0885135242981647e-07,
227
+ "loss": 0.0,
228
+ "reward": 1.2106047636932797,
229
+ "reward_std": 0.9797517756621043,
230
+ "rewards/concensus_correctness_reward_func": 0.252000007364485,
231
+ "rewards/consensus_reward_func": 0.0,
232
+ "rewards/cumulative_reward_2": 0.0,
233
+ "rewards/final_correctness_reward_func": 0.2222222222222222,
234
+ "rewards/question_recreation_reward_func": 0.35054915419055355,
235
+ "rewards/soft_format_reward_func": 0.0,
236
+ "rewards/strict_format_reward_func": 0.0,
237
+ "rewards/xmlcount_reward_func": 0.3858333399726285,
238
+ "step": 24
239
+ },
240
+ {
241
+ "completion_length": 413.03125,
242
+ "epoch": 1.1355932203389831,
243
+ "grad_norm": 5.693543434143066,
244
+ "kl": 0.014714884586283006,
245
+ "learning_rate": 1.6882513269882913e-07,
246
+ "loss": 0.0,
247
+ "reward": 0.6772605418227613,
248
+ "reward_std": 1.0779747616034001,
249
+ "rewards/concensus_correctness_reward_func": 0.12224999815225601,
250
+ "rewards/consensus_reward_func": 0.0,
251
+ "rewards/cumulative_reward_2": 0.0,
252
+ "rewards/final_correctness_reward_func": 0.0625,
253
+ "rewards/question_recreation_reward_func": 0.30310428922530264,
254
+ "rewards/soft_format_reward_func": 0.0,
255
+ "rewards/strict_format_reward_func": 0.0,
256
+ "rewards/xmlcount_reward_func": 0.1894062329083681,
257
+ "step": 26
258
+ },
259
+ {
260
+ "completion_length": 363.65625,
261
+ "epoch": 1.2259887005649717,
262
+ "grad_norm": 6.607933044433594,
263
+ "kl": 0.017230025347089395,
264
+ "learning_rate": 1.310131517407316e-07,
265
+ "loss": 0.0,
266
+ "reward": 0.9144510291516781,
267
+ "reward_std": 1.2254647206282243,
268
+ "rewards/concensus_correctness_reward_func": 0.0,
269
+ "rewards/consensus_reward_func": 0.0,
270
+ "rewards/cumulative_reward_2": 0.0,
271
+ "rewards/final_correctness_reward_func": 0.1875,
272
+ "rewards/question_recreation_reward_func": 0.4910760330967605,
273
+ "rewards/soft_format_reward_func": 0.0,
274
+ "rewards/strict_format_reward_func": 0.015625,
275
+ "rewards/xmlcount_reward_func": 0.22024998906999826,
276
+ "step": 28
277
+ },
278
+ {
279
+ "completion_length": 383.0625,
280
+ "epoch": 1.3163841807909604,
281
+ "grad_norm": 36.09029769897461,
282
+ "kl": 0.024213542863435578,
283
+ "learning_rate": 9.644682182758304e-08,
284
+ "loss": 0.0,
285
+ "reward": 1.0125777404755354,
286
+ "reward_std": 1.0347315426915884,
287
+ "rewards/concensus_correctness_reward_func": 0.08168750256299973,
288
+ "rewards/consensus_reward_func": 0.125,
289
+ "rewards/cumulative_reward_2": 0.0,
290
+ "rewards/final_correctness_reward_func": 0.0,
291
+ "rewards/question_recreation_reward_func": 0.3353589882608503,
292
+ "rewards/soft_format_reward_func": 0.0,
293
+ "rewards/strict_format_reward_func": 0.015625,
294
+ "rewards/xmlcount_reward_func": 0.45490624010562897,
295
+ "step": 30
296
+ },
297
+ {
298
+ "completion_length": 393.1875,
299
+ "epoch": 1.4067796610169492,
300
+ "grad_norm": 6.0061211585998535,
301
+ "kl": 0.011017081997124478,
302
+ "learning_rate": 6.60690223317171e-08,
303
+ "loss": 0.0,
304
+ "reward": 0.7806991545949131,
305
+ "reward_std": 0.603456055308925,
306
+ "rewards/concensus_correctness_reward_func": 0.0,
307
+ "rewards/consensus_reward_func": 0.0,
308
+ "rewards/cumulative_reward_2": 0.0,
309
+ "rewards/final_correctness_reward_func": 0.125,
310
+ "rewards/question_recreation_reward_func": 0.3696991458127741,
311
+ "rewards/soft_format_reward_func": 0.0,
312
+ "rewards/strict_format_reward_func": 0.0,
313
+ "rewards/xmlcount_reward_func": 0.2859999978682026,
314
+ "step": 32
315
+ },
316
+ {
317
+ "completion_length": 363.125,
318
+ "epoch": 1.497175141242938,
319
+ "grad_norm": 7.000294208526611,
320
+ "kl": 0.028806680522393435,
321
+ "learning_rate": 4.0708380434367864e-08,
322
+ "loss": 0.0,
323
+ "reward": 0.6306989183649421,
324
+ "reward_std": 0.756230047903955,
325
+ "rewards/concensus_correctness_reward_func": 0.0,
326
+ "rewards/consensus_reward_func": 0.0,
327
+ "rewards/cumulative_reward_2": 0.0,
328
+ "rewards/final_correctness_reward_func": 0.0,
329
+ "rewards/question_recreation_reward_func": 0.3588239252567291,
330
+ "rewards/soft_format_reward_func": 0.015625,
331
+ "rewards/strict_format_reward_func": 0.015625,
332
+ "rewards/xmlcount_reward_func": 0.24062499590218067,
333
+ "step": 34
334
+ },
335
+ {
336
+ "completion_length": 362.4375,
337
+ "epoch": 1.5875706214689265,
338
+ "grad_norm": 5.333078861236572,
339
+ "kl": 0.01488372879975941,
340
+ "learning_rate": 2.1056668336235623e-08,
341
+ "loss": 0.0,
342
+ "reward": 1.0692353853955865,
343
+ "reward_std": 0.9510939496103674,
344
+ "rewards/concensus_correctness_reward_func": 0.0,
345
+ "rewards/consensus_reward_func": 0.0,
346
+ "rewards/cumulative_reward_2": 0.0,
347
+ "rewards/final_correctness_reward_func": 0.1875,
348
+ "rewards/question_recreation_reward_func": 0.437985401134938,
349
+ "rewards/soft_format_reward_func": 0.015625,
350
+ "rewards/strict_format_reward_func": 0.0,
351
+ "rewards/xmlcount_reward_func": 0.42812499590218067,
352
+ "step": 36
353
+ },
354
+ {
355
+ "completion_length": 349.09375,
356
+ "epoch": 1.6779661016949152,
357
+ "grad_norm": 7.353602409362793,
358
+ "kl": 0.031051357771502808,
359
+ "learning_rate": 7.649933515167406e-09,
360
+ "loss": 0.0,
361
+ "reward": 0.9717537448741496,
362
+ "reward_std": 1.3127705492661335,
363
+ "rewards/concensus_correctness_reward_func": 0.08875000104308128,
364
+ "rewards/consensus_reward_func": 0.0625,
365
+ "rewards/cumulative_reward_2": 0.0,
366
+ "rewards/final_correctness_reward_func": 0.125,
367
+ "rewards/question_recreation_reward_func": 0.40912871854379773,
368
+ "rewards/soft_format_reward_func": 0.0,
369
+ "rewards/strict_format_reward_func": 0.015625,
370
+ "rewards/xmlcount_reward_func": 0.27074999641627073,
371
+ "step": 38
372
+ },
373
+ {
374
+ "completion_length": 367.3125,
375
+ "epoch": 1.768361581920904,
376
+ "grad_norm": 6.507040977478027,
377
+ "kl": 0.02251754200551659,
378
+ "learning_rate": 8.538767483325383e-10,
379
+ "loss": 0.0,
380
+ "reward": 0.918883009813726,
381
+ "reward_std": 0.6078527495847084,
382
+ "rewards/concensus_correctness_reward_func": 0.0,
383
+ "rewards/consensus_reward_func": 0.0625,
384
+ "rewards/cumulative_reward_2": 0.0,
385
+ "rewards/final_correctness_reward_func": 0.0,
386
+ "rewards/question_recreation_reward_func": 0.33338301815092564,
387
+ "rewards/soft_format_reward_func": 0.0,
388
+ "rewards/strict_format_reward_func": 0.015625,
389
+ "rewards/xmlcount_reward_func": 0.5073749935254455,
390
+ "step": 40
391
+ },
392
+ {
393
+ "epoch": 1.768361581920904,
394
+ "step": 40,
395
+ "total_flos": 0.0,
396
+ "train_loss": 1.3341661542654037e-05,
397
+ "train_runtime": 1161.9841,
398
+ "train_samples_per_second": 0.551,
399
+ "train_steps_per_second": 0.034
400
+ }
401
+ ],
402
+ "logging_steps": 2,
403
+ "max_steps": 40,
404
+ "num_input_tokens_seen": 0,
405
+ "num_train_epochs": 2,
406
+ "save_steps": 25,
407
+ "stateful_callbacks": {
408
+ "TrainerControl": {
409
+ "args": {
410
+ "should_epoch_stop": false,
411
+ "should_evaluate": false,
412
+ "should_log": false,
413
+ "should_save": true,
414
+ "should_training_stop": true
415
+ },
416
+ "attributes": {}
417
+ }
418
+ },
419
+ "total_flos": 0.0,
420
+ "train_batch_size": 2,
421
+ "trial_name": null,
422
+ "trial_params": null
423
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7557ab5508c275e373c89cfd74d9aa7b697afc16215e520afd9296af7a39473b
3
+ size 5944
vocab.json ADDED
The diff for this file is too large to render. See raw diff