We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7350035 commit bcaf117Copy full SHA for bcaf117
src/transformers/tokenization_utils_base.py
@@ -2469,7 +2469,6 @@ def save_pretrained(
2469
f.write(template)
2470
logger.info(f"chat template saved in {template_filepath}")
2471
saved_raw_chat_template_files.append(template_filepath)
2472
- saved_raw_chat_template = True
2473
if "chat_template" in tokenizer_config:
2474
tokenizer_config.pop("chat_template") # To ensure it doesn't somehow end up in the config too
2475
elif isinstance(self.chat_template, dict):
0 commit comments