Skip to content

Commit

Permalink
Update src/transformers/processing_utils.py
Browse files Browse the repository at this point in the history
Co-authored-by: amyeroberts <[email protected]>
  • Loading branch information
zucchini-nlp and amyeroberts authored Jul 17, 2024
1 parent ca2696f commit 97b227c
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 @@ -495,7 +495,7 @@ def save_pretrained(self, save_directory, push_to_hub: bool = False, **kwargs):
del attribute.init_kwargs["auto_map"]

# If we save using the predefined names, we can load using `from_pretrained`
# plus we save chat_template in itw own file
# plus we save chat_template in its own file
output_processor_file = os.path.join(save_directory, PROCESSOR_NAME)
output_chat_template_file = os.path.join(save_directory, CHAT_TEMPLATE_NAME)

Expand Down

0 comments on commit 97b227c

Please sign in to comment.