Delete else
Browse files- else/added_tokens.json +0 -26
- else/trainer_state.json +0 -1833
- else/vocab.json +0 -0
- else/zero_to_fp32.py +0 -674
else/added_tokens.json
DELETED
|
@@ -1,26 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"</tool_call>": 151658,
|
| 3 |
-
"<tool_call>": 151657,
|
| 4 |
-
"<|artifact|>": 151666,
|
| 5 |
-
"<|box_end|>": 151649,
|
| 6 |
-
"<|box_start|>": 151648,
|
| 7 |
-
"<|endoftext|>": 151643,
|
| 8 |
-
"<|file_sep|>": 151664,
|
| 9 |
-
"<|fim_middle|>": 151660,
|
| 10 |
-
"<|fim_pad|>": 151662,
|
| 11 |
-
"<|fim_prefix|>": 151659,
|
| 12 |
-
"<|fim_suffix|>": 151661,
|
| 13 |
-
"<|im_end|>": 151645,
|
| 14 |
-
"<|im_start|>": 151644,
|
| 15 |
-
"<|image_pad|>": 151655,
|
| 16 |
-
"<|misalignment|>": 151665,
|
| 17 |
-
"<|object_ref_end|>": 151647,
|
| 18 |
-
"<|object_ref_start|>": 151646,
|
| 19 |
-
"<|quad_end|>": 151651,
|
| 20 |
-
"<|quad_start|>": 151650,
|
| 21 |
-
"<|repo_name|>": 151663,
|
| 22 |
-
"<|video_pad|>": 151656,
|
| 23 |
-
"<|vision_end|>": 151653,
|
| 24 |
-
"<|vision_pad|>": 151654,
|
| 25 |
-
"<|vision_start|>": 151652
|
| 26 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
else/trainer_state.json
DELETED
|
@@ -1,1833 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"best_metric": null,
|
| 3 |
-
"best_model_checkpoint": null,
|
| 4 |
-
"epoch": 0.02529724260055654,
|
| 5 |
-
"eval_steps": 500,
|
| 6 |
-
"global_step": 100,
|
| 7 |
-
"is_hyper_param_search": false,
|
| 8 |
-
"is_local_process_zero": true,
|
| 9 |
-
"is_world_process_zero": true,
|
| 10 |
-
"log_history": [
|
| 11 |
-
{
|
| 12 |
-
"clip_ratio": 0.0,
|
| 13 |
-
"completion_length": 440.0,
|
| 14 |
-
"epoch": 0.00025297242600556537,
|
| 15 |
-
"grad_norm": 99.50328063964844,
|
| 16 |
-
"kl": 0.0003566741943359375,
|
| 17 |
-
"learning_rate": 9.99873513786997e-07,
|
| 18 |
-
"loss": 0.0,
|
| 19 |
-
"reward": 5.4594926834106445,
|
| 20 |
-
"reward_std": 0.18958747386932373,
|
| 21 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 22 |
-
"rewards/location_artifact_heatmap_reward": 0.7995114922523499,
|
| 23 |
-
"rewards/location_misalighment_heatmap_reward": 0.8512309193611145,
|
| 24 |
-
"rewards/overall_score_rewards": 0.8087499141693115,
|
| 25 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 26 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 27 |
-
"step": 1
|
| 28 |
-
},
|
| 29 |
-
{
|
| 30 |
-
"clip_ratio": 0.0,
|
| 31 |
-
"completion_length": 496.75,
|
| 32 |
-
"epoch": 0.0005059448520111307,
|
| 33 |
-
"grad_norm": 2.2404987812042236,
|
| 34 |
-
"kl": 0.0003204345703125,
|
| 35 |
-
"learning_rate": 9.997470275739944e-07,
|
| 36 |
-
"loss": 0.0,
|
| 37 |
-
"reward": 5.263876438140869,
|
| 38 |
-
"reward_std": 0.18220201134681702,
|
| 39 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 40 |
-
"rewards/location_artifact_heatmap_reward": 0.5646694898605347,
|
| 41 |
-
"rewards/location_misalighment_heatmap_reward": 0.822956919670105,
|
| 42 |
-
"rewards/overall_score_rewards": 0.8762500286102295,
|
| 43 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 44 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 45 |
-
"step": 2
|
| 46 |
-
},
|
| 47 |
-
{
|
| 48 |
-
"clip_ratio": 0.0,
|
| 49 |
-
"completion_length": 512.5,
|
| 50 |
-
"epoch": 0.0007589172780166962,
|
| 51 |
-
"grad_norm": 3.8491673469543457,
|
| 52 |
-
"kl": 0.000591278076171875,
|
| 53 |
-
"learning_rate": 9.996205413609917e-07,
|
| 54 |
-
"loss": -0.0003,
|
| 55 |
-
"reward": 5.384895324707031,
|
| 56 |
-
"reward_std": 0.12690222263336182,
|
| 57 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 58 |
-
"rewards/location_artifact_heatmap_reward": 0.7779643535614014,
|
| 59 |
-
"rewards/location_misalighment_heatmap_reward": 0.7681811451911926,
|
| 60 |
-
"rewards/overall_score_rewards": 0.8387500047683716,
|
| 61 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 62 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 63 |
-
"step": 3
|
| 64 |
-
},
|
| 65 |
-
{
|
| 66 |
-
"clip_ratio": 0.0,
|
| 67 |
-
"completion_length": 460.25,
|
| 68 |
-
"epoch": 0.0010118897040222615,
|
| 69 |
-
"grad_norm": 3.278803825378418,
|
| 70 |
-
"kl": 0.00078582763671875,
|
| 71 |
-
"learning_rate": 9.994940551479888e-07,
|
| 72 |
-
"loss": 0.0,
|
| 73 |
-
"reward": 5.464195251464844,
|
| 74 |
-
"reward_std": 0.17130990326404572,
|
| 75 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 76 |
-
"rewards/location_artifact_heatmap_reward": 0.838955283164978,
|
| 77 |
-
"rewards/location_misalighment_heatmap_reward": 0.838990330696106,
|
| 78 |
-
"rewards/overall_score_rewards": 0.7862499952316284,
|
| 79 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 80 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 81 |
-
"step": 4
|
| 82 |
-
},
|
| 83 |
-
{
|
| 84 |
-
"clip_ratio": 0.0,
|
| 85 |
-
"completion_length": 516.875,
|
| 86 |
-
"epoch": 0.0012648621300278269,
|
| 87 |
-
"grad_norm": 3.218126058578491,
|
| 88 |
-
"kl": 0.000507354736328125,
|
| 89 |
-
"learning_rate": 9.99367568934986e-07,
|
| 90 |
-
"loss": 0.0,
|
| 91 |
-
"reward": 5.111246109008789,
|
| 92 |
-
"reward_std": 0.05334939435124397,
|
| 93 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 94 |
-
"rewards/location_artifact_heatmap_reward": 0.5527762770652771,
|
| 95 |
-
"rewards/location_misalighment_heatmap_reward": 0.7759696245193481,
|
| 96 |
-
"rewards/overall_score_rewards": 0.7825000286102295,
|
| 97 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 98 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 99 |
-
"step": 5
|
| 100 |
-
},
|
| 101 |
-
{
|
| 102 |
-
"clip_ratio": 0.0,
|
| 103 |
-
"completion_length": 495.125,
|
| 104 |
-
"epoch": 0.0015178345560333923,
|
| 105 |
-
"grad_norm": 3.257352352142334,
|
| 106 |
-
"kl": 0.0004634857177734375,
|
| 107 |
-
"learning_rate": 9.992410827219832e-07,
|
| 108 |
-
"loss": 0.0,
|
| 109 |
-
"reward": 5.156436920166016,
|
| 110 |
-
"reward_std": 0.1203070878982544,
|
| 111 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 112 |
-
"rewards/location_artifact_heatmap_reward": 0.46342724561691284,
|
| 113 |
-
"rewards/location_misalighment_heatmap_reward": 0.850509524345398,
|
| 114 |
-
"rewards/overall_score_rewards": 0.8425000905990601,
|
| 115 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 116 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 117 |
-
"step": 6
|
| 118 |
-
},
|
| 119 |
-
{
|
| 120 |
-
"clip_ratio": 0.0,
|
| 121 |
-
"completion_length": 544.75,
|
| 122 |
-
"epoch": 0.0017708069820389577,
|
| 123 |
-
"grad_norm": 2.6467864513397217,
|
| 124 |
-
"kl": 0.000438690185546875,
|
| 125 |
-
"learning_rate": 9.991145965089805e-07,
|
| 126 |
-
"loss": 0.0,
|
| 127 |
-
"reward": 5.358240604400635,
|
| 128 |
-
"reward_std": 0.12582074105739594,
|
| 129 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 130 |
-
"rewards/location_artifact_heatmap_reward": 0.7125557661056519,
|
| 131 |
-
"rewards/location_misalighment_heatmap_reward": 0.7356848120689392,
|
| 132 |
-
"rewards/overall_score_rewards": 0.9100000858306885,
|
| 133 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 134 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 135 |
-
"step": 7
|
| 136 |
-
},
|
| 137 |
-
{
|
| 138 |
-
"clip_ratio": 0.0,
|
| 139 |
-
"completion_length": 485.125,
|
| 140 |
-
"epoch": 0.002023779408044523,
|
| 141 |
-
"grad_norm": 2.7146477699279785,
|
| 142 |
-
"kl": 0.0003795623779296875,
|
| 143 |
-
"learning_rate": 9.989881102959778e-07,
|
| 144 |
-
"loss": 0.0,
|
| 145 |
-
"reward": 5.3003458976745605,
|
| 146 |
-
"reward_std": 0.12834414839744568,
|
| 147 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 148 |
-
"rewards/location_artifact_heatmap_reward": 0.745768129825592,
|
| 149 |
-
"rewards/location_misalighment_heatmap_reward": 0.7758277058601379,
|
| 150 |
-
"rewards/overall_score_rewards": 0.7787500619888306,
|
| 151 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 152 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 153 |
-
"step": 8
|
| 154 |
-
},
|
| 155 |
-
{
|
| 156 |
-
"clip_ratio": 0.0,
|
| 157 |
-
"completion_length": 449.375,
|
| 158 |
-
"epoch": 0.0022767518340500886,
|
| 159 |
-
"grad_norm": 5.603612899780273,
|
| 160 |
-
"kl": 0.00057220458984375,
|
| 161 |
-
"learning_rate": 9.98861624082975e-07,
|
| 162 |
-
"loss": 0.0,
|
| 163 |
-
"reward": 5.459621429443359,
|
| 164 |
-
"reward_std": 0.17893511056900024,
|
| 165 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 166 |
-
"rewards/location_artifact_heatmap_reward": 0.8214287757873535,
|
| 167 |
-
"rewards/location_misalighment_heatmap_reward": 0.8294430375099182,
|
| 168 |
-
"rewards/overall_score_rewards": 0.8087500333786011,
|
| 169 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 170 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 171 |
-
"step": 9
|
| 172 |
-
},
|
| 173 |
-
{
|
| 174 |
-
"clip_ratio": 0.0,
|
| 175 |
-
"completion_length": 483.25,
|
| 176 |
-
"epoch": 0.0025297242600556538,
|
| 177 |
-
"grad_norm": 2.887422561645508,
|
| 178 |
-
"kl": 0.0010986328125,
|
| 179 |
-
"learning_rate": 9.98735137869972e-07,
|
| 180 |
-
"loss": 0.0,
|
| 181 |
-
"reward": 5.473537445068359,
|
| 182 |
-
"reward_std": 0.0986822098493576,
|
| 183 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 184 |
-
"rewards/location_artifact_heatmap_reward": 0.8078077435493469,
|
| 185 |
-
"rewards/location_misalighment_heatmap_reward": 0.8007298111915588,
|
| 186 |
-
"rewards/overall_score_rewards": 0.8649998903274536,
|
| 187 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 188 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 189 |
-
"step": 10
|
| 190 |
-
},
|
| 191 |
-
{
|
| 192 |
-
"clip_ratio": 0.0,
|
| 193 |
-
"completion_length": 436.5,
|
| 194 |
-
"epoch": 0.0027826966860612194,
|
| 195 |
-
"grad_norm": 3.3854877948760986,
|
| 196 |
-
"kl": 0.000461578369140625,
|
| 197 |
-
"learning_rate": 9.986086516569693e-07,
|
| 198 |
-
"loss": 0.0,
|
| 199 |
-
"reward": 5.272259712219238,
|
| 200 |
-
"reward_std": 0.11706135421991348,
|
| 201 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 202 |
-
"rewards/location_artifact_heatmap_reward": 0.7914199829101562,
|
| 203 |
-
"rewards/location_misalighment_heatmap_reward": 0.6045900583267212,
|
| 204 |
-
"rewards/overall_score_rewards": 0.8762500286102295,
|
| 205 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 206 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 207 |
-
"step": 11
|
| 208 |
-
},
|
| 209 |
-
{
|
| 210 |
-
"clip_ratio": 0.0,
|
| 211 |
-
"completion_length": 514.25,
|
| 212 |
-
"epoch": 0.0030356691120667846,
|
| 213 |
-
"grad_norm": 3.44535231590271,
|
| 214 |
-
"kl": 0.00069427490234375,
|
| 215 |
-
"learning_rate": 9.984821654439667e-07,
|
| 216 |
-
"loss": 0.0,
|
| 217 |
-
"reward": 5.277377128601074,
|
| 218 |
-
"reward_std": 0.19741389155387878,
|
| 219 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 220 |
-
"rewards/location_artifact_heatmap_reward": 0.7073001861572266,
|
| 221 |
-
"rewards/location_misalighment_heatmap_reward": 0.7613269090652466,
|
| 222 |
-
"rewards/overall_score_rewards": 0.8087499141693115,
|
| 223 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 224 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 225 |
-
"step": 12
|
| 226 |
-
},
|
| 227 |
-
{
|
| 228 |
-
"clip_ratio": 0.0,
|
| 229 |
-
"completion_length": 492.625,
|
| 230 |
-
"epoch": 0.0032886415380723503,
|
| 231 |
-
"grad_norm": 2.725538969039917,
|
| 232 |
-
"kl": 0.0004482269287109375,
|
| 233 |
-
"learning_rate": 9.983556792309638e-07,
|
| 234 |
-
"loss": 0.0,
|
| 235 |
-
"reward": 5.384651184082031,
|
| 236 |
-
"reward_std": 0.13790027797222137,
|
| 237 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 238 |
-
"rewards/location_artifact_heatmap_reward": 0.7794829607009888,
|
| 239 |
-
"rewards/location_misalighment_heatmap_reward": 0.822668194770813,
|
| 240 |
-
"rewards/overall_score_rewards": 0.7825000286102295,
|
| 241 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 242 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 243 |
-
"step": 13
|
| 244 |
-
},
|
| 245 |
-
{
|
| 246 |
-
"clip_ratio": 0.0,
|
| 247 |
-
"completion_length": 501.125,
|
| 248 |
-
"epoch": 0.0035416139640779155,
|
| 249 |
-
"grad_norm": 5.83013916015625,
|
| 250 |
-
"kl": 0.00160980224609375,
|
| 251 |
-
"learning_rate": 9.98229193017961e-07,
|
| 252 |
-
"loss": 0.0,
|
| 253 |
-
"reward": 5.08870792388916,
|
| 254 |
-
"reward_std": 0.2164464145898819,
|
| 255 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 256 |
-
"rewards/location_artifact_heatmap_reward": 0.5673180222511292,
|
| 257 |
-
"rewards/location_misalighment_heatmap_reward": 0.750139594078064,
|
| 258 |
-
"rewards/overall_score_rewards": 0.7712498903274536,
|
| 259 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 260 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 261 |
-
"step": 14
|
| 262 |
-
},
|
| 263 |
-
{
|
| 264 |
-
"clip_ratio": 0.0,
|
| 265 |
-
"completion_length": 484.25,
|
| 266 |
-
"epoch": 0.003794586390083481,
|
| 267 |
-
"grad_norm": 2.5159952640533447,
|
| 268 |
-
"kl": 0.000804901123046875,
|
| 269 |
-
"learning_rate": 9.981027068049582e-07,
|
| 270 |
-
"loss": 0.0,
|
| 271 |
-
"reward": 5.056214332580566,
|
| 272 |
-
"reward_std": 0.14230772852897644,
|
| 273 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 274 |
-
"rewards/location_artifact_heatmap_reward": 0.6618410348892212,
|
| 275 |
-
"rewards/location_misalighment_heatmap_reward": 0.5518736243247986,
|
| 276 |
-
"rewards/overall_score_rewards": 0.8424999713897705,
|
| 277 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 278 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 279 |
-
"step": 15
|
| 280 |
-
},
|
| 281 |
-
{
|
| 282 |
-
"clip_ratio": 0.0,
|
| 283 |
-
"completion_length": 469.375,
|
| 284 |
-
"epoch": 0.004047558816089046,
|
| 285 |
-
"grad_norm": 6.992142677307129,
|
| 286 |
-
"kl": 0.00141143798828125,
|
| 287 |
-
"learning_rate": 9.979762205919555e-07,
|
| 288 |
-
"loss": 0.0001,
|
| 289 |
-
"reward": 5.003024578094482,
|
| 290 |
-
"reward_std": 0.8147953152656555,
|
| 291 |
-
"rewards/aesthetic_score_rewards": 0.875,
|
| 292 |
-
"rewards/location_artifact_heatmap_reward": 0.791554868221283,
|
| 293 |
-
"rewards/location_misalighment_heatmap_reward": 0.8352197408676147,
|
| 294 |
-
"rewards/overall_score_rewards": 0.7512500286102295,
|
| 295 |
-
"rewards/plausibility_score_rewards": 0.875,
|
| 296 |
-
"rewards/semantic_score_rewards": 0.875,
|
| 297 |
-
"step": 16
|
| 298 |
-
},
|
| 299 |
-
{
|
| 300 |
-
"clip_ratio": 0.0,
|
| 301 |
-
"completion_length": 477.375,
|
| 302 |
-
"epoch": 0.0043005312420946115,
|
| 303 |
-
"grad_norm": 9.937246322631836,
|
| 304 |
-
"kl": 0.00115966796875,
|
| 305 |
-
"learning_rate": 9.978497343789528e-07,
|
| 306 |
-
"loss": 0.0,
|
| 307 |
-
"reward": 5.40995454788208,
|
| 308 |
-
"reward_std": 0.13958589732646942,
|
| 309 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 310 |
-
"rewards/location_artifact_heatmap_reward": 0.7911748290061951,
|
| 311 |
-
"rewards/location_misalighment_heatmap_reward": 0.7762799263000488,
|
| 312 |
-
"rewards/overall_score_rewards": 0.8424999713897705,
|
| 313 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 314 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 315 |
-
"step": 17
|
| 316 |
-
},
|
| 317 |
-
{
|
| 318 |
-
"clip_ratio": 0.0,
|
| 319 |
-
"completion_length": 480.875,
|
| 320 |
-
"epoch": 0.004553503668100177,
|
| 321 |
-
"grad_norm": 3.1487274169921875,
|
| 322 |
-
"kl": 0.0012054443359375,
|
| 323 |
-
"learning_rate": 9.977232481659499e-07,
|
| 324 |
-
"loss": 0.0,
|
| 325 |
-
"reward": 5.3303937911987305,
|
| 326 |
-
"reward_std": 0.1731274574995041,
|
| 327 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 328 |
-
"rewards/location_artifact_heatmap_reward": 0.7854811549186707,
|
| 329 |
-
"rewards/location_misalighment_heatmap_reward": 0.7286632061004639,
|
| 330 |
-
"rewards/overall_score_rewards": 0.8162500858306885,
|
| 331 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 332 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 333 |
-
"step": 18
|
| 334 |
-
},
|
| 335 |
-
{
|
| 336 |
-
"clip_ratio": 0.0,
|
| 337 |
-
"completion_length": 411.0,
|
| 338 |
-
"epoch": 0.004806476094105743,
|
| 339 |
-
"grad_norm": 5.541186332702637,
|
| 340 |
-
"kl": 0.000568389892578125,
|
| 341 |
-
"learning_rate": 9.97596761952947e-07,
|
| 342 |
-
"loss": 0.0,
|
| 343 |
-
"reward": 5.097373008728027,
|
| 344 |
-
"reward_std": 0.8139442205429077,
|
| 345 |
-
"rewards/aesthetic_score_rewards": 0.875,
|
| 346 |
-
"rewards/location_artifact_heatmap_reward": 0.9115674495697021,
|
| 347 |
-
"rewards/location_misalighment_heatmap_reward": 0.8095557689666748,
|
| 348 |
-
"rewards/overall_score_rewards": 0.7512500286102295,
|
| 349 |
-
"rewards/plausibility_score_rewards": 0.875,
|
| 350 |
-
"rewards/semantic_score_rewards": 0.875,
|
| 351 |
-
"step": 19
|
| 352 |
-
},
|
| 353 |
-
{
|
| 354 |
-
"clip_ratio": 0.0,
|
| 355 |
-
"completion_length": 459.0,
|
| 356 |
-
"epoch": 0.0050594485201113076,
|
| 357 |
-
"grad_norm": 2.351588726043701,
|
| 358 |
-
"kl": 0.000637054443359375,
|
| 359 |
-
"learning_rate": 9.974702757399443e-07,
|
| 360 |
-
"loss": 0.0006,
|
| 361 |
-
"reward": 5.558006763458252,
|
| 362 |
-
"reward_std": 0.08841203153133392,
|
| 363 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 364 |
-
"rewards/location_artifact_heatmap_reward": 0.722720205783844,
|
| 365 |
-
"rewards/location_misalighment_heatmap_reward": 0.8952864408493042,
|
| 366 |
-
"rewards/overall_score_rewards": 0.940000057220459,
|
| 367 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 368 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 369 |
-
"step": 20
|
| 370 |
-
},
|
| 371 |
-
{
|
| 372 |
-
"clip_ratio": 0.0,
|
| 373 |
-
"completion_length": 484.125,
|
| 374 |
-
"epoch": 0.005312420946116873,
|
| 375 |
-
"grad_norm": 3.0540034770965576,
|
| 376 |
-
"kl": 0.000675201416015625,
|
| 377 |
-
"learning_rate": 9.973437895269416e-07,
|
| 378 |
-
"loss": 0.0,
|
| 379 |
-
"reward": 5.327281951904297,
|
| 380 |
-
"reward_std": 0.08891787379980087,
|
| 381 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 382 |
-
"rewards/location_artifact_heatmap_reward": 0.7103680968284607,
|
| 383 |
-
"rewards/location_misalighment_heatmap_reward": 0.8719138503074646,
|
| 384 |
-
"rewards/overall_score_rewards": 0.7450000047683716,
|
| 385 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 386 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 387 |
-
"step": 21
|
| 388 |
-
},
|
| 389 |
-
{
|
| 390 |
-
"clip_ratio": 0.0,
|
| 391 |
-
"completion_length": 466.0,
|
| 392 |
-
"epoch": 0.005565393372122439,
|
| 393 |
-
"grad_norm": 2.333858013153076,
|
| 394 |
-
"kl": 0.00052642822265625,
|
| 395 |
-
"learning_rate": 9.972173033139387e-07,
|
| 396 |
-
"loss": 0.0006,
|
| 397 |
-
"reward": 5.494153022766113,
|
| 398 |
-
"reward_std": 0.04288619011640549,
|
| 399 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 400 |
-
"rewards/location_artifact_heatmap_reward": 0.8250214457511902,
|
| 401 |
-
"rewards/location_misalighment_heatmap_reward": 0.8191317915916443,
|
| 402 |
-
"rewards/overall_score_rewards": 0.8500000834465027,
|
| 403 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 404 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 405 |
-
"step": 22
|
| 406 |
-
},
|
| 407 |
-
{
|
| 408 |
-
"clip_ratio": 0.0,
|
| 409 |
-
"completion_length": 486.875,
|
| 410 |
-
"epoch": 0.0058183657981280045,
|
| 411 |
-
"grad_norm": 3.2977066040039062,
|
| 412 |
-
"kl": 0.001800537109375,
|
| 413 |
-
"learning_rate": 9.970908171009358e-07,
|
| 414 |
-
"loss": 0.0001,
|
| 415 |
-
"reward": 5.396883487701416,
|
| 416 |
-
"reward_std": 0.14189015328884125,
|
| 417 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 418 |
-
"rewards/location_artifact_heatmap_reward": 0.7350619435310364,
|
| 419 |
-
"rewards/location_misalighment_heatmap_reward": 0.7555716037750244,
|
| 420 |
-
"rewards/overall_score_rewards": 0.90625,
|
| 421 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 422 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 423 |
-
"step": 23
|
| 424 |
-
},
|
| 425 |
-
{
|
| 426 |
-
"clip_ratio": 0.0,
|
| 427 |
-
"completion_length": 498.625,
|
| 428 |
-
"epoch": 0.006071338224133569,
|
| 429 |
-
"grad_norm": 3.383419990539551,
|
| 430 |
-
"kl": 0.0020904541015625,
|
| 431 |
-
"learning_rate": 9.969643308879331e-07,
|
| 432 |
-
"loss": 0.0001,
|
| 433 |
-
"reward": 5.401487827301025,
|
| 434 |
-
"reward_std": 0.1331316977739334,
|
| 435 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 436 |
-
"rewards/location_artifact_heatmap_reward": 0.6623430252075195,
|
| 437 |
-
"rewards/location_misalighment_heatmap_reward": 0.8328946828842163,
|
| 438 |
-
"rewards/overall_score_rewards": 0.90625,
|
| 439 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 440 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 441 |
-
"step": 24
|
| 442 |
-
},
|
| 443 |
-
{
|
| 444 |
-
"clip_ratio": 0.0,
|
| 445 |
-
"completion_length": 452.0,
|
| 446 |
-
"epoch": 0.006324310650139135,
|
| 447 |
-
"grad_norm": 2.778303861618042,
|
| 448 |
-
"kl": 0.00112152099609375,
|
| 449 |
-
"learning_rate": 9.968378446749304e-07,
|
| 450 |
-
"loss": 0.0,
|
| 451 |
-
"reward": 5.541274070739746,
|
| 452 |
-
"reward_std": 0.13871176540851593,
|
| 453 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 454 |
-
"rewards/location_artifact_heatmap_reward": 0.8679863214492798,
|
| 455 |
-
"rewards/location_misalighment_heatmap_reward": 0.7632877826690674,
|
| 456 |
-
"rewards/overall_score_rewards": 0.9100000262260437,
|
| 457 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 458 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 459 |
-
"step": 25
|
| 460 |
-
},
|
| 461 |
-
{
|
| 462 |
-
"clip_ratio": 0.0,
|
| 463 |
-
"completion_length": 464.5,
|
| 464 |
-
"epoch": 0.0065772830761447005,
|
| 465 |
-
"grad_norm": 5.355808258056641,
|
| 466 |
-
"kl": 0.00128173828125,
|
| 467 |
-
"learning_rate": 9.967113584619276e-07,
|
| 468 |
-
"loss": 0.0001,
|
| 469 |
-
"reward": 5.467164993286133,
|
| 470 |
-
"reward_std": 0.10859573632478714,
|
| 471 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 472 |
-
"rewards/location_artifact_heatmap_reward": 0.6112275719642639,
|
| 473 |
-
"rewards/location_misalighment_heatmap_reward": 0.9196872711181641,
|
| 474 |
-
"rewards/overall_score_rewards": 0.9362499713897705,
|
| 475 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 476 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 477 |
-
"step": 26
|
| 478 |
-
},
|
| 479 |
-
{
|
| 480 |
-
"clip_ratio": 0.0,
|
| 481 |
-
"completion_length": 458.0,
|
| 482 |
-
"epoch": 0.006830255502150265,
|
| 483 |
-
"grad_norm": 2.5720341205596924,
|
| 484 |
-
"kl": 0.00131988525390625,
|
| 485 |
-
"learning_rate": 9.965848722489249e-07,
|
| 486 |
-
"loss": 0.0001,
|
| 487 |
-
"reward": 5.522697925567627,
|
| 488 |
-
"reward_std": 0.042607516050338745,
|
| 489 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 490 |
-
"rewards/location_artifact_heatmap_reward": 0.7024801969528198,
|
| 491 |
-
"rewards/location_misalighment_heatmap_reward": 0.9102176427841187,
|
| 492 |
-
"rewards/overall_score_rewards": 0.9100000858306885,
|
| 493 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 494 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 495 |
-
"step": 27
|
| 496 |
-
},
|
| 497 |
-
{
|
| 498 |
-
"clip_ratio": 0.0,
|
| 499 |
-
"completion_length": 480.875,
|
| 500 |
-
"epoch": 0.007083227928155831,
|
| 501 |
-
"grad_norm": 3.569387435913086,
|
| 502 |
-
"kl": 0.00165557861328125,
|
| 503 |
-
"learning_rate": 9.96458386035922e-07,
|
| 504 |
-
"loss": 0.0003,
|
| 505 |
-
"reward": 5.367475986480713,
|
| 506 |
-
"reward_std": 0.10307542979717255,
|
| 507 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 508 |
-
"rewards/location_artifact_heatmap_reward": 0.7223396301269531,
|
| 509 |
-
"rewards/location_misalighment_heatmap_reward": 0.7726362943649292,
|
| 510 |
-
"rewards/overall_score_rewards": 0.872499942779541,
|
| 511 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 512 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 513 |
-
"step": 28
|
| 514 |
-
},
|
| 515 |
-
{
|
| 516 |
-
"clip_ratio": 0.0,
|
| 517 |
-
"completion_length": 470.625,
|
| 518 |
-
"epoch": 0.007336200354161397,
|
| 519 |
-
"grad_norm": 5.62157678604126,
|
| 520 |
-
"kl": 0.0023193359375,
|
| 521 |
-
"learning_rate": 9.963318998229193e-07,
|
| 522 |
-
"loss": 0.0001,
|
| 523 |
-
"reward": 5.359262943267822,
|
| 524 |
-
"reward_std": 0.10050362348556519,
|
| 525 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 526 |
-
"rewards/location_artifact_heatmap_reward": 0.8168458938598633,
|
| 527 |
-
"rewards/location_misalighment_heatmap_reward": 0.6661669611930847,
|
| 528 |
-
"rewards/overall_score_rewards": 0.8762500286102295,
|
| 529 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 530 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 531 |
-
"step": 29
|
| 532 |
-
},
|
| 533 |
-
{
|
| 534 |
-
"clip_ratio": 0.0,
|
| 535 |
-
"completion_length": 494.875,
|
| 536 |
-
"epoch": 0.007589172780166962,
|
| 537 |
-
"grad_norm": 2.860589027404785,
|
| 538 |
-
"kl": 0.00194549560546875,
|
| 539 |
-
"learning_rate": 9.962054136099166e-07,
|
| 540 |
-
"loss": 0.0001,
|
| 541 |
-
"reward": 5.405731678009033,
|
| 542 |
-
"reward_std": 0.1737304925918579,
|
| 543 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 544 |
-
"rewards/location_artifact_heatmap_reward": 0.7799570560455322,
|
| 545 |
-
"rewards/location_misalighment_heatmap_reward": 0.8132746815681458,
|
| 546 |
-
"rewards/overall_score_rewards": 0.8125,
|
| 547 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 548 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 549 |
-
"step": 30
|
| 550 |
-
},
|
| 551 |
-
{
|
| 552 |
-
"clip_ratio": 0.0,
|
| 553 |
-
"completion_length": 437.125,
|
| 554 |
-
"epoch": 0.007842145206172527,
|
| 555 |
-
"grad_norm": 3.621122360229492,
|
| 556 |
-
"kl": 0.00439453125,
|
| 557 |
-
"learning_rate": 9.960789273969137e-07,
|
| 558 |
-
"loss": 0.0002,
|
| 559 |
-
"reward": 4.794467926025391,
|
| 560 |
-
"reward_std": 0.7571890950202942,
|
| 561 |
-
"rewards/aesthetic_score_rewards": 0.875,
|
| 562 |
-
"rewards/location_artifact_heatmap_reward": 0.7693961262702942,
|
| 563 |
-
"rewards/location_misalighment_heatmap_reward": 0.6788214445114136,
|
| 564 |
-
"rewards/overall_score_rewards": 0.721250057220459,
|
| 565 |
-
"rewards/plausibility_score_rewards": 0.875,
|
| 566 |
-
"rewards/semantic_score_rewards": 0.875,
|
| 567 |
-
"step": 31
|
| 568 |
-
},
|
| 569 |
-
{
|
| 570 |
-
"clip_ratio": 0.0,
|
| 571 |
-
"completion_length": 485.0,
|
| 572 |
-
"epoch": 0.008095117632178092,
|
| 573 |
-
"grad_norm": 5.9346489906311035,
|
| 574 |
-
"kl": 0.00482177734375,
|
| 575 |
-
"learning_rate": 9.959524411839108e-07,
|
| 576 |
-
"loss": 0.0002,
|
| 577 |
-
"reward": 5.404839515686035,
|
| 578 |
-
"reward_std": 0.1227060854434967,
|
| 579 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 580 |
-
"rewards/location_artifact_heatmap_reward": 0.7918017506599426,
|
| 581 |
-
"rewards/location_misalighment_heatmap_reward": 0.8305379152297974,
|
| 582 |
-
"rewards/overall_score_rewards": 0.7825000286102295,
|
| 583 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 584 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 585 |
-
"step": 32
|
| 586 |
-
},
|
| 587 |
-
{
|
| 588 |
-
"clip_ratio": 0.0,
|
| 589 |
-
"completion_length": 410.25,
|
| 590 |
-
"epoch": 0.008348090058183658,
|
| 591 |
-
"grad_norm": 4.121129512786865,
|
| 592 |
-
"kl": 0.017822265625,
|
| 593 |
-
"learning_rate": 9.958259549709081e-07,
|
| 594 |
-
"loss": 0.0007,
|
| 595 |
-
"reward": 5.0262908935546875,
|
| 596 |
-
"reward_std": 0.7571164965629578,
|
| 597 |
-
"rewards/aesthetic_score_rewards": 0.875,
|
| 598 |
-
"rewards/location_artifact_heatmap_reward": 0.8097456693649292,
|
| 599 |
-
"rewards/location_misalighment_heatmap_reward": 0.8702950477600098,
|
| 600 |
-
"rewards/overall_score_rewards": 0.721250057220459,
|
| 601 |
-
"rewards/plausibility_score_rewards": 0.875,
|
| 602 |
-
"rewards/semantic_score_rewards": 0.875,
|
| 603 |
-
"step": 33
|
| 604 |
-
},
|
| 605 |
-
{
|
| 606 |
-
"clip_ratio": 0.0,
|
| 607 |
-
"completion_length": 494.125,
|
| 608 |
-
"epoch": 0.008601062484189223,
|
| 609 |
-
"grad_norm": 68.54109954833984,
|
| 610 |
-
"kl": 0.006256103515625,
|
| 611 |
-
"learning_rate": 9.956994687579054e-07,
|
| 612 |
-
"loss": 0.0002,
|
| 613 |
-
"reward": 5.404845237731934,
|
| 614 |
-
"reward_std": 0.09779535233974457,
|
| 615 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 616 |
-
"rewards/location_artifact_heatmap_reward": 0.6971195936203003,
|
| 617 |
-
"rewards/location_misalighment_heatmap_reward": 0.8914761543273926,
|
| 618 |
-
"rewards/overall_score_rewards": 0.8162500858306885,
|
| 619 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 620 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 621 |
-
"step": 34
|
| 622 |
-
},
|
| 623 |
-
{
|
| 624 |
-
"clip_ratio": 0.0,
|
| 625 |
-
"completion_length": 479.625,
|
| 626 |
-
"epoch": 0.00885403491019479,
|
| 627 |
-
"grad_norm": 6.452138423919678,
|
| 628 |
-
"kl": 0.011474609375,
|
| 629 |
-
"learning_rate": 9.955729825449025e-07,
|
| 630 |
-
"loss": 0.0005,
|
| 631 |
-
"reward": 5.1309075355529785,
|
| 632 |
-
"reward_std": 0.16118118166923523,
|
| 633 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 634 |
-
"rewards/location_artifact_heatmap_reward": 0.5963692665100098,
|
| 635 |
-
"rewards/location_misalighment_heatmap_reward": 0.7182881832122803,
|
| 636 |
-
"rewards/overall_score_rewards": 0.8162500858306885,
|
| 637 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 638 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 639 |
-
"step": 35
|
| 640 |
-
},
|
| 641 |
-
{
|
| 642 |
-
"clip_ratio": 0.0,
|
| 643 |
-
"completion_length": 425.25,
|
| 644 |
-
"epoch": 0.009107007336200354,
|
| 645 |
-
"grad_norm": 3.74330997467041,
|
| 646 |
-
"kl": 0.01708984375,
|
| 647 |
-
"learning_rate": 9.954464963318998e-07,
|
| 648 |
-
"loss": 0.0007,
|
| 649 |
-
"reward": 4.736416339874268,
|
| 650 |
-
"reward_std": 0.8011575937271118,
|
| 651 |
-
"rewards/aesthetic_score_rewards": 0.875,
|
| 652 |
-
"rewards/location_artifact_heatmap_reward": 0.6437466144561768,
|
| 653 |
-
"rewards/location_misalighment_heatmap_reward": 0.7501698732376099,
|
| 654 |
-
"rewards/overall_score_rewards": 0.7175000309944153,
|
| 655 |
-
"rewards/plausibility_score_rewards": 0.875,
|
| 656 |
-
"rewards/semantic_score_rewards": 0.875,
|
| 657 |
-
"step": 36
|
| 658 |
-
},
|
| 659 |
-
{
|
| 660 |
-
"clip_ratio": 0.0,
|
| 661 |
-
"completion_length": 469.875,
|
| 662 |
-
"epoch": 0.009359979762205919,
|
| 663 |
-
"grad_norm": 5.57287073135376,
|
| 664 |
-
"kl": 0.0234375,
|
| 665 |
-
"learning_rate": 9.95320010118897e-07,
|
| 666 |
-
"loss": 0.0009,
|
| 667 |
-
"reward": 5.053951263427734,
|
| 668 |
-
"reward_std": 0.09248366951942444,
|
| 669 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 670 |
-
"rewards/location_artifact_heatmap_reward": 0.5215615034103394,
|
| 671 |
-
"rewards/location_misalighment_heatmap_reward": 0.6523897051811218,
|
| 672 |
-
"rewards/overall_score_rewards": 0.8799999952316284,
|
| 673 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 674 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 675 |
-
"step": 37
|
| 676 |
-
},
|
| 677 |
-
{
|
| 678 |
-
"clip_ratio": 0.0,
|
| 679 |
-
"completion_length": 474.5,
|
| 680 |
-
"epoch": 0.009612952188211486,
|
| 681 |
-
"grad_norm": 2.297215223312378,
|
| 682 |
-
"kl": 0.01214599609375,
|
| 683 |
-
"learning_rate": 9.951935239058942e-07,
|
| 684 |
-
"loss": 0.0005,
|
| 685 |
-
"reward": 4.92038631439209,
|
| 686 |
-
"reward_std": 0.31508731842041016,
|
| 687 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 688 |
-
"rewards/location_artifact_heatmap_reward": 0.6160138249397278,
|
| 689 |
-
"rewards/location_misalighment_heatmap_reward": 0.7093722820281982,
|
| 690 |
-
"rewards/overall_score_rewards": 0.5950000286102295,
|
| 691 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 692 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 693 |
-
"step": 38
|
| 694 |
-
},
|
| 695 |
-
{
|
| 696 |
-
"clip_ratio": 0.0,
|
| 697 |
-
"completion_length": 426.25,
|
| 698 |
-
"epoch": 0.00986592461421705,
|
| 699 |
-
"grad_norm": 7.791620254516602,
|
| 700 |
-
"kl": 0.02880859375,
|
| 701 |
-
"learning_rate": 9.950670376928916e-07,
|
| 702 |
-
"loss": 0.0011,
|
| 703 |
-
"reward": 4.909842491149902,
|
| 704 |
-
"reward_std": 0.7547658681869507,
|
| 705 |
-
"rewards/aesthetic_score_rewards": 0.875,
|
| 706 |
-
"rewards/location_artifact_heatmap_reward": 0.7402044534683228,
|
| 707 |
-
"rewards/location_misalighment_heatmap_reward": 0.8271378874778748,
|
| 708 |
-
"rewards/overall_score_rewards": 0.7174999713897705,
|
| 709 |
-
"rewards/plausibility_score_rewards": 0.875,
|
| 710 |
-
"rewards/semantic_score_rewards": 0.875,
|
| 711 |
-
"step": 39
|
| 712 |
-
},
|
| 713 |
-
{
|
| 714 |
-
"clip_ratio": 0.0,
|
| 715 |
-
"completion_length": 446.875,
|
| 716 |
-
"epoch": 0.010118897040222615,
|
| 717 |
-
"grad_norm": 5.844668865203857,
|
| 718 |
-
"kl": 0.0225830078125,
|
| 719 |
-
"learning_rate": 9.949405514798887e-07,
|
| 720 |
-
"loss": 0.0009,
|
| 721 |
-
"reward": 5.615790367126465,
|
| 722 |
-
"reward_std": 0.05132600665092468,
|
| 723 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 724 |
-
"rewards/location_artifact_heatmap_reward": 0.914071261882782,
|
| 725 |
-
"rewards/location_misalighment_heatmap_reward": 0.8517189025878906,
|
| 726 |
-
"rewards/overall_score_rewards": 0.8500001430511475,
|
| 727 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 728 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 729 |
-
"step": 40
|
| 730 |
-
},
|
| 731 |
-
{
|
| 732 |
-
"clip_ratio": 0.0,
|
| 733 |
-
"completion_length": 482.75,
|
| 734 |
-
"epoch": 0.010371869466228182,
|
| 735 |
-
"grad_norm": 2.13356351852417,
|
| 736 |
-
"kl": 0.01318359375,
|
| 737 |
-
"learning_rate": 9.948140652668858e-07,
|
| 738 |
-
"loss": 0.0008,
|
| 739 |
-
"reward": 5.337843894958496,
|
| 740 |
-
"reward_std": 0.05293720215559006,
|
| 741 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 742 |
-
"rewards/location_artifact_heatmap_reward": 0.7141811847686768,
|
| 743 |
-
"rewards/location_misalighment_heatmap_reward": 0.6574122905731201,
|
| 744 |
-
"rewards/overall_score_rewards": 0.966249942779541,
|
| 745 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 746 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 747 |
-
"step": 41
|
| 748 |
-
},
|
| 749 |
-
{
|
| 750 |
-
"clip_ratio": 0.0,
|
| 751 |
-
"completion_length": 468.625,
|
| 752 |
-
"epoch": 0.010624841892233746,
|
| 753 |
-
"grad_norm": 3.4011526107788086,
|
| 754 |
-
"kl": 0.0260009765625,
|
| 755 |
-
"learning_rate": 9.94687579053883e-07,
|
| 756 |
-
"loss": 0.001,
|
| 757 |
-
"reward": 5.161016464233398,
|
| 758 |
-
"reward_std": 0.09107545763254166,
|
| 759 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 760 |
-
"rewards/location_artifact_heatmap_reward": 0.4952339231967926,
|
| 761 |
-
"rewards/location_misalighment_heatmap_reward": 0.7295328974723816,
|
| 762 |
-
"rewards/overall_score_rewards": 0.9362499713897705,
|
| 763 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 764 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 765 |
-
"step": 42
|
| 766 |
-
},
|
| 767 |
-
{
|
| 768 |
-
"clip_ratio": 0.0,
|
| 769 |
-
"completion_length": 375.25,
|
| 770 |
-
"epoch": 0.010877814318239311,
|
| 771 |
-
"grad_norm": 5.546986103057861,
|
| 772 |
-
"kl": 0.035888671875,
|
| 773 |
-
"learning_rate": 9.945610928408804e-07,
|
| 774 |
-
"loss": 0.0014,
|
| 775 |
-
"reward": 5.538779258728027,
|
| 776 |
-
"reward_std": 0.11370107531547546,
|
| 777 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 778 |
-
"rewards/location_artifact_heatmap_reward": 0.824926495552063,
|
| 779 |
-
"rewards/location_misalighment_heatmap_reward": 0.8038531541824341,
|
| 780 |
-
"rewards/overall_score_rewards": 0.9100000858306885,
|
| 781 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 782 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 783 |
-
"step": 43
|
| 784 |
-
},
|
| 785 |
-
{
|
| 786 |
-
"clip_ratio": 0.0,
|
| 787 |
-
"completion_length": 431.625,
|
| 788 |
-
"epoch": 0.011130786744244878,
|
| 789 |
-
"grad_norm": 20.80287742614746,
|
| 790 |
-
"kl": 0.03173828125,
|
| 791 |
-
"learning_rate": 9.944346066278775e-07,
|
| 792 |
-
"loss": 0.0014,
|
| 793 |
-
"reward": 5.45789909362793,
|
| 794 |
-
"reward_std": 0.041689638048410416,
|
| 795 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 796 |
-
"rewards/location_artifact_heatmap_reward": 0.6997177600860596,
|
| 797 |
-
"rewards/location_misalighment_heatmap_reward": 0.8481816053390503,
|
| 798 |
-
"rewards/overall_score_rewards": 0.9100000262260437,
|
| 799 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 800 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 801 |
-
"step": 44
|
| 802 |
-
},
|
| 803 |
-
{
|
| 804 |
-
"clip_ratio": 0.0,
|
| 805 |
-
"completion_length": 434.25,
|
| 806 |
-
"epoch": 0.011383759170250442,
|
| 807 |
-
"grad_norm": 8.854325294494629,
|
| 808 |
-
"kl": 0.02490234375,
|
| 809 |
-
"learning_rate": 9.943081204148748e-07,
|
| 810 |
-
"loss": 0.001,
|
| 811 |
-
"reward": 5.107644557952881,
|
| 812 |
-
"reward_std": 0.15394118428230286,
|
| 813 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 814 |
-
"rewards/location_artifact_heatmap_reward": 0.6861124038696289,
|
| 815 |
-
"rewards/location_misalighment_heatmap_reward": 0.7702821493148804,
|
| 816 |
-
"rewards/overall_score_rewards": 0.6512500047683716,
|
| 817 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 818 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 819 |
-
"step": 45
|
| 820 |
-
},
|
| 821 |
-
{
|
| 822 |
-
"clip_ratio": 0.0,
|
| 823 |
-
"completion_length": 372.75,
|
| 824 |
-
"epoch": 0.011636731596256009,
|
| 825 |
-
"grad_norm": 6.125293731689453,
|
| 826 |
-
"kl": 0.043701171875,
|
| 827 |
-
"learning_rate": 9.94181634201872e-07,
|
| 828 |
-
"loss": 0.0017,
|
| 829 |
-
"reward": 4.9134674072265625,
|
| 830 |
-
"reward_std": 0.7654469609260559,
|
| 831 |
-
"rewards/aesthetic_score_rewards": 0.875,
|
| 832 |
-
"rewards/location_artifact_heatmap_reward": 0.7635915279388428,
|
| 833 |
-
"rewards/location_misalighment_heatmap_reward": 0.8711254596710205,
|
| 834 |
-
"rewards/overall_score_rewards": 0.6537500023841858,
|
| 835 |
-
"rewards/plausibility_score_rewards": 0.875,
|
| 836 |
-
"rewards/semantic_score_rewards": 0.875,
|
| 837 |
-
"step": 46
|
| 838 |
-
},
|
| 839 |
-
{
|
| 840 |
-
"clip_ratio": 0.0,
|
| 841 |
-
"completion_length": 456.375,
|
| 842 |
-
"epoch": 0.011889704022261574,
|
| 843 |
-
"grad_norm": 3.2194080352783203,
|
| 844 |
-
"kl": 0.0206298828125,
|
| 845 |
-
"learning_rate": 9.940551479888692e-07,
|
| 846 |
-
"loss": 0.0008,
|
| 847 |
-
"reward": 5.286049842834473,
|
| 848 |
-
"reward_std": 0.09385614097118378,
|
| 849 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 850 |
-
"rewards/location_artifact_heatmap_reward": 0.7511510848999023,
|
| 851 |
-
"rewards/location_misalighment_heatmap_reward": 0.7861489057540894,
|
| 852 |
-
"rewards/overall_score_rewards": 0.7487500309944153,
|
| 853 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 854 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 855 |
-
"step": 47
|
| 856 |
-
},
|
| 857 |
-
{
|
| 858 |
-
"clip_ratio": 0.0,
|
| 859 |
-
"completion_length": 409.375,
|
| 860 |
-
"epoch": 0.012142676448267139,
|
| 861 |
-
"grad_norm": 4.2013325691223145,
|
| 862 |
-
"kl": 0.03759765625,
|
| 863 |
-
"learning_rate": 9.939286617758665e-07,
|
| 864 |
-
"loss": 0.0015,
|
| 865 |
-
"reward": 5.483973503112793,
|
| 866 |
-
"reward_std": 0.09291357547044754,
|
| 867 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 868 |
-
"rewards/location_artifact_heatmap_reward": 0.8019596934318542,
|
| 869 |
-
"rewards/location_misalighment_heatmap_reward": 0.8207635879516602,
|
| 870 |
-
"rewards/overall_score_rewards": 0.8612500429153442,
|
| 871 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 872 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 873 |
-
"step": 48
|
| 874 |
-
},
|
| 875 |
-
{
|
| 876 |
-
"clip_ratio": 0.0,
|
| 877 |
-
"completion_length": 419.375,
|
| 878 |
-
"epoch": 0.012395648874272705,
|
| 879 |
-
"grad_norm": 4.354659080505371,
|
| 880 |
-
"kl": 0.02734375,
|
| 881 |
-
"learning_rate": 9.938021755628636e-07,
|
| 882 |
-
"loss": 0.0011,
|
| 883 |
-
"reward": 4.686689853668213,
|
| 884 |
-
"reward_std": 0.4714539647102356,
|
| 885 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 886 |
-
"rewards/location_artifact_heatmap_reward": 0.6772425174713135,
|
| 887 |
-
"rewards/location_misalighment_heatmap_reward": 0.643197238445282,
|
| 888 |
-
"rewards/overall_score_rewards": 0.36625003814697266,
|
| 889 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 890 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 891 |
-
"step": 49
|
| 892 |
-
},
|
| 893 |
-
{
|
| 894 |
-
"clip_ratio": 0.0,
|
| 895 |
-
"completion_length": 404.625,
|
| 896 |
-
"epoch": 0.01264862130027827,
|
| 897 |
-
"grad_norm": 3.6461737155914307,
|
| 898 |
-
"kl": 0.03173828125,
|
| 899 |
-
"learning_rate": 9.936756893498607e-07,
|
| 900 |
-
"loss": 0.0013,
|
| 901 |
-
"reward": 5.545103073120117,
|
| 902 |
-
"reward_std": 0.06625383347272873,
|
| 903 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 904 |
-
"rewards/location_artifact_heatmap_reward": 0.795859158039093,
|
| 905 |
-
"rewards/location_misalighment_heatmap_reward": 0.7829937934875488,
|
| 906 |
-
"rewards/overall_score_rewards": 0.966249942779541,
|
| 907 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 908 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 909 |
-
"step": 50
|
| 910 |
-
},
|
| 911 |
-
{
|
| 912 |
-
"clip_ratio": 0.0,
|
| 913 |
-
"completion_length": 451.125,
|
| 914 |
-
"epoch": 0.012901593726283835,
|
| 915 |
-
"grad_norm": 3.7185897827148438,
|
| 916 |
-
"kl": 0.0206298828125,
|
| 917 |
-
"learning_rate": 9.93549203136858e-07,
|
| 918 |
-
"loss": 0.0008,
|
| 919 |
-
"reward": 5.4477219581604,
|
| 920 |
-
"reward_std": 0.0937633365392685,
|
| 921 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 922 |
-
"rewards/location_artifact_heatmap_reward": 0.7628577947616577,
|
| 923 |
-
"rewards/location_misalighment_heatmap_reward": 0.808614194393158,
|
| 924 |
-
"rewards/overall_score_rewards": 0.8762500286102295,
|
| 925 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 926 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 927 |
-
"step": 51
|
| 928 |
-
},
|
| 929 |
-
{
|
| 930 |
-
"clip_ratio": 0.0,
|
| 931 |
-
"completion_length": 433.375,
|
| 932 |
-
"epoch": 0.013154566152289401,
|
| 933 |
-
"grad_norm": 3.265334129333496,
|
| 934 |
-
"kl": 0.0186767578125,
|
| 935 |
-
"learning_rate": 9.934227169238554e-07,
|
| 936 |
-
"loss": 0.0007,
|
| 937 |
-
"reward": 5.501402854919434,
|
| 938 |
-
"reward_std": 0.11307864636182785,
|
| 939 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 940 |
-
"rewards/location_artifact_heatmap_reward": 0.6259495615959167,
|
| 941 |
-
"rewards/location_misalighment_heatmap_reward": 0.9392036199569702,
|
| 942 |
-
"rewards/overall_score_rewards": 0.9362499713897705,
|
| 943 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 944 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 945 |
-
"step": 52
|
| 946 |
-
},
|
| 947 |
-
{
|
| 948 |
-
"clip_ratio": 0.0,
|
| 949 |
-
"completion_length": 513.25,
|
| 950 |
-
"epoch": 0.013407538578294966,
|
| 951 |
-
"grad_norm": 3.123044013977051,
|
| 952 |
-
"kl": 0.01300048828125,
|
| 953 |
-
"learning_rate": 9.932962307108525e-07,
|
| 954 |
-
"loss": 0.0005,
|
| 955 |
-
"reward": 5.397100448608398,
|
| 956 |
-
"reward_std": 0.14120273292064667,
|
| 957 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 958 |
-
"rewards/location_artifact_heatmap_reward": 0.8524265885353088,
|
| 959 |
-
"rewards/location_misalighment_heatmap_reward": 0.7659234404563904,
|
| 960 |
-
"rewards/overall_score_rewards": 0.778749942779541,
|
| 961 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 962 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 963 |
-
"step": 53
|
| 964 |
-
},
|
| 965 |
-
{
|
| 966 |
-
"clip_ratio": 0.0,
|
| 967 |
-
"completion_length": 407.875,
|
| 968 |
-
"epoch": 0.01366051100430053,
|
| 969 |
-
"grad_norm": 6.148492336273193,
|
| 970 |
-
"kl": 0.023681640625,
|
| 971 |
-
"learning_rate": 9.931697444978498e-07,
|
| 972 |
-
"loss": 0.001,
|
| 973 |
-
"reward": 5.381246566772461,
|
| 974 |
-
"reward_std": 0.17179468274116516,
|
| 975 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 976 |
-
"rewards/location_artifact_heatmap_reward": 0.7448151111602783,
|
| 977 |
-
"rewards/location_misalighment_heatmap_reward": 0.8201813697814941,
|
| 978 |
-
"rewards/overall_score_rewards": 0.8162500262260437,
|
| 979 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 980 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 981 |
-
"step": 54
|
| 982 |
-
},
|
| 983 |
-
{
|
| 984 |
-
"clip_ratio": 0.0,
|
| 985 |
-
"completion_length": 303.125,
|
| 986 |
-
"epoch": 0.013913483430306097,
|
| 987 |
-
"grad_norm": 5.236420154571533,
|
| 988 |
-
"kl": 0.060302734375,
|
| 989 |
-
"learning_rate": 9.930432582848469e-07,
|
| 990 |
-
"loss": 0.003,
|
| 991 |
-
"reward": 5.038935661315918,
|
| 992 |
-
"reward_std": 0.2707816958427429,
|
| 993 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 994 |
-
"rewards/location_artifact_heatmap_reward": 0.6911619901657104,
|
| 995 |
-
"rewards/location_misalighment_heatmap_reward": 0.7827734351158142,
|
| 996 |
-
"rewards/overall_score_rewards": 0.5649999976158142,
|
| 997 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 998 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 999 |
-
"step": 55
|
| 1000 |
-
},
|
| 1001 |
-
{
|
| 1002 |
-
"clip_ratio": 0.0,
|
| 1003 |
-
"completion_length": 418.5,
|
| 1004 |
-
"epoch": 0.014166455856311662,
|
| 1005 |
-
"grad_norm": 6.169740200042725,
|
| 1006 |
-
"kl": 0.037841796875,
|
| 1007 |
-
"learning_rate": 9.929167720718442e-07,
|
| 1008 |
-
"loss": 0.0015,
|
| 1009 |
-
"reward": 5.141636848449707,
|
| 1010 |
-
"reward_std": 0.00907151959836483,
|
| 1011 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 1012 |
-
"rewards/location_artifact_heatmap_reward": 0.6578080654144287,
|
| 1013 |
-
"rewards/location_misalighment_heatmap_reward": 0.6713287234306335,
|
| 1014 |
-
"rewards/overall_score_rewards": 0.8125000596046448,
|
| 1015 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 1016 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 1017 |
-
"step": 56
|
| 1018 |
-
},
|
| 1019 |
-
{
|
| 1020 |
-
"clip_ratio": 0.0,
|
| 1021 |
-
"completion_length": 430.75,
|
| 1022 |
-
"epoch": 0.014419428282317227,
|
| 1023 |
-
"grad_norm": 3.0601601600646973,
|
| 1024 |
-
"kl": 0.0186767578125,
|
| 1025 |
-
"learning_rate": 9.927902858588413e-07,
|
| 1026 |
-
"loss": 0.0008,
|
| 1027 |
-
"reward": 5.162736892700195,
|
| 1028 |
-
"reward_std": 0.01670549251139164,
|
| 1029 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 1030 |
-
"rewards/location_artifact_heatmap_reward": 0.6311650276184082,
|
| 1031 |
-
"rewards/location_misalighment_heatmap_reward": 0.6515717506408691,
|
| 1032 |
-
"rewards/overall_score_rewards": 0.8800000548362732,
|
| 1033 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 1034 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 1035 |
-
"step": 57
|
| 1036 |
-
},
|
| 1037 |
-
{
|
| 1038 |
-
"clip_ratio": 0.0,
|
| 1039 |
-
"completion_length": 320.25,
|
| 1040 |
-
"epoch": 0.014672400708322793,
|
| 1041 |
-
"grad_norm": 7.362841606140137,
|
| 1042 |
-
"kl": 0.0615234375,
|
| 1043 |
-
"learning_rate": 9.926637996458386e-07,
|
| 1044 |
-
"loss": 0.0025,
|
| 1045 |
-
"reward": 4.972415447235107,
|
| 1046 |
-
"reward_std": 0.2225758284330368,
|
| 1047 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 1048 |
-
"rewards/location_artifact_heatmap_reward": 0.6381765604019165,
|
| 1049 |
-
"rewards/location_misalighment_heatmap_reward": 0.8667387366294861,
|
| 1050 |
-
"rewards/overall_score_rewards": 0.4675000309944153,
|
| 1051 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 1052 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 1053 |
-
"step": 58
|
| 1054 |
-
},
|
| 1055 |
-
{
|
| 1056 |
-
"clip_ratio": 0.0,
|
| 1057 |
-
"completion_length": 321.375,
|
| 1058 |
-
"epoch": 0.014925373134328358,
|
| 1059 |
-
"grad_norm": 9.785571098327637,
|
| 1060 |
-
"kl": 0.06494140625,
|
| 1061 |
-
"learning_rate": 9.925373134328357e-07,
|
| 1062 |
-
"loss": 0.0026,
|
| 1063 |
-
"reward": 5.335415840148926,
|
| 1064 |
-
"reward_std": 0.08124318718910217,
|
| 1065 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 1066 |
-
"rewards/location_artifact_heatmap_reward": 0.6716148853302002,
|
| 1067 |
-
"rewards/location_misalighment_heatmap_reward": 0.8438011407852173,
|
| 1068 |
-
"rewards/overall_score_rewards": 0.8200001120567322,
|
| 1069 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 1070 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 1071 |
-
"step": 59
|
| 1072 |
-
},
|
| 1073 |
-
{
|
| 1074 |
-
"clip_ratio": 0.0,
|
| 1075 |
-
"completion_length": 435.25,
|
| 1076 |
-
"epoch": 0.015178345560333924,
|
| 1077 |
-
"grad_norm": 2.9662091732025146,
|
| 1078 |
-
"kl": 0.004852294921875,
|
| 1079 |
-
"learning_rate": 9.92410827219833e-07,
|
| 1080 |
-
"loss": 0.0002,
|
| 1081 |
-
"reward": 5.437358856201172,
|
| 1082 |
-
"reward_std": 0.049164045602083206,
|
| 1083 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 1084 |
-
"rewards/location_artifact_heatmap_reward": 0.6008865833282471,
|
| 1085 |
-
"rewards/location_misalighment_heatmap_reward": 0.8664723634719849,
|
| 1086 |
-
"rewards/overall_score_rewards": 0.9700000286102295,
|
| 1087 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 1088 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 1089 |
-
"step": 60
|
| 1090 |
-
},
|
| 1091 |
-
{
|
| 1092 |
-
"clip_ratio": 0.0,
|
| 1093 |
-
"completion_length": 471.5,
|
| 1094 |
-
"epoch": 0.01543131798633949,
|
| 1095 |
-
"grad_norm": 2.7331151962280273,
|
| 1096 |
-
"kl": 0.0037994384765625,
|
| 1097 |
-
"learning_rate": 9.922843410068303e-07,
|
| 1098 |
-
"loss": 0.0001,
|
| 1099 |
-
"reward": 5.221156120300293,
|
| 1100 |
-
"reward_std": 0.05214188992977142,
|
| 1101 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 1102 |
-
"rewards/location_artifact_heatmap_reward": 0.46495527029037476,
|
| 1103 |
-
"rewards/location_misalighment_heatmap_reward": 0.8499510288238525,
|
| 1104 |
-
"rewards/overall_score_rewards": 0.90625,
|
| 1105 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 1106 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 1107 |
-
"step": 61
|
| 1108 |
-
},
|
| 1109 |
-
{
|
| 1110 |
-
"clip_ratio": 0.0,
|
| 1111 |
-
"completion_length": 511.875,
|
| 1112 |
-
"epoch": 0.015684290412345054,
|
| 1113 |
-
"grad_norm": 3.0238466262817383,
|
| 1114 |
-
"kl": 0.00127410888671875,
|
| 1115 |
-
"learning_rate": 9.921578547938274e-07,
|
| 1116 |
-
"loss": 0.0001,
|
| 1117 |
-
"reward": 5.261039733886719,
|
| 1118 |
-
"reward_std": 0.13529786467552185,
|
| 1119 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 1120 |
-
"rewards/location_artifact_heatmap_reward": 0.6692686676979065,
|
| 1121 |
-
"rewards/location_misalighment_heatmap_reward": 0.8092712163925171,
|
| 1122 |
-
"rewards/overall_score_rewards": 0.7825000286102295,
|
| 1123 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 1124 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 1125 |
-
"step": 62
|
| 1126 |
-
},
|
| 1127 |
-
{
|
| 1128 |
-
"clip_ratio": 0.0,
|
| 1129 |
-
"completion_length": 476.625,
|
| 1130 |
-
"epoch": 0.01593726283835062,
|
| 1131 |
-
"grad_norm": 5.247809410095215,
|
| 1132 |
-
"kl": 0.001953125,
|
| 1133 |
-
"learning_rate": 9.920313685808245e-07,
|
| 1134 |
-
"loss": 0.0001,
|
| 1135 |
-
"reward": 5.164344787597656,
|
| 1136 |
-
"reward_std": 0.10323432087898254,
|
| 1137 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 1138 |
-
"rewards/location_artifact_heatmap_reward": 0.34531018137931824,
|
| 1139 |
-
"rewards/location_misalighment_heatmap_reward": 0.9427845478057861,
|
| 1140 |
-
"rewards/overall_score_rewards": 0.8762500286102295,
|
| 1141 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 1142 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 1143 |
-
"step": 63
|
| 1144 |
-
},
|
| 1145 |
-
{
|
| 1146 |
-
"clip_ratio": 0.0,
|
| 1147 |
-
"completion_length": 528.75,
|
| 1148 |
-
"epoch": 0.016190235264356184,
|
| 1149 |
-
"grad_norm": 15.859211921691895,
|
| 1150 |
-
"kl": 0.0027313232421875,
|
| 1151 |
-
"learning_rate": 9.919048823678218e-07,
|
| 1152 |
-
"loss": 0.0001,
|
| 1153 |
-
"reward": 5.229736328125,
|
| 1154 |
-
"reward_std": 0.08716608583927155,
|
| 1155 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 1156 |
-
"rewards/location_artifact_heatmap_reward": 0.7767056226730347,
|
| 1157 |
-
"rewards/location_misalighment_heatmap_reward": 0.7005307078361511,
|
| 1158 |
-
"rewards/overall_score_rewards": 0.752500057220459,
|
| 1159 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 1160 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 1161 |
-
"step": 64
|
| 1162 |
-
},
|
| 1163 |
-
{
|
| 1164 |
-
"clip_ratio": 0.0,
|
| 1165 |
-
"completion_length": 466.5,
|
| 1166 |
-
"epoch": 0.016443207690361752,
|
| 1167 |
-
"grad_norm": 3.4766626358032227,
|
| 1168 |
-
"kl": 0.0013580322265625,
|
| 1169 |
-
"learning_rate": 9.917783961548192e-07,
|
| 1170 |
-
"loss": 0.0001,
|
| 1171 |
-
"reward": 5.607626914978027,
|
| 1172 |
-
"reward_std": 0.12780779600143433,
|
| 1173 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 1174 |
-
"rewards/location_artifact_heatmap_reward": 0.7906875610351562,
|
| 1175 |
-
"rewards/location_misalighment_heatmap_reward": 0.9669394493103027,
|
| 1176 |
-
"rewards/overall_score_rewards": 0.8500000834465027,
|
| 1177 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 1178 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 1179 |
-
"step": 65
|
| 1180 |
-
},
|
| 1181 |
-
{
|
| 1182 |
-
"clip_ratio": 0.0,
|
| 1183 |
-
"completion_length": 458.375,
|
| 1184 |
-
"epoch": 0.016696180116367317,
|
| 1185 |
-
"grad_norm": 4.968540191650391,
|
| 1186 |
-
"kl": 0.00372314453125,
|
| 1187 |
-
"learning_rate": 9.916519099418163e-07,
|
| 1188 |
-
"loss": 0.0001,
|
| 1189 |
-
"reward": 5.4170660972595215,
|
| 1190 |
-
"reward_std": 0.1274934560060501,
|
| 1191 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 1192 |
-
"rewards/location_artifact_heatmap_reward": 0.7114583253860474,
|
| 1193 |
-
"rewards/location_misalighment_heatmap_reward": 0.7993578910827637,
|
| 1194 |
-
"rewards/overall_score_rewards": 0.90625,
|
| 1195 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 1196 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 1197 |
-
"step": 66
|
| 1198 |
-
},
|
| 1199 |
-
{
|
| 1200 |
-
"clip_ratio": 0.0,
|
| 1201 |
-
"completion_length": 484.875,
|
| 1202 |
-
"epoch": 0.01694915254237288,
|
| 1203 |
-
"grad_norm": 4.454622268676758,
|
| 1204 |
-
"kl": 0.0025634765625,
|
| 1205 |
-
"learning_rate": 9.915254237288136e-07,
|
| 1206 |
-
"loss": 0.0001,
|
| 1207 |
-
"reward": 5.413036346435547,
|
| 1208 |
-
"reward_std": 0.055481187999248505,
|
| 1209 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 1210 |
-
"rewards/location_artifact_heatmap_reward": 0.8084956407546997,
|
| 1211 |
-
"rewards/location_misalighment_heatmap_reward": 0.7620410919189453,
|
| 1212 |
-
"rewards/overall_score_rewards": 0.8424999713897705,
|
| 1213 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 1214 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 1215 |
-
"step": 67
|
| 1216 |
-
},
|
| 1217 |
-
{
|
| 1218 |
-
"clip_ratio": 0.0,
|
| 1219 |
-
"completion_length": 521.125,
|
| 1220 |
-
"epoch": 0.017202124968378446,
|
| 1221 |
-
"grad_norm": 2.575721263885498,
|
| 1222 |
-
"kl": 0.001861572265625,
|
| 1223 |
-
"learning_rate": 9.913989375158107e-07,
|
| 1224 |
-
"loss": 0.0001,
|
| 1225 |
-
"reward": 5.65494441986084,
|
| 1226 |
-
"reward_std": 0.09674935042858124,
|
| 1227 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 1228 |
-
"rewards/location_artifact_heatmap_reward": 0.885114312171936,
|
| 1229 |
-
"rewards/location_misalighment_heatmap_reward": 0.8710803985595703,
|
| 1230 |
-
"rewards/overall_score_rewards": 0.8987499475479126,
|
| 1231 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 1232 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 1233 |
-
"step": 68
|
| 1234 |
-
},
|
| 1235 |
-
{
|
| 1236 |
-
"clip_ratio": 0.0,
|
| 1237 |
-
"completion_length": 472.875,
|
| 1238 |
-
"epoch": 0.01745509739438401,
|
| 1239 |
-
"grad_norm": 2.5332581996917725,
|
| 1240 |
-
"kl": 0.00130462646484375,
|
| 1241 |
-
"learning_rate": 9.91272451302808e-07,
|
| 1242 |
-
"loss": 0.0001,
|
| 1243 |
-
"reward": 5.421402454376221,
|
| 1244 |
-
"reward_std": 0.18434956669807434,
|
| 1245 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 1246 |
-
"rewards/location_artifact_heatmap_reward": 0.9000935554504395,
|
| 1247 |
-
"rewards/location_misalighment_heatmap_reward": 0.7688089609146118,
|
| 1248 |
-
"rewards/overall_score_rewards": 0.752500057220459,
|
| 1249 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 1250 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 1251 |
-
"step": 69
|
| 1252 |
-
},
|
| 1253 |
-
{
|
| 1254 |
-
"clip_ratio": 0.0,
|
| 1255 |
-
"completion_length": 466.5,
|
| 1256 |
-
"epoch": 0.01770806982038958,
|
| 1257 |
-
"grad_norm": 5.255011558532715,
|
| 1258 |
-
"kl": 0.0054931640625,
|
| 1259 |
-
"learning_rate": 9.911459650898053e-07,
|
| 1260 |
-
"loss": 0.0002,
|
| 1261 |
-
"reward": 4.905242443084717,
|
| 1262 |
-
"reward_std": 0.17114639282226562,
|
| 1263 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 1264 |
-
"rewards/location_artifact_heatmap_reward": 0.4978741407394409,
|
| 1265 |
-
"rewards/location_misalighment_heatmap_reward": 0.5911184549331665,
|
| 1266 |
-
"rewards/overall_score_rewards": 0.8162500858306885,
|
| 1267 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 1268 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 1269 |
-
"step": 70
|
| 1270 |
-
},
|
| 1271 |
-
{
|
| 1272 |
-
"clip_ratio": 0.0,
|
| 1273 |
-
"completion_length": 488.75,
|
| 1274 |
-
"epoch": 0.017961042246395144,
|
| 1275 |
-
"grad_norm": 2.3159234523773193,
|
| 1276 |
-
"kl": 0.00160980224609375,
|
| 1277 |
-
"learning_rate": 9.910194788768024e-07,
|
| 1278 |
-
"loss": 0.0,
|
| 1279 |
-
"reward": 5.508110046386719,
|
| 1280 |
-
"reward_std": 0.04277314990758896,
|
| 1281 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 1282 |
-
"rewards/location_artifact_heatmap_reward": 0.8036966323852539,
|
| 1283 |
-
"rewards/location_misalighment_heatmap_reward": 0.8544133305549622,
|
| 1284 |
-
"rewards/overall_score_rewards": 0.8500000834465027,
|
| 1285 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 1286 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 1287 |
-
"step": 71
|
| 1288 |
-
},
|
| 1289 |
-
{
|
| 1290 |
-
"clip_ratio": 0.0,
|
| 1291 |
-
"completion_length": 483.125,
|
| 1292 |
-
"epoch": 0.01821401467240071,
|
| 1293 |
-
"grad_norm": 4.344380855560303,
|
| 1294 |
-
"kl": 0.0016632080078125,
|
| 1295 |
-
"learning_rate": 9.908929926637995e-07,
|
| 1296 |
-
"loss": 0.0001,
|
| 1297 |
-
"reward": 5.345328330993652,
|
| 1298 |
-
"reward_std": 0.09193618595600128,
|
| 1299 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 1300 |
-
"rewards/location_artifact_heatmap_reward": 0.7422531843185425,
|
| 1301 |
-
"rewards/location_misalighment_heatmap_reward": 0.7868252396583557,
|
| 1302 |
-
"rewards/overall_score_rewards": 0.8162499666213989,
|
| 1303 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 1304 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 1305 |
-
"step": 72
|
| 1306 |
-
},
|
| 1307 |
-
{
|
| 1308 |
-
"clip_ratio": 0.0,
|
| 1309 |
-
"completion_length": 472.625,
|
| 1310 |
-
"epoch": 0.018466987098406273,
|
| 1311 |
-
"grad_norm": 3.2257914543151855,
|
| 1312 |
-
"kl": 0.00144195556640625,
|
| 1313 |
-
"learning_rate": 9.907665064507968e-07,
|
| 1314 |
-
"loss": 0.0005,
|
| 1315 |
-
"reward": 5.4638800621032715,
|
| 1316 |
-
"reward_std": 0.09152112156152725,
|
| 1317 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 1318 |
-
"rewards/location_artifact_heatmap_reward": 0.6981525421142578,
|
| 1319 |
-
"rewards/location_misalighment_heatmap_reward": 0.8894773721694946,
|
| 1320 |
-
"rewards/overall_score_rewards": 0.8762500286102295,
|
| 1321 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 1322 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 1323 |
-
"step": 73
|
| 1324 |
-
},
|
| 1325 |
-
{
|
| 1326 |
-
"clip_ratio": 0.0,
|
| 1327 |
-
"completion_length": 503.25,
|
| 1328 |
-
"epoch": 0.018719959524411838,
|
| 1329 |
-
"grad_norm": 2.601001501083374,
|
| 1330 |
-
"kl": 0.003662109375,
|
| 1331 |
-
"learning_rate": 9.906400202377941e-07,
|
| 1332 |
-
"loss": 0.0001,
|
| 1333 |
-
"reward": 5.326350688934326,
|
| 1334 |
-
"reward_std": 0.08632879704236984,
|
| 1335 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 1336 |
-
"rewards/location_artifact_heatmap_reward": 0.6927300095558167,
|
| 1337 |
-
"rewards/location_misalighment_heatmap_reward": 0.7536205649375916,
|
| 1338 |
-
"rewards/overall_score_rewards": 0.8800000548362732,
|
| 1339 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 1340 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 1341 |
-
"step": 74
|
| 1342 |
-
},
|
| 1343 |
-
{
|
| 1344 |
-
"clip_ratio": 0.0,
|
| 1345 |
-
"completion_length": 486.125,
|
| 1346 |
-
"epoch": 0.018972931950417403,
|
| 1347 |
-
"grad_norm": 4.618655204772949,
|
| 1348 |
-
"kl": 0.00168609619140625,
|
| 1349 |
-
"learning_rate": 9.905135340247912e-07,
|
| 1350 |
-
"loss": 0.0001,
|
| 1351 |
-
"reward": 5.580634117126465,
|
| 1352 |
-
"reward_std": 0.14603908360004425,
|
| 1353 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 1354 |
-
"rewards/location_artifact_heatmap_reward": 0.8971958160400391,
|
| 1355 |
-
"rewards/location_misalighment_heatmap_reward": 0.8446887135505676,
|
| 1356 |
-
"rewards/overall_score_rewards": 0.8387500047683716,
|
| 1357 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 1358 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 1359 |
-
"step": 75
|
| 1360 |
-
},
|
| 1361 |
-
{
|
| 1362 |
-
"clip_ratio": 0.0,
|
| 1363 |
-
"completion_length": 507.375,
|
| 1364 |
-
"epoch": 0.01922590437642297,
|
| 1365 |
-
"grad_norm": 3.295837640762329,
|
| 1366 |
-
"kl": 0.00177001953125,
|
| 1367 |
-
"learning_rate": 9.903870478117885e-07,
|
| 1368 |
-
"loss": 0.0001,
|
| 1369 |
-
"reward": 5.342641830444336,
|
| 1370 |
-
"reward_std": 0.10630211234092712,
|
| 1371 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 1372 |
-
"rewards/location_artifact_heatmap_reward": 0.7530924081802368,
|
| 1373 |
-
"rewards/location_misalighment_heatmap_reward": 0.6832996010780334,
|
| 1374 |
-
"rewards/overall_score_rewards": 0.90625,
|
| 1375 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 1376 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 1377 |
-
"step": 76
|
| 1378 |
-
},
|
| 1379 |
-
{
|
| 1380 |
-
"clip_ratio": 0.0,
|
| 1381 |
-
"completion_length": 477.25,
|
| 1382 |
-
"epoch": 0.019478876802428536,
|
| 1383 |
-
"grad_norm": 5.158864498138428,
|
| 1384 |
-
"kl": 0.00182342529296875,
|
| 1385 |
-
"learning_rate": 9.902605615987856e-07,
|
| 1386 |
-
"loss": 0.0001,
|
| 1387 |
-
"reward": 5.472329616546631,
|
| 1388 |
-
"reward_std": 0.20435674488544464,
|
| 1389 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 1390 |
-
"rewards/location_artifact_heatmap_reward": 0.7965782880783081,
|
| 1391 |
-
"rewards/location_misalighment_heatmap_reward": 0.8632513284683228,
|
| 1392 |
-
"rewards/overall_score_rewards": 0.8125,
|
| 1393 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 1394 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 1395 |
-
"step": 77
|
| 1396 |
-
},
|
| 1397 |
-
{
|
| 1398 |
-
"clip_ratio": 0.0,
|
| 1399 |
-
"completion_length": 458.0,
|
| 1400 |
-
"epoch": 0.0197318492284341,
|
| 1401 |
-
"grad_norm": 3.044123649597168,
|
| 1402 |
-
"kl": 0.00634765625,
|
| 1403 |
-
"learning_rate": 9.90134075385783e-07,
|
| 1404 |
-
"loss": 0.0003,
|
| 1405 |
-
"reward": 5.425571918487549,
|
| 1406 |
-
"reward_std": 0.09147030115127563,
|
| 1407 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 1408 |
-
"rewards/location_artifact_heatmap_reward": 0.8515055179595947,
|
| 1409 |
-
"rewards/location_misalighment_heatmap_reward": 0.6940664052963257,
|
| 1410 |
-
"rewards/overall_score_rewards": 0.8800000548362732,
|
| 1411 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 1412 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 1413 |
-
"step": 78
|
| 1414 |
-
},
|
| 1415 |
-
{
|
| 1416 |
-
"clip_ratio": 0.0,
|
| 1417 |
-
"completion_length": 471.625,
|
| 1418 |
-
"epoch": 0.019984821654439665,
|
| 1419 |
-
"grad_norm": 5.804065227508545,
|
| 1420 |
-
"kl": 0.00201416015625,
|
| 1421 |
-
"learning_rate": 9.9000758917278e-07,
|
| 1422 |
-
"loss": 0.0001,
|
| 1423 |
-
"reward": 5.500574111938477,
|
| 1424 |
-
"reward_std": 0.09330915659666061,
|
| 1425 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 1426 |
-
"rewards/location_artifact_heatmap_reward": 0.7922377586364746,
|
| 1427 |
-
"rewards/location_misalighment_heatmap_reward": 0.8920866847038269,
|
| 1428 |
-
"rewards/overall_score_rewards": 0.8162499666213989,
|
| 1429 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 1430 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 1431 |
-
"step": 79
|
| 1432 |
-
},
|
| 1433 |
-
{
|
| 1434 |
-
"clip_ratio": 0.0,
|
| 1435 |
-
"completion_length": 500.125,
|
| 1436 |
-
"epoch": 0.02023779408044523,
|
| 1437 |
-
"grad_norm": 7.658450126647949,
|
| 1438 |
-
"kl": 0.001953125,
|
| 1439 |
-
"learning_rate": 9.898811029597774e-07,
|
| 1440 |
-
"loss": 0.0001,
|
| 1441 |
-
"reward": 5.096043586730957,
|
| 1442 |
-
"reward_std": 0.10247534513473511,
|
| 1443 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 1444 |
-
"rewards/location_artifact_heatmap_reward": 0.5063791275024414,
|
| 1445 |
-
"rewards/location_misalighment_heatmap_reward": 0.8409141302108765,
|
| 1446 |
-
"rewards/overall_score_rewards": 0.7487500309944153,
|
| 1447 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 1448 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 1449 |
-
"step": 80
|
| 1450 |
-
},
|
| 1451 |
-
{
|
| 1452 |
-
"clip_ratio": 0.0,
|
| 1453 |
-
"completion_length": 452.25,
|
| 1454 |
-
"epoch": 0.0204907665064508,
|
| 1455 |
-
"grad_norm": 5.492777347564697,
|
| 1456 |
-
"kl": 0.00182342529296875,
|
| 1457 |
-
"learning_rate": 9.897546167467745e-07,
|
| 1458 |
-
"loss": 0.0001,
|
| 1459 |
-
"reward": 5.383922576904297,
|
| 1460 |
-
"reward_std": 0.09438686072826385,
|
| 1461 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 1462 |
-
"rewards/location_artifact_heatmap_reward": 0.7550057172775269,
|
| 1463 |
-
"rewards/location_misalighment_heatmap_reward": 0.7526668310165405,
|
| 1464 |
-
"rewards/overall_score_rewards": 0.8762500286102295,
|
| 1465 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 1466 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 1467 |
-
"step": 81
|
| 1468 |
-
},
|
| 1469 |
-
{
|
| 1470 |
-
"clip_ratio": 0.0,
|
| 1471 |
-
"completion_length": 450.125,
|
| 1472 |
-
"epoch": 0.020743738932456363,
|
| 1473 |
-
"grad_norm": 5.516570568084717,
|
| 1474 |
-
"kl": 0.00160980224609375,
|
| 1475 |
-
"learning_rate": 9.896281305337718e-07,
|
| 1476 |
-
"loss": 0.0001,
|
| 1477 |
-
"reward": 5.369076251983643,
|
| 1478 |
-
"reward_std": 0.12602126598358154,
|
| 1479 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 1480 |
-
"rewards/location_artifact_heatmap_reward": 0.8047648668289185,
|
| 1481 |
-
"rewards/location_misalighment_heatmap_reward": 0.7593116164207458,
|
| 1482 |
-
"rewards/overall_score_rewards": 0.8050000071525574,
|
| 1483 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 1484 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 1485 |
-
"step": 82
|
| 1486 |
-
},
|
| 1487 |
-
{
|
| 1488 |
-
"clip_ratio": 0.0,
|
| 1489 |
-
"completion_length": 491.5,
|
| 1490 |
-
"epoch": 0.020996711358461928,
|
| 1491 |
-
"grad_norm": 3.835981607437134,
|
| 1492 |
-
"kl": 0.001800537109375,
|
| 1493 |
-
"learning_rate": 9.89501644320769e-07,
|
| 1494 |
-
"loss": 0.0001,
|
| 1495 |
-
"reward": 5.489201545715332,
|
| 1496 |
-
"reward_std": 0.08540283143520355,
|
| 1497 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 1498 |
-
"rewards/location_artifact_heatmap_reward": 0.7125409245491028,
|
| 1499 |
-
"rewards/location_misalighment_heatmap_reward": 0.9004106521606445,
|
| 1500 |
-
"rewards/overall_score_rewards": 0.8762500286102295,
|
| 1501 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 1502 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 1503 |
-
"step": 83
|
| 1504 |
-
},
|
| 1505 |
-
{
|
| 1506 |
-
"clip_ratio": 0.0,
|
| 1507 |
-
"completion_length": 496.375,
|
| 1508 |
-
"epoch": 0.021249683784467493,
|
| 1509 |
-
"grad_norm": 2.8858718872070312,
|
| 1510 |
-
"kl": 0.002593994140625,
|
| 1511 |
-
"learning_rate": 9.893751581077662e-07,
|
| 1512 |
-
"loss": 0.0001,
|
| 1513 |
-
"reward": 5.359023571014404,
|
| 1514 |
-
"reward_std": 0.1377764344215393,
|
| 1515 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 1516 |
-
"rewards/location_artifact_heatmap_reward": 0.7235873937606812,
|
| 1517 |
-
"rewards/location_misalighment_heatmap_reward": 0.8529358506202698,
|
| 1518 |
-
"rewards/overall_score_rewards": 0.7825000286102295,
|
| 1519 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 1520 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 1521 |
-
"step": 84
|
| 1522 |
-
},
|
| 1523 |
-
{
|
| 1524 |
-
"clip_ratio": 0.0,
|
| 1525 |
-
"completion_length": 475.125,
|
| 1526 |
-
"epoch": 0.021502656210473058,
|
| 1527 |
-
"grad_norm": 2.8391635417938232,
|
| 1528 |
-
"kl": 0.00176239013671875,
|
| 1529 |
-
"learning_rate": 9.892486718947635e-07,
|
| 1530 |
-
"loss": 0.0001,
|
| 1531 |
-
"reward": 5.476465225219727,
|
| 1532 |
-
"reward_std": 0.05020717903971672,
|
| 1533 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 1534 |
-
"rewards/location_artifact_heatmap_reward": 0.8874689936637878,
|
| 1535 |
-
"rewards/location_misalighment_heatmap_reward": 0.8102465271949768,
|
| 1536 |
-
"rewards/overall_score_rewards": 0.7787500023841858,
|
| 1537 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 1538 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 1539 |
-
"step": 85
|
| 1540 |
-
},
|
| 1541 |
-
{
|
| 1542 |
-
"clip_ratio": 0.0,
|
| 1543 |
-
"completion_length": 483.625,
|
| 1544 |
-
"epoch": 0.021755628636478622,
|
| 1545 |
-
"grad_norm": 3.5714197158813477,
|
| 1546 |
-
"kl": 0.00225830078125,
|
| 1547 |
-
"learning_rate": 9.891221856817606e-07,
|
| 1548 |
-
"loss": 0.0001,
|
| 1549 |
-
"reward": 5.499442100524902,
|
| 1550 |
-
"reward_std": 0.1941453218460083,
|
| 1551 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 1552 |
-
"rewards/location_artifact_heatmap_reward": 0.8186551332473755,
|
| 1553 |
-
"rewards/location_misalighment_heatmap_reward": 0.8682875037193298,
|
| 1554 |
-
"rewards/overall_score_rewards": 0.8125,
|
| 1555 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 1556 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 1557 |
-
"step": 86
|
| 1558 |
-
},
|
| 1559 |
-
{
|
| 1560 |
-
"clip_ratio": 0.0,
|
| 1561 |
-
"completion_length": 463.0,
|
| 1562 |
-
"epoch": 0.02200860106248419,
|
| 1563 |
-
"grad_norm": 3.722184658050537,
|
| 1564 |
-
"kl": 0.00185394287109375,
|
| 1565 |
-
"learning_rate": 9.88995699468758e-07,
|
| 1566 |
-
"loss": 0.0001,
|
| 1567 |
-
"reward": 5.329732894897461,
|
| 1568 |
-
"reward_std": 0.14551502466201782,
|
| 1569 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 1570 |
-
"rewards/location_artifact_heatmap_reward": 0.7463504076004028,
|
| 1571 |
-
"rewards/location_misalighment_heatmap_reward": 0.7371325492858887,
|
| 1572 |
-
"rewards/overall_score_rewards": 0.846250057220459,
|
| 1573 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 1574 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 1575 |
-
"step": 87
|
| 1576 |
-
},
|
| 1577 |
-
{
|
| 1578 |
-
"clip_ratio": 0.0,
|
| 1579 |
-
"completion_length": 481.5,
|
| 1580 |
-
"epoch": 0.022261573488489755,
|
| 1581 |
-
"grad_norm": 6.236143589019775,
|
| 1582 |
-
"kl": 0.00238037109375,
|
| 1583 |
-
"learning_rate": 9.88869213255755e-07,
|
| 1584 |
-
"loss": 0.0001,
|
| 1585 |
-
"reward": 5.474348068237305,
|
| 1586 |
-
"reward_std": 0.09561501443386078,
|
| 1587 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 1588 |
-
"rewards/location_artifact_heatmap_reward": 0.729633629322052,
|
| 1589 |
-
"rewards/location_misalighment_heatmap_reward": 0.8684642910957336,
|
| 1590 |
-
"rewards/overall_score_rewards": 0.8762500286102295,
|
| 1591 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 1592 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 1593 |
-
"step": 88
|
| 1594 |
-
},
|
| 1595 |
-
{
|
| 1596 |
-
"clip_ratio": 0.0,
|
| 1597 |
-
"completion_length": 455.375,
|
| 1598 |
-
"epoch": 0.02251454591449532,
|
| 1599 |
-
"grad_norm": 2.780856132507324,
|
| 1600 |
-
"kl": 0.00173187255859375,
|
| 1601 |
-
"learning_rate": 9.887427270427523e-07,
|
| 1602 |
-
"loss": 0.0001,
|
| 1603 |
-
"reward": 5.335257053375244,
|
| 1604 |
-
"reward_std": 0.10799127072095871,
|
| 1605 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 1606 |
-
"rewards/location_artifact_heatmap_reward": 0.7437273263931274,
|
| 1607 |
-
"rewards/location_misalighment_heatmap_reward": 0.779029905796051,
|
| 1608 |
-
"rewards/overall_score_rewards": 0.8125,
|
| 1609 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 1610 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 1611 |
-
"step": 89
|
| 1612 |
-
},
|
| 1613 |
-
{
|
| 1614 |
-
"clip_ratio": 0.0,
|
| 1615 |
-
"completion_length": 448.125,
|
| 1616 |
-
"epoch": 0.022767518340500885,
|
| 1617 |
-
"grad_norm": 4.681956768035889,
|
| 1618 |
-
"kl": 0.001678466796875,
|
| 1619 |
-
"learning_rate": 9.886162408297494e-07,
|
| 1620 |
-
"loss": 0.0001,
|
| 1621 |
-
"reward": 5.363909721374512,
|
| 1622 |
-
"reward_std": 0.22407092154026031,
|
| 1623 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 1624 |
-
"rewards/location_artifact_heatmap_reward": 0.6742722392082214,
|
| 1625 |
-
"rewards/location_misalighment_heatmap_reward": 0.9108874797821045,
|
| 1626 |
-
"rewards/overall_score_rewards": 0.778749942779541,
|
| 1627 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 1628 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 1629 |
-
"step": 90
|
| 1630 |
-
},
|
| 1631 |
-
{
|
| 1632 |
-
"clip_ratio": 0.0,
|
| 1633 |
-
"completion_length": 505.125,
|
| 1634 |
-
"epoch": 0.02302049076650645,
|
| 1635 |
-
"grad_norm": 10.409021377563477,
|
| 1636 |
-
"kl": 0.00347900390625,
|
| 1637 |
-
"learning_rate": 9.884897546167468e-07,
|
| 1638 |
-
"loss": 0.0001,
|
| 1639 |
-
"reward": 5.44618034362793,
|
| 1640 |
-
"reward_std": 0.039001766592264175,
|
| 1641 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 1642 |
-
"rewards/location_artifact_heatmap_reward": 0.8661985397338867,
|
| 1643 |
-
"rewards/location_misalighment_heatmap_reward": 0.8612315654754639,
|
| 1644 |
-
"rewards/overall_score_rewards": 0.71875,
|
| 1645 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 1646 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 1647 |
-
"step": 91
|
| 1648 |
-
},
|
| 1649 |
-
{
|
| 1650 |
-
"clip_ratio": 0.0,
|
| 1651 |
-
"completion_length": 493.25,
|
| 1652 |
-
"epoch": 0.023273463192512018,
|
| 1653 |
-
"grad_norm": 3.5002048015594482,
|
| 1654 |
-
"kl": 0.0023345947265625,
|
| 1655 |
-
"learning_rate": 9.883632684037439e-07,
|
| 1656 |
-
"loss": 0.0003,
|
| 1657 |
-
"reward": 5.219611167907715,
|
| 1658 |
-
"reward_std": 0.0013880643527954817,
|
| 1659 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 1660 |
-
"rewards/location_artifact_heatmap_reward": 0.6183225512504578,
|
| 1661 |
-
"rewards/location_misalighment_heatmap_reward": 0.7887887954711914,
|
| 1662 |
-
"rewards/overall_score_rewards": 0.8125,
|
| 1663 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 1664 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 1665 |
-
"step": 92
|
| 1666 |
-
},
|
| 1667 |
-
{
|
| 1668 |
-
"clip_ratio": 0.0,
|
| 1669 |
-
"completion_length": 469.125,
|
| 1670 |
-
"epoch": 0.023526435618517583,
|
| 1671 |
-
"grad_norm": 11.687639236450195,
|
| 1672 |
-
"kl": 0.0022430419921875,
|
| 1673 |
-
"learning_rate": 9.882367821907412e-07,
|
| 1674 |
-
"loss": 0.0001,
|
| 1675 |
-
"reward": 5.291659355163574,
|
| 1676 |
-
"reward_std": 0.13471651077270508,
|
| 1677 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 1678 |
-
"rewards/location_artifact_heatmap_reward": 0.6197956800460815,
|
| 1679 |
-
"rewards/location_misalighment_heatmap_reward": 0.8256136178970337,
|
| 1680 |
-
"rewards/overall_score_rewards": 0.846250057220459,
|
| 1681 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 1682 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 1683 |
-
"step": 93
|
| 1684 |
-
},
|
| 1685 |
-
{
|
| 1686 |
-
"clip_ratio": 0.0,
|
| 1687 |
-
"completion_length": 483.125,
|
| 1688 |
-
"epoch": 0.023779408044523147,
|
| 1689 |
-
"grad_norm": 10.824652671813965,
|
| 1690 |
-
"kl": 0.002227783203125,
|
| 1691 |
-
"learning_rate": 9.881102959777385e-07,
|
| 1692 |
-
"loss": 0.0001,
|
| 1693 |
-
"reward": 5.5981974601745605,
|
| 1694 |
-
"reward_std": 0.13304394483566284,
|
| 1695 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 1696 |
-
"rewards/location_artifact_heatmap_reward": 0.8992058634757996,
|
| 1697 |
-
"rewards/location_misalighment_heatmap_reward": 0.848991870880127,
|
| 1698 |
-
"rewards/overall_score_rewards": 0.8500000834465027,
|
| 1699 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 1700 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 1701 |
-
"step": 94
|
| 1702 |
-
},
|
| 1703 |
-
{
|
| 1704 |
-
"clip_ratio": 0.0,
|
| 1705 |
-
"completion_length": 515.625,
|
| 1706 |
-
"epoch": 0.024032380470528712,
|
| 1707 |
-
"grad_norm": 3.047670364379883,
|
| 1708 |
-
"kl": 0.001983642578125,
|
| 1709 |
-
"learning_rate": 9.879838097647356e-07,
|
| 1710 |
-
"loss": 0.0001,
|
| 1711 |
-
"reward": 5.459529876708984,
|
| 1712 |
-
"reward_std": 0.09775835275650024,
|
| 1713 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 1714 |
-
"rewards/location_artifact_heatmap_reward": 0.6944575309753418,
|
| 1715 |
-
"rewards/location_misalighment_heatmap_reward": 0.8325725197792053,
|
| 1716 |
-
"rewards/overall_score_rewards": 0.9324999451637268,
|
| 1717 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 1718 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 1719 |
-
"step": 95
|
| 1720 |
-
},
|
| 1721 |
-
{
|
| 1722 |
-
"clip_ratio": 0.0,
|
| 1723 |
-
"completion_length": 461.625,
|
| 1724 |
-
"epoch": 0.024285352896534277,
|
| 1725 |
-
"grad_norm": 5.527977466583252,
|
| 1726 |
-
"kl": 0.0020599365234375,
|
| 1727 |
-
"learning_rate": 9.878573235517329e-07,
|
| 1728 |
-
"loss": 0.0001,
|
| 1729 |
-
"reward": 5.455284595489502,
|
| 1730 |
-
"reward_std": 0.10044293105602264,
|
| 1731 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 1732 |
-
"rewards/location_artifact_heatmap_reward": 0.8116781711578369,
|
| 1733 |
-
"rewards/location_misalighment_heatmap_reward": 0.7673565149307251,
|
| 1734 |
-
"rewards/overall_score_rewards": 0.8762500286102295,
|
| 1735 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 1736 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 1737 |
-
"step": 96
|
| 1738 |
-
},
|
| 1739 |
-
{
|
| 1740 |
-
"clip_ratio": 0.0,
|
| 1741 |
-
"completion_length": 522.0,
|
| 1742 |
-
"epoch": 0.024538325322539842,
|
| 1743 |
-
"grad_norm": 4.630910396575928,
|
| 1744 |
-
"kl": 0.0020904541015625,
|
| 1745 |
-
"learning_rate": 9.8773083733873e-07,
|
| 1746 |
-
"loss": 0.0001,
|
| 1747 |
-
"reward": 5.352054595947266,
|
| 1748 |
-
"reward_std": 0.11839918047189713,
|
| 1749 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 1750 |
-
"rewards/location_artifact_heatmap_reward": 0.7040482759475708,
|
| 1751 |
-
"rewards/location_misalighment_heatmap_reward": 0.6780064105987549,
|
| 1752 |
-
"rewards/overall_score_rewards": 0.9700000286102295,
|
| 1753 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 1754 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 1755 |
-
"step": 97
|
| 1756 |
-
},
|
| 1757 |
-
{
|
| 1758 |
-
"clip_ratio": 0.0,
|
| 1759 |
-
"completion_length": 493.875,
|
| 1760 |
-
"epoch": 0.02479129774854541,
|
| 1761 |
-
"grad_norm": 3.0994019508361816,
|
| 1762 |
-
"kl": 0.0029296875,
|
| 1763 |
-
"learning_rate": 9.876043511257273e-07,
|
| 1764 |
-
"loss": 0.0001,
|
| 1765 |
-
"reward": 5.197859764099121,
|
| 1766 |
-
"reward_std": 0.10205817222595215,
|
| 1767 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 1768 |
-
"rewards/location_artifact_heatmap_reward": 0.6539163589477539,
|
| 1769 |
-
"rewards/location_misalighment_heatmap_reward": 0.6039435267448425,
|
| 1770 |
-
"rewards/overall_score_rewards": 0.940000057220459,
|
| 1771 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 1772 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 1773 |
-
"step": 98
|
| 1774 |
-
},
|
| 1775 |
-
{
|
| 1776 |
-
"clip_ratio": 0.0,
|
| 1777 |
-
"completion_length": 495.75,
|
| 1778 |
-
"epoch": 0.025044270174550975,
|
| 1779 |
-
"grad_norm": 2.118175506591797,
|
| 1780 |
-
"kl": 0.0023040771484375,
|
| 1781 |
-
"learning_rate": 9.874778649127244e-07,
|
| 1782 |
-
"loss": 0.0,
|
| 1783 |
-
"reward": 5.037291049957275,
|
| 1784 |
-
"reward_std": 0.07913331687450409,
|
| 1785 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 1786 |
-
"rewards/location_artifact_heatmap_reward": 0.4281021058559418,
|
| 1787 |
-
"rewards/location_misalighment_heatmap_reward": 0.7291893362998962,
|
| 1788 |
-
"rewards/overall_score_rewards": 0.8800000548362732,
|
| 1789 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 1790 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 1791 |
-
"step": 99
|
| 1792 |
-
},
|
| 1793 |
-
{
|
| 1794 |
-
"clip_ratio": 0.0,
|
| 1795 |
-
"completion_length": 454.5,
|
| 1796 |
-
"epoch": 0.02529724260055654,
|
| 1797 |
-
"grad_norm": 2.1774909496307373,
|
| 1798 |
-
"kl": 0.0022430419921875,
|
| 1799 |
-
"learning_rate": 9.873513786997217e-07,
|
| 1800 |
-
"loss": -0.0005,
|
| 1801 |
-
"reward": 5.463089466094971,
|
| 1802 |
-
"reward_std": 0.05613892897963524,
|
| 1803 |
-
"rewards/aesthetic_score_rewards": 1.0,
|
| 1804 |
-
"rewards/location_artifact_heatmap_reward": 0.7648959159851074,
|
| 1805 |
-
"rewards/location_misalighment_heatmap_reward": 0.7919434309005737,
|
| 1806 |
-
"rewards/overall_score_rewards": 0.90625,
|
| 1807 |
-
"rewards/plausibility_score_rewards": 1.0,
|
| 1808 |
-
"rewards/semantic_score_rewards": 1.0,
|
| 1809 |
-
"step": 100
|
| 1810 |
-
}
|
| 1811 |
-
],
|
| 1812 |
-
"logging_steps": 1.0,
|
| 1813 |
-
"max_steps": 7906,
|
| 1814 |
-
"num_input_tokens_seen": 0,
|
| 1815 |
-
"num_train_epochs": 2,
|
| 1816 |
-
"save_steps": 50,
|
| 1817 |
-
"stateful_callbacks": {
|
| 1818 |
-
"TrainerControl": {
|
| 1819 |
-
"args": {
|
| 1820 |
-
"should_epoch_stop": false,
|
| 1821 |
-
"should_evaluate": false,
|
| 1822 |
-
"should_log": false,
|
| 1823 |
-
"should_save": true,
|
| 1824 |
-
"should_training_stop": false
|
| 1825 |
-
},
|
| 1826 |
-
"attributes": {}
|
| 1827 |
-
}
|
| 1828 |
-
},
|
| 1829 |
-
"total_flos": 0.0,
|
| 1830 |
-
"train_batch_size": 1,
|
| 1831 |
-
"trial_name": null,
|
| 1832 |
-
"trial_params": null
|
| 1833 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
else/vocab.json
DELETED
|
The diff for this file is too large to render.
See raw diff
|
|
|
else/zero_to_fp32.py
DELETED
|
@@ -1,674 +0,0 @@
|
|
| 1 |
-
#!/usr/bin/env python
|
| 2 |
-
|
| 3 |
-
# Copyright (c) Microsoft Corporation.
|
| 4 |
-
# SPDX-License-Identifier: Apache-2.0
|
| 5 |
-
|
| 6 |
-
# DeepSpeed Team
|
| 7 |
-
|
| 8 |
-
# This script extracts fp32 consolidated weights from a zero 1, 2 and 3 DeepSpeed checkpoints. It gets
|
| 9 |
-
# copied into the top level checkpoint dir, so the user can easily do the conversion at any point in
|
| 10 |
-
# the future. Once extracted, the weights don't require DeepSpeed and can be used in any
|
| 11 |
-
# application.
|
| 12 |
-
#
|
| 13 |
-
# example:
|
| 14 |
-
# python zero_to_fp32.py . output_dir/
|
| 15 |
-
# or
|
| 16 |
-
# python zero_to_fp32.py . output_dir/ --safe_serialization
|
| 17 |
-
|
| 18 |
-
import argparse
|
| 19 |
-
import torch
|
| 20 |
-
import glob
|
| 21 |
-
import math
|
| 22 |
-
import os
|
| 23 |
-
import re
|
| 24 |
-
import json
|
| 25 |
-
from tqdm import tqdm
|
| 26 |
-
from collections import OrderedDict
|
| 27 |
-
from dataclasses import dataclass
|
| 28 |
-
|
| 29 |
-
# while this script doesn't use deepspeed to recover data, since the checkpoints are pickled with
|
| 30 |
-
# DeepSpeed data structures it has to be available in the current python environment.
|
| 31 |
-
from deepspeed.utils import logger
|
| 32 |
-
from deepspeed.checkpoint.constants import (DS_VERSION, OPTIMIZER_STATE_DICT, SINGLE_PARTITION_OF_FP32_GROUPS,
|
| 33 |
-
FP32_FLAT_GROUPS, ZERO_STAGE, PARTITION_COUNT, PARAM_SHAPES, BUFFER_NAMES,
|
| 34 |
-
FROZEN_PARAM_SHAPES, FROZEN_PARAM_FRAGMENTS)
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
@dataclass
|
| 38 |
-
class zero_model_state:
|
| 39 |
-
buffers: dict()
|
| 40 |
-
param_shapes: dict()
|
| 41 |
-
shared_params: list
|
| 42 |
-
ds_version: int
|
| 43 |
-
frozen_param_shapes: dict()
|
| 44 |
-
frozen_param_fragments: dict()
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
debug = 0
|
| 48 |
-
|
| 49 |
-
# load to cpu
|
| 50 |
-
device = torch.device('cpu')
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
def atoi(text):
|
| 54 |
-
return int(text) if text.isdigit() else text
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
def natural_keys(text):
|
| 58 |
-
'''
|
| 59 |
-
alist.sort(key=natural_keys) sorts in human order
|
| 60 |
-
http://nedbatchelder.com/blog/200712/human_sorting.html
|
| 61 |
-
(See Toothy's implementation in the comments)
|
| 62 |
-
'''
|
| 63 |
-
return [atoi(c) for c in re.split(r'(\d+)', text)]
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
def get_model_state_file(checkpoint_dir, zero_stage):
|
| 67 |
-
if not os.path.isdir(checkpoint_dir):
|
| 68 |
-
raise FileNotFoundError(f"Directory '{checkpoint_dir}' doesn't exist")
|
| 69 |
-
|
| 70 |
-
# there should be only one file
|
| 71 |
-
if zero_stage <= 2:
|
| 72 |
-
file = os.path.join(checkpoint_dir, "mp_rank_00_model_states.pt")
|
| 73 |
-
elif zero_stage == 3:
|
| 74 |
-
file = os.path.join(checkpoint_dir, "zero_pp_rank_0_mp_rank_00_model_states.pt")
|
| 75 |
-
|
| 76 |
-
if not os.path.exists(file):
|
| 77 |
-
raise FileNotFoundError(f"can't find model states file at '{file}'")
|
| 78 |
-
|
| 79 |
-
return file
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
def get_checkpoint_files(checkpoint_dir, glob_pattern):
|
| 83 |
-
# XXX: need to test that this simple glob rule works for multi-node setup too
|
| 84 |
-
ckpt_files = sorted(glob.glob(os.path.join(checkpoint_dir, glob_pattern)), key=natural_keys)
|
| 85 |
-
|
| 86 |
-
if len(ckpt_files) == 0:
|
| 87 |
-
raise FileNotFoundError(f"can't find {glob_pattern} files in directory '{checkpoint_dir}'")
|
| 88 |
-
|
| 89 |
-
return ckpt_files
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
def get_optim_files(checkpoint_dir):
|
| 93 |
-
return get_checkpoint_files(checkpoint_dir, "*_optim_states.pt")
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
def get_model_state_files(checkpoint_dir):
|
| 97 |
-
return get_checkpoint_files(checkpoint_dir, "*_model_states.pt")
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
def parse_model_states(files):
|
| 101 |
-
zero_model_states = []
|
| 102 |
-
for file in files:
|
| 103 |
-
state_dict = torch.load(file, map_location=device)
|
| 104 |
-
|
| 105 |
-
if BUFFER_NAMES not in state_dict:
|
| 106 |
-
raise ValueError(f"{file} is not a model state checkpoint")
|
| 107 |
-
buffer_names = state_dict[BUFFER_NAMES]
|
| 108 |
-
if debug:
|
| 109 |
-
print("Found buffers:", buffer_names)
|
| 110 |
-
|
| 111 |
-
# recover just the buffers while restoring them to fp32 if they were saved in fp16
|
| 112 |
-
buffers = {k: v.float() for k, v in state_dict["module"].items() if k in buffer_names}
|
| 113 |
-
param_shapes = state_dict[PARAM_SHAPES]
|
| 114 |
-
|
| 115 |
-
# collect parameters that are included in param_shapes
|
| 116 |
-
param_names = []
|
| 117 |
-
for s in param_shapes:
|
| 118 |
-
for name in s.keys():
|
| 119 |
-
param_names.append(name)
|
| 120 |
-
|
| 121 |
-
# update with frozen parameters
|
| 122 |
-
frozen_param_shapes = state_dict.get(FROZEN_PARAM_SHAPES, None)
|
| 123 |
-
if frozen_param_shapes is not None:
|
| 124 |
-
if debug:
|
| 125 |
-
print(f"Found frozen_param_shapes: {frozen_param_shapes}")
|
| 126 |
-
param_names += list(frozen_param_shapes.keys())
|
| 127 |
-
|
| 128 |
-
# handle shared params
|
| 129 |
-
shared_params = [[k, v] for k, v in state_dict["shared_params"].items()]
|
| 130 |
-
|
| 131 |
-
ds_version = state_dict.get(DS_VERSION, None)
|
| 132 |
-
|
| 133 |
-
frozen_param_fragments = state_dict.get(FROZEN_PARAM_FRAGMENTS, None)
|
| 134 |
-
|
| 135 |
-
z_model_state = zero_model_state(buffers=buffers,
|
| 136 |
-
param_shapes=param_shapes,
|
| 137 |
-
shared_params=shared_params,
|
| 138 |
-
ds_version=ds_version,
|
| 139 |
-
frozen_param_shapes=frozen_param_shapes,
|
| 140 |
-
frozen_param_fragments=frozen_param_fragments)
|
| 141 |
-
zero_model_states.append(z_model_state)
|
| 142 |
-
|
| 143 |
-
return zero_model_states
|
| 144 |
-
|
| 145 |
-
|
| 146 |
-
def parse_optim_states(files, ds_checkpoint_dir):
|
| 147 |
-
total_files = len(files)
|
| 148 |
-
state_dicts = []
|
| 149 |
-
for f in files:
|
| 150 |
-
state_dict = torch.load(f, map_location=device)
|
| 151 |
-
# immediately discard the potentially huge 2 optimizer states as we only care for fp32 master weights
|
| 152 |
-
# and also handle the case where it was already removed by another helper script
|
| 153 |
-
state_dict["optimizer_state_dict"].pop("optimizer_state_dict", None)
|
| 154 |
-
state_dicts.append(state_dict)
|
| 155 |
-
|
| 156 |
-
if not ZERO_STAGE in state_dicts[0][OPTIMIZER_STATE_DICT]:
|
| 157 |
-
raise ValueError(f"{files[0]} is not a zero checkpoint")
|
| 158 |
-
zero_stage = state_dicts[0][OPTIMIZER_STATE_DICT][ZERO_STAGE]
|
| 159 |
-
world_size = state_dicts[0][OPTIMIZER_STATE_DICT][PARTITION_COUNT]
|
| 160 |
-
|
| 161 |
-
# For ZeRO-2 each param group can have different partition_count as data parallelism for expert
|
| 162 |
-
# parameters can be different from data parallelism for non-expert parameters. So we can just
|
| 163 |
-
# use the max of the partition_count to get the dp world_size.
|
| 164 |
-
|
| 165 |
-
if type(world_size) is list:
|
| 166 |
-
world_size = max(world_size)
|
| 167 |
-
|
| 168 |
-
if world_size != total_files:
|
| 169 |
-
raise ValueError(
|
| 170 |
-
f"Expected {world_size} of '*_optim_states.pt' under '{ds_checkpoint_dir}' but found {total_files} files. "
|
| 171 |
-
"Possibly due to an overwrite of an old checkpoint, or a checkpoint didn't get saved by one or more processes."
|
| 172 |
-
)
|
| 173 |
-
|
| 174 |
-
# the groups are named differently in each stage
|
| 175 |
-
if zero_stage <= 2:
|
| 176 |
-
fp32_groups_key = SINGLE_PARTITION_OF_FP32_GROUPS
|
| 177 |
-
elif zero_stage == 3:
|
| 178 |
-
fp32_groups_key = FP32_FLAT_GROUPS
|
| 179 |
-
else:
|
| 180 |
-
raise ValueError(f"unknown zero stage {zero_stage}")
|
| 181 |
-
|
| 182 |
-
if zero_stage <= 2:
|
| 183 |
-
fp32_flat_groups = [state_dicts[i][OPTIMIZER_STATE_DICT][fp32_groups_key] for i in range(len(state_dicts))]
|
| 184 |
-
elif zero_stage == 3:
|
| 185 |
-
# if there is more than one param group, there will be multiple flattened tensors - one
|
| 186 |
-
# flattened tensor per group - for simplicity merge them into a single tensor
|
| 187 |
-
#
|
| 188 |
-
# XXX: could make the script more memory efficient for when there are multiple groups - it
|
| 189 |
-
# will require matching the sub-lists of param_shapes for each param group flattened tensor
|
| 190 |
-
|
| 191 |
-
fp32_flat_groups = [
|
| 192 |
-
torch.cat(state_dicts[i][OPTIMIZER_STATE_DICT][fp32_groups_key], 0) for i in range(len(state_dicts))
|
| 193 |
-
]
|
| 194 |
-
|
| 195 |
-
return zero_stage, world_size, fp32_flat_groups
|
| 196 |
-
|
| 197 |
-
|
| 198 |
-
def _get_fp32_state_dict_from_zero_checkpoint(ds_checkpoint_dir, exclude_frozen_parameters):
|
| 199 |
-
"""
|
| 200 |
-
Returns fp32 state_dict reconstructed from ds checkpoint
|
| 201 |
-
|
| 202 |
-
Args:
|
| 203 |
-
- ``ds_checkpoint_dir``: path to the deepspeed checkpoint folder (where the optimizer files are)
|
| 204 |
-
|
| 205 |
-
"""
|
| 206 |
-
print(f"Processing zero checkpoint '{ds_checkpoint_dir}'")
|
| 207 |
-
|
| 208 |
-
optim_files = get_optim_files(ds_checkpoint_dir)
|
| 209 |
-
zero_stage, world_size, fp32_flat_groups = parse_optim_states(optim_files, ds_checkpoint_dir)
|
| 210 |
-
print(f"Detected checkpoint of type zero stage {zero_stage}, world_size: {world_size}")
|
| 211 |
-
|
| 212 |
-
model_files = get_model_state_files(ds_checkpoint_dir)
|
| 213 |
-
|
| 214 |
-
zero_model_states = parse_model_states(model_files)
|
| 215 |
-
print(f'Parsing checkpoint created by deepspeed=={zero_model_states[0].ds_version}')
|
| 216 |
-
|
| 217 |
-
if zero_stage <= 2:
|
| 218 |
-
return _get_fp32_state_dict_from_zero2_checkpoint(world_size, fp32_flat_groups, zero_model_states,
|
| 219 |
-
exclude_frozen_parameters)
|
| 220 |
-
elif zero_stage == 3:
|
| 221 |
-
return _get_fp32_state_dict_from_zero3_checkpoint(world_size, fp32_flat_groups, zero_model_states,
|
| 222 |
-
exclude_frozen_parameters)
|
| 223 |
-
|
| 224 |
-
|
| 225 |
-
def _zero2_merge_frozen_params(state_dict, zero_model_states):
|
| 226 |
-
if zero_model_states[0].frozen_param_shapes is None or len(zero_model_states[0].frozen_param_shapes) == 0:
|
| 227 |
-
return
|
| 228 |
-
|
| 229 |
-
frozen_param_shapes = zero_model_states[0].frozen_param_shapes
|
| 230 |
-
frozen_param_fragments = zero_model_states[0].frozen_param_fragments
|
| 231 |
-
|
| 232 |
-
if debug:
|
| 233 |
-
num_elem = sum(s.numel() for s in frozen_param_shapes.values())
|
| 234 |
-
print(f'rank 0: {FROZEN_PARAM_SHAPES}.numel = {num_elem}')
|
| 235 |
-
|
| 236 |
-
wanted_params = len(frozen_param_shapes)
|
| 237 |
-
wanted_numel = sum(s.numel() for s in frozen_param_shapes.values())
|
| 238 |
-
avail_numel = sum([p.numel() for p in frozen_param_fragments.values()])
|
| 239 |
-
print(f'Frozen params: Have {avail_numel} numels to process.')
|
| 240 |
-
print(f'Frozen params: Need {wanted_numel} numels in {wanted_params} params')
|
| 241 |
-
|
| 242 |
-
total_params = 0
|
| 243 |
-
total_numel = 0
|
| 244 |
-
for name, shape in frozen_param_shapes.items():
|
| 245 |
-
total_params += 1
|
| 246 |
-
unpartitioned_numel = shape.numel()
|
| 247 |
-
total_numel += unpartitioned_numel
|
| 248 |
-
|
| 249 |
-
state_dict[name] = frozen_param_fragments[name]
|
| 250 |
-
|
| 251 |
-
if debug:
|
| 252 |
-
print(f"{name} full shape: {shape} unpartitioned numel {unpartitioned_numel} ")
|
| 253 |
-
|
| 254 |
-
print(f"Reconstructed Frozen fp32 state dict with {total_params} params {total_numel} elements")
|
| 255 |
-
|
| 256 |
-
|
| 257 |
-
def _has_callable(obj, fn):
|
| 258 |
-
attr = getattr(obj, fn, None)
|
| 259 |
-
return callable(attr)
|
| 260 |
-
|
| 261 |
-
|
| 262 |
-
def _zero2_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states):
|
| 263 |
-
param_shapes = zero_model_states[0].param_shapes
|
| 264 |
-
|
| 265 |
-
# Reconstruction protocol:
|
| 266 |
-
#
|
| 267 |
-
# XXX: document this
|
| 268 |
-
|
| 269 |
-
if debug:
|
| 270 |
-
for i in range(world_size):
|
| 271 |
-
for j in range(len(fp32_flat_groups[0])):
|
| 272 |
-
print(f"{FP32_FLAT_GROUPS}[{i}][{j}].shape={fp32_flat_groups[i][j].shape}")
|
| 273 |
-
|
| 274 |
-
# XXX: memory usage doubles here (zero2)
|
| 275 |
-
num_param_groups = len(fp32_flat_groups[0])
|
| 276 |
-
merged_single_partition_of_fp32_groups = []
|
| 277 |
-
for i in range(num_param_groups):
|
| 278 |
-
merged_partitions = [sd[i] for sd in fp32_flat_groups]
|
| 279 |
-
full_single_fp32_vector = torch.cat(merged_partitions, 0)
|
| 280 |
-
merged_single_partition_of_fp32_groups.append(full_single_fp32_vector)
|
| 281 |
-
avail_numel = sum(
|
| 282 |
-
[full_single_fp32_vector.numel() for full_single_fp32_vector in merged_single_partition_of_fp32_groups])
|
| 283 |
-
|
| 284 |
-
if debug:
|
| 285 |
-
wanted_params = sum([len(shapes) for shapes in param_shapes])
|
| 286 |
-
wanted_numel = sum([sum(shape.numel() for shape in shapes.values()) for shapes in param_shapes])
|
| 287 |
-
# not asserting if there is a mismatch due to possible padding
|
| 288 |
-
print(f"Have {avail_numel} numels to process.")
|
| 289 |
-
print(f"Need {wanted_numel} numels in {wanted_params} params.")
|
| 290 |
-
|
| 291 |
-
# params
|
| 292 |
-
# XXX: for huge models that can't fit into the host's RAM we will have to recode this to support
|
| 293 |
-
# out-of-core computing solution
|
| 294 |
-
total_numel = 0
|
| 295 |
-
total_params = 0
|
| 296 |
-
for shapes, full_single_fp32_vector in zip(param_shapes, merged_single_partition_of_fp32_groups):
|
| 297 |
-
offset = 0
|
| 298 |
-
avail_numel = full_single_fp32_vector.numel()
|
| 299 |
-
for name, shape in shapes.items():
|
| 300 |
-
|
| 301 |
-
unpartitioned_numel = shape.numel() if _has_callable(shape, 'numel') else math.prod(shape)
|
| 302 |
-
total_numel += unpartitioned_numel
|
| 303 |
-
total_params += 1
|
| 304 |
-
|
| 305 |
-
if debug:
|
| 306 |
-
print(f"{name} full shape: {shape} unpartitioned numel {unpartitioned_numel} ")
|
| 307 |
-
state_dict[name] = full_single_fp32_vector.narrow(0, offset, unpartitioned_numel).view(shape)
|
| 308 |
-
offset += unpartitioned_numel
|
| 309 |
-
|
| 310 |
-
# Z2 started to align to 2*world_size to improve nccl performance. Therefore both offset and
|
| 311 |
-
# avail_numel can differ by anywhere between 0..2*world_size. Due to two unrelated complex
|
| 312 |
-
# paddings performed in the code it's almost impossible to predict the exact numbers w/o the
|
| 313 |
-
# live optimizer object, so we are checking that the numbers are within the right range
|
| 314 |
-
align_to = 2 * world_size
|
| 315 |
-
|
| 316 |
-
def zero2_align(x):
|
| 317 |
-
return align_to * math.ceil(x / align_to)
|
| 318 |
-
|
| 319 |
-
if debug:
|
| 320 |
-
print(f"original offset={offset}, avail_numel={avail_numel}")
|
| 321 |
-
|
| 322 |
-
offset = zero2_align(offset)
|
| 323 |
-
avail_numel = zero2_align(avail_numel)
|
| 324 |
-
|
| 325 |
-
if debug:
|
| 326 |
-
print(f"aligned offset={offset}, avail_numel={avail_numel}")
|
| 327 |
-
|
| 328 |
-
# Sanity check
|
| 329 |
-
if offset != avail_numel:
|
| 330 |
-
raise ValueError(f"consumed {offset} numels out of {avail_numel} - something is wrong")
|
| 331 |
-
|
| 332 |
-
print(f"Reconstructed fp32 state dict with {total_params} params {total_numel} elements")
|
| 333 |
-
|
| 334 |
-
|
| 335 |
-
def _get_fp32_state_dict_from_zero2_checkpoint(world_size, fp32_flat_groups, zero_model_states,
|
| 336 |
-
exclude_frozen_parameters):
|
| 337 |
-
state_dict = OrderedDict()
|
| 338 |
-
|
| 339 |
-
# buffers
|
| 340 |
-
buffers = zero_model_states[0].buffers
|
| 341 |
-
state_dict.update(buffers)
|
| 342 |
-
if debug:
|
| 343 |
-
print(f"added {len(buffers)} buffers")
|
| 344 |
-
|
| 345 |
-
if not exclude_frozen_parameters:
|
| 346 |
-
_zero2_merge_frozen_params(state_dict, zero_model_states)
|
| 347 |
-
|
| 348 |
-
_zero2_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states)
|
| 349 |
-
|
| 350 |
-
# recover shared parameters
|
| 351 |
-
for pair in zero_model_states[0].shared_params:
|
| 352 |
-
if pair[1] in state_dict:
|
| 353 |
-
state_dict[pair[0]] = state_dict[pair[1]]
|
| 354 |
-
|
| 355 |
-
return state_dict
|
| 356 |
-
|
| 357 |
-
|
| 358 |
-
def zero3_partitioned_param_info(unpartitioned_numel, world_size):
|
| 359 |
-
remainder = unpartitioned_numel % world_size
|
| 360 |
-
padding_numel = (world_size - remainder) if remainder else 0
|
| 361 |
-
partitioned_numel = math.ceil(unpartitioned_numel / world_size)
|
| 362 |
-
return partitioned_numel, padding_numel
|
| 363 |
-
|
| 364 |
-
|
| 365 |
-
def _zero3_merge_frozen_params(state_dict, world_size, zero_model_states):
|
| 366 |
-
if zero_model_states[0].frozen_param_shapes is None or len(zero_model_states[0].frozen_param_shapes) == 0:
|
| 367 |
-
return
|
| 368 |
-
|
| 369 |
-
if debug:
|
| 370 |
-
for i in range(world_size):
|
| 371 |
-
num_elem = sum(s.numel() for s in zero_model_states[i].frozen_param_fragments.values())
|
| 372 |
-
print(f'rank {i}: {FROZEN_PARAM_SHAPES}.numel = {num_elem}')
|
| 373 |
-
|
| 374 |
-
frozen_param_shapes = zero_model_states[0].frozen_param_shapes
|
| 375 |
-
wanted_params = len(frozen_param_shapes)
|
| 376 |
-
wanted_numel = sum(s.numel() for s in frozen_param_shapes.values())
|
| 377 |
-
avail_numel = sum([p.numel() for p in zero_model_states[0].frozen_param_fragments.values()]) * world_size
|
| 378 |
-
print(f'Frozen params: Have {avail_numel} numels to process.')
|
| 379 |
-
print(f'Frozen params: Need {wanted_numel} numels in {wanted_params} params')
|
| 380 |
-
|
| 381 |
-
total_params = 0
|
| 382 |
-
total_numel = 0
|
| 383 |
-
for name, shape in zero_model_states[0].frozen_param_shapes.items():
|
| 384 |
-
total_params += 1
|
| 385 |
-
unpartitioned_numel = shape.numel()
|
| 386 |
-
total_numel += unpartitioned_numel
|
| 387 |
-
|
| 388 |
-
param_frags = tuple(model_state.frozen_param_fragments[name] for model_state in zero_model_states)
|
| 389 |
-
state_dict[name] = torch.cat(param_frags, 0).narrow(0, 0, unpartitioned_numel).view(shape)
|
| 390 |
-
|
| 391 |
-
partitioned_numel, partitioned_padding_numel = zero3_partitioned_param_info(unpartitioned_numel, world_size)
|
| 392 |
-
|
| 393 |
-
if debug:
|
| 394 |
-
print(
|
| 395 |
-
f"Frozen params: {total_params} {name} full shape: {shape} partition0 numel={partitioned_numel} partitioned_padding_numel={partitioned_padding_numel}"
|
| 396 |
-
)
|
| 397 |
-
|
| 398 |
-
print(f"Reconstructed Frozen fp32 state dict with {total_params} params {total_numel} elements")
|
| 399 |
-
|
| 400 |
-
|
| 401 |
-
def _zero3_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states):
|
| 402 |
-
param_shapes = zero_model_states[0].param_shapes
|
| 403 |
-
avail_numel = fp32_flat_groups[0].numel() * world_size
|
| 404 |
-
# Reconstruction protocol: For zero3 we need to zip the partitions together at boundary of each
|
| 405 |
-
# param, re-consolidating each param, while dealing with padding if any
|
| 406 |
-
|
| 407 |
-
# merge list of dicts, preserving order
|
| 408 |
-
param_shapes = {k: v for d in param_shapes for k, v in d.items()}
|
| 409 |
-
|
| 410 |
-
if debug:
|
| 411 |
-
for i in range(world_size):
|
| 412 |
-
print(f"{FP32_FLAT_GROUPS}[{i}].shape={fp32_flat_groups[i].shape}")
|
| 413 |
-
|
| 414 |
-
wanted_params = len(param_shapes)
|
| 415 |
-
wanted_numel = sum(shape.numel() for shape in param_shapes.values())
|
| 416 |
-
# not asserting if there is a mismatch due to possible padding
|
| 417 |
-
avail_numel = fp32_flat_groups[0].numel() * world_size
|
| 418 |
-
print(f"Trainable params: Have {avail_numel} numels to process.")
|
| 419 |
-
print(f"Trainable params: Need {wanted_numel} numels in {wanted_params} params.")
|
| 420 |
-
|
| 421 |
-
# params
|
| 422 |
-
# XXX: for huge models that can't fit into the host's RAM we will have to recode this to support
|
| 423 |
-
# out-of-core computing solution
|
| 424 |
-
offset = 0
|
| 425 |
-
total_numel = 0
|
| 426 |
-
total_params = 0
|
| 427 |
-
for name, shape in tqdm(param_shapes.items(), desc='Gathering Sharded Weights'):
|
| 428 |
-
unpartitioned_numel = shape.numel()
|
| 429 |
-
total_numel += unpartitioned_numel
|
| 430 |
-
total_params += 1
|
| 431 |
-
partitioned_numel, partitioned_padding_numel = zero3_partitioned_param_info(unpartitioned_numel, world_size)
|
| 432 |
-
|
| 433 |
-
if debug:
|
| 434 |
-
print(
|
| 435 |
-
f"Trainable params: {total_params} {name} full shape: {shape} partition0 numel={partitioned_numel} partitioned_padding_numel={partitioned_padding_numel}"
|
| 436 |
-
)
|
| 437 |
-
|
| 438 |
-
# XXX: memory usage doubles here
|
| 439 |
-
state_dict[name] = torch.cat(
|
| 440 |
-
tuple(fp32_flat_groups[i].narrow(0, offset, partitioned_numel) for i in range(world_size)),
|
| 441 |
-
0).narrow(0, 0, unpartitioned_numel).view(shape)
|
| 442 |
-
offset += partitioned_numel
|
| 443 |
-
|
| 444 |
-
offset *= world_size
|
| 445 |
-
|
| 446 |
-
# Sanity check
|
| 447 |
-
if offset != avail_numel:
|
| 448 |
-
raise ValueError(f"consumed {offset} numels out of {avail_numel} - something is wrong")
|
| 449 |
-
|
| 450 |
-
print(f"Reconstructed Trainable fp32 state dict with {total_params} params {total_numel} elements")
|
| 451 |
-
|
| 452 |
-
|
| 453 |
-
def _get_fp32_state_dict_from_zero3_checkpoint(world_size, fp32_flat_groups, zero_model_states,
|
| 454 |
-
exclude_frozen_parameters):
|
| 455 |
-
state_dict = OrderedDict()
|
| 456 |
-
|
| 457 |
-
# buffers
|
| 458 |
-
buffers = zero_model_states[0].buffers
|
| 459 |
-
state_dict.update(buffers)
|
| 460 |
-
if debug:
|
| 461 |
-
print(f"added {len(buffers)} buffers")
|
| 462 |
-
|
| 463 |
-
if not exclude_frozen_parameters:
|
| 464 |
-
_zero3_merge_frozen_params(state_dict, world_size, zero_model_states)
|
| 465 |
-
|
| 466 |
-
_zero3_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states)
|
| 467 |
-
|
| 468 |
-
# recover shared parameters
|
| 469 |
-
for pair in zero_model_states[0].shared_params:
|
| 470 |
-
if pair[1] in state_dict:
|
| 471 |
-
state_dict[pair[0]] = state_dict[pair[1]]
|
| 472 |
-
|
| 473 |
-
return state_dict
|
| 474 |
-
|
| 475 |
-
|
| 476 |
-
def get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir, tag=None, exclude_frozen_parameters=False):
|
| 477 |
-
"""
|
| 478 |
-
Convert ZeRO 2 or 3 checkpoint into a single fp32 consolidated state_dict that can be loaded with
|
| 479 |
-
``load_state_dict()`` and used for training without DeepSpeed or shared with others, for example
|
| 480 |
-
via a model hub.
|
| 481 |
-
|
| 482 |
-
Args:
|
| 483 |
-
- ``checkpoint_dir``: path to the desired checkpoint folder
|
| 484 |
-
- ``tag``: checkpoint tag used as a unique identifier for checkpoint. If not provided will attempt to load tag in 'latest' file. e.g., ``global_step14``
|
| 485 |
-
- ``exclude_frozen_parameters``: exclude frozen parameters
|
| 486 |
-
|
| 487 |
-
Returns:
|
| 488 |
-
- pytorch ``state_dict``
|
| 489 |
-
|
| 490 |
-
Note: this approach may not work if your application doesn't have sufficient free CPU memory and
|
| 491 |
-
you may need to use the offline approach using the ``zero_to_fp32.py`` script that is saved with
|
| 492 |
-
the checkpoint.
|
| 493 |
-
|
| 494 |
-
A typical usage might be ::
|
| 495 |
-
|
| 496 |
-
from deepspeed.utils.zero_to_fp32 import get_fp32_state_dict_from_zero_checkpoint
|
| 497 |
-
# do the training and checkpoint saving
|
| 498 |
-
state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir) # already on cpu
|
| 499 |
-
model = model.cpu() # move to cpu
|
| 500 |
-
model.load_state_dict(state_dict)
|
| 501 |
-
# submit to model hub or save the model to share with others
|
| 502 |
-
|
| 503 |
-
In this example the ``model`` will no longer be usable in the deepspeed context of the same
|
| 504 |
-
application. i.e. you will need to re-initialize the deepspeed engine, since
|
| 505 |
-
``model.load_state_dict(state_dict)`` will remove all the deepspeed magic from it.
|
| 506 |
-
|
| 507 |
-
If you want it all done for you, use ``load_state_dict_from_zero_checkpoint`` instead.
|
| 508 |
-
|
| 509 |
-
"""
|
| 510 |
-
if tag is None:
|
| 511 |
-
latest_path = os.path.join(checkpoint_dir, 'latest')
|
| 512 |
-
if os.path.isfile(latest_path):
|
| 513 |
-
with open(latest_path, 'r') as fd:
|
| 514 |
-
tag = fd.read().strip()
|
| 515 |
-
else:
|
| 516 |
-
raise ValueError(f"Unable to find 'latest' file at {latest_path}")
|
| 517 |
-
|
| 518 |
-
ds_checkpoint_dir = os.path.join(checkpoint_dir, tag)
|
| 519 |
-
|
| 520 |
-
if not os.path.isdir(ds_checkpoint_dir):
|
| 521 |
-
raise FileNotFoundError(f"Directory '{ds_checkpoint_dir}' doesn't exist")
|
| 522 |
-
|
| 523 |
-
return _get_fp32_state_dict_from_zero_checkpoint(ds_checkpoint_dir, exclude_frozen_parameters)
|
| 524 |
-
|
| 525 |
-
|
| 526 |
-
def convert_zero_checkpoint_to_fp32_state_dict(checkpoint_dir,
|
| 527 |
-
output_dir,
|
| 528 |
-
max_shard_size="5GB",
|
| 529 |
-
safe_serialization=False,
|
| 530 |
-
tag=None,
|
| 531 |
-
exclude_frozen_parameters=False):
|
| 532 |
-
"""
|
| 533 |
-
Convert ZeRO 2 or 3 checkpoint into a single fp32 consolidated ``state_dict`` file that can be
|
| 534 |
-
loaded with ``torch.load(file)`` + ``load_state_dict()`` and used for training without DeepSpeed.
|
| 535 |
-
|
| 536 |
-
Args:
|
| 537 |
-
- ``checkpoint_dir``: path to the desired checkpoint folder. (one that contains the tag-folder, like ``global_step14``)
|
| 538 |
-
- ``output_dir``: directory to the pytorch fp32 state_dict output files
|
| 539 |
-
- ``max_shard_size``: the maximum size for a checkpoint before being sharded, default value is 5GB
|
| 540 |
-
- ``safe_serialization``: whether to save the model using `safetensors` or the traditional PyTorch way (that uses `pickle`).
|
| 541 |
-
- ``tag``: checkpoint tag used as a unique identifier for checkpoint. If not provided will attempt to load tag in the file named ``latest`` in the checkpoint folder, e.g., ``global_step14``
|
| 542 |
-
- ``exclude_frozen_parameters``: exclude frozen parameters
|
| 543 |
-
"""
|
| 544 |
-
# Dependency pre-check
|
| 545 |
-
if safe_serialization:
|
| 546 |
-
try:
|
| 547 |
-
from safetensors.torch import save_file
|
| 548 |
-
except ImportError:
|
| 549 |
-
print('If you want to use `safe_serialization`, please `pip install safetensors`')
|
| 550 |
-
raise
|
| 551 |
-
if max_shard_size is not None:
|
| 552 |
-
try:
|
| 553 |
-
from huggingface_hub import split_torch_state_dict_into_shards
|
| 554 |
-
except ImportError:
|
| 555 |
-
print('If you want to use `max_shard_size`, please `pip install huggingface_hub`')
|
| 556 |
-
raise
|
| 557 |
-
|
| 558 |
-
# Convert zero checkpoint to state_dict
|
| 559 |
-
state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir, tag, exclude_frozen_parameters)
|
| 560 |
-
|
| 561 |
-
# Shard the model if it is too big.
|
| 562 |
-
weights_name = "model.safetensors" if safe_serialization else "pytorch_model.bin"
|
| 563 |
-
if max_shard_size is not None:
|
| 564 |
-
filename_pattern = weights_name.replace(".bin", "{suffix}.bin").replace(".safetensors", "{suffix}.safetensors")
|
| 565 |
-
state_dict_split = split_torch_state_dict_into_shards(state_dict,
|
| 566 |
-
filename_pattern=filename_pattern,
|
| 567 |
-
max_shard_size=max_shard_size)
|
| 568 |
-
else:
|
| 569 |
-
from collections import namedtuple
|
| 570 |
-
StateDictSplit = namedtuple("StateDictSplit", ["is_sharded", "filename_to_tensors"])
|
| 571 |
-
state_dict_split = StateDictSplit(is_sharded=False,
|
| 572 |
-
filename_to_tensors={weights_name: list(state_dict.keys())})
|
| 573 |
-
|
| 574 |
-
# Save the model
|
| 575 |
-
filename_to_tensors = state_dict_split.filename_to_tensors.items()
|
| 576 |
-
for shard_file, tensors in tqdm(filename_to_tensors, desc="Saving checkpoint shards"):
|
| 577 |
-
shard = {tensor: state_dict[tensor].contiguous() for tensor in tensors}
|
| 578 |
-
output_path = os.path.join(output_dir, shard_file)
|
| 579 |
-
if safe_serialization:
|
| 580 |
-
save_file(shard, output_path, metadata={"format": "pt"})
|
| 581 |
-
else:
|
| 582 |
-
torch.save(shard, output_path)
|
| 583 |
-
|
| 584 |
-
# Save index if sharded
|
| 585 |
-
if state_dict_split.is_sharded:
|
| 586 |
-
index = {
|
| 587 |
-
"metadata": state_dict_split.metadata,
|
| 588 |
-
"weight_map": state_dict_split.tensor_to_filename,
|
| 589 |
-
}
|
| 590 |
-
save_index_file = "model.safetensors.index.json" if safe_serialization else "pytorch_model.bin.index.json"
|
| 591 |
-
save_index_file = os.path.join(output_dir, save_index_file)
|
| 592 |
-
with open(save_index_file, "w", encoding="utf-8") as f:
|
| 593 |
-
content = json.dumps(index, indent=2, sort_keys=True) + "\n"
|
| 594 |
-
f.write(content)
|
| 595 |
-
|
| 596 |
-
|
| 597 |
-
def load_state_dict_from_zero_checkpoint(model, checkpoint_dir, tag=None):
|
| 598 |
-
"""
|
| 599 |
-
1. Put the provided model to cpu
|
| 600 |
-
2. Convert ZeRO 2 or 3 checkpoint into a single fp32 consolidated ``state_dict``
|
| 601 |
-
3. Load it into the provided model
|
| 602 |
-
|
| 603 |
-
Args:
|
| 604 |
-
- ``model``: the model object to update
|
| 605 |
-
- ``checkpoint_dir``: path to the desired checkpoint folder. (one that contains the tag-folder, like ``global_step14``)
|
| 606 |
-
- ``tag``: checkpoint tag used as a unique identifier for checkpoint. If not provided will attempt to load tag in the file named ``latest`` in the checkpoint folder, e.g., ``global_step14``
|
| 607 |
-
|
| 608 |
-
Returns:
|
| 609 |
-
- ``model`: modified model
|
| 610 |
-
|
| 611 |
-
Make sure you have plenty of CPU memory available before you call this function. If you don't
|
| 612 |
-
have enough use the ``zero_to_fp32.py`` utility to do the conversion. You will find it
|
| 613 |
-
conveniently placed for you in the checkpoint folder.
|
| 614 |
-
|
| 615 |
-
A typical usage might be ::
|
| 616 |
-
|
| 617 |
-
from deepspeed.utils.zero_to_fp32 import load_state_dict_from_zero_checkpoint
|
| 618 |
-
model = load_state_dict_from_zero_checkpoint(trainer.model, checkpoint_dir)
|
| 619 |
-
# submit to model hub or save the model to share with others
|
| 620 |
-
|
| 621 |
-
Note, that once this was run, the ``model`` will no longer be usable in the deepspeed context
|
| 622 |
-
of the same application. i.e. you will need to re-initialize the deepspeed engine, since
|
| 623 |
-
``model.load_state_dict(state_dict)`` will remove all the deepspeed magic from it.
|
| 624 |
-
|
| 625 |
-
"""
|
| 626 |
-
logger.info(f"Extracting fp32 weights")
|
| 627 |
-
state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir, tag)
|
| 628 |
-
|
| 629 |
-
logger.info(f"Overwriting model with fp32 weights")
|
| 630 |
-
model = model.cpu()
|
| 631 |
-
model.load_state_dict(state_dict, strict=False)
|
| 632 |
-
|
| 633 |
-
return model
|
| 634 |
-
|
| 635 |
-
|
| 636 |
-
if __name__ == "__main__":
|
| 637 |
-
parser = argparse.ArgumentParser()
|
| 638 |
-
parser.add_argument("checkpoint_dir",
|
| 639 |
-
type=str,
|
| 640 |
-
help="path to the desired checkpoint folder, e.g., path/checkpoint-12")
|
| 641 |
-
parser.add_argument("output_dir",
|
| 642 |
-
type=str,
|
| 643 |
-
help="directory to the pytorch fp32 state_dict output files"
|
| 644 |
-
"(e.g. path/checkpoint-12-output/)")
|
| 645 |
-
parser.add_argument(
|
| 646 |
-
"--max_shard_size",
|
| 647 |
-
type=str,
|
| 648 |
-
default="5GB",
|
| 649 |
-
help="The maximum size for a checkpoint before being sharded. Checkpoints shard will then be each of size"
|
| 650 |
-
"lower than this size. If expressed as a string, needs to be digits followed by a unit (like `5MB`"
|
| 651 |
-
"We default it to 5GB in order for models to be able to run easily on free-tier google colab instances"
|
| 652 |
-
"without CPU OOM issues.")
|
| 653 |
-
parser.add_argument(
|
| 654 |
-
"--safe_serialization",
|
| 655 |
-
default=False,
|
| 656 |
-
action='store_true',
|
| 657 |
-
help="Whether to save the model using `safetensors` or the traditional PyTorch way (that uses `pickle`).")
|
| 658 |
-
parser.add_argument("-t",
|
| 659 |
-
"--tag",
|
| 660 |
-
type=str,
|
| 661 |
-
default=None,
|
| 662 |
-
help="checkpoint tag used as a unique identifier for checkpoint. e.g., global_step1")
|
| 663 |
-
parser.add_argument("--exclude_frozen_parameters", action='store_true', help="exclude frozen parameters")
|
| 664 |
-
parser.add_argument("-d", "--debug", action='store_true', help="enable debug")
|
| 665 |
-
args = parser.parse_args()
|
| 666 |
-
|
| 667 |
-
debug = args.debug
|
| 668 |
-
|
| 669 |
-
convert_zero_checkpoint_to_fp32_state_dict(args.checkpoint_dir,
|
| 670 |
-
args.output_dir,
|
| 671 |
-
max_shard_size=args.max_shard_size,
|
| 672 |
-
safe_serialization=args.safe_serialization,
|
| 673 |
-
tag=args.tag,
|
| 674 |
-
exclude_frozen_parameters=args.exclude_frozen_parameters)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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