mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-06-24 09:21:18 +08:00
fix (#965)
This commit is contained in:
parent
fc93c55723
commit
3c6e8b11af
@ -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 (
|
||||
|
@ -1,3 +1,3 @@
|
||||
# Copyright © 2023-2024 Apple Inc.
|
||||
|
||||
__version__ = "0.18.0"
|
||||
__version__ = "0.18.1"
|
||||
|
Loading…
Reference in New Issue
Block a user