You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently I save only the latest checkpoint by specifying save_only_latest_checkpoint = True in the TrainerConfig but I found the model overfits to the data from the validation loss. So, I want to save only the best model that achieves the lowest validation loss. Is there a way to do this? Thanks!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
Currently I save only the latest checkpoint by specifying
save_only_latest_checkpoint = True
in theTrainerConfig
but I found the model overfits to the data from the validation loss. So, I want to save only the best model that achieves the lowest validation loss. Is there a way to do this? Thanks!Beta Was this translation helpful? Give feedback.
All reactions