File size: 6,632 Bytes
81f0308
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
  "best_metric": 0.9902624352671658,
  "best_model_checkpoint": "distilbert-type-classifier/checkpoint-2625",
  "epoch": 3.0,
  "eval_steps": 500,
  "global_step": 2625,
  "is_hyper_param_search": false,
  "is_local_process_zero": true,
  "is_world_process_zero": true,
  "log_history": [
    {
      "epoch": 0.11428571428571428,
      "grad_norm": 1.4620862007141113,
      "learning_rate": 1.923809523809524e-05,
      "loss": 0.8914,
      "step": 100
    },
    {
      "epoch": 0.22857142857142856,
      "grad_norm": 0.9015448093414307,
      "learning_rate": 1.8476190476190478e-05,
      "loss": 0.186,
      "step": 200
    },
    {
      "epoch": 0.34285714285714286,
      "grad_norm": 0.17388969659805298,
      "learning_rate": 1.7714285714285717e-05,
      "loss": 0.0844,
      "step": 300
    },
    {
      "epoch": 0.45714285714285713,
      "grad_norm": 5.441539764404297,
      "learning_rate": 1.6952380952380955e-05,
      "loss": 0.0738,
      "step": 400
    },
    {
      "epoch": 0.5714285714285714,
      "grad_norm": 0.07328463345766068,
      "learning_rate": 1.6190476190476193e-05,
      "loss": 0.0524,
      "step": 500
    },
    {
      "epoch": 0.6857142857142857,
      "grad_norm": 0.07699141651391983,
      "learning_rate": 1.542857142857143e-05,
      "loss": 0.0567,
      "step": 600
    },
    {
      "epoch": 0.8,
      "grad_norm": 13.823246002197266,
      "learning_rate": 1.4666666666666666e-05,
      "loss": 0.0444,
      "step": 700
    },
    {
      "epoch": 0.9142857142857143,
      "grad_norm": 0.07251616567373276,
      "learning_rate": 1.3904761904761905e-05,
      "loss": 0.0375,
      "step": 800
    },
    {
      "epoch": 1.0,
      "eval_accuracy": 0.9849949983327776,
      "eval_f1": 0.9845642879906822,
      "eval_loss": 0.07195836305618286,
      "eval_precision": 0.9850021393367597,
      "eval_recall": 0.9849949983327776,
      "eval_runtime": 11.3969,
      "eval_samples_per_second": 263.142,
      "eval_steps_per_second": 16.496,
      "step": 875
    },
    {
      "epoch": 1.0285714285714285,
      "grad_norm": 0.15092064440250397,
      "learning_rate": 1.3142857142857145e-05,
      "loss": 0.0487,
      "step": 900
    },
    {
      "epoch": 1.1428571428571428,
      "grad_norm": 0.019707441329956055,
      "learning_rate": 1.2380952380952383e-05,
      "loss": 0.0295,
      "step": 1000
    },
    {
      "epoch": 1.2571428571428571,
      "grad_norm": 0.019482087343931198,
      "learning_rate": 1.1619047619047621e-05,
      "loss": 0.019,
      "step": 1100
    },
    {
      "epoch": 1.3714285714285714,
      "grad_norm": 0.017313998192548752,
      "learning_rate": 1.0857142857142858e-05,
      "loss": 0.0303,
      "step": 1200
    },
    {
      "epoch": 1.4857142857142858,
      "grad_norm": 0.02844456024467945,
      "learning_rate": 1.0095238095238096e-05,
      "loss": 0.0188,
      "step": 1300
    },
    {
      "epoch": 1.6,
      "grad_norm": 0.3132454454898834,
      "learning_rate": 9.333333333333334e-06,
      "loss": 0.0148,
      "step": 1400
    },
    {
      "epoch": 1.7142857142857144,
      "grad_norm": 0.033423177897930145,
      "learning_rate": 8.571428571428571e-06,
      "loss": 0.0216,
      "step": 1500
    },
    {
      "epoch": 1.8285714285714287,
      "grad_norm": 0.012587839737534523,
      "learning_rate": 7.809523809523811e-06,
      "loss": 0.0099,
      "step": 1600
    },
    {
      "epoch": 1.9428571428571428,
      "grad_norm": 0.010759529657661915,
      "learning_rate": 7.047619047619048e-06,
      "loss": 0.0089,
      "step": 1700
    },
    {
      "epoch": 2.0,
      "eval_accuracy": 0.9859953317772591,
      "eval_f1": 0.9856031417621324,
      "eval_loss": 0.06867047399282455,
      "eval_precision": 0.9859730777105192,
      "eval_recall": 0.9859953317772591,
      "eval_runtime": 11.4007,
      "eval_samples_per_second": 263.055,
      "eval_steps_per_second": 16.49,
      "step": 1750
    },
    {
      "epoch": 2.057142857142857,
      "grad_norm": 0.021305246278643608,
      "learning_rate": 6.285714285714286e-06,
      "loss": 0.0126,
      "step": 1800
    },
    {
      "epoch": 2.1714285714285713,
      "grad_norm": 0.012538880109786987,
      "learning_rate": 5.523809523809525e-06,
      "loss": 0.007,
      "step": 1900
    },
    {
      "epoch": 2.2857142857142856,
      "grad_norm": 0.009147515520453453,
      "learning_rate": 4.761904761904762e-06,
      "loss": 0.0108,
      "step": 2000
    },
    {
      "epoch": 2.4,
      "grad_norm": 0.053507789969444275,
      "learning_rate": 4.000000000000001e-06,
      "loss": 0.0009,
      "step": 2100
    },
    {
      "epoch": 2.5142857142857142,
      "grad_norm": 0.02192852832376957,
      "learning_rate": 3.2380952380952385e-06,
      "loss": 0.0025,
      "step": 2200
    },
    {
      "epoch": 2.6285714285714286,
      "grad_norm": 5.773326396942139,
      "learning_rate": 2.4761904761904764e-06,
      "loss": 0.0092,
      "step": 2300
    },
    {
      "epoch": 2.742857142857143,
      "grad_norm": 0.007939064875245094,
      "learning_rate": 1.7142857142857145e-06,
      "loss": 0.0007,
      "step": 2400
    },
    {
      "epoch": 2.857142857142857,
      "grad_norm": 0.008160616271197796,
      "learning_rate": 9.523809523809525e-07,
      "loss": 0.0044,
      "step": 2500
    },
    {
      "epoch": 2.9714285714285715,
      "grad_norm": 0.009465965442359447,
      "learning_rate": 1.904761904761905e-07,
      "loss": 0.0085,
      "step": 2600
    },
    {
      "epoch": 3.0,
      "eval_accuracy": 0.9903301100366789,
      "eval_f1": 0.9902624352671658,
      "eval_loss": 0.05811132863163948,
      "eval_precision": 0.9902595291145613,
      "eval_recall": 0.9903301100366789,
      "eval_runtime": 11.257,
      "eval_samples_per_second": 266.413,
      "eval_steps_per_second": 16.701,
      "step": 2625
    }
  ],
  "logging_steps": 100,
  "max_steps": 2625,
  "num_input_tokens_seen": 0,
  "num_train_epochs": 3,
  "save_steps": 500,
  "stateful_callbacks": {
    "EarlyStoppingCallback": {
      "args": {
        "early_stopping_patience": 2,
        "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": 1390733631984384.0,
  "train_batch_size": 16,
  "trial_name": null,
  "trial_params": null
}