Jinsong-Zhou commited on
Commit
9a28073
·
verified ·
1 Parent(s): 1e212be

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="Jinsong-Zhou/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/jinson/huggingface/runs/qrc2c3at)
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": 76560728064000.0,
3
+ "train_loss": 0.8027291595935822,
4
+ "train_runtime": 10618.3737,
5
+ "train_samples": 16610,
6
+ "train_samples_per_second": 2.036,
7
+ "train_steps_per_second": 0.016
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:9f3785eef10f7b8c04f8b05d0f14402f1bd0cea488bf53e29cf7f44033c2088b
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": 76560728064000.0,
3
+ "train_loss": 0.8027291595935822,
4
+ "train_runtime": 10618.3737,
5
+ "train_samples": 16610,
6
+ "train_samples_per_second": 2.036,
7
+ "train_steps_per_second": 0.016
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,316 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0.9944506104328524,
5
+ "eval_steps": 100,
6
+ "global_step": 168,
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.029596744358120607,
13
+ "grad_norm": 2.297286039806607,
14
+ "learning_rate": 5.882352941176471e-06,
15
+ "loss": 1.1002,
16
+ "mean_token_accuracy": 0.7101261564901226,
17
+ "step": 5
18
+ },
19
+ {
20
+ "epoch": 0.059193488716241215,
21
+ "grad_norm": 1.598959318938298,
22
+ "learning_rate": 1.1764705882352942e-05,
23
+ "loss": 1.0325,
24
+ "mean_token_accuracy": 0.7202338207680274,
25
+ "step": 10
26
+ },
27
+ {
28
+ "epoch": 0.08879023307436182,
29
+ "grad_norm": 0.8557338569703955,
30
+ "learning_rate": 1.7647058823529414e-05,
31
+ "loss": 0.9517,
32
+ "mean_token_accuracy": 0.7325525081674223,
33
+ "step": 15
34
+ },
35
+ {
36
+ "epoch": 0.11838697743248243,
37
+ "grad_norm": 0.6524948891488312,
38
+ "learning_rate": 1.9980527694749952e-05,
39
+ "loss": 0.8805,
40
+ "mean_token_accuracy": 0.7473646233841255,
41
+ "step": 20
42
+ },
43
+ {
44
+ "epoch": 0.14798372179060304,
45
+ "grad_norm": 0.5586962091196656,
46
+ "learning_rate": 1.986180478852149e-05,
47
+ "loss": 0.8535,
48
+ "mean_token_accuracy": 0.7518094119293168,
49
+ "step": 25
50
+ },
51
+ {
52
+ "epoch": 0.17758046614872364,
53
+ "grad_norm": 0.4501992507045545,
54
+ "learning_rate": 1.963645895935632e-05,
55
+ "loss": 0.8403,
56
+ "mean_token_accuracy": 0.7545180402865705,
57
+ "step": 30
58
+ },
59
+ {
60
+ "epoch": 0.20717721050684423,
61
+ "grad_norm": 0.40514440229124343,
62
+ "learning_rate": 1.930692657985482e-05,
63
+ "loss": 0.8211,
64
+ "mean_token_accuracy": 0.7579922643362512,
65
+ "step": 35
66
+ },
67
+ {
68
+ "epoch": 0.23677395486496486,
69
+ "grad_norm": 0.39471525110138866,
70
+ "learning_rate": 1.887677045685188e-05,
71
+ "loss": 0.8049,
72
+ "mean_token_accuracy": 0.7621190554838779,
73
+ "step": 40
74
+ },
75
+ {
76
+ "epoch": 0.2663706992230855,
77
+ "grad_norm": 0.43739042181311494,
78
+ "learning_rate": 1.8350641311400813e-05,
79
+ "loss": 0.7984,
80
+ "mean_token_accuracy": 0.7634295080529785,
81
+ "step": 45
82
+ },
83
+ {
84
+ "epoch": 0.2959674435812061,
85
+ "grad_norm": 0.4050015485090704,
86
+ "learning_rate": 1.773422749654988e-05,
87
+ "loss": 0.7936,
88
+ "mean_token_accuracy": 0.7642335004344475,
89
+ "step": 50
90
+ },
91
+ {
92
+ "epoch": 0.3255641879393267,
93
+ "grad_norm": 0.3862008743204375,
94
+ "learning_rate": 1.7034193496547903e-05,
95
+ "loss": 0.7894,
96
+ "mean_token_accuracy": 0.7648157866255213,
97
+ "step": 55
98
+ },
99
+ {
100
+ "epoch": 0.3551609322974473,
101
+ "grad_norm": 0.3808360474271673,
102
+ "learning_rate": 1.6258107872407376e-05,
103
+ "loss": 0.7999,
104
+ "mean_token_accuracy": 0.7619282901641846,
105
+ "step": 60
106
+ },
107
+ {
108
+ "epoch": 0.38475767665556787,
109
+ "grad_norm": 0.41625214344673966,
110
+ "learning_rate": 1.5414361432856475e-05,
111
+ "loss": 0.7869,
112
+ "mean_token_accuracy": 0.7646248305016428,
113
+ "step": 65
114
+ },
115
+ {
116
+ "epoch": 0.41435442101368847,
117
+ "grad_norm": 0.3836610280759421,
118
+ "learning_rate": 1.4512076515391375e-05,
119
+ "loss": 0.7782,
120
+ "mean_token_accuracy": 0.7674149625106065,
121
+ "step": 70
122
+ },
123
+ {
124
+ "epoch": 0.4439511653718091,
125
+ "grad_norm": 0.3429055885862389,
126
+ "learning_rate": 1.356100835825547e-05,
127
+ "loss": 0.7771,
128
+ "mean_token_accuracy": 0.767463215138475,
129
+ "step": 75
130
+ },
131
+ {
132
+ "epoch": 0.4735479097299297,
133
+ "grad_norm": 0.3548520942127707,
134
+ "learning_rate": 1.257143962968246e-05,
135
+ "loss": 0.7783,
136
+ "mean_token_accuracy": 0.7665814820650783,
137
+ "step": 80
138
+ },
139
+ {
140
+ "epoch": 0.5031446540880503,
141
+ "grad_norm": 0.34670016990380903,
142
+ "learning_rate": 1.155406925472205e-05,
143
+ "loss": 0.7786,
144
+ "mean_token_accuracy": 0.7668829515693034,
145
+ "step": 85
146
+ },
147
+ {
148
+ "epoch": 0.532741398446171,
149
+ "grad_norm": 0.354375470838285,
150
+ "learning_rate": 1.0519896741619803e-05,
151
+ "loss": 0.7724,
152
+ "mean_token_accuracy": 0.7681869031104136,
153
+ "step": 90
154
+ },
155
+ {
156
+ "epoch": 0.5623381428042915,
157
+ "grad_norm": 0.35042728553773317,
158
+ "learning_rate": 9.480103258380198e-06,
159
+ "loss": 0.7668,
160
+ "mean_token_accuracy": 0.7697937295203819,
161
+ "step": 95
162
+ },
163
+ {
164
+ "epoch": 0.5919348871624122,
165
+ "grad_norm": 0.3487619390880057,
166
+ "learning_rate": 8.445930745277953e-06,
167
+ "loss": 0.7584,
168
+ "mean_token_accuracy": 0.7713990834609527,
169
+ "step": 100
170
+ },
171
+ {
172
+ "epoch": 0.5919348871624122,
173
+ "eval_loss": 0.7887204885482788,
174
+ "eval_mean_token_accuracy": 0.7581970585874204,
175
+ "eval_runtime": 20.8083,
176
+ "eval_samples_per_second": 6.199,
177
+ "eval_steps_per_second": 0.817,
178
+ "step": 100
179
+ },
180
+ {
181
+ "epoch": 0.6215316315205327,
182
+ "grad_norm": 0.3648322197104147,
183
+ "learning_rate": 7.428560370317542e-06,
184
+ "loss": 0.7592,
185
+ "mean_token_accuracy": 0.77141248230712,
186
+ "step": 105
187
+ },
188
+ {
189
+ "epoch": 0.6511283758786534,
190
+ "grad_norm": 0.3244685784676015,
191
+ "learning_rate": 6.438991641744531e-06,
192
+ "loss": 0.7777,
193
+ "mean_token_accuracy": 0.7663982071721088,
194
+ "step": 110
195
+ },
196
+ {
197
+ "epoch": 0.680725120236774,
198
+ "grad_norm": 0.31476170427058586,
199
+ "learning_rate": 5.487923484608629e-06,
200
+ "loss": 0.7637,
201
+ "mean_token_accuracy": 0.7702532985281345,
202
+ "step": 115
203
+ },
204
+ {
205
+ "epoch": 0.7103218645948945,
206
+ "grad_norm": 0.30378046295629435,
207
+ "learning_rate": 4.5856385671435285e-06,
208
+ "loss": 0.7512,
209
+ "mean_token_accuracy": 0.7742151065835647,
210
+ "step": 120
211
+ },
212
+ {
213
+ "epoch": 0.7399186089530152,
214
+ "grad_norm": 0.3245568919497631,
215
+ "learning_rate": 3.7418921275926245e-06,
216
+ "loss": 0.7596,
217
+ "mean_token_accuracy": 0.7716760745454179,
218
+ "step": 125
219
+ },
220
+ {
221
+ "epoch": 0.7695153533111357,
222
+ "grad_norm": 0.32838254037360903,
223
+ "learning_rate": 2.965806503452098e-06,
224
+ "loss": 0.7626,
225
+ "mean_token_accuracy": 0.7704949384884608,
226
+ "step": 130
227
+ },
228
+ {
229
+ "epoch": 0.7991120976692564,
230
+ "grad_norm": 0.30665122068538603,
231
+ "learning_rate": 2.265772503450122e-06,
232
+ "loss": 0.7686,
233
+ "mean_token_accuracy": 0.7688054766465177,
234
+ "step": 135
235
+ },
236
+ {
237
+ "epoch": 0.8287088420273769,
238
+ "grad_norm": 0.2993142489345467,
239
+ "learning_rate": 1.6493586885991908e-06,
240
+ "loss": 0.7599,
241
+ "mean_token_accuracy": 0.771630464199698,
242
+ "step": 140
243
+ },
244
+ {
245
+ "epoch": 0.8583055863854976,
246
+ "grad_norm": 0.31657760951455227,
247
+ "learning_rate": 1.1232295431481222e-06,
248
+ "loss": 0.7598,
249
+ "mean_token_accuracy": 0.7713579193104667,
250
+ "step": 145
251
+ },
252
+ {
253
+ "epoch": 0.8879023307436182,
254
+ "grad_norm": 0.29677317819620136,
255
+ "learning_rate": 6.930734201451817e-07,
256
+ "loss": 0.7508,
257
+ "mean_token_accuracy": 0.7738701734792748,
258
+ "step": 150
259
+ },
260
+ {
261
+ "epoch": 0.9174990751017388,
262
+ "grad_norm": 0.28445809248236675,
263
+ "learning_rate": 3.635410406436857e-07,
264
+ "loss": 0.7413,
265
+ "mean_token_accuracy": 0.7766777954365708,
266
+ "step": 155
267
+ },
268
+ {
269
+ "epoch": 0.9470958194598594,
270
+ "grad_norm": 0.30204735729222293,
271
+ "learning_rate": 1.3819521147851122e-07,
272
+ "loss": 0.7543,
273
+ "mean_token_accuracy": 0.7731135856147668,
274
+ "step": 160
275
+ },
276
+ {
277
+ "epoch": 0.97669256381798,
278
+ "grad_norm": 0.2818907779460126,
279
+ "learning_rate": 1.947230525005006e-08,
280
+ "loss": 0.747,
281
+ "mean_token_accuracy": 0.7748765676578209,
282
+ "step": 165
283
+ },
284
+ {
285
+ "epoch": 0.9944506104328524,
286
+ "mean_token_accuracy": 0.7702185157826186,
287
+ "step": 168,
288
+ "total_flos": 76560728064000.0,
289
+ "train_loss": 0.8027291595935822,
290
+ "train_runtime": 10618.3737,
291
+ "train_samples_per_second": 2.036,
292
+ "train_steps_per_second": 0.016
293
+ }
294
+ ],
295
+ "logging_steps": 5,
296
+ "max_steps": 168,
297
+ "num_input_tokens_seen": 0,
298
+ "num_train_epochs": 1,
299
+ "save_steps": 500,
300
+ "stateful_callbacks": {
301
+ "TrainerControl": {
302
+ "args": {
303
+ "should_epoch_stop": false,
304
+ "should_evaluate": false,
305
+ "should_log": false,
306
+ "should_save": false,
307
+ "should_training_stop": false
308
+ },
309
+ "attributes": {}
310
+ }
311
+ },
312
+ "total_flos": 76560728064000.0,
313
+ "train_batch_size": 2,
314
+ "trial_name": null,
315
+ "trial_params": null
316
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:abd53e75020bb3047ec94eafdd3da5bcfaac22c67866f08be41e69762effed65
3
+ size 7416
vocab.json ADDED
The diff for this file is too large to render. See raw diff