Skip to content

Commit

Permalink
fix: double verbs (huggingface#35008)
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuelLarkin authored Nov 29, 2024
1 parent 737f4dc commit f7427f5
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 @@ -2113,7 +2113,7 @@ def train(
FutureWarning,
)
if len(kwargs) > 0:
raise TypeError(f"train() received got unexpected keyword arguments: {', '.join(list(kwargs.keys()))}.")
raise TypeError(f"train() got unexpected keyword arguments: {', '.join(list(kwargs.keys()))}.")
# This might change the seed so needs to run first.
self._hp_search_setup(trial)
self._train_batch_size = self.args.train_batch_size
Expand Down

0 comments on commit f7427f5

Please sign in to comment.