Update chat_templates.py
This commit is contained in:
parent
5c9629f5fe
commit
457b7ba6d6
1 changed files with 3 additions and 3 deletions
|
|
@ -257,9 +257,9 @@ def get_chat_template(
|
|||
assert("Unsloth: Can only map new tokens to EOS for now. Adding new tokens is not yet supported.")
|
||||
pass
|
||||
|
||||
if tokenizer.__class__.__name__.startswith("Gemma") and chat_template == "chatml":
|
||||
chat_template = "gemma_chatml"
|
||||
pass
|
||||
# if tokenizer.__class__.__name__.startswith("Gemma") and chat_template == "chatml":
|
||||
# chat_template = "gemma_chatml"
|
||||
# pass
|
||||
|
||||
old_padding_side = tokenizer.padding_side
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue