File size: 8,466 Bytes
d1028c6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
  "best_metric": 0.014748962596058846,
  "best_model_checkpoint": "./Zephyr/27-03-24-Weni-kto-test_WeniGPT Experiment using KTO trainer with no collator-2_max_steps-786_batch_16_2024-03-27_ppid_1885/checkpoint-300",
  "epoch": 2.2857142857142856,
  "eval_steps": 50,
  "global_step": 300,
  "is_hyper_param_search": false,
  "is_local_process_zero": true,
  "is_world_process_zero": true,
  "log_history": [
    {
      "epoch": 0.15,
      "grad_norm": 2.2224462032318115,
      "kl": 0.054589949548244476,
      "learning_rate": 0.0001666666666666667,
      "logps/chosen": NaN,
      "logps/rejected": NaN,
      "loss": 704.2891,
      "rewards/chosen": NaN,
      "rewards/margins": NaN,
      "rewards/rejected": NaN,
      "step": 20
    },
    {
      "epoch": 0.3,
      "grad_norm": 2.9781014919281006,
      "kl": 0.014553820714354515,
      "learning_rate": 0.00019580052493438322,
      "logps/chosen": NaN,
      "logps/rejected": NaN,
      "loss": 371.0873,
      "rewards/chosen": NaN,
      "rewards/margins": NaN,
      "rewards/rejected": NaN,
      "step": 40
    },
    {
      "epoch": 0.38,
      "eval_kl": 0.014955863356590271,
      "eval_logps/chosen": -139.6813507080078,
      "eval_logps/rejected": -288.11480712890625,
      "eval_loss": 0.0440419502556324,
      "eval_rewards/chosen": 4.680752754211426,
      "eval_rewards/margins": 14.199661254882812,
      "eval_rewards/rejected": -9.518909454345703,
      "eval_runtime": 437.1874,
      "eval_samples_per_second": 1.07,
      "eval_steps_per_second": 0.268,
      "step": 50
    },
    {
      "epoch": 0.46,
      "grad_norm": 0.7002557516098022,
      "kl": 0.36391472816467285,
      "learning_rate": 0.0001905511811023622,
      "logps/chosen": NaN,
      "logps/rejected": NaN,
      "loss": 165.1605,
      "rewards/chosen": NaN,
      "rewards/margins": NaN,
      "rewards/rejected": NaN,
      "step": 60
    },
    {
      "epoch": 0.61,
      "grad_norm": 0.5644651651382446,
      "kl": 0.01063810009509325,
      "learning_rate": 0.00018556430446194227,
      "logps/chosen": NaN,
      "logps/rejected": NaN,
      "loss": 89.197,
      "rewards/chosen": NaN,
      "rewards/margins": NaN,
      "rewards/rejected": NaN,
      "step": 80
    },
    {
      "epoch": 0.76,
      "grad_norm": 0.18941974639892578,
      "kl": 0.0,
      "learning_rate": 0.0001805774278215223,
      "logps/chosen": NaN,
      "logps/rejected": NaN,
      "loss": 57.9834,
      "rewards/chosen": NaN,
      "rewards/margins": NaN,
      "rewards/rejected": NaN,
      "step": 100
    },
    {
      "epoch": 0.76,
      "eval_kl": 0.0,
      "eval_logps/chosen": -135.0946807861328,
      "eval_logps/rejected": -511.870361328125,
      "eval_loss": 0.027495555579662323,
      "eval_rewards/chosen": 5.139419078826904,
      "eval_rewards/margins": 37.033878326416016,
      "eval_rewards/rejected": -31.89446258544922,
      "eval_runtime": 437.2677,
      "eval_samples_per_second": 1.07,
      "eval_steps_per_second": 0.268,
      "step": 100
    },
    {
      "epoch": 0.91,
      "grad_norm": 1.2737089395523071,
      "kl": 0.0,
      "learning_rate": 0.00017532808398950132,
      "logps/chosen": NaN,
      "logps/rejected": NaN,
      "loss": 1101.4947,
      "rewards/chosen": NaN,
      "rewards/margins": NaN,
      "rewards/rejected": NaN,
      "step": 120
    },
    {
      "epoch": 1.07,
      "grad_norm": 0.10652273148298264,
      "kl": 0.0,
      "learning_rate": 0.00017007874015748033,
      "logps/chosen": NaN,
      "logps/rejected": NaN,
      "loss": 37.3685,
      "rewards/chosen": NaN,
      "rewards/margins": NaN,
      "rewards/rejected": NaN,
      "step": 140
    },
    {
      "epoch": 1.14,
      "eval_kl": 0.0,
      "eval_logps/chosen": -133.9324951171875,
      "eval_logps/rejected": -464.85992431640625,
      "eval_loss": 0.019584182649850845,
      "eval_rewards/chosen": 5.25563907623291,
      "eval_rewards/margins": 32.449058532714844,
      "eval_rewards/rejected": -27.19342041015625,
      "eval_runtime": 437.0658,
      "eval_samples_per_second": 1.071,
      "eval_steps_per_second": 0.268,
      "step": 150
    },
    {
      "epoch": 1.22,
      "grad_norm": 0.060089632868766785,
      "kl": 0.21830137073993683,
      "learning_rate": 0.00016482939632545934,
      "logps/chosen": NaN,
      "logps/rejected": NaN,
      "loss": 91.1641,
      "rewards/chosen": NaN,
      "rewards/margins": NaN,
      "rewards/rejected": NaN,
      "step": 160
    },
    {
      "epoch": 1.37,
      "grad_norm": 0.08910108357667923,
      "kl": 0.03056584671139717,
      "learning_rate": 0.00015958005249343832,
      "logps/chosen": NaN,
      "logps/rejected": NaN,
      "loss": 8.2078,
      "rewards/chosen": NaN,
      "rewards/margins": NaN,
      "rewards/rejected": NaN,
      "step": 180
    },
    {
      "epoch": 1.52,
      "grad_norm": 0.025327660143375397,
      "kl": 0.0,
      "learning_rate": 0.00015433070866141733,
      "logps/chosen": NaN,
      "logps/rejected": NaN,
      "loss": 3.6561,
      "rewards/chosen": NaN,
      "rewards/margins": NaN,
      "rewards/rejected": NaN,
      "step": 200
    },
    {
      "epoch": 1.52,
      "eval_kl": 0.0,
      "eval_logps/chosen": -132.1833038330078,
      "eval_logps/rejected": -419.2353820800781,
      "eval_loss": 0.016207611188292503,
      "eval_rewards/chosen": 5.430557727813721,
      "eval_rewards/margins": 28.061521530151367,
      "eval_rewards/rejected": -22.630962371826172,
      "eval_runtime": 437.1734,
      "eval_samples_per_second": 1.071,
      "eval_steps_per_second": 0.268,
      "step": 200
    },
    {
      "epoch": 1.68,
      "grad_norm": 0.04120240360498428,
      "kl": 0.04972388595342636,
      "learning_rate": 0.00014908136482939634,
      "logps/chosen": NaN,
      "logps/rejected": NaN,
      "loss": 21.787,
      "rewards/chosen": NaN,
      "rewards/margins": NaN,
      "rewards/rejected": NaN,
      "step": 220
    },
    {
      "epoch": 1.83,
      "grad_norm": 0.043324064463377,
      "kl": 0.09086960554122925,
      "learning_rate": 0.00014383202099737535,
      "logps/chosen": NaN,
      "logps/rejected": NaN,
      "loss": 59.5367,
      "rewards/chosen": NaN,
      "rewards/margins": NaN,
      "rewards/rejected": NaN,
      "step": 240
    },
    {
      "epoch": 1.9,
      "eval_kl": 0.0,
      "eval_logps/chosen": -129.1339111328125,
      "eval_logps/rejected": -504.5447998046875,
      "eval_loss": 0.01432154793292284,
      "eval_rewards/chosen": 5.7354960441589355,
      "eval_rewards/margins": 36.89740753173828,
      "eval_rewards/rejected": -31.161909103393555,
      "eval_runtime": 437.5542,
      "eval_samples_per_second": 1.07,
      "eval_steps_per_second": 0.267,
      "step": 250
    },
    {
      "epoch": 1.98,
      "grad_norm": 0.028953969478607178,
      "kl": 0.0,
      "learning_rate": 0.00013858267716535433,
      "logps/chosen": NaN,
      "logps/rejected": NaN,
      "loss": 5.7556,
      "rewards/chosen": NaN,
      "rewards/margins": NaN,
      "rewards/rejected": NaN,
      "step": 260
    },
    {
      "epoch": 2.13,
      "grad_norm": 0.022753821685910225,
      "kl": 0.18936340510845184,
      "learning_rate": 0.00013333333333333334,
      "logps/chosen": NaN,
      "logps/rejected": NaN,
      "loss": 4.7774,
      "rewards/chosen": NaN,
      "rewards/margins": NaN,
      "rewards/rejected": NaN,
      "step": 280
    },
    {
      "epoch": 2.29,
      "grad_norm": 0.038736581802368164,
      "kl": 0.0,
      "learning_rate": 0.00012808398950131235,
      "logps/chosen": NaN,
      "logps/rejected": NaN,
      "loss": 13.1891,
      "rewards/chosen": NaN,
      "rewards/margins": NaN,
      "rewards/rejected": NaN,
      "step": 300
    },
    {
      "epoch": 2.29,
      "eval_kl": 0.0,
      "eval_logps/chosen": -130.3461151123047,
      "eval_logps/rejected": -503.4655456542969,
      "eval_loss": 0.014748962596058846,
      "eval_rewards/chosen": 5.614275932312012,
      "eval_rewards/margins": 36.66826248168945,
      "eval_rewards/rejected": -31.05398178100586,
      "eval_runtime": 437.6283,
      "eval_samples_per_second": 1.069,
      "eval_steps_per_second": 0.267,
      "step": 300
    }
  ],
  "logging_steps": 20,
  "max_steps": 786,
  "num_input_tokens_seen": 0,
  "num_train_epochs": 6,
  "save_steps": 100,
  "total_flos": 0.0,
  "train_batch_size": 2,
  "trial_name": null,
  "trial_params": null
}