Lansechen commited on
Commit
c6862d6
·
verified ·
1 Parent(s): d098b9e

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="Lansechen/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/chenran1995-the-chinese-university-of-hong-kong/huggingface/runs/4h8amcmk)
31
+
32
+
33
+ This model was trained with SFT.
34
+
35
+ ### Framework versions
36
+
37
+ - TRL: 0.15.0.dev0
38
+ - Transformers: 4.49.0.dev0
39
+ - Pytorch: 2.5.1+cu121
40
+ - Datasets: 3.2.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.7816390018434836,
4
+ "train_runtime": 1279.1227,
5
+ "train_samples": 16610,
6
+ "train_samples_per_second": 16.905,
7
+ "train_steps_per_second": 0.263
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": null,
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:97ecf916f824272be053e4b8a0e4cd91497c528e36d13ee23693438549370a81
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.7816390018434836,
4
+ "train_runtime": 1279.1227,
5
+ "train_samples": 16610,
6
+ "train_samples_per_second": 16.905,
7
+ "train_steps_per_second": 0.263
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.533035616817613,
14
+ "learning_rate": 2.9411764705882355e-06,
15
+ "loss": 1.0934,
16
+ "mean_token_accuracy": 0.711010157690538,
17
+ "step": 5
18
+ },
19
+ {
20
+ "epoch": 0.029596744358120607,
21
+ "grad_norm": 1.42530768012806,
22
+ "learning_rate": 5.882352941176471e-06,
23
+ "loss": 1.077,
24
+ "mean_token_accuracy": 0.7137021465852865,
25
+ "step": 10
26
+ },
27
+ {
28
+ "epoch": 0.04439511653718091,
29
+ "grad_norm": 1.247369031281935,
30
+ "learning_rate": 8.823529411764707e-06,
31
+ "loss": 0.9837,
32
+ "mean_token_accuracy": 0.7298991006374254,
33
+ "step": 15
34
+ },
35
+ {
36
+ "epoch": 0.059193488716241215,
37
+ "grad_norm": 0.8835874366543285,
38
+ "learning_rate": 1.1764705882352942e-05,
39
+ "loss": 0.959,
40
+ "mean_token_accuracy": 0.7301129635439676,
41
+ "step": 20
42
+ },
43
+ {
44
+ "epoch": 0.07399186089530152,
45
+ "grad_norm": 0.7992595074914811,
46
+ "learning_rate": 1.4705882352941179e-05,
47
+ "loss": 0.8946,
48
+ "mean_token_accuracy": 0.7440331776944109,
49
+ "step": 25
50
+ },
51
+ {
52
+ "epoch": 0.08879023307436182,
53
+ "grad_norm": 0.7221469472031992,
54
+ "learning_rate": 1.7647058823529414e-05,
55
+ "loss": 0.8869,
56
+ "mean_token_accuracy": 0.7441264898867079,
57
+ "step": 30
58
+ },
59
+ {
60
+ "epoch": 0.10358860525342212,
61
+ "grad_norm": 0.6197932203679348,
62
+ "learning_rate": 1.9999462497359468e-05,
63
+ "loss": 0.846,
64
+ "mean_token_accuracy": 0.753662335197281,
65
+ "step": 35
66
+ },
67
+ {
68
+ "epoch": 0.11838697743248243,
69
+ "grad_norm": 0.604768962997883,
70
+ "learning_rate": 1.9980655971335944e-05,
71
+ "loss": 0.8244,
72
+ "mean_token_accuracy": 0.7586284654022531,
73
+ "step": 40
74
+ },
75
+ {
76
+ "epoch": 0.13318534961154274,
77
+ "grad_norm": 0.5315580539803819,
78
+ "learning_rate": 1.993503206718859e-05,
79
+ "loss": 0.8235,
80
+ "mean_token_accuracy": 0.7581645772774076,
81
+ "step": 45
82
+ },
83
+ {
84
+ "epoch": 0.14798372179060304,
85
+ "grad_norm": 0.5931493280525594,
86
+ "learning_rate": 1.986271337340182e-05,
87
+ "loss": 0.8061,
88
+ "mean_token_accuracy": 0.7622259954610558,
89
+ "step": 50
90
+ },
91
+ {
92
+ "epoch": 0.16278209396966334,
93
+ "grad_norm": 0.5367744102646037,
94
+ "learning_rate": 1.976389420563607e-05,
95
+ "loss": 0.8147,
96
+ "mean_token_accuracy": 0.7596171891212963,
97
+ "step": 55
98
+ },
99
+ {
100
+ "epoch": 0.17758046614872364,
101
+ "grad_norm": 0.5256548906524126,
102
+ "learning_rate": 1.9638840084614182e-05,
103
+ "loss": 0.8023,
104
+ "mean_token_accuracy": 0.7627838428459585,
105
+ "step": 60
106
+ },
107
+ {
108
+ "epoch": 0.19237883832778394,
109
+ "grad_norm": 0.5754689416258766,
110
+ "learning_rate": 1.9487887022684336e-05,
111
+ "loss": 0.792,
112
+ "mean_token_accuracy": 0.7640518042050917,
113
+ "step": 65
114
+ },
115
+ {
116
+ "epoch": 0.20717721050684423,
117
+ "grad_norm": 0.48277821320977654,
118
+ "learning_rate": 1.9311440620976597e-05,
119
+ "loss": 0.7951,
120
+ "mean_token_accuracy": 0.7635883122908461,
121
+ "step": 70
122
+ },
123
+ {
124
+ "epoch": 0.22197558268590456,
125
+ "grad_norm": 0.4972790539181648,
126
+ "learning_rate": 1.9109974979578852e-05,
127
+ "loss": 0.7766,
128
+ "mean_token_accuracy": 0.7680380192974947,
129
+ "step": 75
130
+ },
131
+ {
132
+ "epoch": 0.23677395486496486,
133
+ "grad_norm": 0.5451787824948964,
134
+ "learning_rate": 1.8884031423660492e-05,
135
+ "loss": 0.7858,
136
+ "mean_token_accuracy": 0.7659743333620824,
137
+ "step": 80
138
+ },
139
+ {
140
+ "epoch": 0.25157232704402516,
141
+ "grad_norm": 0.46549446941010303,
142
+ "learning_rate": 1.8634217048966638e-05,
143
+ "loss": 0.79,
144
+ "mean_token_accuracy": 0.7640500802683544,
145
+ "step": 85
146
+ },
147
+ {
148
+ "epoch": 0.2663706992230855,
149
+ "grad_norm": 0.49762485435919057,
150
+ "learning_rate": 1.836120309059107e-05,
151
+ "loss": 0.7652,
152
+ "mean_token_accuracy": 0.7711662476552672,
153
+ "step": 90
154
+ },
155
+ {
156
+ "epoch": 0.28116907140214575,
157
+ "grad_norm": 0.4943436988374363,
158
+ "learning_rate": 1.8065723119410885e-05,
159
+ "loss": 0.7729,
160
+ "mean_token_accuracy": 0.7689878336368471,
161
+ "step": 95
162
+ },
163
+ {
164
+ "epoch": 0.2959674435812061,
165
+ "grad_norm": 0.5149277451913884,
166
+ "learning_rate": 1.77485710710289e-05,
167
+ "loss": 0.777,
168
+ "mean_token_accuracy": 0.7670466041429556,
169
+ "step": 100
170
+ },
171
+ {
172
+ "epoch": 0.2959674435812061,
173
+ "eval_loss": 0.7992011904716492,
174
+ "eval_mean_token_accuracy": 0.7524494980285116,
175
+ "eval_runtime": 2.9148,
176
+ "eval_samples_per_second": 44.256,
177
+ "eval_steps_per_second": 3.088,
178
+ "step": 100
179
+ },
180
+ {
181
+ "epoch": 0.31076581576026635,
182
+ "grad_norm": 0.5021458817072296,
183
+ "learning_rate": 1.741059911251997e-05,
184
+ "loss": 0.7743,
185
+ "mean_token_accuracy": 0.7680118013678767,
186
+ "step": 105
187
+ },
188
+ {
189
+ "epoch": 0.3255641879393267,
190
+ "grad_norm": 0.5072945742218451,
191
+ "learning_rate": 1.7052715352713076e-05,
192
+ "loss": 0.7702,
193
+ "mean_token_accuracy": 0.7686434021105983,
194
+ "step": 110
195
+ },
196
+ {
197
+ "epoch": 0.340362560118387,
198
+ "grad_norm": 0.5043839048263125,
199
+ "learning_rate": 1.667588140216154e-05,
200
+ "loss": 0.781,
201
+ "mean_token_accuracy": 0.7663231025466107,
202
+ "step": 115
203
+ },
204
+ {
205
+ "epoch": 0.3551609322974473,
206
+ "grad_norm": 0.4955647249749359,
207
+ "learning_rate": 1.628110978935756e-05,
208
+ "loss": 0.7858,
209
+ "mean_token_accuracy": 0.7643101121814855,
210
+ "step": 120
211
+ },
212
+ {
213
+ "epoch": 0.3699593044765076,
214
+ "grad_norm": 0.48508195231214263,
215
+ "learning_rate": 1.586946124013354e-05,
216
+ "loss": 0.772,
217
+ "mean_token_accuracy": 0.76749554175771,
218
+ "step": 125
219
+ },
220
+ {
221
+ "epoch": 0.38475767665556787,
222
+ "grad_norm": 0.4617796709392697,
223
+ "learning_rate": 1.5442041827560274e-05,
224
+ "loss": 0.7702,
225
+ "mean_token_accuracy": 0.7681715184186473,
226
+ "step": 130
227
+ },
228
+ {
229
+ "epoch": 0.3995560488346282,
230
+ "grad_norm": 0.488507749439006,
231
+ "learning_rate": 1.5000000000000002e-05,
232
+ "loss": 0.7784,
233
+ "mean_token_accuracy": 0.7661062397857903,
234
+ "step": 135
235
+ },
236
+ {
237
+ "epoch": 0.41435442101368847,
238
+ "grad_norm": 0.5826998824605206,
239
+ "learning_rate": 1.4544523495299843e-05,
240
+ "loss": 0.7479,
241
+ "mean_token_accuracy": 0.7748134049713425,
242
+ "step": 140
243
+ },
244
+ {
245
+ "epoch": 0.4291527931927488,
246
+ "grad_norm": 0.46940541196606445,
247
+ "learning_rate": 1.4076836149416889e-05,
248
+ "loss": 0.7623,
249
+ "mean_token_accuracy": 0.7700336048369543,
250
+ "step": 145
251
+ },
252
+ {
253
+ "epoch": 0.4439511653718091,
254
+ "grad_norm": 0.45434309255939687,
255
+ "learning_rate": 1.3598194608050011e-05,
256
+ "loss": 0.7614,
257
+ "mean_token_accuracy": 0.7710672125468009,
258
+ "step": 150
259
+ },
260
+ {
261
+ "epoch": 0.4587495375508694,
262
+ "grad_norm": 0.5160465470134374,
263
+ "learning_rate": 1.3109884950114007e-05,
264
+ "loss": 0.7483,
265
+ "mean_token_accuracy": 0.7738270743441905,
266
+ "step": 155
267
+ },
268
+ {
269
+ "epoch": 0.4735479097299297,
270
+ "grad_norm": 0.4823903852340391,
271
+ "learning_rate": 1.2613219232128608e-05,
272
+ "loss": 0.7785,
273
+ "mean_token_accuracy": 0.7653288658778342,
274
+ "step": 160
275
+ },
276
+ {
277
+ "epoch": 0.48834628190899,
278
+ "grad_norm": 0.49651335192468293,
279
+ "learning_rate": 1.2109531962807333e-05,
280
+ "loss": 0.7584,
281
+ "mean_token_accuracy": 0.7718266569269832,
282
+ "step": 165
283
+ },
284
+ {
285
+ "epoch": 0.5031446540880503,
286
+ "grad_norm": 0.5024667810257568,
287
+ "learning_rate": 1.1600176517318742e-05,
288
+ "loss": 0.7697,
289
+ "mean_token_accuracy": 0.767793188207458,
290
+ "step": 170
291
+ },
292
+ {
293
+ "epoch": 0.5179430262671106,
294
+ "grad_norm": 0.504064176149207,
295
+ "learning_rate": 1.1086521500854746e-05,
296
+ "loss": 0.7644,
297
+ "mean_token_accuracy": 0.7690342443462705,
298
+ "step": 175
299
+ },
300
+ {
301
+ "epoch": 0.532741398446171,
302
+ "grad_norm": 0.4611007359330586,
303
+ "learning_rate": 1.0569947071276847e-05,
304
+ "loss": 0.7508,
305
+ "mean_token_accuracy": 0.7738271991647814,
306
+ "step": 180
307
+ },
308
+ {
309
+ "epoch": 0.5475397706252312,
310
+ "grad_norm": 0.46786802753525303,
311
+ "learning_rate": 1.0051841230721065e-05,
312
+ "loss": 0.7571,
313
+ "mean_token_accuracy": 0.7718346422382922,
314
+ "step": 185
315
+ },
316
+ {
317
+ "epoch": 0.5623381428042915,
318
+ "grad_norm": 0.525665285478384,
319
+ "learning_rate": 9.533596096125826e-06,
320
+ "loss": 0.7473,
321
+ "mean_token_accuracy": 0.773553959261276,
322
+ "step": 190
323
+ },
324
+ {
325
+ "epoch": 0.5771365149833518,
326
+ "grad_norm": 0.49738435678321,
327
+ "learning_rate": 9.016604158703654e-06,
328
+ "loss": 0.7366,
329
+ "mean_token_accuracy": 0.7760762345215497,
330
+ "step": 195
331
+ },
332
+ {
333
+ "epoch": 0.5919348871624122,
334
+ "grad_norm": 0.48227727942355975,
335
+ "learning_rate": 8.502254542407186e-06,
336
+ "loss": 0.7509,
337
+ "mean_token_accuracy": 0.77248867483489,
338
+ "step": 200
339
+ },
340
+ {
341
+ "epoch": 0.5919348871624122,
342
+ "eval_loss": 0.7737367749214172,
343
+ "eval_mean_token_accuracy": 0.7564579760286925,
344
+ "eval_runtime": 2.5901,
345
+ "eval_samples_per_second": 49.805,
346
+ "eval_steps_per_second": 3.475,
347
+ "step": 200
348
+ },
349
+ {
350
+ "epoch": 0.6067332593414725,
351
+ "grad_norm": 0.464426344838545,
352
+ "learning_rate": 7.991929271442817e-06,
353
+ "loss": 0.7406,
354
+ "mean_token_accuracy": 0.7755485489484286,
355
+ "step": 205
356
+ },
357
+ {
358
+ "epoch": 0.6215316315205327,
359
+ "grad_norm": 0.42966677513706275,
360
+ "learning_rate": 7.48699955686089e-06,
361
+ "loss": 0.7481,
362
+ "mean_token_accuracy": 0.7735342609522224,
363
+ "step": 210
364
+ },
365
+ {
366
+ "epoch": 0.636330003699593,
367
+ "grad_norm": 0.4983058886918053,
368
+ "learning_rate": 6.988822112200157e-06,
369
+ "loss": 0.7749,
370
+ "mean_token_accuracy": 0.7659242161391704,
371
+ "step": 215
372
+ },
373
+ {
374
+ "epoch": 0.6511283758786534,
375
+ "grad_norm": 0.4219619770539118,
376
+ "learning_rate": 6.498735508086094e-06,
377
+ "loss": 0.7498,
378
+ "mean_token_accuracy": 0.7732674807703909,
379
+ "step": 220
380
+ },
381
+ {
382
+ "epoch": 0.6659267480577137,
383
+ "grad_norm": 0.4729336123987674,
384
+ "learning_rate": 6.018056575578075e-06,
385
+ "loss": 0.7591,
386
+ "mean_token_accuracy": 0.7700744728535633,
387
+ "step": 225
388
+ },
389
+ {
390
+ "epoch": 0.680725120236774,
391
+ "grad_norm": 0.4307738720631289,
392
+ "learning_rate": 5.548076867929331e-06,
393
+ "loss": 0.7378,
394
+ "mean_token_accuracy": 0.776832246235763,
395
+ "step": 230
396
+ },
397
+ {
398
+ "epoch": 0.6955234924158342,
399
+ "grad_norm": 0.41121464607634445,
400
+ "learning_rate": 5.090059190266779e-06,
401
+ "loss": 0.7406,
402
+ "mean_token_accuracy": 0.7765003693461154,
403
+ "step": 235
404
+ },
405
+ {
406
+ "epoch": 0.7103218645948945,
407
+ "grad_norm": 0.45298144777476285,
408
+ "learning_rate": 4.645234206515171e-06,
409
+ "loss": 0.7317,
410
+ "mean_token_accuracy": 0.7781266132632949,
411
+ "step": 240
412
+ },
413
+ {
414
+ "epoch": 0.7251202367739549,
415
+ "grad_norm": 0.4394314908483431,
416
+ "learning_rate": 4.214797132682597e-06,
417
+ "loss": 0.7441,
418
+ "mean_token_accuracy": 0.7748357163903637,
419
+ "step": 245
420
+ },
421
+ {
422
+ "epoch": 0.7399186089530152,
423
+ "grad_norm": 0.4686649235864034,
424
+ "learning_rate": 3.799904525392251e-06,
425
+ "loss": 0.7444,
426
+ "mean_token_accuracy": 0.7747861404887806,
427
+ "step": 250
428
+ },
429
+ {
430
+ "epoch": 0.7547169811320755,
431
+ "grad_norm": 0.4580393598454235,
432
+ "learning_rate": 3.401671174289469e-06,
433
+ "loss": 0.7487,
434
+ "mean_token_accuracy": 0.7736604273265788,
435
+ "step": 255
436
+ },
437
+ {
438
+ "epoch": 0.7695153533111357,
439
+ "grad_norm": 0.44809763321344664,
440
+ "learning_rate": 3.021167106673928e-06,
441
+ "loss": 0.7444,
442
+ "mean_token_accuracy": 0.7742978016963584,
443
+ "step": 260
444
+ },
445
+ {
446
+ "epoch": 0.7843137254901961,
447
+ "grad_norm": 0.44623167346697007,
448
+ "learning_rate": 2.6594147124053983e-06,
449
+ "loss": 0.7611,
450
+ "mean_token_accuracy": 0.7693552182761485,
451
+ "step": 265
452
+ },
453
+ {
454
+ "epoch": 0.7991120976692564,
455
+ "grad_norm": 0.4296420285151218,
456
+ "learning_rate": 2.317385996808195e-06,
457
+ "loss": 0.7445,
458
+ "mean_token_accuracy": 0.7747251072802014,
459
+ "step": 270
460
+ },
461
+ {
462
+ "epoch": 0.8139104698483167,
463
+ "grad_norm": 0.42276524099352597,
464
+ "learning_rate": 1.9959999689556407e-06,
465
+ "loss": 0.7434,
466
+ "mean_token_accuracy": 0.7749962959927224,
467
+ "step": 275
468
+ },
469
+ {
470
+ "epoch": 0.8287088420273769,
471
+ "grad_norm": 0.40654966852339464,
472
+ "learning_rate": 1.6961201723520248e-06,
473
+ "loss": 0.745,
474
+ "mean_token_accuracy": 0.7748251576109179,
475
+ "step": 280
476
+ },
477
+ {
478
+ "epoch": 0.8435072142064373,
479
+ "grad_norm": 0.39964576663266177,
480
+ "learning_rate": 1.4185523646469822e-06,
481
+ "loss": 0.7453,
482
+ "mean_token_accuracy": 0.7743583232478018,
483
+ "step": 285
484
+ },
485
+ {
486
+ "epoch": 0.8583055863854976,
487
+ "grad_norm": 0.44418358332672614,
488
+ "learning_rate": 1.1640423526166987e-06,
489
+ "loss": 0.7421,
490
+ "mean_token_accuracy": 0.7752135859422368,
491
+ "step": 290
492
+ },
493
+ {
494
+ "epoch": 0.8731039585645579,
495
+ "grad_norm": 0.4342629337913953,
496
+ "learning_rate": 9.332739882292752e-07,
497
+ "loss": 0.7389,
498
+ "mean_token_accuracy": 0.7758503133694364,
499
+ "step": 295
500
+ },
501
+ {
502
+ "epoch": 0.8879023307436182,
503
+ "grad_norm": 0.41135147536061717,
504
+ "learning_rate": 7.268673311786378e-07,
505
+ "loss": 0.731,
506
+ "mean_token_accuracy": 0.7785768760110521,
507
+ "step": 300
508
+ },
509
+ {
510
+ "epoch": 0.8879023307436182,
511
+ "eval_loss": 0.7652400135993958,
512
+ "eval_mean_token_accuracy": 0.7601369224128498,
513
+ "eval_runtime": 2.5911,
514
+ "eval_samples_per_second": 49.787,
515
+ "eval_steps_per_second": 3.473,
516
+ "step": 300
517
+ },
518
+ {
519
+ "epoch": 0.9027007029226785,
520
+ "grad_norm": 0.39988962133738293,
521
+ "learning_rate": 5.453769828241872e-07,
522
+ "loss": 0.7391,
523
+ "mean_token_accuracy": 0.7761997316063158,
524
+ "step": 305
525
+ },
526
+ {
527
+ "epoch": 0.9174990751017388,
528
+ "grad_norm": 0.39372503713003737,
529
+ "learning_rate": 3.8929059601275463e-07,
530
+ "loss": 0.712,
531
+ "mean_token_accuracy": 0.7836600097392794,
532
+ "step": 310
533
+ },
534
+ {
535
+ "epoch": 0.9322974472807991,
536
+ "grad_norm": 0.4047499663027818,
537
+ "learning_rate": 2.5902756478688674e-07,
538
+ "loss": 0.74,
539
+ "mean_token_accuracy": 0.7763084627740734,
540
+ "step": 315
541
+ },
542
+ {
543
+ "epoch": 0.9470958194598594,
544
+ "grad_norm": 0.40211334686290573,
545
+ "learning_rate": 1.5493789750014032e-07,
546
+ "loss": 0.7373,
547
+ "mean_token_accuracy": 0.7766601805872319,
548
+ "step": 320
549
+ },
550
+ {
551
+ "epoch": 0.9618941916389198,
552
+ "grad_norm": 0.41286377185895773,
553
+ "learning_rate": 7.730127636723539e-08,
554
+ "loss": 0.7236,
555
+ "mean_token_accuracy": 0.780370869489608,
556
+ "step": 325
557
+ },
558
+ {
559
+ "epoch": 0.97669256381798,
560
+ "grad_norm": 0.3892848030884838,
561
+ "learning_rate": 2.6326305976001054e-08,
562
+ "loss": 0.7384,
563
+ "mean_token_accuracy": 0.7764042123223304,
564
+ "step": 330
565
+ },
566
+ {
567
+ "epoch": 0.9914909359970403,
568
+ "grad_norm": 0.41992809425205674,
569
+ "learning_rate": 2.149952780321485e-09,
570
+ "loss": 0.7368,
571
+ "mean_token_accuracy": 0.7763912779815128,
572
+ "step": 335
573
+ },
574
+ {
575
+ "epoch": 0.9974102848686645,
576
+ "mean_token_accuracy": 0.7691777776000949,
577
+ "step": 337,
578
+ "total_flos": 76774385909760.0,
579
+ "train_loss": 0.7816390018434836,
580
+ "train_runtime": 1279.1227,
581
+ "train_samples_per_second": 16.905,
582
+ "train_steps_per_second": 0.263
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:1bc9f5dae517d161d115a29fb8c70df9cb7dc57a16cd245bb8ab03f95a5df02a
3
+ size 7352
vocab.json ADDED
The diff for this file is too large to render. See raw diff