diff --git a/src/transformers/processing_utils.py b/src/transformers/processing_utils.py index bc8658064b1..c2646300367 100644 --- a/src/transformers/processing_utils.py +++ b/src/transformers/processing_utils.py @@ -721,7 +721,7 @@ def get_processor_dict( if "chat_template" in processor_dict and processor_dict["chat_template"] is not None: logger.warning_once( - "Chat templates should be in a 'processor_chat_template.jinja' file but found key='chat_template' " + "Chat templates should be in a 'chat_template.jinja' file but found key='chat_template' " "in the processor's config. Make sure to move your template to its own file." )