visobert-v2-hsd / trainer_state.json
AnnyNguyen's picture
Upload trainer_state.json with huggingface_hub
bb9aac2 verified
{
"best_global_step": 1838,
"best_metric": 0.8839934610181555,
"best_model_checkpoint": "outputs/hate-speech-detection/visobert/checkpoint-1838",
"epoch": 2.0,
"eval_steps": 500,
"global_step": 1838,
"is_hyper_param_search": false,
"is_local_process_zero": true,
"is_world_process_zero": true,
"log_history": [
{
"epoch": 0.998911860718172,
"grad_norm": 5.555817127227783,
"learning_rate": 1.9996091589167148e-05,
"loss": 0.3478,
"step": 918
},
{
"epoch": 1.0,
"eval_accuracy": 0.8825581395348837,
"eval_f1": 0.8781282550347205,
"eval_loss": 0.3088670074939728,
"eval_precision": 0.875016930749893,
"eval_recall": 0.8825581395348837,
"eval_runtime": 19.0163,
"eval_samples_per_second": 226.121,
"eval_steps_per_second": 7.099,
"step": 919
},
{
"epoch": 1.997823721436344,
"grad_norm": 5.79516077041626,
"learning_rate": 1.9982377977480694e-05,
"loss": 0.1983,
"step": 1836
},
{
"epoch": 2.0,
"eval_accuracy": 0.8881395348837209,
"eval_f1": 0.8839934610181555,
"eval_loss": 0.34844812750816345,
"eval_precision": 0.8818795989311617,
"eval_recall": 0.8881395348837209,
"eval_runtime": 18.8121,
"eval_samples_per_second": 228.576,
"eval_steps_per_second": 7.176,
"step": 1838
}
],
"logging_steps": 918,
"max_steps": 91900,
"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
}