Skip to content

Commit

Permalink
Fix typo in trainer.py (huggingface#31048)
Browse files Browse the repository at this point in the history
  • Loading branch information
taslimisina authored May 28, 2024
1 parent 98e2d48 commit 66add16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transformers/trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -3565,7 +3565,7 @@ def evaluate(
When used with `load_best_model_at_end`, make sure `metric_for_best_model` references exactly one
of the datasets. If you, for example, pass in `{"data1": data1, "data2": data2}` for two datasets
`data1` and `data2`, you could specify `metric_for_best_model="eval_data1_loss"` for using the
loss on `data1` and `metric_for_best_model="eval_data1_loss"` for the loss on `data2`.
loss on `data1` and `metric_for_best_model="eval_data2_loss"` for the loss on `data2`.
</Tip>
Expand Down

0 comments on commit 66add16

Please sign in to comment.