File size: 8,876 Bytes
8ad85f9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
  "best_global_step": 1800,
  "best_metric": 0.8268568617806198,
  "best_model_checkpoint": "haryos_model_loras/xlm-roberta-base_massive_lora_ru-RU/checkpoint-1800",
  "epoch": 5.0,
  "eval_steps": 500,
  "global_step": 1800,
  "is_hyper_param_search": false,
  "is_local_process_zero": true,
  "is_world_process_zero": true,
  "log_history": [
    {
      "epoch": 0.1388888888888889,
      "grad_norm": 12.341004371643066,
      "learning_rate": 0.00019455555555555556,
      "loss": 3.8297,
      "step": 50
    },
    {
      "epoch": 0.2777777777777778,
      "grad_norm": 4.518715858459473,
      "learning_rate": 0.00018899999999999999,
      "loss": 3.4891,
      "step": 100
    },
    {
      "epoch": 0.4166666666666667,
      "grad_norm": 4.883383750915527,
      "learning_rate": 0.00018344444444444446,
      "loss": 2.5645,
      "step": 150
    },
    {
      "epoch": 0.5555555555555556,
      "grad_norm": 5.5965256690979,
      "learning_rate": 0.00017788888888888892,
      "loss": 2.0708,
      "step": 200
    },
    {
      "epoch": 0.6944444444444444,
      "grad_norm": 5.290555000305176,
      "learning_rate": 0.00017233333333333334,
      "loss": 1.8224,
      "step": 250
    },
    {
      "epoch": 0.8333333333333334,
      "grad_norm": 4.0180182456970215,
      "learning_rate": 0.0001667777777777778,
      "loss": 1.6021,
      "step": 300
    },
    {
      "epoch": 0.9722222222222222,
      "grad_norm": 5.648788928985596,
      "learning_rate": 0.00016122222222222224,
      "loss": 1.4299,
      "step": 350
    },
    {
      "epoch": 1.0,
      "eval_accuracy": 0.7137235612395475,
      "eval_f1": 0.693439702877471,
      "eval_loss": 1.0370498895645142,
      "eval_runtime": 0.7125,
      "eval_samples_per_second": 2853.251,
      "eval_steps_per_second": 44.911,
      "step": 360
    },
    {
      "epoch": 1.1111111111111112,
      "grad_norm": 5.4577531814575195,
      "learning_rate": 0.00015566666666666666,
      "loss": 1.2951,
      "step": 400
    },
    {
      "epoch": 1.25,
      "grad_norm": 5.014864921569824,
      "learning_rate": 0.00015011111111111112,
      "loss": 1.1408,
      "step": 450
    },
    {
      "epoch": 1.3888888888888888,
      "grad_norm": 4.7342424392700195,
      "learning_rate": 0.00014455555555555557,
      "loss": 1.0931,
      "step": 500
    },
    {
      "epoch": 1.5277777777777777,
      "grad_norm": 5.168295860290527,
      "learning_rate": 0.000139,
      "loss": 1.1019,
      "step": 550
    },
    {
      "epoch": 1.6666666666666665,
      "grad_norm": 4.365182876586914,
      "learning_rate": 0.00013344444444444447,
      "loss": 1.0144,
      "step": 600
    },
    {
      "epoch": 1.8055555555555556,
      "grad_norm": 6.45994234085083,
      "learning_rate": 0.0001278888888888889,
      "loss": 1.0265,
      "step": 650
    },
    {
      "epoch": 1.9444444444444444,
      "grad_norm": 7.900120735168457,
      "learning_rate": 0.00012233333333333334,
      "loss": 0.8592,
      "step": 700
    },
    {
      "epoch": 2.0,
      "eval_accuracy": 0.7870142646335465,
      "eval_f1": 0.7781407151270732,
      "eval_loss": 0.7638030052185059,
      "eval_runtime": 0.7135,
      "eval_samples_per_second": 2849.212,
      "eval_steps_per_second": 44.847,
      "step": 720
    },
    {
      "epoch": 2.0833333333333335,
      "grad_norm": 26.352907180786133,
      "learning_rate": 0.00011677777777777778,
      "loss": 0.9371,
      "step": 750
    },
    {
      "epoch": 2.2222222222222223,
      "grad_norm": 5.762099742889404,
      "learning_rate": 0.00011122222222222223,
      "loss": 0.8033,
      "step": 800
    },
    {
      "epoch": 2.361111111111111,
      "grad_norm": 4.249943733215332,
      "learning_rate": 0.00010566666666666667,
      "loss": 0.8347,
      "step": 850
    },
    {
      "epoch": 2.5,
      "grad_norm": 6.318827152252197,
      "learning_rate": 0.0001001111111111111,
      "loss": 0.7922,
      "step": 900
    },
    {
      "epoch": 2.638888888888889,
      "grad_norm": 6.6529998779296875,
      "learning_rate": 9.455555555555556e-05,
      "loss": 0.8138,
      "step": 950
    },
    {
      "epoch": 2.7777777777777777,
      "grad_norm": 4.681656837463379,
      "learning_rate": 8.900000000000001e-05,
      "loss": 0.8096,
      "step": 1000
    },
    {
      "epoch": 2.9166666666666665,
      "grad_norm": 5.7172417640686035,
      "learning_rate": 8.344444444444445e-05,
      "loss": 0.7567,
      "step": 1050
    },
    {
      "epoch": 3.0,
      "eval_accuracy": 0.8135759960649287,
      "eval_f1": 0.8073713514844725,
      "eval_loss": 0.675218939781189,
      "eval_runtime": 0.7101,
      "eval_samples_per_second": 2862.995,
      "eval_steps_per_second": 45.064,
      "step": 1080
    },
    {
      "epoch": 3.0555555555555554,
      "grad_norm": 4.0479207038879395,
      "learning_rate": 7.788888888888888e-05,
      "loss": 0.7424,
      "step": 1100
    },
    {
      "epoch": 3.1944444444444446,
      "grad_norm": 7.587343692779541,
      "learning_rate": 7.233333333333335e-05,
      "loss": 0.6938,
      "step": 1150
    },
    {
      "epoch": 3.3333333333333335,
      "grad_norm": 4.655948638916016,
      "learning_rate": 6.677777777777779e-05,
      "loss": 0.6952,
      "step": 1200
    },
    {
      "epoch": 3.4722222222222223,
      "grad_norm": 3.5373153686523438,
      "learning_rate": 6.122222222222222e-05,
      "loss": 0.6695,
      "step": 1250
    },
    {
      "epoch": 3.611111111111111,
      "grad_norm": 5.440669536590576,
      "learning_rate": 5.566666666666667e-05,
      "loss": 0.7073,
      "step": 1300
    },
    {
      "epoch": 3.75,
      "grad_norm": 4.433872699737549,
      "learning_rate": 5.011111111111111e-05,
      "loss": 0.6782,
      "step": 1350
    },
    {
      "epoch": 3.888888888888889,
      "grad_norm": 10.24996280670166,
      "learning_rate": 4.4555555555555555e-05,
      "loss": 0.6768,
      "step": 1400
    },
    {
      "epoch": 4.0,
      "eval_accuracy": 0.823905558288244,
      "eval_f1": 0.8182727867907158,
      "eval_loss": 0.644848108291626,
      "eval_runtime": 0.7112,
      "eval_samples_per_second": 2858.72,
      "eval_steps_per_second": 44.997,
      "step": 1440
    },
    {
      "epoch": 4.027777777777778,
      "grad_norm": 4.958348751068115,
      "learning_rate": 3.9000000000000006e-05,
      "loss": 0.646,
      "step": 1450
    },
    {
      "epoch": 4.166666666666667,
      "grad_norm": 6.34914493560791,
      "learning_rate": 3.3444444444444443e-05,
      "loss": 0.6338,
      "step": 1500
    },
    {
      "epoch": 4.305555555555555,
      "grad_norm": 2.541375160217285,
      "learning_rate": 2.788888888888889e-05,
      "loss": 0.636,
      "step": 1550
    },
    {
      "epoch": 4.444444444444445,
      "grad_norm": 3.2549381256103516,
      "learning_rate": 2.2333333333333335e-05,
      "loss": 0.6564,
      "step": 1600
    },
    {
      "epoch": 4.583333333333333,
      "grad_norm": 6.394855976104736,
      "learning_rate": 1.677777777777778e-05,
      "loss": 0.6363,
      "step": 1650
    },
    {
      "epoch": 4.722222222222222,
      "grad_norm": 6.167675971984863,
      "learning_rate": 1.1222222222222224e-05,
      "loss": 0.6488,
      "step": 1700
    },
    {
      "epoch": 4.861111111111111,
      "grad_norm": 6.480133533477783,
      "learning_rate": 5.666666666666667e-06,
      "loss": 0.6291,
      "step": 1750
    },
    {
      "epoch": 5.0,
      "grad_norm": 5.8079705238342285,
      "learning_rate": 1.1111111111111112e-07,
      "loss": 0.6268,
      "step": 1800
    },
    {
      "epoch": 5.0,
      "eval_accuracy": 0.8268568617806198,
      "eval_f1": 0.8222405831607275,
      "eval_loss": 0.6318742036819458,
      "eval_runtime": 0.7163,
      "eval_samples_per_second": 2838.328,
      "eval_steps_per_second": 44.676,
      "step": 1800
    },
    {
      "epoch": 5.0,
      "step": 1800,
      "total_flos": 3843028539002880.0,
      "train_loss": 1.1128748491075304,
      "train_runtime": 67.4066,
      "train_samples_per_second": 854.071,
      "train_steps_per_second": 26.704
    }
  ],
  "logging_steps": 50,
  "max_steps": 1800,
  "num_input_tokens_seen": 0,
  "num_train_epochs": 5,
  "save_steps": 500,
  "stateful_callbacks": {
    "EarlyStoppingCallback": {
      "args": {
        "early_stopping_patience": 3,
        "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": 3843028539002880.0,
  "train_batch_size": 32,
  "trial_name": null,
  "trial_params": null
}