sentiment-lora-r4a2d0.05-0 / trainer_state.json
apwic's picture
End of training
4896993 verified
{
"best_metric": null,
"best_model_checkpoint": null,
"epoch": 20.0,
"eval_steps": 500,
"global_step": 2440,
"is_hyper_param_search": false,
"is_local_process_zero": true,
"is_world_process_zero": true,
"log_history": [
{
"epoch": 1.0,
"grad_norm": 5.043847560882568,
"learning_rate": 4.75e-05,
"loss": 0.5619,
"step": 122
},
{
"epoch": 1.0,
"eval_accuracy": 0.7167919799498746,
"eval_f1": 0.6483759017352311,
"eval_loss": 0.5126742124557495,
"eval_precision": 0.653631914482581,
"eval_recall": 0.6446172031278414,
"eval_runtime": 5.1467,
"eval_samples_per_second": 77.525,
"eval_steps_per_second": 9.715,
"step": 122
},
{
"epoch": 2.0,
"grad_norm": 3.8154773712158203,
"learning_rate": 4.5e-05,
"loss": 0.5059,
"step": 244
},
{
"epoch": 2.0,
"eval_accuracy": 0.7343358395989975,
"eval_f1": 0.7022388059701492,
"eval_loss": 0.4967426359653473,
"eval_precision": 0.695631275368511,
"eval_recall": 0.7220403709765412,
"eval_runtime": 5.0679,
"eval_samples_per_second": 78.731,
"eval_steps_per_second": 9.866,
"step": 244
},
{
"epoch": 3.0,
"grad_norm": 4.306382656097412,
"learning_rate": 4.25e-05,
"loss": 0.4822,
"step": 366
},
{
"epoch": 3.0,
"eval_accuracy": 0.7468671679197995,
"eval_f1": 0.7064830258490717,
"eval_loss": 0.45057693123817444,
"eval_precision": 0.7006054632497888,
"eval_recall": 0.7159028914348063,
"eval_runtime": 5.0687,
"eval_samples_per_second": 78.718,
"eval_steps_per_second": 9.864,
"step": 366
},
{
"epoch": 4.0,
"grad_norm": 3.528663158416748,
"learning_rate": 4e-05,
"loss": 0.4402,
"step": 488
},
{
"epoch": 4.0,
"eval_accuracy": 0.8195488721804511,
"eval_f1": 0.7727934198038595,
"eval_loss": 0.39838677644729614,
"eval_precision": 0.7875606352581567,
"eval_recall": 0.76232042189489,
"eval_runtime": 5.0922,
"eval_samples_per_second": 78.356,
"eval_steps_per_second": 9.819,
"step": 488
},
{
"epoch": 5.0,
"grad_norm": 0.9896986484527588,
"learning_rate": 3.7500000000000003e-05,
"loss": 0.4068,
"step": 610
},
{
"epoch": 5.0,
"eval_accuracy": 0.7869674185463659,
"eval_f1": 0.7560721246862345,
"eval_loss": 0.4135726988315582,
"eval_precision": 0.7472972972972973,
"eval_recall": 0.7717766866703037,
"eval_runtime": 5.0919,
"eval_samples_per_second": 78.359,
"eval_steps_per_second": 9.819,
"step": 610
},
{
"epoch": 6.0,
"grad_norm": 2.2119059562683105,
"learning_rate": 3.5e-05,
"loss": 0.3791,
"step": 732
},
{
"epoch": 6.0,
"eval_accuracy": 0.8320802005012531,
"eval_f1": 0.7979441442122369,
"eval_loss": 0.3770710527896881,
"eval_precision": 0.7972133421798662,
"eval_recall": 0.7986906710310966,
"eval_runtime": 5.0631,
"eval_samples_per_second": 78.805,
"eval_steps_per_second": 9.875,
"step": 732
},
{
"epoch": 7.0,
"grad_norm": 1.8872367143630981,
"learning_rate": 3.2500000000000004e-05,
"loss": 0.3635,
"step": 854
},
{
"epoch": 7.0,
"eval_accuracy": 0.8195488721804511,
"eval_f1": 0.7912087912087913,
"eval_loss": 0.39156973361968994,
"eval_precision": 0.7821969696969697,
"eval_recall": 0.8048281505728314,
"eval_runtime": 5.1047,
"eval_samples_per_second": 78.163,
"eval_steps_per_second": 9.795,
"step": 854
},
{
"epoch": 8.0,
"grad_norm": 5.425744533538818,
"learning_rate": 3e-05,
"loss": 0.3433,
"step": 976
},
{
"epoch": 8.0,
"eval_accuracy": 0.8295739348370927,
"eval_f1": 0.7974014336917563,
"eval_loss": 0.37988749146461487,
"eval_precision": 0.7934340756451043,
"eval_recall": 0.801918530641935,
"eval_runtime": 5.069,
"eval_samples_per_second": 78.713,
"eval_steps_per_second": 9.864,
"step": 976
},
{
"epoch": 9.0,
"grad_norm": 4.274303436279297,
"learning_rate": 2.7500000000000004e-05,
"loss": 0.3379,
"step": 1098
},
{
"epoch": 9.0,
"eval_accuracy": 0.8270676691729323,
"eval_f1": 0.7958625291958625,
"eval_loss": 0.3713899850845337,
"eval_precision": 0.7902930402930403,
"eval_recall": 0.802645935624659,
"eval_runtime": 5.0476,
"eval_samples_per_second": 79.047,
"eval_steps_per_second": 9.906,
"step": 1098
},
{
"epoch": 10.0,
"grad_norm": 6.189886569976807,
"learning_rate": 2.5e-05,
"loss": 0.3296,
"step": 1220
},
{
"epoch": 10.0,
"eval_accuracy": 0.8370927318295739,
"eval_f1": 0.8039756622954537,
"eval_loss": 0.3635365664958954,
"eval_precision": 0.8032299897460643,
"eval_recall": 0.8047372249499909,
"eval_runtime": 5.064,
"eval_samples_per_second": 78.792,
"eval_steps_per_second": 9.874,
"step": 1220
},
{
"epoch": 11.0,
"grad_norm": 4.368456840515137,
"learning_rate": 2.25e-05,
"loss": 0.3105,
"step": 1342
},
{
"epoch": 11.0,
"eval_accuracy": 0.8295739348370927,
"eval_f1": 0.7983530530947143,
"eval_loss": 0.36521923542022705,
"eval_precision": 0.7932554744525547,
"eval_recall": 0.8044189852700492,
"eval_runtime": 5.0658,
"eval_samples_per_second": 78.763,
"eval_steps_per_second": 9.87,
"step": 1342
},
{
"epoch": 12.0,
"grad_norm": 11.303323745727539,
"learning_rate": 2e-05,
"loss": 0.3024,
"step": 1464
},
{
"epoch": 12.0,
"eval_accuracy": 0.8345864661654135,
"eval_f1": 0.8069354838709677,
"eval_loss": 0.3701755404472351,
"eval_precision": 0.798820781588242,
"eval_recall": 0.8179669030732861,
"eval_runtime": 5.0808,
"eval_samples_per_second": 78.53,
"eval_steps_per_second": 9.841,
"step": 1464
},
{
"epoch": 13.0,
"grad_norm": 1.7624099254608154,
"learning_rate": 1.75e-05,
"loss": 0.309,
"step": 1586
},
{
"epoch": 13.0,
"eval_accuracy": 0.8370927318295739,
"eval_f1": 0.8039756622954537,
"eval_loss": 0.35115164518356323,
"eval_precision": 0.8032299897460643,
"eval_recall": 0.8047372249499909,
"eval_runtime": 5.0965,
"eval_samples_per_second": 78.289,
"eval_steps_per_second": 9.811,
"step": 1586
},
{
"epoch": 14.0,
"grad_norm": 20.14969825744629,
"learning_rate": 1.5e-05,
"loss": 0.3021,
"step": 1708
},
{
"epoch": 14.0,
"eval_accuracy": 0.8395989974937343,
"eval_f1": 0.8074672778816575,
"eval_loss": 0.35049960017204285,
"eval_precision": 0.8059873949579832,
"eval_recall": 0.8090107292234952,
"eval_runtime": 5.0612,
"eval_samples_per_second": 78.835,
"eval_steps_per_second": 9.879,
"step": 1708
},
{
"epoch": 15.0,
"grad_norm": 1.1024099588394165,
"learning_rate": 1.25e-05,
"loss": 0.2903,
"step": 1830
},
{
"epoch": 15.0,
"eval_accuracy": 0.8421052631578947,
"eval_f1": 0.8136136136136136,
"eval_loss": 0.3553332984447479,
"eval_precision": 0.8076923076923077,
"eval_recall": 0.820785597381342,
"eval_runtime": 5.0568,
"eval_samples_per_second": 78.903,
"eval_steps_per_second": 9.888,
"step": 1830
},
{
"epoch": 16.0,
"grad_norm": 7.029820442199707,
"learning_rate": 1e-05,
"loss": 0.2834,
"step": 1952
},
{
"epoch": 16.0,
"eval_accuracy": 0.8395989974937343,
"eval_f1": 0.8119476846942383,
"eval_loss": 0.3529706597328186,
"eval_precision": 0.8045650301464256,
"eval_recall": 0.8215130023640662,
"eval_runtime": 5.0693,
"eval_samples_per_second": 78.709,
"eval_steps_per_second": 9.863,
"step": 1952
},
{
"epoch": 17.0,
"grad_norm": 4.537665367126465,
"learning_rate": 7.5e-06,
"loss": 0.2811,
"step": 2074
},
{
"epoch": 17.0,
"eval_accuracy": 0.8446115288220551,
"eval_f1": 0.8134839254478557,
"eval_loss": 0.34711357951164246,
"eval_precision": 0.8119747899159664,
"eval_recall": 0.8150572831423895,
"eval_runtime": 5.0888,
"eval_samples_per_second": 78.408,
"eval_steps_per_second": 9.826,
"step": 2074
},
{
"epoch": 18.0,
"grad_norm": 3.4649994373321533,
"learning_rate": 5e-06,
"loss": 0.288,
"step": 2196
},
{
"epoch": 18.0,
"eval_accuracy": 0.8446115288220551,
"eval_f1": 0.8161454307628278,
"eval_loss": 0.350491464138031,
"eval_precision": 0.8107299270072992,
"eval_recall": 0.8225586470267321,
"eval_runtime": 5.0905,
"eval_samples_per_second": 78.381,
"eval_steps_per_second": 9.822,
"step": 2196
},
{
"epoch": 19.0,
"grad_norm": 4.690791130065918,
"learning_rate": 2.5e-06,
"loss": 0.277,
"step": 2318
},
{
"epoch": 19.0,
"eval_accuracy": 0.8395989974937343,
"eval_f1": 0.8084033613445378,
"eval_loss": 0.3479045629501343,
"eval_precision": 0.8055472976990309,
"eval_recall": 0.8115111838516094,
"eval_runtime": 5.0955,
"eval_samples_per_second": 78.304,
"eval_steps_per_second": 9.813,
"step": 2318
},
{
"epoch": 20.0,
"grad_norm": 7.5570807456970215,
"learning_rate": 0.0,
"loss": 0.2775,
"step": 2440
},
{
"epoch": 20.0,
"eval_accuracy": 0.8395989974937343,
"eval_f1": 0.8084033613445378,
"eval_loss": 0.3485976755619049,
"eval_precision": 0.8055472976990309,
"eval_recall": 0.8115111838516094,
"eval_runtime": 5.0612,
"eval_samples_per_second": 78.835,
"eval_steps_per_second": 9.879,
"step": 2440
},
{
"epoch": 20.0,
"step": 2440,
"total_flos": 7597037114448000.0,
"train_loss": 0.35358311856379276,
"train_runtime": 1951.8044,
"train_samples_per_second": 37.278,
"train_steps_per_second": 1.25
}
],
"logging_steps": 500,
"max_steps": 2440,
"num_input_tokens_seen": 0,
"num_train_epochs": 20,
"save_steps": 500,
"total_flos": 7597037114448000.0,
"train_batch_size": 30,
"trial_name": null,
"trial_params": null
}