From 0c164ab063ce846b5b04e5695443d9b2c991d1d1 Mon Sep 17 00:00:00 2001 From: Matt Date: Thu, 10 Oct 2024 15:43:15 +0100 Subject: [PATCH] Update processor warning --- src/transformers/processing_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/transformers/processing_utils.py b/src/transformers/processing_utils.py index ffcd9545c62..b0991c2c0bc 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 'chat_template.jinja' file but found key='chat_template' " + "Chat templates should be in a 'processor_chat_template.jinja' file but found key='chat_template' " "in the processor's config. Make sure to move your template to its own file." )