xdrshjr commited on
Commit
13e16a8
·
verified ·
1 Parent(s): 42a9532

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-0.5B-Instruct
3
+ library_name: transformers
4
+ model_name: Qwen2.5-0.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-0.5B-Open-R1-Distill
13
+
14
+ This model is a fine-tuned version of [Qwen/Qwen2.5-0.5B-Instruct](https://huggingface.co/Qwen/Qwen2.5-0.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="xdrshjr/Qwen2.5-0.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/xdrshjr/huggingface/runs/huebpabw)
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,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.9994447529150472,
3
+ "total_flos": 1.8998720188121088e+17,
4
+ "train_loss": 0.9762679852379693,
5
+ "train_runtime": 18617.8565,
6
+ "train_samples": 16610,
7
+ "train_samples_per_second": 2.321,
8
+ "train_steps_per_second": 0.024
9
+ }
config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Qwen/Qwen2.5-0.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": 896,
11
+ "initializer_range": 0.02,
12
+ "intermediate_size": 4864,
13
+ "max_position_embeddings": 32768,
14
+ "max_window_layers": 21,
15
+ "model_type": "qwen2",
16
+ "num_attention_heads": 14,
17
+ "num_hidden_layers": 24,
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:23130c09a9a7e32350fdf95e9c25d240c419cfac4f301dbeb175faf965a57e9b
3
+ size 1260367448
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,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.9994447529150472,
3
+ "total_flos": 1.8998720188121088e+17,
4
+ "train_loss": 0.9762679852379693,
5
+ "train_runtime": 18617.8565,
6
+ "train_samples": 16610,
7
+ "train_samples_per_second": 2.321,
8
+ "train_steps_per_second": 0.024
9
+ }
trainer_state.json ADDED
@@ -0,0 +1,704 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0.9994447529150472,
5
+ "eval_steps": 100,
6
+ "global_step": 450,
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.01110494169905608,
13
+ "grad_norm": 5.397180080413818,
14
+ "learning_rate": 2.222222222222222e-06,
15
+ "loss": 1.3609,
16
+ "step": 5
17
+ },
18
+ {
19
+ "epoch": 0.02220988339811216,
20
+ "grad_norm": 3.014500141143799,
21
+ "learning_rate": 4.444444444444444e-06,
22
+ "loss": 1.366,
23
+ "step": 10
24
+ },
25
+ {
26
+ "epoch": 0.03331482509716824,
27
+ "grad_norm": 2.8811240196228027,
28
+ "learning_rate": 6.666666666666667e-06,
29
+ "loss": 1.2626,
30
+ "step": 15
31
+ },
32
+ {
33
+ "epoch": 0.04441976679622432,
34
+ "grad_norm": 2.0619661808013916,
35
+ "learning_rate": 8.888888888888888e-06,
36
+ "loss": 1.1859,
37
+ "step": 20
38
+ },
39
+ {
40
+ "epoch": 0.0555247084952804,
41
+ "grad_norm": 1.5281075239181519,
42
+ "learning_rate": 1.1111111111111113e-05,
43
+ "loss": 1.1469,
44
+ "step": 25
45
+ },
46
+ {
47
+ "epoch": 0.06662965019433648,
48
+ "grad_norm": 1.2808576822280884,
49
+ "learning_rate": 1.3333333333333333e-05,
50
+ "loss": 1.1063,
51
+ "step": 30
52
+ },
53
+ {
54
+ "epoch": 0.07773459189339256,
55
+ "grad_norm": 1.2353777885437012,
56
+ "learning_rate": 1.555555555555556e-05,
57
+ "loss": 1.0649,
58
+ "step": 35
59
+ },
60
+ {
61
+ "epoch": 0.08883953359244864,
62
+ "grad_norm": 1.280089020729065,
63
+ "learning_rate": 1.7777777777777777e-05,
64
+ "loss": 1.0574,
65
+ "step": 40
66
+ },
67
+ {
68
+ "epoch": 0.09994447529150471,
69
+ "grad_norm": 1.1332577466964722,
70
+ "learning_rate": 2e-05,
71
+ "loss": 1.059,
72
+ "step": 45
73
+ },
74
+ {
75
+ "epoch": 0.1110494169905608,
76
+ "grad_norm": 1.115410566329956,
77
+ "learning_rate": 1.9992479525042305e-05,
78
+ "loss": 1.0259,
79
+ "step": 50
80
+ },
81
+ {
82
+ "epoch": 0.12215435868961688,
83
+ "grad_norm": 1.1548365354537964,
84
+ "learning_rate": 1.996992941167792e-05,
85
+ "loss": 1.0407,
86
+ "step": 55
87
+ },
88
+ {
89
+ "epoch": 0.13325930038867295,
90
+ "grad_norm": 1.1644798517227173,
91
+ "learning_rate": 1.9932383577419432e-05,
92
+ "loss": 1.0219,
93
+ "step": 60
94
+ },
95
+ {
96
+ "epoch": 0.14436424208772905,
97
+ "grad_norm": 1.0820422172546387,
98
+ "learning_rate": 1.9879898494768093e-05,
99
+ "loss": 1.0128,
100
+ "step": 65
101
+ },
102
+ {
103
+ "epoch": 0.15546918378678512,
104
+ "grad_norm": 1.086032748222351,
105
+ "learning_rate": 1.9812553106273848e-05,
106
+ "loss": 1.0004,
107
+ "step": 70
108
+ },
109
+ {
110
+ "epoch": 0.1665741254858412,
111
+ "grad_norm": 1.0374068021774292,
112
+ "learning_rate": 1.973044870579824e-05,
113
+ "loss": 1.0018,
114
+ "step": 75
115
+ },
116
+ {
117
+ "epoch": 0.1776790671848973,
118
+ "grad_norm": 1.0140597820281982,
119
+ "learning_rate": 1.9633708786158803e-05,
120
+ "loss": 0.9955,
121
+ "step": 80
122
+ },
123
+ {
124
+ "epoch": 0.18878400888395336,
125
+ "grad_norm": 1.124200701713562,
126
+ "learning_rate": 1.9522478853384154e-05,
127
+ "loss": 0.9913,
128
+ "step": 85
129
+ },
130
+ {
131
+ "epoch": 0.19988895058300943,
132
+ "grad_norm": 1.048175573348999,
133
+ "learning_rate": 1.9396926207859085e-05,
134
+ "loss": 0.9913,
135
+ "step": 90
136
+ },
137
+ {
138
+ "epoch": 0.21099389228206553,
139
+ "grad_norm": 1.1582220792770386,
140
+ "learning_rate": 1.9257239692688907e-05,
141
+ "loss": 1.0055,
142
+ "step": 95
143
+ },
144
+ {
145
+ "epoch": 0.2220988339811216,
146
+ "grad_norm": 0.9994953870773315,
147
+ "learning_rate": 1.9103629409661468e-05,
148
+ "loss": 0.9986,
149
+ "step": 100
150
+ },
151
+ {
152
+ "epoch": 0.2220988339811216,
153
+ "eval_loss": 1.0169899463653564,
154
+ "eval_runtime": 32.3732,
155
+ "eval_samples_per_second": 7.908,
156
+ "eval_steps_per_second": 0.988,
157
+ "step": 100
158
+ },
159
+ {
160
+ "epoch": 0.23320377568017767,
161
+ "grad_norm": 1.1112126111984253,
162
+ "learning_rate": 1.8936326403234125e-05,
163
+ "loss": 0.9954,
164
+ "step": 105
165
+ },
166
+ {
167
+ "epoch": 0.24430871737923376,
168
+ "grad_norm": 1.0678929090499878,
169
+ "learning_rate": 1.8755582313020912e-05,
170
+ "loss": 0.9847,
171
+ "step": 110
172
+ },
173
+ {
174
+ "epoch": 0.25541365907828983,
175
+ "grad_norm": 1.041691780090332,
176
+ "learning_rate": 1.8561668995302668e-05,
177
+ "loss": 0.9853,
178
+ "step": 115
179
+ },
180
+ {
181
+ "epoch": 0.2665186007773459,
182
+ "grad_norm": 1.0803673267364502,
183
+ "learning_rate": 1.8354878114129368e-05,
184
+ "loss": 0.9597,
185
+ "step": 120
186
+ },
187
+ {
188
+ "epoch": 0.277623542476402,
189
+ "grad_norm": 1.0018560886383057,
190
+ "learning_rate": 1.8135520702629677e-05,
191
+ "loss": 0.9833,
192
+ "step": 125
193
+ },
194
+ {
195
+ "epoch": 0.2887284841754581,
196
+ "grad_norm": 1.1001731157302856,
197
+ "learning_rate": 1.7903926695187595e-05,
198
+ "loss": 0.9699,
199
+ "step": 130
200
+ },
201
+ {
202
+ "epoch": 0.29983342587451417,
203
+ "grad_norm": 1.0463827848434448,
204
+ "learning_rate": 1.766044443118978e-05,
205
+ "loss": 0.9712,
206
+ "step": 135
207
+ },
208
+ {
209
+ "epoch": 0.31093836757357024,
210
+ "grad_norm": 1.3691056966781616,
211
+ "learning_rate": 1.740544013109005e-05,
212
+ "loss": 0.987,
213
+ "step": 140
214
+ },
215
+ {
216
+ "epoch": 0.3220433092726263,
217
+ "grad_norm": 1.0720419883728027,
218
+ "learning_rate": 1.7139297345578992e-05,
219
+ "loss": 0.9626,
220
+ "step": 145
221
+ },
222
+ {
223
+ "epoch": 0.3331482509716824,
224
+ "grad_norm": 1.0211371183395386,
225
+ "learning_rate": 1.686241637868734e-05,
226
+ "loss": 0.9522,
227
+ "step": 150
228
+ },
229
+ {
230
+ "epoch": 0.3442531926707385,
231
+ "grad_norm": 1.0119701623916626,
232
+ "learning_rate": 1.657521368569064e-05,
233
+ "loss": 0.977,
234
+ "step": 155
235
+ },
236
+ {
237
+ "epoch": 0.3553581343697946,
238
+ "grad_norm": 1.0520477294921875,
239
+ "learning_rate": 1.627812124672099e-05,
240
+ "loss": 0.9769,
241
+ "step": 160
242
+ },
243
+ {
244
+ "epoch": 0.36646307606885065,
245
+ "grad_norm": 1.1625330448150635,
246
+ "learning_rate": 1.5971585917027864e-05,
247
+ "loss": 0.9802,
248
+ "step": 165
249
+ },
250
+ {
251
+ "epoch": 0.3775680177679067,
252
+ "grad_norm": 1.0677601099014282,
253
+ "learning_rate": 1.5656068754865388e-05,
254
+ "loss": 0.96,
255
+ "step": 170
256
+ },
257
+ {
258
+ "epoch": 0.3886729594669628,
259
+ "grad_norm": 1.1049383878707886,
260
+ "learning_rate": 1.5332044328016916e-05,
261
+ "loss": 0.9643,
262
+ "step": 175
263
+ },
264
+ {
265
+ "epoch": 0.39977790116601886,
266
+ "grad_norm": 1.062893271446228,
267
+ "learning_rate": 1.5000000000000002e-05,
268
+ "loss": 0.9386,
269
+ "step": 180
270
+ },
271
+ {
272
+ "epoch": 0.410882842865075,
273
+ "grad_norm": 1.0128767490386963,
274
+ "learning_rate": 1.4660435197025391e-05,
275
+ "loss": 0.9559,
276
+ "step": 185
277
+ },
278
+ {
279
+ "epoch": 0.42198778456413105,
280
+ "grad_norm": 1.0378108024597168,
281
+ "learning_rate": 1.4313860656812537e-05,
282
+ "loss": 0.9347,
283
+ "step": 190
284
+ },
285
+ {
286
+ "epoch": 0.4330927262631871,
287
+ "grad_norm": 1.0094784498214722,
288
+ "learning_rate": 1.396079766039157e-05,
289
+ "loss": 0.9623,
290
+ "step": 195
291
+ },
292
+ {
293
+ "epoch": 0.4441976679622432,
294
+ "grad_norm": 0.9790409803390503,
295
+ "learning_rate": 1.3601777248047105e-05,
296
+ "loss": 0.9678,
297
+ "step": 200
298
+ },
299
+ {
300
+ "epoch": 0.4441976679622432,
301
+ "eval_loss": 0.9827648997306824,
302
+ "eval_runtime": 32.188,
303
+ "eval_samples_per_second": 7.953,
304
+ "eval_steps_per_second": 0.994,
305
+ "step": 200
306
+ },
307
+ {
308
+ "epoch": 0.45530260966129926,
309
+ "grad_norm": 0.9436436891555786,
310
+ "learning_rate": 1.3237339420583213e-05,
311
+ "loss": 0.96,
312
+ "step": 205
313
+ },
314
+ {
315
+ "epoch": 0.46640755136035533,
316
+ "grad_norm": 0.9316679239273071,
317
+ "learning_rate": 1.2868032327110904e-05,
318
+ "loss": 0.9326,
319
+ "step": 210
320
+ },
321
+ {
322
+ "epoch": 0.47751249305941146,
323
+ "grad_norm": 0.9514685273170471,
324
+ "learning_rate": 1.2494411440579814e-05,
325
+ "loss": 0.9661,
326
+ "step": 215
327
+ },
328
+ {
329
+ "epoch": 0.48861743475846753,
330
+ "grad_norm": 1.0059814453125,
331
+ "learning_rate": 1.211703872229411e-05,
332
+ "loss": 0.915,
333
+ "step": 220
334
+ },
335
+ {
336
+ "epoch": 0.4997223764575236,
337
+ "grad_norm": 0.9615886211395264,
338
+ "learning_rate": 1.1736481776669307e-05,
339
+ "loss": 0.9478,
340
+ "step": 225
341
+ },
342
+ {
343
+ "epoch": 0.5108273181565797,
344
+ "grad_norm": 0.9393269419670105,
345
+ "learning_rate": 1.1353312997501313e-05,
346
+ "loss": 0.93,
347
+ "step": 230
348
+ },
349
+ {
350
+ "epoch": 0.5219322598556357,
351
+ "grad_norm": 0.9677947759628296,
352
+ "learning_rate": 1.0968108707031792e-05,
353
+ "loss": 0.9507,
354
+ "step": 235
355
+ },
356
+ {
357
+ "epoch": 0.5330372015546918,
358
+ "grad_norm": 0.9616990685462952,
359
+ "learning_rate": 1.0581448289104759e-05,
360
+ "loss": 0.9205,
361
+ "step": 240
362
+ },
363
+ {
364
+ "epoch": 0.5441421432537479,
365
+ "grad_norm": 0.9439184665679932,
366
+ "learning_rate": 1.0193913317718245e-05,
367
+ "loss": 0.9673,
368
+ "step": 245
369
+ },
370
+ {
371
+ "epoch": 0.555247084952804,
372
+ "grad_norm": 1.0039938688278198,
373
+ "learning_rate": 9.806086682281759e-06,
374
+ "loss": 0.9373,
375
+ "step": 250
376
+ },
377
+ {
378
+ "epoch": 0.5663520266518601,
379
+ "grad_norm": 0.966042697429657,
380
+ "learning_rate": 9.418551710895243e-06,
381
+ "loss": 0.9518,
382
+ "step": 255
383
+ },
384
+ {
385
+ "epoch": 0.5774569683509162,
386
+ "grad_norm": 0.9549779891967773,
387
+ "learning_rate": 9.03189129296821e-06,
388
+ "loss": 0.9537,
389
+ "step": 260
390
+ },
391
+ {
392
+ "epoch": 0.5885619100499723,
393
+ "grad_norm": 0.9227808713912964,
394
+ "learning_rate": 8.646687002498692e-06,
395
+ "loss": 0.9477,
396
+ "step": 265
397
+ },
398
+ {
399
+ "epoch": 0.5996668517490283,
400
+ "grad_norm": 0.9466913938522339,
401
+ "learning_rate": 8.263518223330698e-06,
402
+ "loss": 0.9306,
403
+ "step": 270
404
+ },
405
+ {
406
+ "epoch": 0.6107717934480844,
407
+ "grad_norm": 0.8789124488830566,
408
+ "learning_rate": 7.882961277705897e-06,
409
+ "loss": 0.9392,
410
+ "step": 275
411
+ },
412
+ {
413
+ "epoch": 0.6218767351471405,
414
+ "grad_norm": 0.9538043737411499,
415
+ "learning_rate": 7.505588559420188e-06,
416
+ "loss": 0.9541,
417
+ "step": 280
418
+ },
419
+ {
420
+ "epoch": 0.6329816768461966,
421
+ "grad_norm": 0.9842989444732666,
422
+ "learning_rate": 7.131967672889101e-06,
423
+ "loss": 0.9555,
424
+ "step": 285
425
+ },
426
+ {
427
+ "epoch": 0.6440866185452526,
428
+ "grad_norm": 0.951591432094574,
429
+ "learning_rate": 6.762660579416791e-06,
430
+ "loss": 0.947,
431
+ "step": 290
432
+ },
433
+ {
434
+ "epoch": 0.6551915602443087,
435
+ "grad_norm": 0.9323354363441467,
436
+ "learning_rate": 6.3982227519528986e-06,
437
+ "loss": 0.9434,
438
+ "step": 295
439
+ },
440
+ {
441
+ "epoch": 0.6662965019433648,
442
+ "grad_norm": 0.8553444147109985,
443
+ "learning_rate": 6.039202339608432e-06,
444
+ "loss": 0.9332,
445
+ "step": 300
446
+ },
447
+ {
448
+ "epoch": 0.6662965019433648,
449
+ "eval_loss": 0.964606523513794,
450
+ "eval_runtime": 32.3264,
451
+ "eval_samples_per_second": 7.919,
452
+ "eval_steps_per_second": 0.99,
453
+ "step": 300
454
+ },
455
+ {
456
+ "epoch": 0.6774014436424208,
457
+ "grad_norm": 0.9099004864692688,
458
+ "learning_rate": 5.686139343187468e-06,
459
+ "loss": 0.9368,
460
+ "step": 305
461
+ },
462
+ {
463
+ "epoch": 0.688506385341477,
464
+ "grad_norm": 0.8473957777023315,
465
+ "learning_rate": 5.339564802974615e-06,
466
+ "loss": 0.9326,
467
+ "step": 310
468
+ },
469
+ {
470
+ "epoch": 0.6996113270405331,
471
+ "grad_norm": 0.8807346224784851,
472
+ "learning_rate": 5.000000000000003e-06,
473
+ "loss": 0.9316,
474
+ "step": 315
475
+ },
476
+ {
477
+ "epoch": 0.7107162687395892,
478
+ "grad_norm": 0.9112072587013245,
479
+ "learning_rate": 4.66795567198309e-06,
480
+ "loss": 0.9502,
481
+ "step": 320
482
+ },
483
+ {
484
+ "epoch": 0.7218212104386452,
485
+ "grad_norm": 0.892538845539093,
486
+ "learning_rate": 4.343931245134616e-06,
487
+ "loss": 0.9412,
488
+ "step": 325
489
+ },
490
+ {
491
+ "epoch": 0.7329261521377013,
492
+ "grad_norm": 0.8999789357185364,
493
+ "learning_rate": 4.028414082972141e-06,
494
+ "loss": 0.9345,
495
+ "step": 330
496
+ },
497
+ {
498
+ "epoch": 0.7440310938367574,
499
+ "grad_norm": 0.878555178642273,
500
+ "learning_rate": 3.7218787532790167e-06,
501
+ "loss": 0.9271,
502
+ "step": 335
503
+ },
504
+ {
505
+ "epoch": 0.7551360355358134,
506
+ "grad_norm": 0.8958238363265991,
507
+ "learning_rate": 3.424786314309365e-06,
508
+ "loss": 0.9289,
509
+ "step": 340
510
+ },
511
+ {
512
+ "epoch": 0.7662409772348695,
513
+ "grad_norm": 0.8239888548851013,
514
+ "learning_rate": 3.1375836213126653e-06,
515
+ "loss": 0.9422,
516
+ "step": 345
517
+ },
518
+ {
519
+ "epoch": 0.7773459189339256,
520
+ "grad_norm": 0.9257540702819824,
521
+ "learning_rate": 2.8607026544210115e-06,
522
+ "loss": 0.9281,
523
+ "step": 350
524
+ },
525
+ {
526
+ "epoch": 0.7884508606329816,
527
+ "grad_norm": 0.883544921875,
528
+ "learning_rate": 2.594559868909956e-06,
529
+ "loss": 0.9136,
530
+ "step": 355
531
+ },
532
+ {
533
+ "epoch": 0.7995558023320377,
534
+ "grad_norm": 6.725770950317383,
535
+ "learning_rate": 2.339555568810221e-06,
536
+ "loss": 0.938,
537
+ "step": 360
538
+ },
539
+ {
540
+ "epoch": 0.8106607440310938,
541
+ "grad_norm": 0.8539109230041504,
542
+ "learning_rate": 2.0960733048124082e-06,
543
+ "loss": 0.9311,
544
+ "step": 365
545
+ },
546
+ {
547
+ "epoch": 0.82176568573015,
548
+ "grad_norm": 0.9241852760314941,
549
+ "learning_rate": 1.8644792973703252e-06,
550
+ "loss": 0.9349,
551
+ "step": 370
552
+ },
553
+ {
554
+ "epoch": 0.832870627429206,
555
+ "grad_norm": 0.8888701796531677,
556
+ "learning_rate": 1.6451218858706374e-06,
557
+ "loss": 0.9426,
558
+ "step": 375
559
+ },
560
+ {
561
+ "epoch": 0.8439755691282621,
562
+ "grad_norm": 0.8378512263298035,
563
+ "learning_rate": 1.4383310046973365e-06,
564
+ "loss": 0.9213,
565
+ "step": 380
566
+ },
567
+ {
568
+ "epoch": 0.8550805108273182,
569
+ "grad_norm": 0.8606922626495361,
570
+ "learning_rate": 1.2444176869790925e-06,
571
+ "loss": 0.927,
572
+ "step": 385
573
+ },
574
+ {
575
+ "epoch": 0.8661854525263742,
576
+ "grad_norm": 0.7981701493263245,
577
+ "learning_rate": 1.0636735967658785e-06,
578
+ "loss": 0.9145,
579
+ "step": 390
580
+ },
581
+ {
582
+ "epoch": 0.8772903942254303,
583
+ "grad_norm": 0.8214133977890015,
584
+ "learning_rate": 8.963705903385344e-07,
585
+ "loss": 0.9398,
586
+ "step": 395
587
+ },
588
+ {
589
+ "epoch": 0.8883953359244864,
590
+ "grad_norm": 0.8718788623809814,
591
+ "learning_rate": 7.427603073110967e-07,
592
+ "loss": 0.9027,
593
+ "step": 400
594
+ },
595
+ {
596
+ "epoch": 0.8883953359244864,
597
+ "eval_loss": 0.9576538801193237,
598
+ "eval_runtime": 31.9874,
599
+ "eval_samples_per_second": 8.003,
600
+ "eval_steps_per_second": 1.0,
601
+ "step": 400
602
+ },
603
+ {
604
+ "epoch": 0.8995002776235425,
605
+ "grad_norm": 0.8060287237167358,
606
+ "learning_rate": 6.030737921409169e-07,
607
+ "loss": 0.9305,
608
+ "step": 405
609
+ },
610
+ {
611
+ "epoch": 0.9106052193225985,
612
+ "grad_norm": 0.8300138711929321,
613
+ "learning_rate": 4.775211466158469e-07,
614
+ "loss": 0.9381,
615
+ "step": 410
616
+ },
617
+ {
618
+ "epoch": 0.9217101610216546,
619
+ "grad_norm": 0.8601639270782471,
620
+ "learning_rate": 3.662912138411967e-07,
621
+ "loss": 0.9231,
622
+ "step": 415
623
+ },
624
+ {
625
+ "epoch": 0.9328151027207107,
626
+ "grad_norm": 0.8134458065032959,
627
+ "learning_rate": 2.6955129420176193e-07,
628
+ "loss": 0.9115,
629
+ "step": 420
630
+ },
631
+ {
632
+ "epoch": 0.9439200444197668,
633
+ "grad_norm": 0.7816701531410217,
634
+ "learning_rate": 1.874468937261531e-07,
635
+ "loss": 0.9183,
636
+ "step": 425
637
+ },
638
+ {
639
+ "epoch": 0.9550249861188229,
640
+ "grad_norm": 0.8716827034950256,
641
+ "learning_rate": 1.201015052319099e-07,
642
+ "loss": 0.9503,
643
+ "step": 430
644
+ },
645
+ {
646
+ "epoch": 0.966129927817879,
647
+ "grad_norm": 0.8040913939476013,
648
+ "learning_rate": 6.761642258056977e-08,
649
+ "loss": 0.9306,
650
+ "step": 435
651
+ },
652
+ {
653
+ "epoch": 0.9772348695169351,
654
+ "grad_norm": 0.7763182520866394,
655
+ "learning_rate": 3.0070588322079765e-08,
656
+ "loss": 0.9244,
657
+ "step": 440
658
+ },
659
+ {
660
+ "epoch": 0.9883398112159911,
661
+ "grad_norm": 0.825076162815094,
662
+ "learning_rate": 7.520474957699586e-09,
663
+ "loss": 0.9321,
664
+ "step": 445
665
+ },
666
+ {
667
+ "epoch": 0.9994447529150472,
668
+ "grad_norm": 0.8443522453308105,
669
+ "learning_rate": 0.0,
670
+ "loss": 0.9389,
671
+ "step": 450
672
+ },
673
+ {
674
+ "epoch": 0.9994447529150472,
675
+ "step": 450,
676
+ "total_flos": 1.8998720188121088e+17,
677
+ "train_loss": 0.9762679852379693,
678
+ "train_runtime": 18617.8565,
679
+ "train_samples_per_second": 2.321,
680
+ "train_steps_per_second": 0.024
681
+ }
682
+ ],
683
+ "logging_steps": 5,
684
+ "max_steps": 450,
685
+ "num_input_tokens_seen": 0,
686
+ "num_train_epochs": 1,
687
+ "save_steps": 500,
688
+ "stateful_callbacks": {
689
+ "TrainerControl": {
690
+ "args": {
691
+ "should_epoch_stop": false,
692
+ "should_evaluate": false,
693
+ "should_log": false,
694
+ "should_save": false,
695
+ "should_training_stop": false
696
+ },
697
+ "attributes": {}
698
+ }
699
+ },
700
+ "total_flos": 1.8998720188121088e+17,
701
+ "train_batch_size": 2,
702
+ "trial_name": null,
703
+ "trial_params": null
704
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bd3d8b6ea5bdf1114b708b5ae71b6aeca43de79519d0ed497d2eab6378f03fa9
3
+ size 7352
vocab.json ADDED
The diff for this file is too large to render. See raw diff