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
An officially supported task in the examples folder (such as GLUE/SQuAD, ...)
My own task or dataset (give details below)
Reproduction
Train any peft model. I am training a LoRA adapter using the AutoModelForMaskedLM from ModernBERT.
Expected behavior
Trainer and its most regular features should handle looking up the losses in the base model, which at several places in the code they apparently don't. So instead of finding eval_loss they only see the new losses added by peft such as eval_steps_per_second.
One such issue is described, including a fix, in #33420. This fix should be merged with the regular sources.
The second such issue, triggered by setting load_best_model_at_end to True, is described in the comments to #33420 (no fix yet).