mirror of
https://github.com/turboderp-org/exllamav2.git
synced 2026-04-20 14:29:28 +00:00
Chatbot: fix chatml template
This commit is contained in:
@@ -229,6 +229,7 @@ class PromptFormat_chatml(PromptFormat):
|
||||
def stop_conditions(self, tokenizer):
|
||||
return \
|
||||
[tokenizer.eos_token_id,
|
||||
tokenizer.single_id("<|im_end|>"),
|
||||
"""<|im_end|>"""]
|
||||
|
||||
def encoding_options(self):
|
||||
|
||||
Reference in New Issue
Block a user