File size: 9,056 Bytes
0e5bb31
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
{
  "best_metric": 0.3567696511745453,
  "best_model_checkpoint": "data/Llama-31-8B_task-3_60-samples_config-2_auto/checkpoint-28",
  "epoch": 16.695652173913043,
  "eval_steps": 500,
  "global_step": 48,
  "is_hyper_param_search": false,
  "is_local_process_zero": true,
  "is_world_process_zero": true,
  "log_history": [
    {
      "epoch": 0.34782608695652173,
      "grad_norm": 2.5350377559661865,
      "learning_rate": 1e-05,
      "loss": 2.3936,
      "step": 1
    },
    {
      "epoch": 0.6956521739130435,
      "grad_norm": 2.348182439804077,
      "learning_rate": 2e-05,
      "loss": 2.2034,
      "step": 2
    },
    {
      "epoch": 0.6956521739130435,
      "eval_loss": 2.2399237155914307,
      "eval_runtime": 11.3007,
      "eval_samples_per_second": 1.062,
      "eval_steps_per_second": 1.062,
      "step": 2
    },
    {
      "epoch": 1.391304347826087,
      "grad_norm": 2.286853313446045,
      "learning_rate": 4e-05,
      "loss": 2.1509,
      "step": 4
    },
    {
      "epoch": 1.7391304347826086,
      "eval_loss": 1.8617448806762695,
      "eval_runtime": 11.3,
      "eval_samples_per_second": 1.062,
      "eval_steps_per_second": 1.062,
      "step": 5
    },
    {
      "epoch": 2.0869565217391304,
      "grad_norm": 2.149461030960083,
      "learning_rate": 6e-05,
      "loss": 2.0141,
      "step": 6
    },
    {
      "epoch": 2.782608695652174,
      "grad_norm": 1.9644540548324585,
      "learning_rate": 8e-05,
      "loss": 1.5862,
      "step": 8
    },
    {
      "epoch": 2.782608695652174,
      "eval_loss": 1.111824870109558,
      "eval_runtime": 11.2977,
      "eval_samples_per_second": 1.062,
      "eval_steps_per_second": 1.062,
      "step": 8
    },
    {
      "epoch": 3.4782608695652173,
      "grad_norm": 1.344768762588501,
      "learning_rate": 0.0001,
      "loss": 0.9806,
      "step": 10
    },
    {
      "epoch": 3.8260869565217392,
      "eval_loss": 0.5886362195014954,
      "eval_runtime": 11.2938,
      "eval_samples_per_second": 1.063,
      "eval_steps_per_second": 1.063,
      "step": 11
    },
    {
      "epoch": 4.173913043478261,
      "grad_norm": 0.8945172429084778,
      "learning_rate": 9.987820251299122e-05,
      "loss": 0.5955,
      "step": 12
    },
    {
      "epoch": 4.869565217391305,
      "grad_norm": 0.5430197715759277,
      "learning_rate": 9.951340343707852e-05,
      "loss": 0.4601,
      "step": 14
    },
    {
      "epoch": 4.869565217391305,
      "eval_loss": 0.47657203674316406,
      "eval_runtime": 11.295,
      "eval_samples_per_second": 1.062,
      "eval_steps_per_second": 1.062,
      "step": 14
    },
    {
      "epoch": 5.565217391304348,
      "grad_norm": 3.2166378498077393,
      "learning_rate": 9.890738003669029e-05,
      "loss": 0.4788,
      "step": 16
    },
    {
      "epoch": 5.913043478260869,
      "eval_loss": 0.4127931296825409,
      "eval_runtime": 11.2942,
      "eval_samples_per_second": 1.062,
      "eval_steps_per_second": 1.062,
      "step": 17
    },
    {
      "epoch": 6.260869565217392,
      "grad_norm": 0.6228726506233215,
      "learning_rate": 9.806308479691595e-05,
      "loss": 0.3295,
      "step": 18
    },
    {
      "epoch": 6.956521739130435,
      "grad_norm": 4.100551128387451,
      "learning_rate": 9.698463103929542e-05,
      "loss": 0.3828,
      "step": 20
    },
    {
      "epoch": 6.956521739130435,
      "eval_loss": 0.3871936798095703,
      "eval_runtime": 11.295,
      "eval_samples_per_second": 1.062,
      "eval_steps_per_second": 1.062,
      "step": 20
    },
    {
      "epoch": 7.6521739130434785,
      "grad_norm": 0.49670448899269104,
      "learning_rate": 9.567727288213005e-05,
      "loss": 0.2646,
      "step": 22
    },
    {
      "epoch": 8.0,
      "eval_loss": 0.3888191878795624,
      "eval_runtime": 11.2961,
      "eval_samples_per_second": 1.062,
      "eval_steps_per_second": 1.062,
      "step": 23
    },
    {
      "epoch": 8.347826086956522,
      "grad_norm": 0.5850313901901245,
      "learning_rate": 9.414737964294636e-05,
      "loss": 0.349,
      "step": 24
    },
    {
      "epoch": 8.695652173913043,
      "eval_loss": 0.3619535267353058,
      "eval_runtime": 11.2955,
      "eval_samples_per_second": 1.062,
      "eval_steps_per_second": 1.062,
      "step": 25
    },
    {
      "epoch": 9.043478260869565,
      "grad_norm": 0.330903559923172,
      "learning_rate": 9.24024048078213e-05,
      "loss": 0.3438,
      "step": 26
    },
    {
      "epoch": 9.73913043478261,
      "grad_norm": 0.5838506817817688,
      "learning_rate": 9.045084971874738e-05,
      "loss": 0.299,
      "step": 28
    },
    {
      "epoch": 9.73913043478261,
      "eval_loss": 0.3567696511745453,
      "eval_runtime": 11.296,
      "eval_samples_per_second": 1.062,
      "eval_steps_per_second": 1.062,
      "step": 28
    },
    {
      "epoch": 10.434782608695652,
      "grad_norm": 0.28239765763282776,
      "learning_rate": 8.83022221559489e-05,
      "loss": 0.2883,
      "step": 30
    },
    {
      "epoch": 10.782608695652174,
      "eval_loss": 0.35834944248199463,
      "eval_runtime": 11.2958,
      "eval_samples_per_second": 1.062,
      "eval_steps_per_second": 1.062,
      "step": 31
    },
    {
      "epoch": 11.130434782608695,
      "grad_norm": 0.43306589126586914,
      "learning_rate": 8.596699001693255e-05,
      "loss": 0.2648,
      "step": 32
    },
    {
      "epoch": 11.826086956521738,
      "grad_norm": 0.2673513889312744,
      "learning_rate": 8.345653031794292e-05,
      "loss": 0.2187,
      "step": 34
    },
    {
      "epoch": 11.826086956521738,
      "eval_loss": 0.3658212125301361,
      "eval_runtime": 11.2946,
      "eval_samples_per_second": 1.062,
      "eval_steps_per_second": 1.062,
      "step": 34
    },
    {
      "epoch": 12.521739130434783,
      "grad_norm": 0.2675131857395172,
      "learning_rate": 8.07830737662829e-05,
      "loss": 0.2439,
      "step": 36
    },
    {
      "epoch": 12.869565217391305,
      "eval_loss": 0.36573949456214905,
      "eval_runtime": 11.2964,
      "eval_samples_per_second": 1.062,
      "eval_steps_per_second": 1.062,
      "step": 37
    },
    {
      "epoch": 13.217391304347826,
      "grad_norm": 0.2865472733974457,
      "learning_rate": 7.795964517353735e-05,
      "loss": 0.2301,
      "step": 38
    },
    {
      "epoch": 13.91304347826087,
      "grad_norm": 0.2461458444595337,
      "learning_rate": 7.500000000000001e-05,
      "loss": 0.1651,
      "step": 40
    },
    {
      "epoch": 13.91304347826087,
      "eval_loss": 0.37130746245384216,
      "eval_runtime": 11.2918,
      "eval_samples_per_second": 1.063,
      "eval_steps_per_second": 1.063,
      "step": 40
    },
    {
      "epoch": 14.608695652173914,
      "grad_norm": 0.33987730741500854,
      "learning_rate": 7.191855733945387e-05,
      "loss": 0.2365,
      "step": 42
    },
    {
      "epoch": 14.956521739130435,
      "eval_loss": 0.38105103373527527,
      "eval_runtime": 11.297,
      "eval_samples_per_second": 1.062,
      "eval_steps_per_second": 1.062,
      "step": 43
    },
    {
      "epoch": 15.304347826086957,
      "grad_norm": 0.3001103699207306,
      "learning_rate": 6.873032967079561e-05,
      "loss": 0.1509,
      "step": 44
    },
    {
      "epoch": 16.0,
      "grad_norm": 0.2945997416973114,
      "learning_rate": 6.545084971874738e-05,
      "loss": 0.1654,
      "step": 46
    },
    {
      "epoch": 16.0,
      "eval_loss": 0.38509896397590637,
      "eval_runtime": 11.2954,
      "eval_samples_per_second": 1.062,
      "eval_steps_per_second": 1.062,
      "step": 46
    },
    {
      "epoch": 16.695652173913043,
      "grad_norm": 0.39486730098724365,
      "learning_rate": 6.209609477998338e-05,
      "loss": 0.161,
      "step": 48
    },
    {
      "epoch": 16.695652173913043,
      "eval_loss": 0.39996445178985596,
      "eval_runtime": 11.292,
      "eval_samples_per_second": 1.063,
      "eval_steps_per_second": 1.063,
      "step": 48
    },
    {
      "epoch": 16.695652173913043,
      "step": 48,
      "total_flos": 6.263550025452749e+16,
      "train_loss": 0.6125447253386179,
      "train_runtime": 2312.6306,
      "train_samples_per_second": 0.995,
      "train_steps_per_second": 0.043
    }
  ],
  "logging_steps": 2,
  "max_steps": 100,
  "num_input_tokens_seen": 0,
  "num_train_epochs": 50,
  "save_steps": 25,
  "stateful_callbacks": {
    "EarlyStoppingCallback": {
      "args": {
        "early_stopping_patience": 7,
        "early_stopping_threshold": 0.0
      },
      "attributes": {
        "early_stopping_patience_counter": 0
      }
    },
    "TrainerControl": {
      "args": {
        "should_epoch_stop": false,
        "should_evaluate": false,
        "should_log": false,
        "should_save": true,
        "should_training_stop": true
      },
      "attributes": {}
    }
  },
  "total_flos": 6.263550025452749e+16,
  "train_batch_size": 1,
  "trial_name": null,
  "trial_params": null
}