From 54c687e97c92efe6eba9e537bd98b47d9005a279 Mon Sep 17 00:00:00 2001 From: Prajjwal Bhargava Date: Thu, 13 Aug 2020 19:06:48 +0530 Subject: [PATCH] typo fix (#6462) --- src/transformers/modeling_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/transformers/modeling_utils.py b/src/transformers/modeling_utils.py index b06a904c9e..b5aad402b2 100644 --- a/src/transformers/modeling_utils.py +++ b/src/transformers/modeling_utils.py @@ -885,7 +885,7 @@ class PreTrainedModel(nn.Module, ModuleUtilsMixin, GenerationMixin): 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: