roberta-gru-spam-multiclass / trainer_state.json
AnnyNguyen's picture
Upload trainer_state.json with huggingface_hub
c202ff7 verified
{
"best_global_step": 1338,
"best_metric": 0.7512435712799028,
"best_model_checkpoint": "outputs/roberta-gru-spam-multiclass/checkpoint-1338",
"epoch": 3.0,
"eval_steps": 500,
"global_step": 1338,
"is_hyper_param_search": false,
"is_local_process_zero": true,
"is_world_process_zero": true,
"log_history": [
{
"epoch": 1.0,
"grad_norm": 1.5931479930877686,
"learning_rate": 4.998771926094749e-05,
"loss": 0.4347,
"step": 446
},
{
"epoch": 1.0,
"eval_accuracy": 0.8916194076874606,
"eval_f1": 0.6061036720770908,
"eval_loss": 0.3667852282524109,
"eval_precision": 0.6100836232680218,
"eval_recall": 0.6031391363242337,
"eval_runtime": 6.5607,
"eval_samples_per_second": 241.897,
"eval_steps_per_second": 7.621,
"step": 446
},
{
"epoch": 2.0,
"grad_norm": 12.401629447937012,
"learning_rate": 4.995077872180951e-05,
"loss": 0.2904,
"step": 892
},
{
"epoch": 2.0,
"eval_accuracy": 0.8903591682419659,
"eval_f1": 0.7467819617716158,
"eval_loss": 0.3618994653224945,
"eval_precision": 0.7849764394632636,
"eval_recall": 0.7163934993727473,
"eval_runtime": 6.5574,
"eval_samples_per_second": 242.015,
"eval_steps_per_second": 7.625,
"step": 892
},
{
"epoch": 3.0,
"grad_norm": 4.8884358406066895,
"learning_rate": 4.988921477641713e-05,
"loss": 0.2233,
"step": 1338
},
{
"epoch": 3.0,
"eval_accuracy": 0.8916194076874606,
"eval_f1": 0.7512435712799028,
"eval_loss": 0.38439109921455383,
"eval_precision": 0.8367560450093656,
"eval_recall": 0.7131617161157495,
"eval_runtime": 6.5587,
"eval_samples_per_second": 241.967,
"eval_steps_per_second": 7.623,
"step": 1338
}
],
"logging_steps": 446,
"max_steps": 44600,
"num_input_tokens_seen": 0,
"num_train_epochs": 100,
"save_steps": 500,
"stateful_callbacks": {
"EarlyStoppingCallback": {
"args": {
"early_stopping_patience": 5,
"early_stopping_threshold": 0.0
},
"attributes": {
"early_stopping_patience_counter": 0
}
},
"TrainerControl": {
"args": {
"should_epoch_stop": false,
"should_evaluate": false,
"should_log": false,
"should_save": true,
"should_training_stop": false
},
"attributes": {}
}
},
"total_flos": 0.0,
"train_batch_size": 32,
"trial_name": null,
"trial_params": null
}