diff --git a/src/transformers/modeling_utils.py b/src/transformers/modeling_utils.py index b06a904c9ed461..b5aad402b2a7bf 100644 --- a/src/transformers/modeling_utils.py +++ b/src/transformers/modeling_utils.py @@ -885,7 +885,7 @@ def load(module: nn.Module, prefix=""): else: logger.info( f"All the weights of {model.__class__.__name__} were initialized from the model checkpoint at {pretrained_model_name_or_path}.\n" - f"If your task is similar to the task the model of the ckeckpoint was trained on, " + f"If your task is similar to the task the model of the checkpoint was trained on, " f"you can already use {model.__class__.__name__} for predictions without further training." ) if len(error_msgs) > 0: