Skip to content

Commit

Permalink
Update processor warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Rocketknight1 committed Oct 15, 2024
1 parent 9ce9aac commit 0c164ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transformers/processing_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."
)

Expand Down

0 comments on commit 0c164ab

Please sign in to comment.