zhuangxialie commited on
Commit
3907390
·
verified ·
1 Parent(s): 47ba6b9

Model save

Browse files
README.md ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ model_name: Qwen-code-7B-SFT-cot
4
+ tags:
5
+ - generated_from_trainer
6
+ - trl
7
+ - sft
8
+ licence: license
9
+ ---
10
+
11
+ # Model Card for Qwen-code-7B-SFT-cot
12
+
13
+ This model is a fine-tuned version of [None](https://huggingface.co/None).
14
+ It has been trained using [TRL](https://github.com/huggingface/trl).
15
+
16
+ ## Quick start
17
+
18
+ ```python
19
+ from transformers import pipeline
20
+
21
+ 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?"
22
+ generator = pipeline("text-generation", model="ZhuangXialie/Qwen-code-7B-SFT-cot", device="cuda")
23
+ output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
24
+ print(output["generated_text"])
25
+ ```
26
+
27
+ ## Training procedure
28
+
29
+ [<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/zhuangxialie-ubiquant-investment/huggingface/runs/30pour4i)
30
+
31
+
32
+ This model was trained with SFT.
33
+
34
+ ### Framework versions
35
+
36
+ - TRL: 0.16.0.dev0
37
+ - Transformers: 4.49.0
38
+ - Pytorch: 2.4.0
39
+ - Datasets: 3.5.0
40
+ - Tokenizers: 0.21.1
41
+
42
+ ## Citations
43
+
44
+
45
+
46
+ Cite TRL as:
47
+
48
+ ```bibtex
49
+ @misc{vonwerra2022trl,
50
+ title = {{TRL: Transformer Reinforcement Learning}},
51
+ 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},
52
+ year = 2020,
53
+ journal = {GitHub repository},
54
+ publisher = {GitHub},
55
+ howpublished = {\url{https://github.com/huggingface/trl}}
56
+ }
57
+ ```
all_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "total_flos": 213866215112704.0,
3
+ "train_loss": 0.21202428278943095,
4
+ "train_runtime": 2397.3093,
5
+ "train_samples": 19815,
6
+ "train_samples_per_second": 2.778,
7
+ "train_steps_per_second": 0.174
8
+ }
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"
14
+ }
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "total_flos": 213866215112704.0,
3
+ "train_loss": 0.21202428278943095,
4
+ "train_runtime": 2397.3093,
5
+ "train_samples": 19815,
6
+ "train_samples_per_second": 2.778,
7
+ "train_steps_per_second": 0.174
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,707 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 3.9665071770334928,
5
+ "eval_steps": 500,
6
+ "global_step": 416,
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.04784688995215311,
13
+ "grad_norm": 1.6178438569586449,
14
+ "learning_rate": 5.9523809523809525e-06,
15
+ "loss": 0.5431,
16
+ "mean_token_accuracy": 0.8649710834026336,
17
+ "step": 5
18
+ },
19
+ {
20
+ "epoch": 0.09569377990430622,
21
+ "grad_norm": 0.8399210434256071,
22
+ "learning_rate": 1.1904761904761905e-05,
23
+ "loss": 0.4584,
24
+ "mean_token_accuracy": 0.8745080888271332,
25
+ "step": 10
26
+ },
27
+ {
28
+ "epoch": 0.14354066985645933,
29
+ "grad_norm": 0.4157952966846664,
30
+ "learning_rate": 1.785714285714286e-05,
31
+ "loss": 0.4063,
32
+ "mean_token_accuracy": 0.8852763116359711,
33
+ "step": 15
34
+ },
35
+ {
36
+ "epoch": 0.19138755980861244,
37
+ "grad_norm": 0.2766662800285874,
38
+ "learning_rate": 2.380952380952381e-05,
39
+ "loss": 0.3877,
40
+ "mean_token_accuracy": 0.8882795989513397,
41
+ "step": 20
42
+ },
43
+ {
44
+ "epoch": 0.23923444976076555,
45
+ "grad_norm": 0.2679535519393889,
46
+ "learning_rate": 2.9761904761904762e-05,
47
+ "loss": 0.374,
48
+ "mean_token_accuracy": 0.8910047888755799,
49
+ "step": 25
50
+ },
51
+ {
52
+ "epoch": 0.28708133971291866,
53
+ "grad_norm": 0.27461170501370225,
54
+ "learning_rate": 3.571428571428572e-05,
55
+ "loss": 0.3623,
56
+ "mean_token_accuracy": 0.8936996936798096,
57
+ "step": 30
58
+ },
59
+ {
60
+ "epoch": 0.3349282296650718,
61
+ "grad_norm": 0.2621068877552152,
62
+ "learning_rate": 4.166666666666667e-05,
63
+ "loss": 0.3545,
64
+ "mean_token_accuracy": 0.8954194068908692,
65
+ "step": 35
66
+ },
67
+ {
68
+ "epoch": 0.3827751196172249,
69
+ "grad_norm": 0.2232430857126827,
70
+ "learning_rate": 4.761904761904762e-05,
71
+ "loss": 0.351,
72
+ "mean_token_accuracy": 0.8956089854240418,
73
+ "step": 40
74
+ },
75
+ {
76
+ "epoch": 0.430622009569378,
77
+ "grad_norm": 0.2469440843623975,
78
+ "learning_rate": 4.99928562114719e-05,
79
+ "loss": 0.3458,
80
+ "mean_token_accuracy": 0.897181648015976,
81
+ "step": 45
82
+ },
83
+ {
84
+ "epoch": 0.4784688995215311,
85
+ "grad_norm": 0.23865360558587098,
86
+ "learning_rate": 4.9949216152802965e-05,
87
+ "loss": 0.3449,
88
+ "mean_token_accuracy": 0.8968794465065002,
89
+ "step": 50
90
+ },
91
+ {
92
+ "epoch": 0.5263157894736842,
93
+ "grad_norm": 0.22245226377013297,
94
+ "learning_rate": 4.9865981682910456e-05,
95
+ "loss": 0.3402,
96
+ "mean_token_accuracy": 0.8982591807842255,
97
+ "step": 55
98
+ },
99
+ {
100
+ "epoch": 0.5741626794258373,
101
+ "grad_norm": 0.2161337900395713,
102
+ "learning_rate": 4.97432996051307e-05,
103
+ "loss": 0.3388,
104
+ "mean_token_accuracy": 0.8982585489749908,
105
+ "step": 60
106
+ },
107
+ {
108
+ "epoch": 0.6220095693779905,
109
+ "grad_norm": 0.20816980844934332,
110
+ "learning_rate": 4.958138629782647e-05,
111
+ "loss": 0.3343,
112
+ "mean_token_accuracy": 0.8995780885219574,
113
+ "step": 65
114
+ },
115
+ {
116
+ "epoch": 0.6698564593301436,
117
+ "grad_norm": 0.20952600298862226,
118
+ "learning_rate": 4.938052733275354e-05,
119
+ "loss": 0.3297,
120
+ "mean_token_accuracy": 0.9005344986915589,
121
+ "step": 70
122
+ },
123
+ {
124
+ "epoch": 0.7177033492822966,
125
+ "grad_norm": 0.22463823169406383,
126
+ "learning_rate": 4.914107697138843e-05,
127
+ "loss": 0.3254,
128
+ "mean_token_accuracy": 0.901619678735733,
129
+ "step": 75
130
+ },
131
+ {
132
+ "epoch": 0.7655502392344498,
133
+ "grad_norm": 0.20387680313285525,
134
+ "learning_rate": 4.886345754010597e-05,
135
+ "loss": 0.3228,
136
+ "mean_token_accuracy": 0.9023577153682709,
137
+ "step": 80
138
+ },
139
+ {
140
+ "epoch": 0.8133971291866029,
141
+ "grad_norm": 0.1967095271533209,
142
+ "learning_rate": 4.854815868530855e-05,
143
+ "loss": 0.3189,
144
+ "mean_token_accuracy": 0.9035642802715301,
145
+ "step": 85
146
+ },
147
+ {
148
+ "epoch": 0.861244019138756,
149
+ "grad_norm": 0.20177701754772745,
150
+ "learning_rate": 4.819573650982088e-05,
151
+ "loss": 0.3155,
152
+ "mean_token_accuracy": 0.9040892541408538,
153
+ "step": 90
154
+ },
155
+ {
156
+ "epoch": 0.9090909090909091,
157
+ "grad_norm": 0.21489007606420435,
158
+ "learning_rate": 4.780681259207339e-05,
159
+ "loss": 0.3148,
160
+ "mean_token_accuracy": 0.9040708005428314,
161
+ "step": 95
162
+ },
163
+ {
164
+ "epoch": 0.9569377990430622,
165
+ "grad_norm": 0.21379980317514838,
166
+ "learning_rate": 4.738207288980417e-05,
167
+ "loss": 0.3156,
168
+ "mean_token_accuracy": 0.903698742389679,
169
+ "step": 100
170
+ },
171
+ {
172
+ "epoch": 1.0,
173
+ "grad_norm": 0.2158756062319493,
174
+ "learning_rate": 4.692226653021304e-05,
175
+ "loss": 0.3082,
176
+ "mean_token_accuracy": 0.9040403498543633,
177
+ "step": 105
178
+ },
179
+ {
180
+ "epoch": 1.0478468899521531,
181
+ "grad_norm": 0.21457223097848338,
182
+ "learning_rate": 4.6428204488701576e-05,
183
+ "loss": 0.2509,
184
+ "mean_token_accuracy": 0.9200618088245391,
185
+ "step": 110
186
+ },
187
+ {
188
+ "epoch": 1.0956937799043063,
189
+ "grad_norm": 0.20058528076642096,
190
+ "learning_rate": 4.5900758158529505e-05,
191
+ "loss": 0.2506,
192
+ "mean_token_accuracy": 0.9204949855804443,
193
+ "step": 115
194
+ },
195
+ {
196
+ "epoch": 1.1435406698564594,
197
+ "grad_norm": 0.20876791389798524,
198
+ "learning_rate": 4.534085781391011e-05,
199
+ "loss": 0.2496,
200
+ "mean_token_accuracy": 0.9207346796989441,
201
+ "step": 120
202
+ },
203
+ {
204
+ "epoch": 1.1913875598086126,
205
+ "grad_norm": 0.20289299393352286,
206
+ "learning_rate": 4.474949096925538e-05,
207
+ "loss": 0.2506,
208
+ "mean_token_accuracy": 0.9200530827045441,
209
+ "step": 125
210
+ },
211
+ {
212
+ "epoch": 1.2392344497607655,
213
+ "grad_norm": 0.21305573701153363,
214
+ "learning_rate": 4.4127700637464834e-05,
215
+ "loss": 0.2507,
216
+ "mean_token_accuracy": 0.9202218174934387,
217
+ "step": 130
218
+ },
219
+ {
220
+ "epoch": 1.2870813397129186,
221
+ "grad_norm": 0.19168843820402073,
222
+ "learning_rate": 4.347658349032977e-05,
223
+ "loss": 0.2475,
224
+ "mean_token_accuracy": 0.9211139142513275,
225
+ "step": 135
226
+ },
227
+ {
228
+ "epoch": 1.3349282296650717,
229
+ "grad_norm": 0.23386818676449111,
230
+ "learning_rate": 4.279728792429768e-05,
231
+ "loss": 0.2493,
232
+ "mean_token_accuracy": 0.9205289006233215,
233
+ "step": 140
234
+ },
235
+ {
236
+ "epoch": 1.3827751196172249,
237
+ "grad_norm": 0.19829038322936948,
238
+ "learning_rate": 4.209101203500809e-05,
239
+ "loss": 0.2469,
240
+ "mean_token_accuracy": 0.9209350109100342,
241
+ "step": 145
242
+ },
243
+ {
244
+ "epoch": 1.430622009569378,
245
+ "grad_norm": 0.22373994346715842,
246
+ "learning_rate": 4.135900150417243e-05,
247
+ "loss": 0.2416,
248
+ "mean_token_accuracy": 0.9225721061229706,
249
+ "step": 150
250
+ },
251
+ {
252
+ "epoch": 1.4784688995215312,
253
+ "grad_norm": 0.20748037358682295,
254
+ "learning_rate": 4.0602547402524813e-05,
255
+ "loss": 0.2396,
256
+ "mean_token_accuracy": 0.9232222616672516,
257
+ "step": 155
258
+ },
259
+ {
260
+ "epoch": 1.526315789473684,
261
+ "grad_norm": 0.18363411909081742,
262
+ "learning_rate": 3.982298391271858e-05,
263
+ "loss": 0.2474,
264
+ "mean_token_accuracy": 0.9210693001747131,
265
+ "step": 160
266
+ },
267
+ {
268
+ "epoch": 1.5741626794258372,
269
+ "grad_norm": 0.18354584761777637,
270
+ "learning_rate": 3.902168597618509e-05,
271
+ "loss": 0.2426,
272
+ "mean_token_accuracy": 0.9223567545413971,
273
+ "step": 165
274
+ },
275
+ {
276
+ "epoch": 1.6220095693779903,
277
+ "grad_norm": 0.19344690588457217,
278
+ "learning_rate": 3.82000668681049e-05,
279
+ "loss": 0.2419,
280
+ "mean_token_accuracy": 0.9226630091667175,
281
+ "step": 170
282
+ },
283
+ {
284
+ "epoch": 1.6698564593301435,
285
+ "grad_norm": 0.19835339977982622,
286
+ "learning_rate": 3.735957570476844e-05,
287
+ "loss": 0.2364,
288
+ "mean_token_accuracy": 0.9246738970279693,
289
+ "step": 175
290
+ },
291
+ {
292
+ "epoch": 1.7177033492822966,
293
+ "grad_norm": 0.1893700609423051,
294
+ "learning_rate": 3.65016948877226e-05,
295
+ "loss": 0.237,
296
+ "mean_token_accuracy": 0.9241552948951721,
297
+ "step": 180
298
+ },
299
+ {
300
+ "epoch": 1.7655502392344498,
301
+ "grad_norm": 0.20092617650862296,
302
+ "learning_rate": 3.562793748921095e-05,
303
+ "loss": 0.2302,
304
+ "mean_token_accuracy": 0.9259460866451263,
305
+ "step": 185
306
+ },
307
+ {
308
+ "epoch": 1.813397129186603,
309
+ "grad_norm": 0.19482063162086233,
310
+ "learning_rate": 3.473984458351913e-05,
311
+ "loss": 0.2294,
312
+ "mean_token_accuracy": 0.9257330477237702,
313
+ "step": 190
314
+ },
315
+ {
316
+ "epoch": 1.861244019138756,
317
+ "grad_norm": 0.23594862888300963,
318
+ "learning_rate": 3.383898252893217e-05,
319
+ "loss": 0.2252,
320
+ "mean_token_accuracy": 0.9272994875907898,
321
+ "step": 195
322
+ },
323
+ {
324
+ "epoch": 1.9090909090909092,
325
+ "grad_norm": 0.2264429074763011,
326
+ "learning_rate": 3.292694020509744e-05,
327
+ "loss": 0.2285,
328
+ "mean_token_accuracy": 0.9267280995845795,
329
+ "step": 200
330
+ },
331
+ {
332
+ "epoch": 1.9569377990430623,
333
+ "grad_norm": 0.20243011319089546,
334
+ "learning_rate": 3.200532621066612e-05,
335
+ "loss": 0.2317,
336
+ "mean_token_accuracy": 0.925784581899643,
337
+ "step": 205
338
+ },
339
+ {
340
+ "epoch": 2.0,
341
+ "grad_norm": 0.2761279417111308,
342
+ "learning_rate": 3.10757660261555e-05,
343
+ "loss": 0.2187,
344
+ "mean_token_accuracy": 0.9277391168806288,
345
+ "step": 210
346
+ },
347
+ {
348
+ "epoch": 2.047846889952153,
349
+ "grad_norm": 0.21472765995198592,
350
+ "learning_rate": 3.013989914703625e-05,
351
+ "loss": 0.1588,
352
+ "mean_token_accuracy": 0.9470981001853943,
353
+ "step": 215
354
+ },
355
+ {
356
+ "epoch": 2.0956937799043063,
357
+ "grad_norm": 0.19241730654495223,
358
+ "learning_rate": 2.919937619210103e-05,
359
+ "loss": 0.1597,
360
+ "mean_token_accuracy": 0.9465132236480713,
361
+ "step": 220
362
+ },
363
+ {
364
+ "epoch": 2.1435406698564594,
365
+ "grad_norm": 0.2010987341848127,
366
+ "learning_rate": 2.825585599221456e-05,
367
+ "loss": 0.1517,
368
+ "mean_token_accuracy": 0.9487400650978088,
369
+ "step": 225
370
+ },
371
+ {
372
+ "epoch": 2.1913875598086126,
373
+ "grad_norm": 0.18857044810118412,
374
+ "learning_rate": 2.7311002664579755e-05,
375
+ "loss": 0.1522,
376
+ "mean_token_accuracy": 0.9488288640975953,
377
+ "step": 230
378
+ },
379
+ {
380
+ "epoch": 2.2392344497607657,
381
+ "grad_norm": 0.1973021475908052,
382
+ "learning_rate": 2.6366482677680226e-05,
383
+ "loss": 0.1539,
384
+ "mean_token_accuracy": 0.9482394576072692,
385
+ "step": 235
386
+ },
387
+ {
388
+ "epoch": 2.287081339712919,
389
+ "grad_norm": 0.1916451391340417,
390
+ "learning_rate": 2.5423961912075712e-05,
391
+ "loss": 0.1519,
392
+ "mean_token_accuracy": 0.9490710437297821,
393
+ "step": 240
394
+ },
395
+ {
396
+ "epoch": 2.334928229665072,
397
+ "grad_norm": 0.18310116347345545,
398
+ "learning_rate": 2.448510272223445e-05,
399
+ "loss": 0.1593,
400
+ "mean_token_accuracy": 0.9469183087348938,
401
+ "step": 245
402
+ },
403
+ {
404
+ "epoch": 2.382775119617225,
405
+ "grad_norm": 0.19992899486646826,
406
+ "learning_rate": 2.3551561004584644e-05,
407
+ "loss": 0.1527,
408
+ "mean_token_accuracy": 0.9489526867866516,
409
+ "step": 250
410
+ },
411
+ {
412
+ "epoch": 2.430622009569378,
413
+ "grad_norm": 0.20001274217428525,
414
+ "learning_rate": 2.2624983276956214e-05,
415
+ "loss": 0.1545,
416
+ "mean_token_accuracy": 0.9480966806411744,
417
+ "step": 255
418
+ },
419
+ {
420
+ "epoch": 2.478468899521531,
421
+ "grad_norm": 0.19971823143333786,
422
+ "learning_rate": 2.17070037745638e-05,
423
+ "loss": 0.1516,
424
+ "mean_token_accuracy": 0.9491800308227539,
425
+ "step": 260
426
+ },
427
+ {
428
+ "epoch": 2.526315789473684,
429
+ "grad_norm": 0.17534350087544737,
430
+ "learning_rate": 2.079924156765312e-05,
431
+ "loss": 0.15,
432
+ "mean_token_accuracy": 0.9497306644916534,
433
+ "step": 265
434
+ },
435
+ {
436
+ "epoch": 2.574162679425837,
437
+ "grad_norm": 0.17941495258495743,
438
+ "learning_rate": 1.9903297705894207e-05,
439
+ "loss": 0.1552,
440
+ "mean_token_accuracy": 0.9483123421669006,
441
+ "step": 270
442
+ },
443
+ {
444
+ "epoch": 2.6220095693779903,
445
+ "grad_norm": 0.1886616293140272,
446
+ "learning_rate": 1.9020752394558096e-05,
447
+ "loss": 0.1509,
448
+ "mean_token_accuracy": 0.9495630502700806,
449
+ "step": 275
450
+ },
451
+ {
452
+ "epoch": 2.6698564593301435,
453
+ "grad_norm": 0.19242543918662838,
454
+ "learning_rate": 1.815316220745756e-05,
455
+ "loss": 0.1546,
456
+ "mean_token_accuracy": 0.9482314586639404,
457
+ "step": 280
458
+ },
459
+ {
460
+ "epoch": 2.7177033492822966,
461
+ "grad_norm": 0.18201614867985003,
462
+ "learning_rate": 1.73020573415673e-05,
463
+ "loss": 0.1496,
464
+ "mean_token_accuracy": 0.9498195767402648,
465
+ "step": 285
466
+ },
467
+ {
468
+ "epoch": 2.7655502392344498,
469
+ "grad_norm": 0.20205387945258876,
470
+ "learning_rate": 1.646893891816591e-05,
471
+ "loss": 0.1495,
472
+ "mean_token_accuracy": 0.9499354422092438,
473
+ "step": 290
474
+ },
475
+ {
476
+ "epoch": 2.813397129186603,
477
+ "grad_norm": 0.17887628669217684,
478
+ "learning_rate": 1.5655276335259493e-05,
479
+ "loss": 0.1495,
480
+ "mean_token_accuracy": 0.950058388710022,
481
+ "step": 295
482
+ },
483
+ {
484
+ "epoch": 2.861244019138756,
485
+ "grad_norm": 0.18210621293658882,
486
+ "learning_rate": 1.4862504675956803e-05,
487
+ "loss": 0.1477,
488
+ "mean_token_accuracy": 0.9507902562618256,
489
+ "step": 300
490
+ },
491
+ {
492
+ "epoch": 2.909090909090909,
493
+ "grad_norm": 0.16610798667043808,
494
+ "learning_rate": 1.4092022177366448e-05,
495
+ "loss": 0.1472,
496
+ "mean_token_accuracy": 0.9505416512489319,
497
+ "step": 305
498
+ },
499
+ {
500
+ "epoch": 2.9569377990430623,
501
+ "grad_norm": 0.19093889547243018,
502
+ "learning_rate": 1.334518776448086e-05,
503
+ "loss": 0.1449,
504
+ "mean_token_accuracy": 0.9513530313968659,
505
+ "step": 310
506
+ },
507
+ {
508
+ "epoch": 3.0,
509
+ "grad_norm": 0.17832946925769,
510
+ "learning_rate": 1.2623318653396027e-05,
511
+ "loss": 0.1407,
512
+ "mean_token_accuracy": 0.9511178533236185,
513
+ "step": 315
514
+ },
515
+ {
516
+ "epoch": 3.047846889952153,
517
+ "grad_norm": 0.25680975157440067,
518
+ "learning_rate": 1.192768802809487e-05,
519
+ "loss": 0.101,
520
+ "mean_token_accuracy": 0.9665960729122162,
521
+ "step": 320
522
+ },
523
+ {
524
+ "epoch": 3.0956937799043063,
525
+ "grad_norm": 0.18777563649802764,
526
+ "learning_rate": 1.1259522794891156e-05,
527
+ "loss": 0.0961,
528
+ "mean_token_accuracy": 0.9677205324172974,
529
+ "step": 325
530
+ },
531
+ {
532
+ "epoch": 3.1435406698564594,
533
+ "grad_norm": 0.17478369339727004,
534
+ "learning_rate": 1.0620001418495165e-05,
535
+ "loss": 0.0985,
536
+ "mean_token_accuracy": 0.966835618019104,
537
+ "step": 330
538
+ },
539
+ {
540
+ "epoch": 3.1913875598086126,
541
+ "grad_norm": 0.17275966764155462,
542
+ "learning_rate": 1.0010251843517089e-05,
543
+ "loss": 0.0972,
544
+ "mean_token_accuracy": 0.9672303974628449,
545
+ "step": 335
546
+ },
547
+ {
548
+ "epoch": 3.2392344497607657,
549
+ "grad_norm": 0.16993093028595546,
550
+ "learning_rate": 9.431349505074635e-06,
551
+ "loss": 0.0956,
552
+ "mean_token_accuracy": 0.9676419258117676,
553
+ "step": 340
554
+ },
555
+ {
556
+ "epoch": 3.287081339712919,
557
+ "grad_norm": 0.16631908155701744,
558
+ "learning_rate": 8.884315432013085e-06,
559
+ "loss": 0.0947,
560
+ "mean_token_accuracy": 0.9682831168174744,
561
+ "step": 345
562
+ },
563
+ {
564
+ "epoch": 3.334928229665072,
565
+ "grad_norm": 0.16712721419639617,
566
+ "learning_rate": 8.370114446083686e-06,
567
+ "loss": 0.0963,
568
+ "mean_token_accuracy": 0.9672574043273926,
569
+ "step": 350
570
+ },
571
+ {
572
+ "epoch": 3.382775119617225,
573
+ "grad_norm": 0.16752495961320182,
574
+ "learning_rate": 7.88965346025611e-06,
575
+ "loss": 0.0932,
576
+ "mean_token_accuracy": 0.9686044454574585,
577
+ "step": 355
578
+ },
579
+ {
580
+ "epoch": 3.430622009569378,
581
+ "grad_norm": 0.16411359819333338,
582
+ "learning_rate": 7.443779879166704e-06,
583
+ "loss": 0.0936,
584
+ "mean_token_accuracy": 0.968251782655716,
585
+ "step": 360
586
+ },
587
+ {
588
+ "epoch": 3.478468899521531,
589
+ "grad_norm": 0.17214899232280093,
590
+ "learning_rate": 7.033280104523337e-06,
591
+ "loss": 0.0947,
592
+ "mean_token_accuracy": 0.9681008815765381,
593
+ "step": 365
594
+ },
595
+ {
596
+ "epoch": 3.526315789473684,
597
+ "grad_norm": 0.16393252030290434,
598
+ "learning_rate": 6.658878148103265e-06,
599
+ "loss": 0.0954,
600
+ "mean_token_accuracy": 0.9676827132701874,
601
+ "step": 370
602
+ },
603
+ {
604
+ "epoch": 3.574162679425837,
605
+ "grad_norm": 0.15820317829789238,
606
+ "learning_rate": 6.3212343547899925e-06,
607
+ "loss": 0.0941,
608
+ "mean_token_accuracy": 0.9682557284832001,
609
+ "step": 375
610
+ },
611
+ {
612
+ "epoch": 3.6220095693779903,
613
+ "grad_norm": 0.1691401819724291,
614
+ "learning_rate": 6.020944237901609e-06,
615
+ "loss": 0.0957,
616
+ "mean_token_accuracy": 0.9677995264530181,
617
+ "step": 380
618
+ },
619
+ {
620
+ "epoch": 3.6698564593301435,
621
+ "grad_norm": 0.15841220320611066,
622
+ "learning_rate": 5.7585374288645935e-06,
623
+ "loss": 0.095,
624
+ "mean_token_accuracy": 0.9678770661354065,
625
+ "step": 385
626
+ },
627
+ {
628
+ "epoch": 3.7177033492822966,
629
+ "grad_norm": 0.15989013852853978,
630
+ "learning_rate": 5.534476743085694e-06,
631
+ "loss": 0.0933,
632
+ "mean_token_accuracy": 0.9685147047042847,
633
+ "step": 390
634
+ },
635
+ {
636
+ "epoch": 3.7655502392344498,
637
+ "grad_norm": 0.1602782553069919,
638
+ "learning_rate": 5.349157363669362e-06,
639
+ "loss": 0.0926,
640
+ "mean_token_accuracy": 0.9689649045467377,
641
+ "step": 395
642
+ },
643
+ {
644
+ "epoch": 3.813397129186603,
645
+ "grad_norm": 0.16816859348589558,
646
+ "learning_rate": 5.202906144420483e-06,
647
+ "loss": 0.0924,
648
+ "mean_token_accuracy": 0.9688647747039795,
649
+ "step": 400
650
+ },
651
+ {
652
+ "epoch": 3.861244019138756,
653
+ "grad_norm": 0.16695686882956462,
654
+ "learning_rate": 5.095981033361725e-06,
655
+ "loss": 0.0936,
656
+ "mean_token_accuracy": 0.9684687733650208,
657
+ "step": 405
658
+ },
659
+ {
660
+ "epoch": 3.909090909090909,
661
+ "grad_norm": 0.17408482158108302,
662
+ "learning_rate": 5.028570617782212e-06,
663
+ "loss": 0.0924,
664
+ "mean_token_accuracy": 0.9686804115772247,
665
+ "step": 410
666
+ },
667
+ {
668
+ "epoch": 3.9569377990430623,
669
+ "grad_norm": 0.16266285247102608,
670
+ "learning_rate": 5.000793791620026e-06,
671
+ "loss": 0.0928,
672
+ "mean_token_accuracy": 0.9688069880008697,
673
+ "step": 415
674
+ },
675
+ {
676
+ "epoch": 3.9665071770334928,
677
+ "mean_token_accuracy": 0.9688756763935089,
678
+ "step": 416,
679
+ "total_flos": 213866215112704.0,
680
+ "train_loss": 0.21202428278943095,
681
+ "train_runtime": 2397.3093,
682
+ "train_samples_per_second": 2.778,
683
+ "train_steps_per_second": 0.174
684
+ }
685
+ ],
686
+ "logging_steps": 5,
687
+ "max_steps": 416,
688
+ "num_input_tokens_seen": 0,
689
+ "num_train_epochs": 4,
690
+ "save_steps": 500,
691
+ "stateful_callbacks": {
692
+ "TrainerControl": {
693
+ "args": {
694
+ "should_epoch_stop": false,
695
+ "should_evaluate": false,
696
+ "should_log": false,
697
+ "should_save": true,
698
+ "should_training_stop": true
699
+ },
700
+ "attributes": {}
701
+ }
702
+ },
703
+ "total_flos": 213866215112704.0,
704
+ "train_batch_size": 1,
705
+ "trial_name": null,
706
+ "trial_params": null
707
+ }