This commit is contained in:
Awni Hannun 2024-08-30 05:56:27 -07:00 committed by GitHub
parent fc93c55723
commit 3c6e8b11af
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -171,7 +171,7 @@ def main():
if args.use_default_chat_template:
if tokenizer.chat_template is None:
tokenizer.chat_template = tokenizer.default_chat_template
elif tokenizer.chat_template is None:
elif cache_history is not None:
tokenizer.chat_template = metadata["chat_template"]
if not args.ignore_chat_template and (

View File

@ -1,3 +1,3 @@
# Copyright © 2023-2024 Apple Inc.
__version__ = "0.18.0"
__version__ = "0.18.1"