transformers
Fix/best model checkpoint fix
#35885
Merged

Commits
  • Set best_model_checkpoint only when ckpt exists.
    seanswyi committed 287 days ago
  • Added best_global_step to TrainerState.
    seanswyi committed 287 days ago
  • Added tests for best_model_checkpoint.
    seanswyi committed 287 days ago
  • Fixed hard-coded values in test to prevent fail.
    seanswyi committed 287 days ago
  • Added helper func and removed hard-coded best_step.
    seanswyi committed 287 days ago
  • Added side effect patch generator for _eval.
    seanswyi committed 287 days ago
  • Added evaluate side effect func.
    seanswyi committed 287 days ago
  • Removed erroneous patching.
    seanswyi committed 287 days ago
  • Fixed minor bug.
    seanswyi committed 287 days ago
  • Applied Ruff.
    seanswyi committed 287 days ago
  • Fixed Ruff problem in make style.
    seanswyi committed 287 days ago
  • Used Trainer.set_initial_training_values.
    seanswyi committed 287 days ago
Loading