saemin21 commited on
Commit
289fe83
·
verified ·
1 Parent(s): eea2e4f

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="saemin21/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/saemin21-postech/huggingface/runs/b2xvukxr)
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
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.997779422649889,
3
+ "total_flos": 76745898196992.0,
4
+ "train_loss": 0.7814422148979029,
5
+ "train_runtime": 1966.4009,
6
+ "train_samples": 16610,
7
+ "train_samples_per_second": 10.99,
8
+ "train_steps_per_second": 0.171
9
+ }
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:eea43246bd3b0f285656e8a9c8b6d564a6023ac4c9207801605c43ccedb93e8a
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,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.997779422649889,
3
+ "total_flos": 76745898196992.0,
4
+ "train_loss": 0.7814422148979029,
5
+ "train_runtime": 1966.4009,
6
+ "train_samples": 16610,
7
+ "train_samples_per_second": 10.99,
8
+ "train_steps_per_second": 0.171
9
+ }
trainer_state.json ADDED
@@ -0,0 +1,535 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0.997779422649889,
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.014803849000740192,
13
+ "grad_norm": 2.59954963103659,
14
+ "learning_rate": 2.9411764705882355e-06,
15
+ "loss": 1.09,
16
+ "step": 5
17
+ },
18
+ {
19
+ "epoch": 0.029607698001480384,
20
+ "grad_norm": 1.5110785471948693,
21
+ "learning_rate": 5.882352941176471e-06,
22
+ "loss": 1.0788,
23
+ "step": 10
24
+ },
25
+ {
26
+ "epoch": 0.04441154700222058,
27
+ "grad_norm": 1.2662915154052385,
28
+ "learning_rate": 8.823529411764707e-06,
29
+ "loss": 1.0147,
30
+ "step": 15
31
+ },
32
+ {
33
+ "epoch": 0.05921539600296077,
34
+ "grad_norm": 0.8975184617412112,
35
+ "learning_rate": 1.1764705882352942e-05,
36
+ "loss": 0.9334,
37
+ "step": 20
38
+ },
39
+ {
40
+ "epoch": 0.07401924500370097,
41
+ "grad_norm": 0.7923521691073661,
42
+ "learning_rate": 1.4705882352941179e-05,
43
+ "loss": 0.9,
44
+ "step": 25
45
+ },
46
+ {
47
+ "epoch": 0.08882309400444116,
48
+ "grad_norm": 0.6747031888758434,
49
+ "learning_rate": 1.7647058823529414e-05,
50
+ "loss": 0.8802,
51
+ "step": 30
52
+ },
53
+ {
54
+ "epoch": 0.10362694300518134,
55
+ "grad_norm": 0.6214058638516932,
56
+ "learning_rate": 1.9999462497359468e-05,
57
+ "loss": 0.8536,
58
+ "step": 35
59
+ },
60
+ {
61
+ "epoch": 0.11843079200592153,
62
+ "grad_norm": 0.5379219947595423,
63
+ "learning_rate": 1.9980655971335944e-05,
64
+ "loss": 0.8349,
65
+ "step": 40
66
+ },
67
+ {
68
+ "epoch": 0.13323464100666174,
69
+ "grad_norm": 0.5073745152108753,
70
+ "learning_rate": 1.993503206718859e-05,
71
+ "loss": 0.8137,
72
+ "step": 45
73
+ },
74
+ {
75
+ "epoch": 0.14803849000740193,
76
+ "grad_norm": 0.600812767490673,
77
+ "learning_rate": 1.986271337340182e-05,
78
+ "loss": 0.8197,
79
+ "step": 50
80
+ },
81
+ {
82
+ "epoch": 0.16284233900814213,
83
+ "grad_norm": 0.5106373121493422,
84
+ "learning_rate": 1.976389420563607e-05,
85
+ "loss": 0.8028,
86
+ "step": 55
87
+ },
88
+ {
89
+ "epoch": 0.17764618800888232,
90
+ "grad_norm": 0.49037184533529493,
91
+ "learning_rate": 1.9638840084614182e-05,
92
+ "loss": 0.7893,
93
+ "step": 60
94
+ },
95
+ {
96
+ "epoch": 0.19245003700962252,
97
+ "grad_norm": 0.5729839316722111,
98
+ "learning_rate": 1.9487887022684336e-05,
99
+ "loss": 0.7993,
100
+ "step": 65
101
+ },
102
+ {
103
+ "epoch": 0.20725388601036268,
104
+ "grad_norm": 0.5149633307341998,
105
+ "learning_rate": 1.9311440620976597e-05,
106
+ "loss": 0.7927,
107
+ "step": 70
108
+ },
109
+ {
110
+ "epoch": 0.22205773501110287,
111
+ "grad_norm": 0.5351239659846057,
112
+ "learning_rate": 1.9109974979578852e-05,
113
+ "loss": 0.7836,
114
+ "step": 75
115
+ },
116
+ {
117
+ "epoch": 0.23686158401184307,
118
+ "grad_norm": 0.5284767724010426,
119
+ "learning_rate": 1.8884031423660492e-05,
120
+ "loss": 0.8122,
121
+ "step": 80
122
+ },
123
+ {
124
+ "epoch": 0.25166543301258326,
125
+ "grad_norm": 0.5280821848350826,
126
+ "learning_rate": 1.8634217048966638e-05,
127
+ "loss": 0.795,
128
+ "step": 85
129
+ },
130
+ {
131
+ "epoch": 0.2664692820133235,
132
+ "grad_norm": 0.5385026157906161,
133
+ "learning_rate": 1.836120309059107e-05,
134
+ "loss": 0.7777,
135
+ "step": 90
136
+ },
137
+ {
138
+ "epoch": 0.28127313101406365,
139
+ "grad_norm": 0.521912661438978,
140
+ "learning_rate": 1.8065723119410885e-05,
141
+ "loss": 0.7755,
142
+ "step": 95
143
+ },
144
+ {
145
+ "epoch": 0.29607698001480387,
146
+ "grad_norm": 0.5500915161891787,
147
+ "learning_rate": 1.77485710710289e-05,
148
+ "loss": 0.7824,
149
+ "step": 100
150
+ },
151
+ {
152
+ "epoch": 0.29607698001480387,
153
+ "eval_loss": 0.7986670732498169,
154
+ "eval_runtime": 3.1511,
155
+ "eval_samples_per_second": 40.621,
156
+ "eval_steps_per_second": 2.539,
157
+ "step": 100
158
+ },
159
+ {
160
+ "epoch": 0.31088082901554404,
161
+ "grad_norm": 0.4847857266437136,
162
+ "learning_rate": 1.741059911251997e-05,
163
+ "loss": 0.773,
164
+ "step": 105
165
+ },
166
+ {
167
+ "epoch": 0.32568467801628426,
168
+ "grad_norm": 0.5248466723356767,
169
+ "learning_rate": 1.7052715352713076e-05,
170
+ "loss": 0.7674,
171
+ "step": 110
172
+ },
173
+ {
174
+ "epoch": 0.3404885270170244,
175
+ "grad_norm": 0.5196269233230336,
176
+ "learning_rate": 1.667588140216154e-05,
177
+ "loss": 0.7942,
178
+ "step": 115
179
+ },
180
+ {
181
+ "epoch": 0.35529237601776464,
182
+ "grad_norm": 0.5258552082740311,
183
+ "learning_rate": 1.628110978935756e-05,
184
+ "loss": 0.7687,
185
+ "step": 120
186
+ },
187
+ {
188
+ "epoch": 0.3700962250185048,
189
+ "grad_norm": 0.5357998635392313,
190
+ "learning_rate": 1.586946124013354e-05,
191
+ "loss": 0.7683,
192
+ "step": 125
193
+ },
194
+ {
195
+ "epoch": 0.38490007401924503,
196
+ "grad_norm": 0.5124786446604577,
197
+ "learning_rate": 1.5442041827560274e-05,
198
+ "loss": 0.7449,
199
+ "step": 130
200
+ },
201
+ {
202
+ "epoch": 0.3997039230199852,
203
+ "grad_norm": 0.5364960128016644,
204
+ "learning_rate": 1.5000000000000002e-05,
205
+ "loss": 0.7558,
206
+ "step": 135
207
+ },
208
+ {
209
+ "epoch": 0.41450777202072536,
210
+ "grad_norm": 0.5239651426651067,
211
+ "learning_rate": 1.4544523495299843e-05,
212
+ "loss": 0.762,
213
+ "step": 140
214
+ },
215
+ {
216
+ "epoch": 0.4293116210214656,
217
+ "grad_norm": 0.5685304188161404,
218
+ "learning_rate": 1.4076836149416889e-05,
219
+ "loss": 0.7779,
220
+ "step": 145
221
+ },
222
+ {
223
+ "epoch": 0.44411547002220575,
224
+ "grad_norm": 0.5292768738334391,
225
+ "learning_rate": 1.3598194608050011e-05,
226
+ "loss": 0.7628,
227
+ "step": 150
228
+ },
229
+ {
230
+ "epoch": 0.45891931902294597,
231
+ "grad_norm": 0.47169065654852255,
232
+ "learning_rate": 1.3109884950114007e-05,
233
+ "loss": 0.752,
234
+ "step": 155
235
+ },
236
+ {
237
+ "epoch": 0.47372316802368614,
238
+ "grad_norm": 0.4850168790165624,
239
+ "learning_rate": 1.2613219232128608e-05,
240
+ "loss": 0.752,
241
+ "step": 160
242
+ },
243
+ {
244
+ "epoch": 0.48852701702442636,
245
+ "grad_norm": 0.48457640581841005,
246
+ "learning_rate": 1.2109531962807333e-05,
247
+ "loss": 0.7537,
248
+ "step": 165
249
+ },
250
+ {
251
+ "epoch": 0.5033308660251665,
252
+ "grad_norm": 0.47059560359305813,
253
+ "learning_rate": 1.1600176517318742e-05,
254
+ "loss": 0.758,
255
+ "step": 170
256
+ },
257
+ {
258
+ "epoch": 0.5181347150259067,
259
+ "grad_norm": 0.49863777355480526,
260
+ "learning_rate": 1.1086521500854746e-05,
261
+ "loss": 0.7452,
262
+ "step": 175
263
+ },
264
+ {
265
+ "epoch": 0.532938564026647,
266
+ "grad_norm": 0.48976052377434126,
267
+ "learning_rate": 1.0569947071276847e-05,
268
+ "loss": 0.7659,
269
+ "step": 180
270
+ },
271
+ {
272
+ "epoch": 0.5477424130273871,
273
+ "grad_norm": 0.5598681522777179,
274
+ "learning_rate": 1.0051841230721065e-05,
275
+ "loss": 0.759,
276
+ "step": 185
277
+ },
278
+ {
279
+ "epoch": 0.5625462620281273,
280
+ "grad_norm": 0.5055386224558781,
281
+ "learning_rate": 9.533596096125826e-06,
282
+ "loss": 0.7656,
283
+ "step": 190
284
+ },
285
+ {
286
+ "epoch": 0.5773501110288675,
287
+ "grad_norm": 0.47686736961322373,
288
+ "learning_rate": 9.016604158703654e-06,
289
+ "loss": 0.7397,
290
+ "step": 195
291
+ },
292
+ {
293
+ "epoch": 0.5921539600296077,
294
+ "grad_norm": 0.4816519635005245,
295
+ "learning_rate": 8.502254542407186e-06,
296
+ "loss": 0.7375,
297
+ "step": 200
298
+ },
299
+ {
300
+ "epoch": 0.5921539600296077,
301
+ "eval_loss": 0.7732692360877991,
302
+ "eval_runtime": 3.1502,
303
+ "eval_samples_per_second": 40.632,
304
+ "eval_steps_per_second": 2.539,
305
+ "step": 200
306
+ },
307
+ {
308
+ "epoch": 0.6069578090303479,
309
+ "grad_norm": 0.472466582768516,
310
+ "learning_rate": 7.991929271442817e-06,
311
+ "loss": 0.7415,
312
+ "step": 205
313
+ },
314
+ {
315
+ "epoch": 0.6217616580310881,
316
+ "grad_norm": 0.487913132976027,
317
+ "learning_rate": 7.48699955686089e-06,
318
+ "loss": 0.7437,
319
+ "step": 210
320
+ },
321
+ {
322
+ "epoch": 0.6365655070318282,
323
+ "grad_norm": 0.4632798898820171,
324
+ "learning_rate": 6.988822112200157e-06,
325
+ "loss": 0.7517,
326
+ "step": 215
327
+ },
328
+ {
329
+ "epoch": 0.6513693560325685,
330
+ "grad_norm": 0.5015321297817941,
331
+ "learning_rate": 6.498735508086094e-06,
332
+ "loss": 0.7551,
333
+ "step": 220
334
+ },
335
+ {
336
+ "epoch": 0.6661732050333087,
337
+ "grad_norm": 0.44486759806175513,
338
+ "learning_rate": 6.018056575578075e-06,
339
+ "loss": 0.7487,
340
+ "step": 225
341
+ },
342
+ {
343
+ "epoch": 0.6809770540340488,
344
+ "grad_norm": 0.41329178229089025,
345
+ "learning_rate": 5.548076867929331e-06,
346
+ "loss": 0.7455,
347
+ "step": 230
348
+ },
349
+ {
350
+ "epoch": 0.695780903034789,
351
+ "grad_norm": 0.43609737258438114,
352
+ "learning_rate": 5.090059190266779e-06,
353
+ "loss": 0.7335,
354
+ "step": 235
355
+ },
356
+ {
357
+ "epoch": 0.7105847520355293,
358
+ "grad_norm": 0.42748504875171905,
359
+ "learning_rate": 4.645234206515171e-06,
360
+ "loss": 0.7389,
361
+ "step": 240
362
+ },
363
+ {
364
+ "epoch": 0.7253886010362695,
365
+ "grad_norm": 0.4523178271776836,
366
+ "learning_rate": 4.214797132682597e-06,
367
+ "loss": 0.7352,
368
+ "step": 245
369
+ },
370
+ {
371
+ "epoch": 0.7401924500370096,
372
+ "grad_norm": 0.45335660235354563,
373
+ "learning_rate": 3.799904525392251e-06,
374
+ "loss": 0.7421,
375
+ "step": 250
376
+ },
377
+ {
378
+ "epoch": 0.7549962990377498,
379
+ "grad_norm": 0.4431613740543571,
380
+ "learning_rate": 3.401671174289469e-06,
381
+ "loss": 0.7322,
382
+ "step": 255
383
+ },
384
+ {
385
+ "epoch": 0.7698001480384901,
386
+ "grad_norm": 0.441027343079403,
387
+ "learning_rate": 3.021167106673928e-06,
388
+ "loss": 0.7482,
389
+ "step": 260
390
+ },
391
+ {
392
+ "epoch": 0.7846039970392302,
393
+ "grad_norm": 0.4359036566755757,
394
+ "learning_rate": 2.6594147124053983e-06,
395
+ "loss": 0.7371,
396
+ "step": 265
397
+ },
398
+ {
399
+ "epoch": 0.7994078460399704,
400
+ "grad_norm": 0.4416118935243017,
401
+ "learning_rate": 2.317385996808195e-06,
402
+ "loss": 0.7488,
403
+ "step": 270
404
+ },
405
+ {
406
+ "epoch": 0.8142116950407106,
407
+ "grad_norm": 0.41053173678708244,
408
+ "learning_rate": 1.9959999689556407e-06,
409
+ "loss": 0.7413,
410
+ "step": 275
411
+ },
412
+ {
413
+ "epoch": 0.8290155440414507,
414
+ "grad_norm": 0.42016591584889007,
415
+ "learning_rate": 1.6961201723520248e-06,
416
+ "loss": 0.7271,
417
+ "step": 280
418
+ },
419
+ {
420
+ "epoch": 0.843819393042191,
421
+ "grad_norm": 0.3979209641920834,
422
+ "learning_rate": 1.4185523646469822e-06,
423
+ "loss": 0.752,
424
+ "step": 285
425
+ },
426
+ {
427
+ "epoch": 0.8586232420429312,
428
+ "grad_norm": 0.4209074468787367,
429
+ "learning_rate": 1.1640423526166987e-06,
430
+ "loss": 0.7298,
431
+ "step": 290
432
+ },
433
+ {
434
+ "epoch": 0.8734270910436713,
435
+ "grad_norm": 0.40170247214575744,
436
+ "learning_rate": 9.332739882292752e-07,
437
+ "loss": 0.7558,
438
+ "step": 295
439
+ },
440
+ {
441
+ "epoch": 0.8882309400444115,
442
+ "grad_norm": 0.3998873661177466,
443
+ "learning_rate": 7.268673311786378e-07,
444
+ "loss": 0.7455,
445
+ "step": 300
446
+ },
447
+ {
448
+ "epoch": 0.8882309400444115,
449
+ "eval_loss": 0.7647631168365479,
450
+ "eval_runtime": 3.1498,
451
+ "eval_samples_per_second": 40.638,
452
+ "eval_steps_per_second": 2.54,
453
+ "step": 300
454
+ },
455
+ {
456
+ "epoch": 0.9030347890451518,
457
+ "grad_norm": 0.3874560972460433,
458
+ "learning_rate": 5.453769828241872e-07,
459
+ "loss": 0.7294,
460
+ "step": 305
461
+ },
462
+ {
463
+ "epoch": 0.9178386380458919,
464
+ "grad_norm": 0.41392350576095466,
465
+ "learning_rate": 3.8929059601275463e-07,
466
+ "loss": 0.7617,
467
+ "step": 310
468
+ },
469
+ {
470
+ "epoch": 0.9326424870466321,
471
+ "grad_norm": 0.3930717618662023,
472
+ "learning_rate": 2.5902756478688674e-07,
473
+ "loss": 0.7441,
474
+ "step": 315
475
+ },
476
+ {
477
+ "epoch": 0.9474463360473723,
478
+ "grad_norm": 0.39942376949400493,
479
+ "learning_rate": 1.5493789750014032e-07,
480
+ "loss": 0.7458,
481
+ "step": 320
482
+ },
483
+ {
484
+ "epoch": 0.9622501850481125,
485
+ "grad_norm": 0.4246898762898355,
486
+ "learning_rate": 7.730127636723539e-08,
487
+ "loss": 0.7265,
488
+ "step": 325
489
+ },
490
+ {
491
+ "epoch": 0.9770540340488527,
492
+ "grad_norm": 0.4184289722311908,
493
+ "learning_rate": 2.6326305976001054e-08,
494
+ "loss": 0.7312,
495
+ "step": 330
496
+ },
497
+ {
498
+ "epoch": 0.9918578830495929,
499
+ "grad_norm": 0.44006851649772194,
500
+ "learning_rate": 2.149952780321485e-09,
501
+ "loss": 0.7525,
502
+ "step": 335
503
+ },
504
+ {
505
+ "epoch": 0.997779422649889,
506
+ "step": 337,
507
+ "total_flos": 76745898196992.0,
508
+ "train_loss": 0.7814422148979029,
509
+ "train_runtime": 1966.4009,
510
+ "train_samples_per_second": 10.99,
511
+ "train_steps_per_second": 0.171
512
+ }
513
+ ],
514
+ "logging_steps": 5,
515
+ "max_steps": 337,
516
+ "num_input_tokens_seen": 0,
517
+ "num_train_epochs": 1,
518
+ "save_steps": 500,
519
+ "stateful_callbacks": {
520
+ "TrainerControl": {
521
+ "args": {
522
+ "should_epoch_stop": false,
523
+ "should_evaluate": false,
524
+ "should_log": false,
525
+ "should_save": false,
526
+ "should_training_stop": false
527
+ },
528
+ "attributes": {}
529
+ }
530
+ },
531
+ "total_flos": 76745898196992.0,
532
+ "train_batch_size": 4,
533
+ "trial_name": null,
534
+ "trial_params": null
535
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f67d7c8457911830dfa9d77bcc693274e6a6b904902cc98540104f4261416f81
3
+ size 7352
vocab.json ADDED
The diff for this file is too large to render. See raw diff