KMasaki commited on
Commit
0ee0237
·
verified ·
1 Parent(s): ee7892a

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,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: Qwen/Qwen2.5-1.5B-Instruct
3
+ library_name: transformers
4
+ model_name: Qwen2.5-1.5B-Open-R1-Distill
5
+ tags:
6
+ - generated_from_trainer
7
+ - trl
8
+ - sft
9
+ licence: license
10
+ ---
11
+
12
+ # Model Card for Qwen2.5-1.5B-Open-R1-Distill
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="KMasaki/Qwen2.5-1.5B-Open-R1-Distill", 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/kawamuramasaki/open-r1/runs/gd8q6gsy)
31
+
32
+
33
+ This model was trained with SFT.
34
+
35
+ ### Framework versions
36
+
37
+ - TRL: 0.16.0.dev0
38
+ - Transformers: 4.49.0.dev0
39
+ - Pytorch: 2.5.1
40
+ - Datasets: 3.3.0
41
+ - Tokenizers: 0.21.0
42
+
43
+ ## Citations
44
+
45
+
46
+
47
+ Cite TRL as:
48
+
49
+ ```bibtex
50
+ @misc{vonwerra2022trl,
51
+ title = {{TRL: Transformer Reinforcement Learning}},
52
+ 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},
53
+ year = 2020,
54
+ journal = {GitHub repository},
55
+ publisher = {GitHub},
56
+ howpublished = {\url{https://github.com/huggingface/trl}}
57
+ }
58
+ ```
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": 76774385909760.0,
3
+ "train_loss": 0.7816469167035835,
4
+ "train_runtime": 1423.7517,
5
+ "train_samples": 16610,
6
+ "train_samples_per_second": 15.187,
7
+ "train_steps_per_second": 0.237
8
+ }
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": 32768,
23
+ "tie_word_embeddings": true,
24
+ "torch_dtype": "bfloat16",
25
+ "transformers_version": "4.49.0.dev0",
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.dev0"
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:f73bb8b5ba4eb26fbbc9ed82622e3a60b419b1a95d8c2e6a8f62a09e08f6a706
3
+ size 3087467144
special_tokens_map.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "<|im_end|>"
25
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9c5ae00e602b8860cbd784ba82a8aa14e8feecec692e7076590d014d7b7fdafa
3
+ size 11421896
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": "<|im_end|>",
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": 76774385909760.0,
3
+ "train_loss": 0.7816469167035835,
4
+ "train_runtime": 1423.7517,
5
+ "train_samples": 16610,
6
+ "train_samples_per_second": 15.187,
7
+ "train_steps_per_second": 0.237
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,606 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0.9974102848686645,
5
+ "eval_steps": 100,
6
+ "global_step": 337,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.014798372179060304,
13
+ "grad_norm": 2.5306930186826753,
14
+ "learning_rate": 2.9411764705882355e-06,
15
+ "loss": 1.0934,
16
+ "mean_token_accuracy": 0.7109322207107002,
17
+ "step": 5
18
+ },
19
+ {
20
+ "epoch": 0.029596744358120607,
21
+ "grad_norm": 1.424866180903984,
22
+ "learning_rate": 5.882352941176471e-06,
23
+ "loss": 1.0769,
24
+ "mean_token_accuracy": 0.7137517687949484,
25
+ "step": 10
26
+ },
27
+ {
28
+ "epoch": 0.04439511653718091,
29
+ "grad_norm": 1.2478783156769773,
30
+ "learning_rate": 8.823529411764707e-06,
31
+ "loss": 0.9837,
32
+ "mean_token_accuracy": 0.729848266965647,
33
+ "step": 15
34
+ },
35
+ {
36
+ "epoch": 0.059193488716241215,
37
+ "grad_norm": 0.8826111856086888,
38
+ "learning_rate": 1.1764705882352942e-05,
39
+ "loss": 0.959,
40
+ "mean_token_accuracy": 0.7301244143895347,
41
+ "step": 20
42
+ },
43
+ {
44
+ "epoch": 0.07399186089530152,
45
+ "grad_norm": 0.7993494942599797,
46
+ "learning_rate": 1.4705882352941179e-05,
47
+ "loss": 0.8946,
48
+ "mean_token_accuracy": 0.7440491925839592,
49
+ "step": 25
50
+ },
51
+ {
52
+ "epoch": 0.08879023307436182,
53
+ "grad_norm": 0.721065476095799,
54
+ "learning_rate": 1.7647058823529414e-05,
55
+ "loss": 0.8869,
56
+ "mean_token_accuracy": 0.7441089304674472,
57
+ "step": 30
58
+ },
59
+ {
60
+ "epoch": 0.10358860525342212,
61
+ "grad_norm": 0.6204667399419895,
62
+ "learning_rate": 1.9999462497359468e-05,
63
+ "loss": 0.846,
64
+ "mean_token_accuracy": 0.7537384849780143,
65
+ "step": 35
66
+ },
67
+ {
68
+ "epoch": 0.11838697743248243,
69
+ "grad_norm": 0.6052034221434552,
70
+ "learning_rate": 1.9980655971335944e-05,
71
+ "loss": 0.8244,
72
+ "mean_token_accuracy": 0.758586463622919,
73
+ "step": 40
74
+ },
75
+ {
76
+ "epoch": 0.13318534961154274,
77
+ "grad_norm": 0.5309283723367797,
78
+ "learning_rate": 1.993503206718859e-05,
79
+ "loss": 0.8234,
80
+ "mean_token_accuracy": 0.7581668826046202,
81
+ "step": 45
82
+ },
83
+ {
84
+ "epoch": 0.14798372179060304,
85
+ "grad_norm": 0.5894152921837318,
86
+ "learning_rate": 1.986271337340182e-05,
87
+ "loss": 0.8062,
88
+ "mean_token_accuracy": 0.7622244554453599,
89
+ "step": 50
90
+ },
91
+ {
92
+ "epoch": 0.16278209396966334,
93
+ "grad_norm": 0.5353168662445701,
94
+ "learning_rate": 1.976389420563607e-05,
95
+ "loss": 0.8147,
96
+ "mean_token_accuracy": 0.759568330707116,
97
+ "step": 55
98
+ },
99
+ {
100
+ "epoch": 0.17758046614872364,
101
+ "grad_norm": 0.528729950753381,
102
+ "learning_rate": 1.9638840084614182e-05,
103
+ "loss": 0.8023,
104
+ "mean_token_accuracy": 0.7627516453096803,
105
+ "step": 60
106
+ },
107
+ {
108
+ "epoch": 0.19237883832778394,
109
+ "grad_norm": 0.5765062600953095,
110
+ "learning_rate": 1.9487887022684336e-05,
111
+ "loss": 0.792,
112
+ "mean_token_accuracy": 0.764091510669518,
113
+ "step": 65
114
+ },
115
+ {
116
+ "epoch": 0.20717721050684423,
117
+ "grad_norm": 0.4833574803759776,
118
+ "learning_rate": 1.9311440620976597e-05,
119
+ "loss": 0.7952,
120
+ "mean_token_accuracy": 0.7633997295679061,
121
+ "step": 70
122
+ },
123
+ {
124
+ "epoch": 0.22197558268590456,
125
+ "grad_norm": 0.4965117379550902,
126
+ "learning_rate": 1.9109974979578852e-05,
127
+ "loss": 0.7766,
128
+ "mean_token_accuracy": 0.7679723449940277,
129
+ "step": 75
130
+ },
131
+ {
132
+ "epoch": 0.23677395486496486,
133
+ "grad_norm": 0.5422842186683082,
134
+ "learning_rate": 1.8884031423660492e-05,
135
+ "loss": 0.7858,
136
+ "mean_token_accuracy": 0.7659705075688521,
137
+ "step": 80
138
+ },
139
+ {
140
+ "epoch": 0.25157232704402516,
141
+ "grad_norm": 0.4648874115836066,
142
+ "learning_rate": 1.8634217048966638e-05,
143
+ "loss": 0.7899,
144
+ "mean_token_accuracy": 0.7642684446686183,
145
+ "step": 85
146
+ },
147
+ {
148
+ "epoch": 0.2663706992230855,
149
+ "grad_norm": 0.49864787202920896,
150
+ "learning_rate": 1.836120309059107e-05,
151
+ "loss": 0.7653,
152
+ "mean_token_accuracy": 0.7711662704053502,
153
+ "step": 90
154
+ },
155
+ {
156
+ "epoch": 0.28116907140214575,
157
+ "grad_norm": 0.4941848577820338,
158
+ "learning_rate": 1.8065723119410885e-05,
159
+ "loss": 0.773,
160
+ "mean_token_accuracy": 0.7688954388012983,
161
+ "step": 95
162
+ },
163
+ {
164
+ "epoch": 0.2959674435812061,
165
+ "grad_norm": 0.5083313834658424,
166
+ "learning_rate": 1.77485710710289e-05,
167
+ "loss": 0.777,
168
+ "mean_token_accuracy": 0.7671037906593839,
169
+ "step": 100
170
+ },
171
+ {
172
+ "epoch": 0.2959674435812061,
173
+ "eval_loss": 0.7992699146270752,
174
+ "eval_mean_token_accuracy": 0.7526490923736796,
175
+ "eval_runtime": 2.725,
176
+ "eval_samples_per_second": 47.339,
177
+ "eval_steps_per_second": 3.303,
178
+ "step": 100
179
+ },
180
+ {
181
+ "epoch": 0.31076581576026635,
182
+ "grad_norm": 0.502008043498686,
183
+ "learning_rate": 1.741059911251997e-05,
184
+ "loss": 0.7743,
185
+ "mean_token_accuracy": 0.7680230417759751,
186
+ "step": 105
187
+ },
188
+ {
189
+ "epoch": 0.3255641879393267,
190
+ "grad_norm": 0.5074124492783709,
191
+ "learning_rate": 1.7052715352713076e-05,
192
+ "loss": 0.7702,
193
+ "mean_token_accuracy": 0.7686136108964321,
194
+ "step": 110
195
+ },
196
+ {
197
+ "epoch": 0.340362560118387,
198
+ "grad_norm": 0.5071131760392499,
199
+ "learning_rate": 1.667588140216154e-05,
200
+ "loss": 0.781,
201
+ "mean_token_accuracy": 0.7663267032780435,
202
+ "step": 115
203
+ },
204
+ {
205
+ "epoch": 0.3551609322974473,
206
+ "grad_norm": 0.4904030530326049,
207
+ "learning_rate": 1.628110978935756e-05,
208
+ "loss": 0.7858,
209
+ "mean_token_accuracy": 0.7642852493388534,
210
+ "step": 120
211
+ },
212
+ {
213
+ "epoch": 0.3699593044765076,
214
+ "grad_norm": 0.48343334479760786,
215
+ "learning_rate": 1.586946124013354e-05,
216
+ "loss": 0.7721,
217
+ "mean_token_accuracy": 0.767507805528747,
218
+ "step": 125
219
+ },
220
+ {
221
+ "epoch": 0.38475767665556787,
222
+ "grad_norm": 0.46212293051128184,
223
+ "learning_rate": 1.5442041827560274e-05,
224
+ "loss": 0.7701,
225
+ "mean_token_accuracy": 0.7681742018100668,
226
+ "step": 130
227
+ },
228
+ {
229
+ "epoch": 0.3995560488346282,
230
+ "grad_norm": 0.49005232010020267,
231
+ "learning_rate": 1.5000000000000002e-05,
232
+ "loss": 0.7784,
233
+ "mean_token_accuracy": 0.7659993526780575,
234
+ "step": 135
235
+ },
236
+ {
237
+ "epoch": 0.41435442101368847,
238
+ "grad_norm": 0.5802473751849121,
239
+ "learning_rate": 1.4544523495299843e-05,
240
+ "loss": 0.7479,
241
+ "mean_token_accuracy": 0.7748897409687096,
242
+ "step": 140
243
+ },
244
+ {
245
+ "epoch": 0.4291527931927488,
246
+ "grad_norm": 0.46697081136404445,
247
+ "learning_rate": 1.4076836149416889e-05,
248
+ "loss": 0.7624,
249
+ "mean_token_accuracy": 0.7699376399284426,
250
+ "step": 145
251
+ },
252
+ {
253
+ "epoch": 0.4439511653718091,
254
+ "grad_norm": 0.45324269226549363,
255
+ "learning_rate": 1.3598194608050011e-05,
256
+ "loss": 0.7615,
257
+ "mean_token_accuracy": 0.7710725608185627,
258
+ "step": 150
259
+ },
260
+ {
261
+ "epoch": 0.4587495375508694,
262
+ "grad_norm": 0.5162747380370616,
263
+ "learning_rate": 1.3109884950114007e-05,
264
+ "loss": 0.7483,
265
+ "mean_token_accuracy": 0.7738950295545084,
266
+ "step": 155
267
+ },
268
+ {
269
+ "epoch": 0.4735479097299297,
270
+ "grad_norm": 0.48161770993187064,
271
+ "learning_rate": 1.2613219232128608e-05,
272
+ "loss": 0.7785,
273
+ "mean_token_accuracy": 0.7653272694417022,
274
+ "step": 160
275
+ },
276
+ {
277
+ "epoch": 0.48834628190899,
278
+ "grad_norm": 0.4962066320847415,
279
+ "learning_rate": 1.2109531962807333e-05,
280
+ "loss": 0.7583,
281
+ "mean_token_accuracy": 0.7716915300692998,
282
+ "step": 165
283
+ },
284
+ {
285
+ "epoch": 0.5031446540880503,
286
+ "grad_norm": 0.5055381412821207,
287
+ "learning_rate": 1.1600176517318742e-05,
288
+ "loss": 0.7697,
289
+ "mean_token_accuracy": 0.767747381709197,
290
+ "step": 170
291
+ },
292
+ {
293
+ "epoch": 0.5179430262671106,
294
+ "grad_norm": 0.5054786127986631,
295
+ "learning_rate": 1.1086521500854746e-05,
296
+ "loss": 0.7644,
297
+ "mean_token_accuracy": 0.7690235533127754,
298
+ "step": 175
299
+ },
300
+ {
301
+ "epoch": 0.532741398446171,
302
+ "grad_norm": 0.46152729464852277,
303
+ "learning_rate": 1.0569947071276847e-05,
304
+ "loss": 0.7507,
305
+ "mean_token_accuracy": 0.7737928590432877,
306
+ "step": 180
307
+ },
308
+ {
309
+ "epoch": 0.5475397706252312,
310
+ "grad_norm": 0.4695612487616888,
311
+ "learning_rate": 1.0051841230721065e-05,
312
+ "loss": 0.757,
313
+ "mean_token_accuracy": 0.7718499416080608,
314
+ "step": 185
315
+ },
316
+ {
317
+ "epoch": 0.5623381428042915,
318
+ "grad_norm": 0.5218859694830563,
319
+ "learning_rate": 9.533596096125826e-06,
320
+ "loss": 0.7474,
321
+ "mean_token_accuracy": 0.7735829404733993,
322
+ "step": 190
323
+ },
324
+ {
325
+ "epoch": 0.5771365149833518,
326
+ "grad_norm": 0.49416648779707545,
327
+ "learning_rate": 9.016604158703654e-06,
328
+ "loss": 0.7367,
329
+ "mean_token_accuracy": 0.7761640741138002,
330
+ "step": 195
331
+ },
332
+ {
333
+ "epoch": 0.5919348871624122,
334
+ "grad_norm": 0.4744299622799445,
335
+ "learning_rate": 8.502254542407186e-06,
336
+ "loss": 0.751,
337
+ "mean_token_accuracy": 0.7724703236279267,
338
+ "step": 200
339
+ },
340
+ {
341
+ "epoch": 0.5919348871624122,
342
+ "eval_loss": 0.7737040519714355,
343
+ "eval_mean_token_accuracy": 0.7571218561628608,
344
+ "eval_runtime": 2.3677,
345
+ "eval_samples_per_second": 54.482,
346
+ "eval_steps_per_second": 3.801,
347
+ "step": 200
348
+ },
349
+ {
350
+ "epoch": 0.6067332593414725,
351
+ "grad_norm": 0.4571681698469847,
352
+ "learning_rate": 7.991929271442817e-06,
353
+ "loss": 0.7407,
354
+ "mean_token_accuracy": 0.7755988044467611,
355
+ "step": 205
356
+ },
357
+ {
358
+ "epoch": 0.6215316315205327,
359
+ "grad_norm": 0.43278950100088054,
360
+ "learning_rate": 7.48699955686089e-06,
361
+ "loss": 0.7481,
362
+ "mean_token_accuracy": 0.7735502754860193,
363
+ "step": 210
364
+ },
365
+ {
366
+ "epoch": 0.636330003699593,
367
+ "grad_norm": 0.49468417784151203,
368
+ "learning_rate": 6.988822112200157e-06,
369
+ "loss": 0.775,
370
+ "mean_token_accuracy": 0.7659379638471053,
371
+ "step": 215
372
+ },
373
+ {
374
+ "epoch": 0.6511283758786534,
375
+ "grad_norm": 0.41822862138228684,
376
+ "learning_rate": 6.498735508086094e-06,
377
+ "loss": 0.7498,
378
+ "mean_token_accuracy": 0.7731720478189318,
379
+ "step": 220
380
+ },
381
+ {
382
+ "epoch": 0.6659267480577137,
383
+ "grad_norm": 0.46770169407773693,
384
+ "learning_rate": 6.018056575578075e-06,
385
+ "loss": 0.7592,
386
+ "mean_token_accuracy": 0.7701622621932589,
387
+ "step": 225
388
+ },
389
+ {
390
+ "epoch": 0.680725120236774,
391
+ "grad_norm": 0.4301879679864597,
392
+ "learning_rate": 5.548076867929331e-06,
393
+ "loss": 0.7378,
394
+ "mean_token_accuracy": 0.7768001644788849,
395
+ "step": 230
396
+ },
397
+ {
398
+ "epoch": 0.6955234924158342,
399
+ "grad_norm": 0.4110320515268362,
400
+ "learning_rate": 5.090059190266779e-06,
401
+ "loss": 0.7406,
402
+ "mean_token_accuracy": 0.7764935034563292,
403
+ "step": 235
404
+ },
405
+ {
406
+ "epoch": 0.7103218645948945,
407
+ "grad_norm": 0.45215243130813015,
408
+ "learning_rate": 4.645234206515171e-06,
409
+ "loss": 0.7316,
410
+ "mean_token_accuracy": 0.7781838814007387,
411
+ "step": 240
412
+ },
413
+ {
414
+ "epoch": 0.7251202367739549,
415
+ "grad_norm": 0.4306166903504155,
416
+ "learning_rate": 4.214797132682597e-06,
417
+ "loss": 0.7441,
418
+ "mean_token_accuracy": 0.774896818627263,
419
+ "step": 245
420
+ },
421
+ {
422
+ "epoch": 0.7399186089530152,
423
+ "grad_norm": 0.4677549708375624,
424
+ "learning_rate": 3.799904525392251e-06,
425
+ "loss": 0.7444,
426
+ "mean_token_accuracy": 0.7746876413515387,
427
+ "step": 250
428
+ },
429
+ {
430
+ "epoch": 0.7547169811320755,
431
+ "grad_norm": 0.4579244444523011,
432
+ "learning_rate": 3.401671174289469e-06,
433
+ "loss": 0.7487,
434
+ "mean_token_accuracy": 0.7736023686798276,
435
+ "step": 255
436
+ },
437
+ {
438
+ "epoch": 0.7695153533111357,
439
+ "grad_norm": 0.44650439788033275,
440
+ "learning_rate": 3.021167106673928e-06,
441
+ "loss": 0.7445,
442
+ "mean_token_accuracy": 0.7743245251087528,
443
+ "step": 260
444
+ },
445
+ {
446
+ "epoch": 0.7843137254901961,
447
+ "grad_norm": 0.4478153652502043,
448
+ "learning_rate": 2.6594147124053983e-06,
449
+ "loss": 0.7611,
450
+ "mean_token_accuracy": 0.769372799551824,
451
+ "step": 265
452
+ },
453
+ {
454
+ "epoch": 0.7991120976692564,
455
+ "grad_norm": 0.4271237650794528,
456
+ "learning_rate": 2.317385996808195e-06,
457
+ "loss": 0.7446,
458
+ "mean_token_accuracy": 0.77473731038134,
459
+ "step": 270
460
+ },
461
+ {
462
+ "epoch": 0.8139104698483167,
463
+ "grad_norm": 0.42405749633429296,
464
+ "learning_rate": 1.9959999689556407e-06,
465
+ "loss": 0.7434,
466
+ "mean_token_accuracy": 0.774948955827694,
467
+ "step": 275
468
+ },
469
+ {
470
+ "epoch": 0.8287088420273769,
471
+ "grad_norm": 0.40531426206243515,
472
+ "learning_rate": 1.6961201723520248e-06,
473
+ "loss": 0.745,
474
+ "mean_token_accuracy": 0.7748197167655329,
475
+ "step": 280
476
+ },
477
+ {
478
+ "epoch": 0.8435072142064373,
479
+ "grad_norm": 0.3984324465873538,
480
+ "learning_rate": 1.4185523646469822e-06,
481
+ "loss": 0.7453,
482
+ "mean_token_accuracy": 0.7744560602643948,
483
+ "step": 285
484
+ },
485
+ {
486
+ "epoch": 0.8583055863854976,
487
+ "grad_norm": 0.4447093659563818,
488
+ "learning_rate": 1.1640423526166987e-06,
489
+ "loss": 0.742,
490
+ "mean_token_accuracy": 0.7752281674755013,
491
+ "step": 290
492
+ },
493
+ {
494
+ "epoch": 0.8731039585645579,
495
+ "grad_norm": 0.4327215713613019,
496
+ "learning_rate": 9.332739882292752e-07,
497
+ "loss": 0.7389,
498
+ "mean_token_accuracy": 0.7759098786496285,
499
+ "step": 295
500
+ },
501
+ {
502
+ "epoch": 0.8879023307436182,
503
+ "grad_norm": 0.4101532450607113,
504
+ "learning_rate": 7.268673311786378e-07,
505
+ "loss": 0.731,
506
+ "mean_token_accuracy": 0.7786051446835451,
507
+ "step": 300
508
+ },
509
+ {
510
+ "epoch": 0.8879023307436182,
511
+ "eval_loss": 0.7651976346969604,
512
+ "eval_mean_token_accuracy": 0.7605418336104682,
513
+ "eval_runtime": 2.367,
514
+ "eval_samples_per_second": 54.498,
515
+ "eval_steps_per_second": 3.802,
516
+ "step": 300
517
+ },
518
+ {
519
+ "epoch": 0.9027007029226785,
520
+ "grad_norm": 0.40006809741836763,
521
+ "learning_rate": 5.453769828241872e-07,
522
+ "loss": 0.7391,
523
+ "mean_token_accuracy": 0.7762730269882686,
524
+ "step": 305
525
+ },
526
+ {
527
+ "epoch": 0.9174990751017388,
528
+ "grad_norm": 0.39372929687209135,
529
+ "learning_rate": 3.8929059601275463e-07,
530
+ "loss": 0.7121,
531
+ "mean_token_accuracy": 0.7837936652524417,
532
+ "step": 310
533
+ },
534
+ {
535
+ "epoch": 0.9322974472807991,
536
+ "grad_norm": 0.4077726046346767,
537
+ "learning_rate": 2.5902756478688674e-07,
538
+ "loss": 0.74,
539
+ "mean_token_accuracy": 0.7763787219346148,
540
+ "step": 315
541
+ },
542
+ {
543
+ "epoch": 0.9470958194598594,
544
+ "grad_norm": 0.4018494029172172,
545
+ "learning_rate": 1.5493789750014032e-07,
546
+ "loss": 0.7373,
547
+ "mean_token_accuracy": 0.7766823185717946,
548
+ "step": 320
549
+ },
550
+ {
551
+ "epoch": 0.9618941916389198,
552
+ "grad_norm": 0.41372722235636705,
553
+ "learning_rate": 7.730127636723539e-08,
554
+ "loss": 0.7237,
555
+ "mean_token_accuracy": 0.7803516061745327,
556
+ "step": 325
557
+ },
558
+ {
559
+ "epoch": 0.97669256381798,
560
+ "grad_norm": 0.3881396504405612,
561
+ "learning_rate": 2.6326305976001054e-08,
562
+ "loss": 0.7384,
563
+ "mean_token_accuracy": 0.7763774804489217,
564
+ "step": 330
565
+ },
566
+ {
567
+ "epoch": 0.9914909359970403,
568
+ "grad_norm": 0.42105668844246164,
569
+ "learning_rate": 2.149952780321485e-09,
570
+ "loss": 0.7369,
571
+ "mean_token_accuracy": 0.7762607021245872,
572
+ "step": 335
573
+ },
574
+ {
575
+ "epoch": 0.9974102848686645,
576
+ "mean_token_accuracy": 0.7690690041104019,
577
+ "step": 337,
578
+ "total_flos": 76774385909760.0,
579
+ "train_loss": 0.7816469167035835,
580
+ "train_runtime": 1423.7517,
581
+ "train_samples_per_second": 15.187,
582
+ "train_steps_per_second": 0.237
583
+ }
584
+ ],
585
+ "logging_steps": 5,
586
+ "max_steps": 337,
587
+ "num_input_tokens_seen": 0,
588
+ "num_train_epochs": 1,
589
+ "save_steps": 500,
590
+ "stateful_callbacks": {
591
+ "TrainerControl": {
592
+ "args": {
593
+ "should_epoch_stop": false,
594
+ "should_evaluate": false,
595
+ "should_log": false,
596
+ "should_save": false,
597
+ "should_training_stop": false
598
+ },
599
+ "attributes": {}
600
+ }
601
+ },
602
+ "total_flos": 76774385909760.0,
603
+ "train_batch_size": 2,
604
+ "trial_name": null,
605
+ "trial_params": null
606
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:431f268d11f20a91453b79de07c6915ff9902f05f38d697870cc45f9627a3309
3
+ size 7480
vocab.json ADDED
The diff for this file is too large to render. See raw diff