File size: 6,968 Bytes
4097e74
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
  "best_metric": 0.5070627331733704,
  "best_model_checkpoint": "bert_uncased_L-4_H-256_A-4_mrpc/checkpoint-105",
  "epoch": 12.0,
  "eval_steps": 500,
  "global_step": 180,
  "is_hyper_param_search": false,
  "is_local_process_zero": true,
  "is_world_process_zero": true,
  "log_history": [
    {
      "epoch": 1.0,
      "grad_norm": 0.9642578363418579,
      "learning_rate": 4.9e-05,
      "loss": 0.6375,
      "step": 15
    },
    {
      "epoch": 1.0,
      "eval_accuracy": 0.6936274509803921,
      "eval_combined_score": 0.7553056727815577,
      "eval_f1": 0.8169838945827232,
      "eval_loss": 0.6024385690689087,
      "eval_runtime": 0.156,
      "eval_samples_per_second": 2615.794,
      "eval_steps_per_second": 12.823,
      "step": 15
    },
    {
      "epoch": 2.0,
      "grad_norm": 1.6478321552276611,
      "learning_rate": 4.8e-05,
      "loss": 0.594,
      "step": 30
    },
    {
      "epoch": 2.0,
      "eval_accuracy": 0.6985294117647058,
      "eval_combined_score": 0.7576104584904007,
      "eval_f1": 0.8166915052160953,
      "eval_loss": 0.5776079297065735,
      "eval_runtime": 0.1598,
      "eval_samples_per_second": 2553.282,
      "eval_steps_per_second": 12.516,
      "step": 30
    },
    {
      "epoch": 3.0,
      "grad_norm": 2.1746251583099365,
      "learning_rate": 4.7e-05,
      "loss": 0.5504,
      "step": 45
    },
    {
      "epoch": 3.0,
      "eval_accuracy": 0.7279411764705882,
      "eval_combined_score": 0.7776564358247187,
      "eval_f1": 0.827371695178849,
      "eval_loss": 0.5475428104400635,
      "eval_runtime": 0.1486,
      "eval_samples_per_second": 2745.65,
      "eval_steps_per_second": 13.459,
      "step": 45
    },
    {
      "epoch": 4.0,
      "grad_norm": 2.050297737121582,
      "learning_rate": 4.600000000000001e-05,
      "loss": 0.5155,
      "step": 60
    },
    {
      "epoch": 4.0,
      "eval_accuracy": 0.7598039215686274,
      "eval_combined_score": 0.7971316905140435,
      "eval_f1": 0.8344594594594595,
      "eval_loss": 0.5082876086235046,
      "eval_runtime": 0.1558,
      "eval_samples_per_second": 2618.432,
      "eval_steps_per_second": 12.835,
      "step": 60
    },
    {
      "epoch": 5.0,
      "grad_norm": 4.48883056640625,
      "learning_rate": 4.5e-05,
      "loss": 0.4668,
      "step": 75
    },
    {
      "epoch": 5.0,
      "eval_accuracy": 0.7598039215686274,
      "eval_combined_score": 0.7971316905140435,
      "eval_f1": 0.8344594594594595,
      "eval_loss": 0.5116193890571594,
      "eval_runtime": 0.1902,
      "eval_samples_per_second": 2144.58,
      "eval_steps_per_second": 10.513,
      "step": 75
    },
    {
      "epoch": 6.0,
      "grad_norm": 2.939922332763672,
      "learning_rate": 4.4000000000000006e-05,
      "loss": 0.4292,
      "step": 90
    },
    {
      "epoch": 6.0,
      "eval_accuracy": 0.7696078431372549,
      "eval_combined_score": 0.8064705882352942,
      "eval_f1": 0.8433333333333334,
      "eval_loss": 0.5237414836883545,
      "eval_runtime": 0.1477,
      "eval_samples_per_second": 2761.45,
      "eval_steps_per_second": 13.537,
      "step": 90
    },
    {
      "epoch": 7.0,
      "grad_norm": 3.8994574546813965,
      "learning_rate": 4.3e-05,
      "loss": 0.3859,
      "step": 105
    },
    {
      "epoch": 7.0,
      "eval_accuracy": 0.7720588235294118,
      "eval_combined_score": 0.8057185309356903,
      "eval_f1": 0.8393782383419689,
      "eval_loss": 0.5070627331733704,
      "eval_runtime": 0.1535,
      "eval_samples_per_second": 2658.103,
      "eval_steps_per_second": 13.03,
      "step": 105
    },
    {
      "epoch": 8.0,
      "grad_norm": 4.1840901374816895,
      "learning_rate": 4.2e-05,
      "loss": 0.3455,
      "step": 120
    },
    {
      "epoch": 8.0,
      "eval_accuracy": 0.7720588235294118,
      "eval_combined_score": 0.8073492087190206,
      "eval_f1": 0.8426395939086294,
      "eval_loss": 0.5299550890922546,
      "eval_runtime": 0.1493,
      "eval_samples_per_second": 2733.148,
      "eval_steps_per_second": 13.398,
      "step": 120
    },
    {
      "epoch": 9.0,
      "grad_norm": 4.495199203491211,
      "learning_rate": 4.1e-05,
      "loss": 0.3049,
      "step": 135
    },
    {
      "epoch": 9.0,
      "eval_accuracy": 0.7720588235294118,
      "eval_combined_score": 0.8065422322775264,
      "eval_f1": 0.841025641025641,
      "eval_loss": 0.5408151745796204,
      "eval_runtime": 0.1508,
      "eval_samples_per_second": 2706.105,
      "eval_steps_per_second": 13.265,
      "step": 135
    },
    {
      "epoch": 10.0,
      "grad_norm": 3.322133779525757,
      "learning_rate": 4e-05,
      "loss": 0.2735,
      "step": 150
    },
    {
      "epoch": 10.0,
      "eval_accuracy": 0.7745098039215687,
      "eval_combined_score": 0.8084877786731131,
      "eval_f1": 0.8424657534246576,
      "eval_loss": 0.5336543321609497,
      "eval_runtime": 0.1546,
      "eval_samples_per_second": 2638.334,
      "eval_steps_per_second": 12.933,
      "step": 150
    },
    {
      "epoch": 11.0,
      "grad_norm": 8.718647956848145,
      "learning_rate": 3.9000000000000006e-05,
      "loss": 0.2454,
      "step": 165
    },
    {
      "epoch": 11.0,
      "eval_accuracy": 0.7647058823529411,
      "eval_combined_score": 0.8023529411764705,
      "eval_f1": 0.84,
      "eval_loss": 0.5962408185005188,
      "eval_runtime": 0.1487,
      "eval_samples_per_second": 2744.506,
      "eval_steps_per_second": 13.453,
      "step": 165
    },
    {
      "epoch": 12.0,
      "grad_norm": 5.987424373626709,
      "learning_rate": 3.8e-05,
      "loss": 0.2117,
      "step": 180
    },
    {
      "epoch": 12.0,
      "eval_accuracy": 0.7794117647058824,
      "eval_combined_score": 0.8131752701080432,
      "eval_f1": 0.846938775510204,
      "eval_loss": 0.5755988955497742,
      "eval_runtime": 0.1478,
      "eval_samples_per_second": 2761.343,
      "eval_steps_per_second": 13.536,
      "step": 180
    },
    {
      "epoch": 12.0,
      "step": 180,
      "total_flos": 218095665758208.0,
      "train_loss": 0.4133431394894918,
      "train_runtime": 25.962,
      "train_samples_per_second": 7064.168,
      "train_steps_per_second": 28.888
    }
  ],
  "logging_steps": 1,
  "max_steps": 750,
  "num_input_tokens_seen": 0,
  "num_train_epochs": 50,
  "save_steps": 500,
  "stateful_callbacks": {
    "EarlyStoppingCallback": {
      "args": {
        "early_stopping_patience": 5,
        "early_stopping_threshold": 0.0
      },
      "attributes": {
        "early_stopping_patience_counter": 5
      }
    },
    "TrainerControl": {
      "args": {
        "should_epoch_stop": false,
        "should_evaluate": false,
        "should_log": false,
        "should_save": true,
        "should_training_stop": true
      },
      "attributes": {}
    }
  },
  "total_flos": 218095665758208.0,
  "train_batch_size": 256,
  "trial_name": null,
  "trial_params": null
}