From 3a556b0fb762d9374c90bb0fa1f5ce94237d49f9 Mon Sep 17 00:00:00 2001 From: Alexander Measure Date: Mon, 10 Aug 2020 02:55:11 -0400 Subject: [PATCH] Update modeling_tf_utils.py (#6372) fix typo: ckeckpoint->checkpoint --- src/transformers/modeling_tf_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/transformers/modeling_tf_utils.py b/src/transformers/modeling_tf_utils.py index 4f1de0b3e4f..9e5dc33eb02 100644 --- a/src/transformers/modeling_tf_utils.py +++ b/src/transformers/modeling_tf_utils.py @@ -645,7 +645,7 @@ class TFPreTrainedModel(tf.keras.Model, TFModelUtilsMixin, TFGenerationMixin): else: logger.warning( 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: