Sekai-1 / chat_template.jinja
8BitStudio's picture
Add Sekai-1 chat model weights, tokenizer and How to use section
871f0c8 verified
Raw History Blame Contribute Delete
216 Bytes
{{ bos_token }}{% for message in messages %}{{ '<|im_start|>' + message['role'] + '
' + message['content'] + '<|im_end|>' + '
' }}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant
' }}{% endif %}