File size: 7,793 Bytes
4d4ce9b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
  "best_global_step": 1234,
  "best_metric": 2.5843265056610107,
  "best_model_checkpoint": "models/gemma270m-sft-fqa/checkpoint-1234",
  "epoch": 3.0,
  "eval_steps": 500,
  "global_step": 1851,
  "is_hyper_param_search": false,
  "is_local_process_zero": true,
  "is_world_process_zero": true,
  "log_history": [
    {
      "epoch": 0.08115236356258876,
      "grad_norm": 13.660741806030273,
      "learning_rate": 8.75e-05,
      "loss": 4.983,
      "step": 50
    },
    {
      "epoch": 0.16230472712517752,
      "grad_norm": 11.402396202087402,
      "learning_rate": 9.985847186947076e-05,
      "loss": 4.0619,
      "step": 100
    },
    {
      "epoch": 0.24345709068776628,
      "grad_norm": 10.74139404296875,
      "learning_rate": 9.93391274588681e-05,
      "loss": 3.7985,
      "step": 150
    },
    {
      "epoch": 0.32460945425035503,
      "grad_norm": 11.64829158782959,
      "learning_rate": 9.844218899490987e-05,
      "loss": 3.6412,
      "step": 200
    },
    {
      "epoch": 0.4057618178129438,
      "grad_norm": 10.44972038269043,
      "learning_rate": 9.717452077876346e-05,
      "loss": 3.4894,
      "step": 250
    },
    {
      "epoch": 0.48691418137553255,
      "grad_norm": 10.880023002624512,
      "learning_rate": 9.554582431924548e-05,
      "loss": 3.3765,
      "step": 300
    },
    {
      "epoch": 0.5680665449381214,
      "grad_norm": 10.3041353225708,
      "learning_rate": 9.356856408683826e-05,
      "loss": 3.3129,
      "step": 350
    },
    {
      "epoch": 0.6492189085007101,
      "grad_norm": 9.135042190551758,
      "learning_rate": 9.125787212266508e-05,
      "loss": 3.1973,
      "step": 400
    },
    {
      "epoch": 0.7303712720632989,
      "grad_norm": 10.27686595916748,
      "learning_rate": 8.863143223245465e-05,
      "loss": 3.1488,
      "step": 450
    },
    {
      "epoch": 0.8115236356258876,
      "grad_norm": 9.036040306091309,
      "learning_rate": 8.570934465176278e-05,
      "loss": 3.0712,
      "step": 500
    },
    {
      "epoch": 0.8926759991884764,
      "grad_norm": 9.041040420532227,
      "learning_rate": 8.251397221817252e-05,
      "loss": 2.9367,
      "step": 550
    },
    {
      "epoch": 0.9738283627510651,
      "grad_norm": 8.38169002532959,
      "learning_rate": 7.906976922772278e-05,
      "loss": 2.8638,
      "step": 600
    },
    {
      "epoch": 1.0,
      "eval_loss": 2.8626081943511963,
      "eval_runtime": 47.5672,
      "eval_samples_per_second": 184.224,
      "eval_steps_per_second": 5.76,
      "step": 617
    },
    {
      "epoch": 1.0535605599513085,
      "grad_norm": 10.622579574584961,
      "learning_rate": 7.54030942853327e-05,
      "loss": 2.1546,
      "step": 650
    },
    {
      "epoch": 1.1347129235138973,
      "grad_norm": 8.288007736206055,
      "learning_rate": 7.154200858148418e-05,
      "loss": 1.7795,
      "step": 700
    },
    {
      "epoch": 1.2158652870764861,
      "grad_norm": 8.66895580291748,
      "learning_rate": 6.751606113895808e-05,
      "loss": 1.7836,
      "step": 750
    },
    {
      "epoch": 1.297017650639075,
      "grad_norm": 8.41976261138916,
      "learning_rate": 6.335606267313821e-05,
      "loss": 1.7458,
      "step": 800
    },
    {
      "epoch": 1.3781700142016637,
      "grad_norm": 9.445528030395508,
      "learning_rate": 5.9093849796538034e-05,
      "loss": 1.763,
      "step": 850
    },
    {
      "epoch": 1.4593223777642523,
      "grad_norm": 9.660811424255371,
      "learning_rate": 5.476204137210122e-05,
      "loss": 1.7357,
      "step": 900
    },
    {
      "epoch": 1.5404747413268411,
      "grad_norm": 8.14544677734375,
      "learning_rate": 5.039378887991235e-05,
      "loss": 1.6956,
      "step": 950
    },
    {
      "epoch": 1.62162710488943,
      "grad_norm": 8.195582389831543,
      "learning_rate": 4.602252270777026e-05,
      "loss": 1.7108,
      "step": 1000
    },
    {
      "epoch": 1.7027794684520186,
      "grad_norm": 9.13266372680664,
      "learning_rate": 4.1681696307270946e-05,
      "loss": 1.662,
      "step": 1050
    },
    {
      "epoch": 1.7839318320146074,
      "grad_norm": 8.996973037719727,
      "learning_rate": 3.7404530173382555e-05,
      "loss": 1.6397,
      "step": 1100
    },
    {
      "epoch": 1.8650841955771962,
      "grad_norm": 8.205750465393066,
      "learning_rate": 3.322375760684524e-05,
      "loss": 1.6252,
      "step": 1150
    },
    {
      "epoch": 1.946236559139785,
      "grad_norm": 9.282258033752441,
      "learning_rate": 2.917137420508569e-05,
      "loss": 1.5914,
      "step": 1200
    },
    {
      "epoch": 2.0,
      "eval_loss": 2.5843265056610107,
      "eval_runtime": 46.6973,
      "eval_samples_per_second": 187.656,
      "eval_steps_per_second": 5.868,
      "step": 1234
    },
    {
      "epoch": 2.0259687563400286,
      "grad_norm": 9.058813095092773,
      "learning_rate": 2.5278392998800394e-05,
      "loss": 1.2762,
      "step": 1250
    },
    {
      "epoch": 2.107121119902617,
      "grad_norm": 9.824188232421875,
      "learning_rate": 2.1574607108156425e-05,
      "loss": 0.6675,
      "step": 1300
    },
    {
      "epoch": 2.188273483465206,
      "grad_norm": 8.858758926391602,
      "learning_rate": 1.808836173500954e-05,
      "loss": 0.6402,
      "step": 1350
    },
    {
      "epoch": 2.2694258470277946,
      "grad_norm": 9.899801254272461,
      "learning_rate": 1.484633723609154e-05,
      "loss": 0.6364,
      "step": 1400
    },
    {
      "epoch": 2.3505782105903834,
      "grad_norm": 8.896689414978027,
      "learning_rate": 1.1873344937315002e-05,
      "loss": 0.6221,
      "step": 1450
    },
    {
      "epoch": 2.4317305741529722,
      "grad_norm": 8.655142784118652,
      "learning_rate": 9.192137251835742e-06,
      "loss": 0.6147,
      "step": 1500
    },
    {
      "epoch": 2.512882937715561,
      "grad_norm": 10.144364356994629,
      "learning_rate": 6.823233555045849e-06,
      "loss": 0.6095,
      "step": 1550
    },
    {
      "epoch": 2.59403530127815,
      "grad_norm": 9.760300636291504,
      "learning_rate": 4.784763149082405e-06,
      "loss": 0.6137,
      "step": 1600
    },
    {
      "epoch": 2.675187664840738,
      "grad_norm": 9.731839179992676,
      "learning_rate": 3.0923265186494188e-06,
      "loss": 0.6282,
      "step": 1650
    },
    {
      "epoch": 2.7563400284033275,
      "grad_norm": 8.688471794128418,
      "learning_rate": 1.7588759399675525e-06,
      "loss": 0.5927,
      "step": 1700
    },
    {
      "epoch": 2.837492391965916,
      "grad_norm": 8.816551208496094,
      "learning_rate": 7.94616356554978e-07,
      "loss": 0.6152,
      "step": 1750
    },
    {
      "epoch": 2.9186447555285047,
      "grad_norm": 9.027681350708008,
      "learning_rate": 2.0692728044079957e-07,
      "loss": 0.5801,
      "step": 1800
    },
    {
      "epoch": 2.9997971190910935,
      "grad_norm": 9.38516616821289,
      "learning_rate": 3.06316503556614e-10,
      "loss": 0.5927,
      "step": 1850
    },
    {
      "epoch": 3.0,
      "eval_loss": 3.1965487003326416,
      "eval_runtime": 46.5876,
      "eval_samples_per_second": 188.097,
      "eval_steps_per_second": 5.881,
      "step": 1851
    }
  ],
  "logging_steps": 50,
  "max_steps": 1851,
  "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": 1.0937701855920128e+17,
  "train_batch_size": 4,
  "trial_name": null,
  "trial_params": null
}