Lansechen commited on
Commit
1be4845
·
verified ·
1 Parent(s): 163a8d2

Model save

Browse files
README.md ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: allenai/OLMoE-1B-7B-0125-Instruct
3
+ library_name: transformers
4
+ model_name: OLMoE-1B-7B-0125-Instruct-Distill-bs17k-batch32-epoch5-8192
5
+ tags:
6
+ - generated_from_trainer
7
+ - trl
8
+ - sft
9
+ licence: license
10
+ ---
11
+
12
+ # Model Card for OLMoE-1B-7B-0125-Instruct-Distill-bs17k-batch32-epoch5-8192
13
+
14
+ This model is a fine-tuned version of [allenai/OLMoE-1B-7B-0125-Instruct](https://huggingface.co/allenai/OLMoE-1B-7B-0125-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/OLMoE-1B-7B-0125-Instruct-Distill-bs17k-batch32-epoch5-8192", 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/2do20nag)
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
39
+ - Pytorch: 2.5.1+cu121
40
+ - Datasets: 3.3.1
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
+ ```
all_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "total_flos": 355840724828160.0,
3
+ "train_loss": 0.8547473980398739,
4
+ "train_runtime": 36760.1561,
5
+ "train_samples": 16610,
6
+ "train_samples_per_second": 1.48,
7
+ "train_steps_per_second": 0.012
8
+ }
config.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "allenai/OLMoE-1B-7B-0125-Instruct",
3
+ "architectures": [
4
+ "OlmoeForCausalLM"
5
+ ],
6
+ "attention_bias": false,
7
+ "attention_dropout": 0.0,
8
+ "clip_qkv": null,
9
+ "eos_token_id": 50279,
10
+ "hidden_act": "silu",
11
+ "hidden_size": 2048,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 1024,
14
+ "max_position_embeddings": 4096,
15
+ "model_type": "olmoe",
16
+ "norm_topk_prob": false,
17
+ "num_attention_heads": 16,
18
+ "num_experts": 64,
19
+ "num_experts_per_tok": 8,
20
+ "num_hidden_layers": 16,
21
+ "num_key_value_heads": 16,
22
+ "output_router_logits": false,
23
+ "pad_token_id": 1,
24
+ "rms_norm_eps": 1e-05,
25
+ "rope_scaling": null,
26
+ "rope_theta": 10000.0,
27
+ "router_aux_loss_coef": 0.01,
28
+ "tie_word_embeddings": false,
29
+ "torch_dtype": "bfloat16",
30
+ "transformers_version": "4.49.0",
31
+ "use_cache": false,
32
+ "vocab_size": 50304
33
+ }
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "eos_token_id": 50279,
4
+ "pad_token_id": 1,
5
+ "transformers_version": "4.49.0"
6
+ }
model-00001-of-00003.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aee437e402a9e37b3d993d535f5e13c9f33137a818287d08e934dcdf5a807ab3
3
+ size 4997744872
model-00002-of-00003.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ca13bcb004af737846be15ad9938ba5ec296d8b6983324a6ca0b3ee5403b8272
3
+ size 4997235176
model-00003-of-00003.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:36e92e63b97dd2f2aca01d2a5b2ceb9f597c5cf2a1870385a9f16dbb1a16fc9b
3
+ size 3843741912
model.safetensors.index.json ADDED
The diff for this file is too large to render. See raw diff
 
special_tokens_map.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "|||IP_ADDRESS|||",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "|||IP_ADDRESS|||",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": "|||IP_ADDRESS|||"
17
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,248 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_eos_token": false,
4
+ "add_prefix_space": false,
5
+ "added_tokens_decoder": {
6
+ "0": {
7
+ "content": "<|endoftext|>",
8
+ "lstrip": false,
9
+ "normalized": false,
10
+ "rstrip": false,
11
+ "single_word": false,
12
+ "special": true
13
+ },
14
+ "1": {
15
+ "content": "<|padding|>",
16
+ "lstrip": false,
17
+ "normalized": false,
18
+ "rstrip": false,
19
+ "single_word": false,
20
+ "special": true
21
+ },
22
+ "50254": {
23
+ "content": " ",
24
+ "lstrip": false,
25
+ "normalized": true,
26
+ "rstrip": false,
27
+ "single_word": false,
28
+ "special": false
29
+ },
30
+ "50255": {
31
+ "content": " ",
32
+ "lstrip": false,
33
+ "normalized": true,
34
+ "rstrip": false,
35
+ "single_word": false,
36
+ "special": false
37
+ },
38
+ "50256": {
39
+ "content": " ",
40
+ "lstrip": false,
41
+ "normalized": true,
42
+ "rstrip": false,
43
+ "single_word": false,
44
+ "special": false
45
+ },
46
+ "50257": {
47
+ "content": " ",
48
+ "lstrip": false,
49
+ "normalized": true,
50
+ "rstrip": false,
51
+ "single_word": false,
52
+ "special": false
53
+ },
54
+ "50258": {
55
+ "content": " ",
56
+ "lstrip": false,
57
+ "normalized": true,
58
+ "rstrip": false,
59
+ "single_word": false,
60
+ "special": false
61
+ },
62
+ "50259": {
63
+ "content": " ",
64
+ "lstrip": false,
65
+ "normalized": true,
66
+ "rstrip": false,
67
+ "single_word": false,
68
+ "special": false
69
+ },
70
+ "50260": {
71
+ "content": " ",
72
+ "lstrip": false,
73
+ "normalized": true,
74
+ "rstrip": false,
75
+ "single_word": false,
76
+ "special": false
77
+ },
78
+ "50261": {
79
+ "content": " ",
80
+ "lstrip": false,
81
+ "normalized": true,
82
+ "rstrip": false,
83
+ "single_word": false,
84
+ "special": false
85
+ },
86
+ "50262": {
87
+ "content": " ",
88
+ "lstrip": false,
89
+ "normalized": true,
90
+ "rstrip": false,
91
+ "single_word": false,
92
+ "special": false
93
+ },
94
+ "50263": {
95
+ "content": " ",
96
+ "lstrip": false,
97
+ "normalized": true,
98
+ "rstrip": false,
99
+ "single_word": false,
100
+ "special": false
101
+ },
102
+ "50264": {
103
+ "content": " ",
104
+ "lstrip": false,
105
+ "normalized": true,
106
+ "rstrip": false,
107
+ "single_word": false,
108
+ "special": false
109
+ },
110
+ "50265": {
111
+ "content": " ",
112
+ "lstrip": false,
113
+ "normalized": true,
114
+ "rstrip": false,
115
+ "single_word": false,
116
+ "special": false
117
+ },
118
+ "50266": {
119
+ "content": " ",
120
+ "lstrip": false,
121
+ "normalized": true,
122
+ "rstrip": false,
123
+ "single_word": false,
124
+ "special": false
125
+ },
126
+ "50267": {
127
+ "content": " ",
128
+ "lstrip": false,
129
+ "normalized": true,
130
+ "rstrip": false,
131
+ "single_word": false,
132
+ "special": false
133
+ },
134
+ "50268": {
135
+ "content": " ",
136
+ "lstrip": false,
137
+ "normalized": true,
138
+ "rstrip": false,
139
+ "single_word": false,
140
+ "special": false
141
+ },
142
+ "50269": {
143
+ "content": " ",
144
+ "lstrip": false,
145
+ "normalized": true,
146
+ "rstrip": false,
147
+ "single_word": false,
148
+ "special": false
149
+ },
150
+ "50270": {
151
+ "content": " ",
152
+ "lstrip": false,
153
+ "normalized": true,
154
+ "rstrip": false,
155
+ "single_word": false,
156
+ "special": false
157
+ },
158
+ "50271": {
159
+ "content": " ",
160
+ "lstrip": false,
161
+ "normalized": true,
162
+ "rstrip": false,
163
+ "single_word": false,
164
+ "special": false
165
+ },
166
+ "50272": {
167
+ "content": " ",
168
+ "lstrip": false,
169
+ "normalized": true,
170
+ "rstrip": false,
171
+ "single_word": false,
172
+ "special": false
173
+ },
174
+ "50273": {
175
+ "content": " ",
176
+ "lstrip": false,
177
+ "normalized": true,
178
+ "rstrip": false,
179
+ "single_word": false,
180
+ "special": false
181
+ },
182
+ "50274": {
183
+ "content": " ",
184
+ "lstrip": false,
185
+ "normalized": true,
186
+ "rstrip": false,
187
+ "single_word": false,
188
+ "special": false
189
+ },
190
+ "50275": {
191
+ "content": " ",
192
+ "lstrip": false,
193
+ "normalized": true,
194
+ "rstrip": false,
195
+ "single_word": false,
196
+ "special": false
197
+ },
198
+ "50276": {
199
+ "content": " ",
200
+ "lstrip": false,
201
+ "normalized": true,
202
+ "rstrip": false,
203
+ "single_word": false,
204
+ "special": false
205
+ },
206
+ "50277": {
207
+ "content": "|||EMAIL_ADDRESS|||",
208
+ "lstrip": false,
209
+ "normalized": true,
210
+ "rstrip": false,
211
+ "single_word": false,
212
+ "special": false
213
+ },
214
+ "50278": {
215
+ "content": "|||PHONE_NUMBER|||",
216
+ "lstrip": false,
217
+ "normalized": true,
218
+ "rstrip": false,
219
+ "single_word": false,
220
+ "special": false
221
+ },
222
+ "50279": {
223
+ "content": "|||IP_ADDRESS|||",
224
+ "lstrip": false,
225
+ "normalized": true,
226
+ "rstrip": false,
227
+ "single_word": false,
228
+ "special": true
229
+ },
230
+ "50280": {
231
+ "content": "<pad>",
232
+ "lstrip": false,
233
+ "normalized": false,
234
+ "rstrip": false,
235
+ "single_word": false,
236
+ "special": true
237
+ }
238
+ },
239
+ "bos_token": "|||IP_ADDRESS|||",
240
+ "chat_template": "{{ bos_token }}{% for message in messages %}{% if message['role'] == 'system' %}{{ '<|system|>\n' + message['content'] + '\n' }}{% elif message['role'] == 'user' %}{{ '<|user|>\n' + message['content'] + '\n' }}{% elif message['role'] == 'assistant' %}{% if not loop.last %}{{ '<|assistant|>\n' + message['content'] + eos_token + '\n' }}{% else %}{{ '<|assistant|>\n' + message['content'] + eos_token }}{% endif %}{% endif %}{% if loop.last and add_generation_prompt %}{{ '<|assistant|>\n' }}{% endif %}{% endfor %}",
241
+ "clean_up_tokenization_spaces": false,
242
+ "eos_token": "|||IP_ADDRESS|||",
243
+ "extra_special_tokens": {},
244
+ "model_max_length": 1000000000000000019884624838656,
245
+ "pad_token": "|||IP_ADDRESS|||",
246
+ "tokenizer_class": "GPTNeoXTokenizer",
247
+ "unk_token": null
248
+ }
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "total_flos": 355840724828160.0,
3
+ "train_loss": 0.8547473980398739,
4
+ "train_runtime": 36760.1561,
5
+ "train_samples": 16610,
6
+ "train_samples_per_second": 1.48,
7
+ "train_steps_per_second": 0.012
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,722 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 5.0,
5
+ "eval_steps": 100,
6
+ "global_step": 425,
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.058823529411764705,
13
+ "grad_norm": 21.04814338684082,
14
+ "learning_rate": 2.3255813953488376e-06,
15
+ "loss": 3.4185,
16
+ "mean_token_accuracy": 0.4514082193374634,
17
+ "step": 5
18
+ },
19
+ {
20
+ "epoch": 0.11764705882352941,
21
+ "grad_norm": 6.334374904632568,
22
+ "learning_rate": 4.651162790697675e-06,
23
+ "loss": 3.0621,
24
+ "mean_token_accuracy": 0.4611593335866928,
25
+ "step": 10
26
+ },
27
+ {
28
+ "epoch": 0.17647058823529413,
29
+ "grad_norm": 3.551992416381836,
30
+ "learning_rate": 6.976744186046513e-06,
31
+ "loss": 2.4392,
32
+ "mean_token_accuracy": 0.4970729276537895,
33
+ "step": 15
34
+ },
35
+ {
36
+ "epoch": 0.23529411764705882,
37
+ "grad_norm": 2.2272236347198486,
38
+ "learning_rate": 9.30232558139535e-06,
39
+ "loss": 2.0849,
40
+ "mean_token_accuracy": 0.5340504199266434,
41
+ "step": 20
42
+ },
43
+ {
44
+ "epoch": 0.29411764705882354,
45
+ "grad_norm": 1.518161416053772,
46
+ "learning_rate": 1.1627906976744187e-05,
47
+ "loss": 1.7753,
48
+ "mean_token_accuracy": 0.575017799437046,
49
+ "step": 25
50
+ },
51
+ {
52
+ "epoch": 0.35294117647058826,
53
+ "grad_norm": 1.348536491394043,
54
+ "learning_rate": 1.3953488372093025e-05,
55
+ "loss": 1.5121,
56
+ "mean_token_accuracy": 0.6183966279029847,
57
+ "step": 30
58
+ },
59
+ {
60
+ "epoch": 0.4117647058823529,
61
+ "grad_norm": 0.8599673509597778,
62
+ "learning_rate": 1.6279069767441862e-05,
63
+ "loss": 1.273,
64
+ "mean_token_accuracy": 0.6627080455422402,
65
+ "step": 35
66
+ },
67
+ {
68
+ "epoch": 0.47058823529411764,
69
+ "grad_norm": 0.5608036518096924,
70
+ "learning_rate": 1.86046511627907e-05,
71
+ "loss": 1.1304,
72
+ "mean_token_accuracy": 0.6911454066634178,
73
+ "step": 40
74
+ },
75
+ {
76
+ "epoch": 0.5294117647058824,
77
+ "grad_norm": 0.6153124570846558,
78
+ "learning_rate": 1.9998647325745995e-05,
79
+ "loss": 1.0442,
80
+ "mean_token_accuracy": 0.7094879731535911,
81
+ "step": 45
82
+ },
83
+ {
84
+ "epoch": 0.5882352941176471,
85
+ "grad_norm": 0.39213573932647705,
86
+ "learning_rate": 1.9983433942731427e-05,
87
+ "loss": 0.9779,
88
+ "mean_token_accuracy": 0.7240924999117851,
89
+ "step": 50
90
+ },
91
+ {
92
+ "epoch": 0.6470588235294118,
93
+ "grad_norm": 0.4305499494075775,
94
+ "learning_rate": 1.9951342140049483e-05,
95
+ "loss": 0.9446,
96
+ "mean_token_accuracy": 0.7315783813595772,
97
+ "step": 55
98
+ },
99
+ {
100
+ "epoch": 0.7058823529411765,
101
+ "grad_norm": 0.3433878719806671,
102
+ "learning_rate": 1.9902426173471933e-05,
103
+ "loss": 0.9255,
104
+ "mean_token_accuracy": 0.7349760130047798,
105
+ "step": 60
106
+ },
107
+ {
108
+ "epoch": 0.7647058823529411,
109
+ "grad_norm": 0.3223603367805481,
110
+ "learning_rate": 1.9836768742420355e-05,
111
+ "loss": 0.9154,
112
+ "mean_token_accuracy": 0.7370613440871239,
113
+ "step": 65
114
+ },
115
+ {
116
+ "epoch": 0.8235294117647058,
117
+ "grad_norm": 0.37942802906036377,
118
+ "learning_rate": 1.975448085015093e-05,
119
+ "loss": 0.8909,
120
+ "mean_token_accuracy": 0.7428933218121528,
121
+ "step": 70
122
+ },
123
+ {
124
+ "epoch": 0.8823529411764706,
125
+ "grad_norm": 0.307282954454422,
126
+ "learning_rate": 1.965570161608762e-05,
127
+ "loss": 0.874,
128
+ "mean_token_accuracy": 0.7465408593416214,
129
+ "step": 75
130
+ },
131
+ {
132
+ "epoch": 0.9411764705882353,
133
+ "grad_norm": 0.2984541952610016,
134
+ "learning_rate": 1.954059804062092e-05,
135
+ "loss": 0.8687,
136
+ "mean_token_accuracy": 0.7473416522145271,
137
+ "step": 80
138
+ },
139
+ {
140
+ "epoch": 1.0,
141
+ "grad_norm": 0.3891313672065735,
142
+ "learning_rate": 1.9409364722769882e-05,
143
+ "loss": 0.866,
144
+ "mean_token_accuracy": 0.7474386006593704,
145
+ "step": 85
146
+ },
147
+ {
148
+ "epoch": 1.0588235294117647,
149
+ "grad_norm": 0.3219473659992218,
150
+ "learning_rate": 1.9262223531184678e-05,
151
+ "loss": 0.8262,
152
+ "mean_token_accuracy": 0.7569629773497581,
153
+ "step": 90
154
+ },
155
+ {
156
+ "epoch": 1.1176470588235294,
157
+ "grad_norm": 0.3140917122364044,
158
+ "learning_rate": 1.9099423229046015e-05,
159
+ "loss": 0.8145,
160
+ "mean_token_accuracy": 0.7599107891321182,
161
+ "step": 95
162
+ },
163
+ {
164
+ "epoch": 1.1764705882352942,
165
+ "grad_norm": 0.40147674083709717,
166
+ "learning_rate": 1.8921239053495465e-05,
167
+ "loss": 0.8059,
168
+ "mean_token_accuracy": 0.7613397642970086,
169
+ "step": 100
170
+ },
171
+ {
172
+ "epoch": 1.2352941176470589,
173
+ "grad_norm": 0.3681145906448364,
174
+ "learning_rate": 1.87279722503078e-05,
175
+ "loss": 0.8088,
176
+ "mean_token_accuracy": 0.7605203837156296,
177
+ "step": 105
178
+ },
179
+ {
180
+ "epoch": 1.2941176470588236,
181
+ "grad_norm": 0.3510204553604126,
182
+ "learning_rate": 1.8519949564592047e-05,
183
+ "loss": 0.7982,
184
+ "mean_token_accuracy": 0.7630930453538894,
185
+ "step": 110
186
+ },
187
+ {
188
+ "epoch": 1.3529411764705883,
189
+ "grad_norm": 0.320533812046051,
190
+ "learning_rate": 1.829752268838222e-05,
191
+ "loss": 0.802,
192
+ "mean_token_accuracy": 0.7621062293648719,
193
+ "step": 115
194
+ },
195
+ {
196
+ "epoch": 1.4117647058823528,
197
+ "grad_norm": 0.31711480021476746,
198
+ "learning_rate": 1.806106766605178e-05,
199
+ "loss": 0.7907,
200
+ "mean_token_accuracy": 0.7650755509734154,
201
+ "step": 120
202
+ },
203
+ {
204
+ "epoch": 1.4705882352941178,
205
+ "grad_norm": 0.5543116927146912,
206
+ "learning_rate": 1.7810984258556955e-05,
207
+ "loss": 0.7947,
208
+ "mean_token_accuracy": 0.7635570585727691,
209
+ "step": 125
210
+ },
211
+ {
212
+ "epoch": 1.5294117647058822,
213
+ "grad_norm": 0.3128114342689514,
214
+ "learning_rate": 1.7547695267583794e-05,
215
+ "loss": 0.7872,
216
+ "mean_token_accuracy": 0.7655140712857247,
217
+ "step": 130
218
+ },
219
+ {
220
+ "epoch": 1.5882352941176472,
221
+ "grad_norm": 0.3138386607170105,
222
+ "learning_rate": 1.7271645820741586e-05,
223
+ "loss": 0.7769,
224
+ "mean_token_accuracy": 0.767977848649025,
225
+ "step": 135
226
+ },
227
+ {
228
+ "epoch": 1.6470588235294117,
229
+ "grad_norm": 0.3568255603313446,
230
+ "learning_rate": 1.6983302619011125e-05,
231
+ "loss": 0.7853,
232
+ "mean_token_accuracy": 0.7654600262641906,
233
+ "step": 140
234
+ },
235
+ {
236
+ "epoch": 1.7058823529411766,
237
+ "grad_norm": 0.2793898284435272,
238
+ "learning_rate": 1.6683153147720098e-05,
239
+ "loss": 0.7807,
240
+ "mean_token_accuracy": 0.7674098491668702,
241
+ "step": 145
242
+ },
243
+ {
244
+ "epoch": 1.7647058823529411,
245
+ "grad_norm": 0.27672550082206726,
246
+ "learning_rate": 1.6371704852379587e-05,
247
+ "loss": 0.7779,
248
+ "mean_token_accuracy": 0.7671994060277939,
249
+ "step": 150
250
+ },
251
+ {
252
+ "epoch": 1.8235294117647058,
253
+ "grad_norm": 0.2928065061569214,
254
+ "learning_rate": 1.6049484280775012e-05,
255
+ "loss": 0.7858,
256
+ "mean_token_accuracy": 0.7647877380251884,
257
+ "step": 155
258
+ },
259
+ {
260
+ "epoch": 1.8823529411764706,
261
+ "grad_norm": 0.33357909321784973,
262
+ "learning_rate": 1.571703619276197e-05,
263
+ "loss": 0.7778,
264
+ "mean_token_accuracy": 0.7669166877865792,
265
+ "step": 160
266
+ },
267
+ {
268
+ "epoch": 1.9411764705882353,
269
+ "grad_norm": 0.4173744022846222,
270
+ "learning_rate": 1.537492263927196e-05,
271
+ "loss": 0.7695,
272
+ "mean_token_accuracy": 0.7690707325935364,
273
+ "step": 165
274
+ },
275
+ {
276
+ "epoch": 2.0,
277
+ "grad_norm": 0.28684037923812866,
278
+ "learning_rate": 1.5023722012085098e-05,
279
+ "loss": 0.7614,
280
+ "mean_token_accuracy": 0.7713808581233025,
281
+ "step": 170
282
+ },
283
+ {
284
+ "epoch": 2.0588235294117645,
285
+ "grad_norm": 0.32347068190574646,
286
+ "learning_rate": 1.4664028065976245e-05,
287
+ "loss": 0.7215,
288
+ "mean_token_accuracy": 0.7805892318487168,
289
+ "step": 175
290
+ },
291
+ {
292
+ "epoch": 2.1176470588235294,
293
+ "grad_norm": 0.3120904266834259,
294
+ "learning_rate": 1.4296448914887866e-05,
295
+ "loss": 0.7207,
296
+ "mean_token_accuracy": 0.7809153541922569,
297
+ "step": 180
298
+ },
299
+ {
300
+ "epoch": 2.176470588235294,
301
+ "grad_norm": 0.27011847496032715,
302
+ "learning_rate": 1.392160600382663e-05,
303
+ "loss": 0.7137,
304
+ "mean_token_accuracy": 0.7821896791458129,
305
+ "step": 185
306
+ },
307
+ {
308
+ "epoch": 2.235294117647059,
309
+ "grad_norm": 0.2704910933971405,
310
+ "learning_rate": 1.3540133058221927e-05,
311
+ "loss": 0.7079,
312
+ "mean_token_accuracy": 0.7843272894620895,
313
+ "step": 190
314
+ },
315
+ {
316
+ "epoch": 2.2941176470588234,
317
+ "grad_norm": 0.26255378127098083,
318
+ "learning_rate": 1.3152675012522629e-05,
319
+ "loss": 0.7096,
320
+ "mean_token_accuracy": 0.7832606792449951,
321
+ "step": 195
322
+ },
323
+ {
324
+ "epoch": 2.3529411764705883,
325
+ "grad_norm": 0.24626174569129944,
326
+ "learning_rate": 1.2759886919843354e-05,
327
+ "loss": 0.7145,
328
+ "mean_token_accuracy": 0.7819388702511787,
329
+ "step": 200
330
+ },
331
+ {
332
+ "epoch": 2.411764705882353,
333
+ "grad_norm": 0.25306323170661926,
334
+ "learning_rate": 1.2362432844503725e-05,
335
+ "loss": 0.7146,
336
+ "mean_token_accuracy": 0.7821550950407982,
337
+ "step": 205
338
+ },
339
+ {
340
+ "epoch": 2.4705882352941178,
341
+ "grad_norm": 0.25537386536598206,
342
+ "learning_rate": 1.1960984739332851e-05,
343
+ "loss": 0.7193,
344
+ "mean_token_accuracy": 0.7801969021558761,
345
+ "step": 210
346
+ },
347
+ {
348
+ "epoch": 2.5294117647058822,
349
+ "grad_norm": 0.2627454400062561,
350
+ "learning_rate": 1.1556221309637204e-05,
351
+ "loss": 0.7044,
352
+ "mean_token_accuracy": 0.7845285147428512,
353
+ "step": 215
354
+ },
355
+ {
356
+ "epoch": 2.588235294117647,
357
+ "grad_norm": 0.25752195715904236,
358
+ "learning_rate": 1.1148826865752445e-05,
359
+ "loss": 0.7086,
360
+ "mean_token_accuracy": 0.7835307970643044,
361
+ "step": 220
362
+ },
363
+ {
364
+ "epoch": 2.6470588235294117,
365
+ "grad_norm": 0.25302332639694214,
366
+ "learning_rate": 1.0739490166119155e-05,
367
+ "loss": 0.7099,
368
+ "mean_token_accuracy": 0.7831782385706901,
369
+ "step": 225
370
+ },
371
+ {
372
+ "epoch": 2.7058823529411766,
373
+ "grad_norm": 0.25182807445526123,
374
+ "learning_rate": 1.0328903252838415e-05,
375
+ "loss": 0.7103,
376
+ "mean_token_accuracy": 0.783260951936245,
377
+ "step": 230
378
+ },
379
+ {
380
+ "epoch": 2.764705882352941,
381
+ "grad_norm": 0.24797865748405457,
382
+ "learning_rate": 9.917760281675867e-06,
383
+ "loss": 0.7101,
384
+ "mean_token_accuracy": 0.7828504905104637,
385
+ "step": 235
386
+ },
387
+ {
388
+ "epoch": 2.8235294117647056,
389
+ "grad_norm": 0.2946624755859375,
390
+ "learning_rate": 9.506756348492348e-06,
391
+ "loss": 0.708,
392
+ "mean_token_accuracy": 0.7837049275636673,
393
+ "step": 240
394
+ },
395
+ {
396
+ "epoch": 2.8823529411764706,
397
+ "grad_norm": 0.3295968770980835,
398
+ "learning_rate": 9.096586314085162e-06,
399
+ "loss": 0.7069,
400
+ "mean_token_accuracy": 0.7832710444927216,
401
+ "step": 245
402
+ },
403
+ {
404
+ "epoch": 2.9411764705882355,
405
+ "grad_norm": 0.2471035271883011,
406
+ "learning_rate": 8.687943629426725e-06,
407
+ "loss": 0.709,
408
+ "mean_token_accuracy": 0.7834857434034348,
409
+ "step": 250
410
+ },
411
+ {
412
+ "epoch": 3.0,
413
+ "grad_norm": 0.24563513696193695,
414
+ "learning_rate": 8.281519163286772e-06,
415
+ "loss": 0.7071,
416
+ "mean_token_accuracy": 0.7836518883705139,
417
+ "step": 255
418
+ },
419
+ {
420
+ "epoch": 3.0588235294117645,
421
+ "grad_norm": 0.2883757948875427,
422
+ "learning_rate": 7.878000034220092e-06,
423
+ "loss": 0.6674,
424
+ "mean_token_accuracy": 0.7938904002308845,
425
+ "step": 260
426
+ },
427
+ {
428
+ "epoch": 3.1176470588235294,
429
+ "grad_norm": 0.27395448088645935,
430
+ "learning_rate": 7.478068448894577e-06,
431
+ "loss": 0.6634,
432
+ "mean_token_accuracy": 0.7947225421667099,
433
+ "step": 265
434
+ },
435
+ {
436
+ "epoch": 3.176470588235294,
437
+ "grad_norm": 0.26141196489334106,
438
+ "learning_rate": 7.082400548723505e-06,
439
+ "loss": 0.6639,
440
+ "mean_token_accuracy": 0.7947093069553375,
441
+ "step": 270
442
+ },
443
+ {
444
+ "epoch": 3.235294117647059,
445
+ "grad_norm": 0.255613774061203,
446
+ "learning_rate": 6.6916652667519855e-06,
447
+ "loss": 0.6595,
448
+ "mean_token_accuracy": 0.7959247648715972,
449
+ "step": 275
450
+ },
451
+ {
452
+ "epoch": 3.2941176470588234,
453
+ "grad_norm": 0.24434104561805725,
454
+ "learning_rate": 6.3065231967302055e-06,
455
+ "loss": 0.6628,
456
+ "mean_token_accuracy": 0.7947000727057457,
457
+ "step": 280
458
+ },
459
+ {
460
+ "epoch": 3.3529411764705883,
461
+ "grad_norm": 0.2408313900232315,
462
+ "learning_rate": 5.927625476285426e-06,
463
+ "loss": 0.6596,
464
+ "mean_token_accuracy": 0.7956547513604164,
465
+ "step": 285
466
+ },
467
+ {
468
+ "epoch": 3.411764705882353,
469
+ "grad_norm": 0.2657158374786377,
470
+ "learning_rate": 5.555612686080909e-06,
471
+ "loss": 0.656,
472
+ "mean_token_accuracy": 0.7964748367667198,
473
+ "step": 290
474
+ },
475
+ {
476
+ "epoch": 3.4705882352941178,
477
+ "grad_norm": 0.5136517882347107,
478
+ "learning_rate": 5.191113766822905e-06,
479
+ "loss": 0.6581,
480
+ "mean_token_accuracy": 0.7958363279700279,
481
+ "step": 295
482
+ },
483
+ {
484
+ "epoch": 3.5294117647058822,
485
+ "grad_norm": 0.23569130897521973,
486
+ "learning_rate": 4.834744955946631e-06,
487
+ "loss": 0.6763,
488
+ "mean_token_accuracy": 0.7909138843417167,
489
+ "step": 300
490
+ },
491
+ {
492
+ "epoch": 3.588235294117647,
493
+ "grad_norm": 0.23169729113578796,
494
+ "learning_rate": 4.487108745778958e-06,
495
+ "loss": 0.6614,
496
+ "mean_token_accuracy": 0.7953535467386246,
497
+ "step": 305
498
+ },
499
+ {
500
+ "epoch": 3.6470588235294117,
501
+ "grad_norm": 0.260445237159729,
502
+ "learning_rate": 4.148792864939164e-06,
503
+ "loss": 0.6689,
504
+ "mean_token_accuracy": 0.792862094938755,
505
+ "step": 310
506
+ },
507
+ {
508
+ "epoch": 3.7058823529411766,
509
+ "grad_norm": 0.23310521245002747,
510
+ "learning_rate": 3.820369284699823e-06,
511
+ "loss": 0.6603,
512
+ "mean_token_accuracy": 0.7954040706157685,
513
+ "step": 315
514
+ },
515
+ {
516
+ "epoch": 3.764705882352941,
517
+ "grad_norm": 0.2321671098470688,
518
+ "learning_rate": 3.502393251987776e-06,
519
+ "loss": 0.6556,
520
+ "mean_token_accuracy": 0.7969529747962951,
521
+ "step": 320
522
+ },
523
+ {
524
+ "epoch": 3.8235294117647056,
525
+ "grad_norm": 0.23052778840065002,
526
+ "learning_rate": 3.195402350659945e-06,
527
+ "loss": 0.6638,
528
+ "mean_token_accuracy": 0.7944248780608177,
529
+ "step": 325
530
+ },
531
+ {
532
+ "epoch": 3.8823529411764706,
533
+ "grad_norm": 0.2269795835018158,
534
+ "learning_rate": 2.8999155926411203e-06,
535
+ "loss": 0.6532,
536
+ "mean_token_accuracy": 0.7974555715918541,
537
+ "step": 330
538
+ },
539
+ {
540
+ "epoch": 3.9411764705882355,
541
+ "grad_norm": 0.26359397172927856,
542
+ "learning_rate": 2.616432540460255e-06,
543
+ "loss": 0.658,
544
+ "mean_token_accuracy": 0.796060574054718,
545
+ "step": 335
546
+ },
547
+ {
548
+ "epoch": 4.0,
549
+ "grad_norm": 0.2300868183374405,
550
+ "learning_rate": 2.345432462668702e-06,
551
+ "loss": 0.6696,
552
+ "mean_token_accuracy": 0.7929902136325836,
553
+ "step": 340
554
+ },
555
+ {
556
+ "epoch": 4.0588235294117645,
557
+ "grad_norm": 0.2431250661611557,
558
+ "learning_rate": 2.0873735235683535e-06,
559
+ "loss": 0.6374,
560
+ "mean_token_accuracy": 0.8019135504961014,
561
+ "step": 345
562
+ },
563
+ {
564
+ "epoch": 4.117647058823529,
565
+ "grad_norm": 0.2521369755268097,
566
+ "learning_rate": 1.8426920086195065e-06,
567
+ "loss": 0.6449,
568
+ "mean_token_accuracy": 0.7989285483956337,
569
+ "step": 350
570
+ },
571
+ {
572
+ "epoch": 4.176470588235294,
573
+ "grad_norm": 0.2348567396402359,
574
+ "learning_rate": 1.6118015868380387e-06,
575
+ "loss": 0.639,
576
+ "mean_token_accuracy": 0.8011548355221748,
577
+ "step": 355
578
+ },
579
+ {
580
+ "epoch": 4.235294117647059,
581
+ "grad_norm": 0.2301347851753235,
582
+ "learning_rate": 1.395092611428902e-06,
583
+ "loss": 0.638,
584
+ "mean_token_accuracy": 0.8016765296459198,
585
+ "step": 360
586
+ },
587
+ {
588
+ "epoch": 4.294117647058823,
589
+ "grad_norm": 0.22677163779735565,
590
+ "learning_rate": 1.1929314598383423e-06,
591
+ "loss": 0.6395,
592
+ "mean_token_accuracy": 0.8011483311653137,
593
+ "step": 365
594
+ },
595
+ {
596
+ "epoch": 4.352941176470588,
597
+ "grad_norm": 0.3107834458351135,
598
+ "learning_rate": 1.0056599143405244e-06,
599
+ "loss": 0.6366,
600
+ "mean_token_accuracy": 0.8016634568572044,
601
+ "step": 370
602
+ },
603
+ {
604
+ "epoch": 4.411764705882353,
605
+ "grad_norm": 0.22472035884857178,
606
+ "learning_rate": 8.335945842058524e-07,
607
+ "loss": 0.6374,
608
+ "mean_token_accuracy": 0.8015297800302505,
609
+ "step": 375
610
+ },
611
+ {
612
+ "epoch": 4.470588235294118,
613
+ "grad_norm": 0.22342084348201752,
614
+ "learning_rate": 6.770263704277958e-07,
615
+ "loss": 0.6428,
616
+ "mean_token_accuracy": 0.7997823596000672,
617
+ "step": 380
618
+ },
619
+ {
620
+ "epoch": 4.529411764705882,
621
+ "grad_norm": 0.2275530993938446,
622
+ "learning_rate": 5.362199739132656e-07,
623
+ "loss": 0.6386,
624
+ "mean_token_accuracy": 0.800740472972393,
625
+ "step": 385
626
+ },
627
+ {
628
+ "epoch": 4.588235294117647,
629
+ "grad_norm": 0.2201569676399231,
630
+ "learning_rate": 4.114134479679543e-07,
631
+ "loss": 0.6375,
632
+ "mean_token_accuracy": 0.801284721493721,
633
+ "step": 390
634
+ },
635
+ {
636
+ "epoch": 4.647058823529412,
637
+ "grad_norm": 0.461182564496994,
638
+ "learning_rate": 3.028177958332512e-07,
639
+ "loss": 0.6447,
640
+ "mean_token_accuracy": 0.7993519201874733,
641
+ "step": 395
642
+ },
643
+ {
644
+ "epoch": 4.705882352941177,
645
+ "grad_norm": 0.2319057285785675,
646
+ "learning_rate": 2.106166139551602e-07,
647
+ "loss": 0.6333,
648
+ "mean_token_accuracy": 0.802707064151764,
649
+ "step": 400
650
+ },
651
+ {
652
+ "epoch": 4.764705882352941,
653
+ "grad_norm": 0.22582513093948364,
654
+ "learning_rate": 1.349657815883032e-07,
655
+ "loss": 0.6323,
656
+ "mean_token_accuracy": 0.8026360154151917,
657
+ "step": 405
658
+ },
659
+ {
660
+ "epoch": 4.823529411764706,
661
+ "grad_norm": 0.2295258790254593,
662
+ "learning_rate": 7.599319725980047e-08,
663
+ "loss": 0.6358,
664
+ "mean_token_accuracy": 0.801770193874836,
665
+ "step": 410
666
+ },
667
+ {
668
+ "epoch": 4.882352941176471,
669
+ "grad_norm": 0.21853575110435486,
670
+ "learning_rate": 3.379856253855951e-08,
671
+ "loss": 0.6377,
672
+ "mean_token_accuracy": 0.8013792619109154,
673
+ "step": 415
674
+ },
675
+ {
676
+ "epoch": 4.9411764705882355,
677
+ "grad_norm": 0.21868692338466644,
678
+ "learning_rate": 8.453213475543287e-09,
679
+ "loss": 0.6354,
680
+ "mean_token_accuracy": 0.8020963743329048,
681
+ "step": 420
682
+ },
683
+ {
684
+ "epoch": 5.0,
685
+ "grad_norm": 0.2259187251329422,
686
+ "learning_rate": 0.0,
687
+ "loss": 0.6423,
688
+ "mean_token_accuracy": 0.800124317407608,
689
+ "step": 425
690
+ },
691
+ {
692
+ "epoch": 5.0,
693
+ "step": 425,
694
+ "total_flos": 355840724828160.0,
695
+ "train_loss": 0.8547473980398739,
696
+ "train_runtime": 36760.1561,
697
+ "train_samples_per_second": 1.48,
698
+ "train_steps_per_second": 0.012
699
+ }
700
+ ],
701
+ "logging_steps": 5,
702
+ "max_steps": 425,
703
+ "num_input_tokens_seen": 0,
704
+ "num_train_epochs": 5,
705
+ "save_steps": 500,
706
+ "stateful_callbacks": {
707
+ "TrainerControl": {
708
+ "args": {
709
+ "should_epoch_stop": false,
710
+ "should_evaluate": false,
711
+ "should_log": false,
712
+ "should_save": false,
713
+ "should_training_stop": false
714
+ },
715
+ "attributes": {}
716
+ }
717
+ },
718
+ "total_flos": 355840724828160.0,
719
+ "train_batch_size": 4,
720
+ "trial_name": null,
721
+ "trial_params": null
722
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:14d1d37d8de7246cbbe098ed078a4fc76239817e2b27ea2efee61eb8c57ce29b
3
+ size 7544