File size: 7,345 Bytes
6cd4d3f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
  "best_global_step": 158,
  "best_metric": 0.9977549332388042,
  "best_model_checkpoint": "ckpt/checkpoint-158",
  "epoch": 3.0,
  "eval_steps": 500,
  "global_step": 237,
  "is_hyper_param_search": false,
  "is_local_process_zero": true,
  "is_world_process_zero": true,
  "log_history": [
    {
      "epoch": 0.08917197452229299,
      "grad_norm": 8.361231803894043,
      "learning_rate": 5.2173913043478265e-06,
      "loss": 1.0968,
      "step": 7
    },
    {
      "epoch": 0.17834394904458598,
      "grad_norm": 17.40561866760254,
      "learning_rate": 1.1304347826086957e-05,
      "loss": 0.8108,
      "step": 14
    },
    {
      "epoch": 0.267515923566879,
      "grad_norm": 97.01270294189453,
      "learning_rate": 1.739130434782609e-05,
      "loss": 0.5853,
      "step": 21
    },
    {
      "epoch": 0.35668789808917195,
      "grad_norm": 3.1324217319488525,
      "learning_rate": 1.9626168224299065e-05,
      "loss": 0.3892,
      "step": 28
    },
    {
      "epoch": 0.445859872611465,
      "grad_norm": 1.4563965797424316,
      "learning_rate": 1.8971962616822433e-05,
      "loss": 0.1388,
      "step": 35
    },
    {
      "epoch": 0.535031847133758,
      "grad_norm": 2.76413631439209,
      "learning_rate": 1.8317757009345797e-05,
      "loss": 0.089,
      "step": 42
    },
    {
      "epoch": 0.6242038216560509,
      "grad_norm": 0.3331431448459625,
      "learning_rate": 1.766355140186916e-05,
      "loss": 0.0415,
      "step": 49
    },
    {
      "epoch": 0.7133757961783439,
      "grad_norm": 0.1350180059671402,
      "learning_rate": 1.7009345794392526e-05,
      "loss": 0.0251,
      "step": 56
    },
    {
      "epoch": 0.802547770700637,
      "grad_norm": 2.5682196617126465,
      "learning_rate": 1.635514018691589e-05,
      "loss": 0.0202,
      "step": 63
    },
    {
      "epoch": 0.89171974522293,
      "grad_norm": 0.08181392401456833,
      "learning_rate": 1.5700934579439254e-05,
      "loss": 0.0297,
      "step": 70
    },
    {
      "epoch": 0.9808917197452229,
      "grad_norm": 6.680551052093506,
      "learning_rate": 1.5046728971962619e-05,
      "loss": 0.0258,
      "step": 77
    },
    {
      "epoch": 1.0,
      "eval_accuracy": 0.9971641261963843,
      "eval_f1": 0.9971641134681397,
      "eval_loss": 0.01230512373149395,
      "eval_runtime": 565.2201,
      "eval_samples_per_second": 29.946,
      "eval_steps_per_second": 0.469,
      "step": 79
    },
    {
      "epoch": 1.0636942675159236,
      "grad_norm": 2.224886417388916,
      "learning_rate": 1.4392523364485981e-05,
      "loss": 0.0253,
      "step": 84
    },
    {
      "epoch": 1.1528662420382165,
      "grad_norm": 3.0570154190063477,
      "learning_rate": 1.3738317757009347e-05,
      "loss": 0.0058,
      "step": 91
    },
    {
      "epoch": 1.2420382165605095,
      "grad_norm": 2.5847160816192627,
      "learning_rate": 1.308411214953271e-05,
      "loss": 0.0248,
      "step": 98
    },
    {
      "epoch": 1.3312101910828025,
      "grad_norm": 0.09943564236164093,
      "learning_rate": 1.2429906542056076e-05,
      "loss": 0.0072,
      "step": 105
    },
    {
      "epoch": 1.4203821656050954,
      "grad_norm": 0.05498664453625679,
      "learning_rate": 1.177570093457944e-05,
      "loss": 0.0038,
      "step": 112
    },
    {
      "epoch": 1.5095541401273884,
      "grad_norm": 0.04277191683650017,
      "learning_rate": 1.1121495327102804e-05,
      "loss": 0.0233,
      "step": 119
    },
    {
      "epoch": 1.5987261146496814,
      "grad_norm": 0.03371246159076691,
      "learning_rate": 1.0467289719626168e-05,
      "loss": 0.0124,
      "step": 126
    },
    {
      "epoch": 1.6878980891719744,
      "grad_norm": 2.893360137939453,
      "learning_rate": 9.813084112149533e-06,
      "loss": 0.0031,
      "step": 133
    },
    {
      "epoch": 1.7770700636942676,
      "grad_norm": 0.38178956508636475,
      "learning_rate": 9.158878504672899e-06,
      "loss": 0.0189,
      "step": 140
    },
    {
      "epoch": 1.8662420382165605,
      "grad_norm": 3.5433061122894287,
      "learning_rate": 8.504672897196263e-06,
      "loss": 0.0108,
      "step": 147
    },
    {
      "epoch": 1.9554140127388535,
      "grad_norm": 3.068488121032715,
      "learning_rate": 7.850467289719627e-06,
      "loss": 0.0227,
      "step": 154
    },
    {
      "epoch": 2.0,
      "eval_accuracy": 0.9977549332388042,
      "eval_f1": 0.9977549332388042,
      "eval_loss": 0.00890457071363926,
      "eval_runtime": 628.1179,
      "eval_samples_per_second": 26.947,
      "eval_steps_per_second": 0.422,
      "step": 158
    },
    {
      "epoch": 2.038216560509554,
      "grad_norm": 10.418376922607422,
      "learning_rate": 7.196261682242991e-06,
      "loss": 0.0108,
      "step": 161
    },
    {
      "epoch": 2.127388535031847,
      "grad_norm": 6.960994243621826,
      "learning_rate": 6.542056074766355e-06,
      "loss": 0.0092,
      "step": 168
    },
    {
      "epoch": 2.21656050955414,
      "grad_norm": 0.026628026738762856,
      "learning_rate": 5.88785046728972e-06,
      "loss": 0.0054,
      "step": 175
    },
    {
      "epoch": 2.305732484076433,
      "grad_norm": 0.9253213405609131,
      "learning_rate": 5.233644859813084e-06,
      "loss": 0.007,
      "step": 182
    },
    {
      "epoch": 2.394904458598726,
      "grad_norm": 0.022573892027139664,
      "learning_rate": 4.579439252336449e-06,
      "loss": 0.0087,
      "step": 189
    },
    {
      "epoch": 2.484076433121019,
      "grad_norm": 0.02918878197669983,
      "learning_rate": 3.925233644859814e-06,
      "loss": 0.0016,
      "step": 196
    },
    {
      "epoch": 2.573248407643312,
      "grad_norm": 0.02902228757739067,
      "learning_rate": 3.2710280373831774e-06,
      "loss": 0.0016,
      "step": 203
    },
    {
      "epoch": 2.662420382165605,
      "grad_norm": 0.02445131167769432,
      "learning_rate": 2.616822429906542e-06,
      "loss": 0.0024,
      "step": 210
    },
    {
      "epoch": 2.7515923566878984,
      "grad_norm": 0.029552167281508446,
      "learning_rate": 1.962616822429907e-06,
      "loss": 0.0127,
      "step": 217
    },
    {
      "epoch": 2.840764331210191,
      "grad_norm": 0.027709346264600754,
      "learning_rate": 1.308411214953271e-06,
      "loss": 0.0096,
      "step": 224
    },
    {
      "epoch": 2.9299363057324843,
      "grad_norm": 0.02452605403959751,
      "learning_rate": 6.542056074766355e-07,
      "loss": 0.0015,
      "step": 231
    },
    {
      "epoch": 3.0,
      "eval_accuracy": 0.9976367718303202,
      "eval_f1": 0.9976367505503017,
      "eval_loss": 0.009330125525593758,
      "eval_runtime": 864.6395,
      "eval_samples_per_second": 19.576,
      "eval_steps_per_second": 0.306,
      "step": 237
    }
  ],
  "logging_steps": 7,
  "max_steps": 237,
  "num_input_tokens_seen": 0,
  "num_train_epochs": 3,
  "save_steps": 500,
  "stateful_callbacks": {
    "TrainerControl": {
      "args": {
        "should_epoch_stop": false,
        "should_evaluate": false,
        "should_log": false,
        "should_save": true,
        "should_training_stop": true
      },
      "attributes": {}
    }
  },
  "total_flos": 1973350632960000.0,
  "train_batch_size": 32,
  "trial_name": null,
  "trial_params": null
}