File size: 8,818 Bytes
9f7a057
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
  "best_metric": 9.357504844665527,
  "best_model_checkpoint": "./qwen2.5-0.5b/qwen2.5-0.5b-expo-DPO-ES-0.01/checkpoint-50",
  "epoch": 0.8502598016060463,
  "eval_steps": 50,
  "global_step": 300,
  "is_hyper_param_search": false,
  "is_local_process_zero": true,
  "is_world_process_zero": true,
  "log_history": [
    {
      "dpo_loss": 0.6931471824645996,
      "epoch": 0.002834199338686821,
      "grad_norm": 1.8442555137313956,
      "learning_rate": 2.840909090909091e-08,
      "logits": -1.359458565711975,
      "logps": -84.69721221923828,
      "loss": 0.6931,
      "objective": 0.6931471824645996,
      "ranking_idealized": 0.875,
      "ranking_idealized_expo": 0.5833333134651184,
      "ranking_simple": 0.5833333134651184,
      "regularize": 0.6931471824645996,
      "step": 1,
      "wo_beta": 5.271125316619873
    },
    {
      "dpo_loss": 0.6914740800857544,
      "epoch": 0.14170996693434104,
      "grad_norm": 2.883110438441685,
      "learning_rate": 1.4204545454545458e-06,
      "logits": -1.5272094011306763,
      "logps": -83.2472152709961,
      "loss": 0.6907,
      "objective": 0.6914740800857544,
      "ranking_idealized": 0.8945578336715698,
      "ranking_idealized_expo": 0.5348639488220215,
      "ranking_simple": 0.5293367505073547,
      "regularize": 0.6914740800857544,
      "step": 50,
      "wo_beta": 7.299497604370117
    },
    {
      "epoch": 0.14170996693434104,
      "eval_dpo_loss": 0.6902037858963013,
      "eval_logits": -1.7611440420150757,
      "eval_logps": -99.38214111328125,
      "eval_loss": 0.6893583536148071,
      "eval_objective": 0.6902037858963013,
      "eval_ranking_idealized": 0.8731883764266968,
      "eval_ranking_idealized_expo": 0.5320910811424255,
      "eval_ranking_simple": 0.5305383205413818,
      "eval_regularize": 0.6902037858963013,
      "eval_runtime": 314.0138,
      "eval_samples_per_second": 18.439,
      "eval_steps_per_second": 1.538,
      "eval_wo_beta": 9.357504844665527,
      "step": 50
    },
    {
      "dpo_loss": 0.6664106249809265,
      "epoch": 0.2834199338686821,
      "grad_norm": 7.452572178923395,
      "learning_rate": 2.8409090909090916e-06,
      "logits": -1.6917132139205933,
      "logps": -118.66804504394531,
      "loss": 0.6701,
      "objective": 0.6664106249809265,
      "ranking_idealized": 0.8958333134651184,
      "ranking_idealized_expo": 0.5270833373069763,
      "ranking_simple": 0.5866666436195374,
      "regularize": 0.6664106249809265,
      "step": 100,
      "wo_beta": 9.330028533935547
    },
    {
      "epoch": 0.2834199338686821,
      "eval_dpo_loss": 0.6895959377288818,
      "eval_logits": -1.8466589450836182,
      "eval_logps": -153.5715789794922,
      "eval_loss": 0.6837136149406433,
      "eval_objective": 0.6895959377288818,
      "eval_ranking_idealized": 0.8731883764266968,
      "eval_ranking_idealized_expo": 0.5320910811424255,
      "eval_ranking_simple": 0.5517598390579224,
      "eval_regularize": 0.6895959377288818,
      "eval_runtime": 308.2112,
      "eval_samples_per_second": 18.786,
      "eval_steps_per_second": 1.567,
      "eval_wo_beta": 14.174129486083984,
      "step": 100
    },
    {
      "dpo_loss": 0.6343104243278503,
      "epoch": 0.42512990080302315,
      "grad_norm": 13.296765037353357,
      "learning_rate": 4.2613636363636365e-06,
      "logits": -1.825290322303772,
      "logps": -173.7165985107422,
      "loss": 0.637,
      "objective": 0.6343104243278503,
      "ranking_idealized": 0.8862500190734863,
      "ranking_idealized_expo": 0.5358333587646484,
      "ranking_simple": 0.6316666603088379,
      "regularize": 0.6343104243278503,
      "step": 150,
      "wo_beta": 12.891901016235352
    },
    {
      "epoch": 0.42512990080302315,
      "eval_dpo_loss": 0.6764841079711914,
      "eval_logits": -2.461402416229248,
      "eval_logps": -198.92694091796875,
      "eval_loss": 0.6722760796546936,
      "eval_objective": 0.6764841079711914,
      "eval_ranking_idealized": 0.8731883764266968,
      "eval_ranking_idealized_expo": 0.5320910811424255,
      "eval_ranking_simple": 0.5822981595993042,
      "eval_regularize": 0.6764841079711914,
      "eval_runtime": 308.7795,
      "eval_samples_per_second": 18.751,
      "eval_steps_per_second": 1.564,
      "eval_wo_beta": 17.20980453491211,
      "step": 150
    },
    {
      "dpo_loss": 0.5824262499809265,
      "epoch": 0.5668398677373642,
      "grad_norm": 14.182378256685057,
      "learning_rate": 4.997168347957521e-06,
      "logits": -2.928657054901123,
      "logps": -216.66006469726562,
      "loss": 0.5833,
      "objective": 0.5824262499809265,
      "ranking_idealized": 0.8883333206176758,
      "ranking_idealized_expo": 0.527916669845581,
      "ranking_simple": 0.6833333373069763,
      "regularize": 0.5824262499809265,
      "step": 200,
      "wo_beta": 13.758678436279297
    },
    {
      "epoch": 0.5668398677373642,
      "eval_dpo_loss": 0.6780264377593994,
      "eval_logits": -3.3478028774261475,
      "eval_logps": -256.0312194824219,
      "eval_loss": 0.6728978157043457,
      "eval_objective": 0.6780264377593994,
      "eval_ranking_idealized": 0.8731883764266968,
      "eval_ranking_idealized_expo": 0.5320910811424255,
      "eval_ranking_simple": 0.5797101259231567,
      "eval_regularize": 0.6780264377593994,
      "eval_runtime": 312.7328,
      "eval_samples_per_second": 18.514,
      "eval_steps_per_second": 1.544,
      "eval_wo_beta": 21.710927963256836,
      "step": 200
    },
    {
      "dpo_loss": 0.541719377040863,
      "epoch": 0.7085498346717053,
      "grad_norm": 16.105604013075503,
      "learning_rate": 4.973122855144066e-06,
      "logits": -3.4248011112213135,
      "logps": -254.68023681640625,
      "loss": 0.5439,
      "objective": 0.541719377040863,
      "ranking_idealized": 0.8787500262260437,
      "ranking_idealized_expo": 0.5266666412353516,
      "ranking_simple": 0.7054166793823242,
      "regularize": 0.541719377040863,
      "step": 250,
      "wo_beta": 15.057023048400879
    },
    {
      "epoch": 0.7085498346717053,
      "eval_dpo_loss": 0.6857688426971436,
      "eval_logits": -3.626901865005493,
      "eval_logps": -257.3546447753906,
      "eval_loss": 0.6781259775161743,
      "eval_objective": 0.6857688426971436,
      "eval_ranking_idealized": 0.8731883764266968,
      "eval_ranking_idealized_expo": 0.5320910811424255,
      "eval_ranking_simple": 0.5683229565620422,
      "eval_regularize": 0.6857688426971436,
      "eval_runtime": 308.1728,
      "eval_samples_per_second": 18.788,
      "eval_steps_per_second": 1.567,
      "eval_wo_beta": 22.9139461517334,
      "step": 250
    },
    {
      "dpo_loss": 0.49844247102737427,
      "epoch": 0.8502598016060463,
      "grad_norm": 14.80120970807248,
      "learning_rate": 4.924776641419513e-06,
      "logits": -4.0557355880737305,
      "logps": -292.7536315917969,
      "loss": 0.5077,
      "objective": 0.49844247102737427,
      "ranking_idealized": 0.8733333349227905,
      "ranking_idealized_expo": 0.5104166865348816,
      "ranking_simple": 0.747083306312561,
      "regularize": 0.49844247102737427,
      "step": 300,
      "wo_beta": 13.577784538269043
    },
    {
      "epoch": 0.8502598016060463,
      "eval_dpo_loss": 0.6684697866439819,
      "eval_logits": -4.609988689422607,
      "eval_logps": -319.3935241699219,
      "eval_loss": 0.663960874080658,
      "eval_objective": 0.6684697866439819,
      "eval_ranking_idealized": 0.8731883764266968,
      "eval_ranking_idealized_expo": 0.5320910811424255,
      "eval_ranking_simple": 0.5828157067298889,
      "eval_regularize": 0.6684697866439819,
      "eval_runtime": 309.749,
      "eval_samples_per_second": 18.693,
      "eval_steps_per_second": 1.559,
      "eval_wo_beta": 23.650588989257812,
      "step": 300
    },
    {
      "epoch": 0.8502598016060463,
      "step": 300,
      "total_flos": 0.0,
      "train_loss": 0.6054576412836711,
      "train_runtime": 8287.5068,
      "train_samples_per_second": 30.65,
      "train_steps_per_second": 0.212
    }
  ],
  "logging_steps": 50,
  "max_steps": 1760,
  "num_input_tokens_seen": 0,
  "num_train_epochs": 5,
  "save_steps": 50,
  "stateful_callbacks": {
    "EarlyStoppingCallback": {
      "args": {
        "early_stopping_patience": 5,
        "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": 0.0,
  "train_batch_size": 4,
  "trial_name": null,
  "trial_params": null
}