zephyr-7b-math-case-6 / trainer_state.json
scottsuk0306's picture
Model save
1c92f7a verified
{
"best_metric": null,
"best_model_checkpoint": null,
"epoch": 10.0,
"eval_steps": 500,
"global_step": 50,
"is_hyper_param_search": false,
"is_local_process_zero": true,
"is_world_process_zero": true,
"log_history": [
{
"epoch": 0.2,
"grad_norm": 24.890761216715067,
"learning_rate": 5e-06,
"loss": 0.9347,
"step": 1
},
{
"epoch": 1.0,
"grad_norm": 6.27322744929223,
"learning_rate": 9.903926402016153e-06,
"loss": 0.8827,
"step": 5
},
{
"epoch": 1.0,
"eval_loss": 0.7428836822509766,
"eval_runtime": 13.5132,
"eval_samples_per_second": 19.463,
"eval_steps_per_second": 0.37,
"step": 5
},
{
"epoch": 2.0,
"grad_norm": 3.4763297090491645,
"learning_rate": 9.330127018922195e-06,
"loss": 0.6709,
"step": 10
},
{
"epoch": 2.0,
"eval_loss": 0.5530853867530823,
"eval_runtime": 13.3663,
"eval_samples_per_second": 19.676,
"eval_steps_per_second": 0.374,
"step": 10
},
{
"epoch": 3.0,
"grad_norm": 3.9858549062244277,
"learning_rate": 8.296729075500345e-06,
"loss": 0.5071,
"step": 15
},
{
"epoch": 3.0,
"eval_loss": 0.4035380482673645,
"eval_runtime": 13.3538,
"eval_samples_per_second": 19.695,
"eval_steps_per_second": 0.374,
"step": 15
},
{
"epoch": 4.0,
"grad_norm": 4.012038571620908,
"learning_rate": 6.913417161825449e-06,
"loss": 0.3519,
"step": 20
},
{
"epoch": 4.0,
"eval_loss": 0.24551308155059814,
"eval_runtime": 13.3982,
"eval_samples_per_second": 19.63,
"eval_steps_per_second": 0.373,
"step": 20
},
{
"epoch": 5.0,
"grad_norm": 3.9052862275719975,
"learning_rate": 5.327015646150716e-06,
"loss": 0.2036,
"step": 25
},
{
"epoch": 5.0,
"eval_loss": 0.1301579624414444,
"eval_runtime": 13.3478,
"eval_samples_per_second": 19.704,
"eval_steps_per_second": 0.375,
"step": 25
},
{
"epoch": 6.0,
"grad_norm": 2.7865230440629105,
"learning_rate": 3.705904774487396e-06,
"loss": 0.1035,
"step": 30
},
{
"epoch": 6.0,
"eval_loss": 0.060157448053359985,
"eval_runtime": 13.3892,
"eval_samples_per_second": 19.643,
"eval_steps_per_second": 0.373,
"step": 30
},
{
"epoch": 7.0,
"grad_norm": 2.798134146722217,
"learning_rate": 2.2221488349019903e-06,
"loss": 0.0527,
"step": 35
},
{
"epoch": 7.0,
"eval_loss": 0.03557642176747322,
"eval_runtime": 13.3867,
"eval_samples_per_second": 19.646,
"eval_steps_per_second": 0.374,
"step": 35
},
{
"epoch": 8.0,
"grad_norm": 1.2741605399529363,
"learning_rate": 1.0332332985438248e-06,
"loss": 0.0321,
"step": 40
},
{
"epoch": 8.0,
"eval_loss": 0.024869758635759354,
"eval_runtime": 13.3698,
"eval_samples_per_second": 19.671,
"eval_steps_per_second": 0.374,
"step": 40
},
{
"epoch": 9.0,
"grad_norm": 0.6581840143146274,
"learning_rate": 2.653493525244721e-07,
"loss": 0.0236,
"step": 45
},
{
"epoch": 9.0,
"eval_loss": 0.02064005844295025,
"eval_runtime": 13.4054,
"eval_samples_per_second": 19.619,
"eval_steps_per_second": 0.373,
"step": 45
},
{
"epoch": 10.0,
"grad_norm": 0.4976189909335096,
"learning_rate": 0.0,
"loss": 0.0202,
"step": 50
},
{
"epoch": 10.0,
"eval_loss": 0.019776934757828712,
"eval_runtime": 13.3303,
"eval_samples_per_second": 19.729,
"eval_steps_per_second": 0.375,
"step": 50
},
{
"epoch": 10.0,
"step": 50,
"total_flos": 20937965568000.0,
"train_loss": 0.28585494235157966,
"train_runtime": 720.2074,
"train_samples_per_second": 3.652,
"train_steps_per_second": 0.069
}
],
"logging_steps": 5,
"max_steps": 50,
"num_input_tokens_seen": 0,
"num_train_epochs": 10,
"save_steps": 100,
"stateful_callbacks": {
"TrainerControl": {
"args": {
"should_epoch_stop": false,
"should_evaluate": false,
"should_log": false,
"should_save": true,
"should_training_stop": true
},
"attributes": {}
}
},
"total_flos": 20937965568000.0,
"train_batch_size": 8,
"trial_name": null,
"trial_params": null
}