SamanthaZSZ commited on
Commit
0949db1
·
verified ·
1 Parent(s): a65d76e

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="SamanthaZSZ/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/shanzhu010/huggingface/runs/is9uo3ih)
31
+
32
+
33
+ This model was trained with SFT.
34
+
35
+ ### Framework versions
36
+
37
+ - TRL: 0.16.1
38
+ - Transformers: 4.51.3
39
+ - Pytorch: 2.7.0a0+git6c0e746
40
+ - Datasets: 3.3.2
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": 6.966137809639834e+17,
3
+ "train_loss": 0.80340930978222,
4
+ "train_runtime": 717.7254,
5
+ "train_samples": 16610,
6
+ "train_samples_per_second": 30.133,
7
+ "train_steps_per_second": 0.235
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": 1536,
10
+ "initializer_range": 0.02,
11
+ "intermediate_size": 8960,
12
+ "max_position_embeddings": 32768,
13
+ "max_window_layers": 21,
14
+ "model_type": "qwen2",
15
+ "num_attention_heads": 12,
16
+ "num_hidden_layers": 28,
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": "bfloat16",
24
+ "transformers_version": "4.51.3",
25
+ "use_cache": false,
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.3"
14
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:14d705402ac4aeeb4f4b9fde5e7b7ca580e5f00894caab132ef7a92536c4c10f
3
+ size 3554214752
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": 6.966137809639834e+17,
3
+ "train_loss": 0.80340930978222,
4
+ "train_runtime": 717.7254,
5
+ "train_samples": 16610,
6
+ "train_samples_per_second": 30.133,
7
+ "train_steps_per_second": 0.235
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,350 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 1.0,
6
+ "eval_steps": 100,
7
+ "global_step": 169,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.029585798816568046,
14
+ "grad_norm": 2.3596792221069336,
15
+ "learning_rate": 4.705882352941177e-06,
16
+ "loss": 1.1077,
17
+ "mean_token_accuracy": 0.7105089992284774,
18
+ "num_tokens": 2621440.0,
19
+ "step": 5
20
+ },
21
+ {
22
+ "epoch": 0.05917159763313609,
23
+ "grad_norm": 1.7160693407058716,
24
+ "learning_rate": 1.0588235294117648e-05,
25
+ "loss": 1.0353,
26
+ "mean_token_accuracy": 0.7203521847724914,
27
+ "num_tokens": 5242880.0,
28
+ "step": 10
29
+ },
30
+ {
31
+ "epoch": 0.08875739644970414,
32
+ "grad_norm": 0.8708027601242065,
33
+ "learning_rate": 1.647058823529412e-05,
34
+ "loss": 0.9553,
35
+ "mean_token_accuracy": 0.7316273808479309,
36
+ "num_tokens": 7861273.0,
37
+ "step": 15
38
+ },
39
+ {
40
+ "epoch": 0.11834319526627218,
41
+ "grad_norm": 0.6267297267913818,
42
+ "learning_rate": 1.999145758387301e-05,
43
+ "loss": 0.8899,
44
+ "mean_token_accuracy": 0.743945425748825,
45
+ "num_tokens": 10474605.0,
46
+ "step": 20
47
+ },
48
+ {
49
+ "epoch": 0.14792899408284024,
50
+ "grad_norm": 0.4869539439678192,
51
+ "learning_rate": 1.9895522933272028e-05,
52
+ "loss": 0.8455,
53
+ "mean_token_accuracy": 0.7542784661054611,
54
+ "num_tokens": 13096045.0,
55
+ "step": 25
56
+ },
57
+ {
58
+ "epoch": 0.17751479289940827,
59
+ "grad_norm": 0.4492546319961548,
60
+ "learning_rate": 1.9694002659393306e-05,
61
+ "loss": 0.8389,
62
+ "mean_token_accuracy": 0.7545322090387344,
63
+ "num_tokens": 15717485.0,
64
+ "step": 30
65
+ },
66
+ {
67
+ "epoch": 0.20710059171597633,
68
+ "grad_norm": 0.4301901161670685,
69
+ "learning_rate": 1.9389046991574298e-05,
70
+ "loss": 0.8268,
71
+ "mean_token_accuracy": 0.7568192929029465,
72
+ "num_tokens": 18338925.0,
73
+ "step": 35
74
+ },
75
+ {
76
+ "epoch": 0.23668639053254437,
77
+ "grad_norm": 0.37857791781425476,
78
+ "learning_rate": 1.898390981891979e-05,
79
+ "loss": 0.7956,
80
+ "mean_token_accuracy": 0.7649114817380905,
81
+ "num_tokens": 20960365.0,
82
+ "step": 40
83
+ },
84
+ {
85
+ "epoch": 0.26627218934911245,
86
+ "grad_norm": 0.3774871230125427,
87
+ "learning_rate": 1.8482913971175737e-05,
88
+ "loss": 0.8079,
89
+ "mean_token_accuracy": 0.7604979366064072,
90
+ "num_tokens": 23581805.0,
91
+ "step": 45
92
+ },
93
+ {
94
+ "epoch": 0.2958579881656805,
95
+ "grad_norm": 0.3935665488243103,
96
+ "learning_rate": 1.789140509396394e-05,
97
+ "loss": 0.7961,
98
+ "mean_token_accuracy": 0.7637095510959625,
99
+ "num_tokens": 26203245.0,
100
+ "step": 50
101
+ },
102
+ {
103
+ "epoch": 0.3254437869822485,
104
+ "grad_norm": 0.3560955226421356,
105
+ "learning_rate": 1.7215694610530624e-05,
106
+ "loss": 0.7946,
107
+ "mean_token_accuracy": 0.7636954367160798,
108
+ "num_tokens": 28824685.0,
109
+ "step": 55
110
+ },
111
+ {
112
+ "epoch": 0.35502958579881655,
113
+ "grad_norm": 0.37536928057670593,
114
+ "learning_rate": 1.646299237860941e-05,
115
+ "loss": 0.7938,
116
+ "mean_token_accuracy": 0.7634146034717559,
117
+ "num_tokens": 31443682.0,
118
+ "step": 60
119
+ },
120
+ {
121
+ "epoch": 0.38461538461538464,
122
+ "grad_norm": 0.3460127115249634,
123
+ "learning_rate": 1.5641329760952514e-05,
124
+ "loss": 0.7639,
125
+ "mean_token_accuracy": 0.7715859562158585,
126
+ "num_tokens": 34061327.0,
127
+ "step": 65
128
+ },
129
+ {
130
+ "epoch": 0.41420118343195267,
131
+ "grad_norm": 0.37248924374580383,
132
+ "learning_rate": 1.4759473930370738e-05,
133
+ "loss": 0.7771,
134
+ "mean_token_accuracy": 0.7680761635303497,
135
+ "num_tokens": 36682767.0,
136
+ "step": 70
137
+ },
138
+ {
139
+ "epoch": 0.4437869822485207,
140
+ "grad_norm": 0.34658947587013245,
141
+ "learning_rate": 1.3826834323650899e-05,
142
+ "loss": 0.8028,
143
+ "mean_token_accuracy": 0.7603934347629547,
144
+ "num_tokens": 39300751.0,
145
+ "step": 75
146
+ },
147
+ {
148
+ "epoch": 0.47337278106508873,
149
+ "grad_norm": 0.3706357479095459,
150
+ "learning_rate": 1.2853362242491054e-05,
151
+ "loss": 0.7738,
152
+ "mean_token_accuracy": 0.7687152832746506,
153
+ "num_tokens": 41918913.0,
154
+ "step": 80
155
+ },
156
+ {
157
+ "epoch": 0.5029585798816568,
158
+ "grad_norm": 0.3420180380344391,
159
+ "learning_rate": 1.1849444672715587e-05,
160
+ "loss": 0.779,
161
+ "mean_token_accuracy": 0.7665890276432037,
162
+ "num_tokens": 44540169.0,
163
+ "step": 85
164
+ },
165
+ {
166
+ "epoch": 0.5325443786982249,
167
+ "grad_norm": 0.3875311315059662,
168
+ "learning_rate": 1.0825793454723325e-05,
169
+ "loss": 0.7683,
170
+ "mean_token_accuracy": 0.7695774495601654,
171
+ "num_tokens": 47160969.0,
172
+ "step": 90
173
+ },
174
+ {
175
+ "epoch": 0.5621301775147929,
176
+ "grad_norm": 0.35641783475875854,
177
+ "learning_rate": 9.79333098772446e-06,
178
+ "loss": 0.7692,
179
+ "mean_token_accuracy": 0.7692601472139359,
180
+ "num_tokens": 49782409.0,
181
+ "step": 95
182
+ },
183
+ {
184
+ "epoch": 0.591715976331361,
185
+ "grad_norm": 0.3525794446468353,
186
+ "learning_rate": 8.763073687306523e-06,
187
+ "loss": 0.7853,
188
+ "step": 100
189
+ },
190
+ {
191
+ "epoch": 0.591715976331361,
192
+ "eval_loss": 0.7879331111907959,
193
+ "eval_mean_token_accuracy": 0.77275630235672,
194
+ "eval_num_tokens": 52403849.0,
195
+ "eval_runtime": 1.3797,
196
+ "eval_samples_per_second": 93.496,
197
+ "eval_steps_per_second": 3.624,
198
+ "step": 100
199
+ },
200
+ {
201
+ "epoch": 0.621301775147929,
202
+ "grad_norm": 0.31415921449661255,
203
+ "learning_rate": 7.746014439841941e-06,
204
+ "loss": 0.7483,
205
+ "mean_token_accuracy": 0.7696478188037872,
206
+ "num_tokens": 55025289.0,
207
+ "step": 105
208
+ },
209
+ {
210
+ "epoch": 0.650887573964497,
211
+ "grad_norm": 0.35946062207221985,
212
+ "learning_rate": 6.7530053079531664e-06,
213
+ "loss": 0.751,
214
+ "mean_token_accuracy": 0.773971700668335,
215
+ "num_tokens": 57641987.0,
216
+ "step": 110
217
+ },
218
+ {
219
+ "epoch": 0.6804733727810651,
220
+ "grad_norm": 0.3247712552547455,
221
+ "learning_rate": 5.794641738572925e-06,
222
+ "loss": 0.766,
223
+ "mean_token_accuracy": 0.7699923694133759,
224
+ "num_tokens": 60263427.0,
225
+ "step": 115
226
+ },
227
+ {
228
+ "epoch": 0.7100591715976331,
229
+ "grad_norm": 0.32254937291145325,
230
+ "learning_rate": 4.881149509103993e-06,
231
+ "loss": 0.7655,
232
+ "mean_token_accuracy": 0.7701400071382523,
233
+ "num_tokens": 62882216.0,
234
+ "step": 120
235
+ },
236
+ {
237
+ "epoch": 0.7396449704142012,
238
+ "grad_norm": 0.3108745515346527,
239
+ "learning_rate": 4.0222756179675915e-06,
240
+ "loss": 0.7772,
241
+ "mean_token_accuracy": 0.7666765838861466,
242
+ "num_tokens": 65503656.0,
243
+ "step": 125
244
+ },
245
+ {
246
+ "epoch": 0.7692307692307693,
247
+ "grad_norm": 0.3257134258747101,
248
+ "learning_rate": 3.2271842837425917e-06,
249
+ "loss": 0.7507,
250
+ "mean_token_accuracy": 0.7745073974132538,
251
+ "num_tokens": 68125096.0,
252
+ "step": 130
253
+ },
254
+ {
255
+ "epoch": 0.7988165680473372,
256
+ "grad_norm": 0.29293152689933777,
257
+ "learning_rate": 2.504359162588741e-06,
258
+ "loss": 0.7436,
259
+ "mean_token_accuracy": 0.7756482750177384,
260
+ "num_tokens": 70746536.0,
261
+ "step": 135
262
+ },
263
+ {
264
+ "epoch": 0.8284023668639053,
265
+ "grad_norm": 0.3014591932296753,
266
+ "learning_rate": 1.861512827298051e-06,
267
+ "loss": 0.7438,
268
+ "mean_token_accuracy": 0.7760634958744049,
269
+ "num_tokens": 73365315.0,
270
+ "step": 140
271
+ },
272
+ {
273
+ "epoch": 0.8579881656804734,
274
+ "grad_norm": 0.2900739312171936,
275
+ "learning_rate": 1.305504473836331e-06,
276
+ "loss": 0.7585,
277
+ "mean_token_accuracy": 0.7716891765594482,
278
+ "num_tokens": 75986755.0,
279
+ "step": 145
280
+ },
281
+ {
282
+ "epoch": 0.8875739644970414,
283
+ "grad_norm": 0.2970161437988281,
284
+ "learning_rate": 8.42266733449425e-07,
285
+ "loss": 0.7436,
286
+ "mean_token_accuracy": 0.7757604539394378,
287
+ "num_tokens": 78608195.0,
288
+ "step": 150
289
+ },
290
+ {
291
+ "epoch": 0.9171597633136095,
292
+ "grad_norm": 0.29888418316841125,
293
+ "learning_rate": 4.7674237125185597e-07,
294
+ "loss": 0.7513,
295
+ "mean_token_accuracy": 0.7735760033130645,
296
+ "num_tokens": 81229635.0,
297
+ "step": 155
298
+ },
299
+ {
300
+ "epoch": 0.9467455621301775,
301
+ "grad_norm": 0.28909653425216675,
302
+ "learning_rate": 2.1283154672645522e-07,
303
+ "loss": 0.7583,
304
+ "mean_token_accuracy": 0.7715224415063858,
305
+ "num_tokens": 83851075.0,
306
+ "step": 160
307
+ },
308
+ {
309
+ "epoch": 0.9763313609467456,
310
+ "grad_norm": 0.2939208447933197,
311
+ "learning_rate": 5.3350198867574424e-08,
312
+ "loss": 0.7567,
313
+ "mean_token_accuracy": 0.7722329139709473,
314
+ "num_tokens": 86472515.0,
315
+ "step": 165
316
+ },
317
+ {
318
+ "epoch": 1.0,
319
+ "mean_token_accuracy": 0.7728699259459972,
320
+ "num_tokens": 88569667.0,
321
+ "step": 169,
322
+ "total_flos": 6.966137809639834e+17,
323
+ "train_loss": 0.80340930978222,
324
+ "train_runtime": 717.7254,
325
+ "train_samples_per_second": 30.133,
326
+ "train_steps_per_second": 0.235
327
+ }
328
+ ],
329
+ "logging_steps": 5,
330
+ "max_steps": 169,
331
+ "num_input_tokens_seen": 0,
332
+ "num_train_epochs": 1,
333
+ "save_steps": 500,
334
+ "stateful_callbacks": {
335
+ "TrainerControl": {
336
+ "args": {
337
+ "should_epoch_stop": false,
338
+ "should_evaluate": false,
339
+ "should_log": false,
340
+ "should_save": false,
341
+ "should_training_stop": false
342
+ },
343
+ "attributes": {}
344
+ }
345
+ },
346
+ "total_flos": 6.966137809639834e+17,
347
+ "train_batch_size": 4,
348
+ "trial_name": null,
349
+ "trial_params": null
350
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:94851c51fbaacaaf709529a96fcbf2187e3361132ef962f409c11da171eb8d22
3
+ size 7619
vocab.json ADDED
The diff for this file is too large to render. See raw diff