PromptGacha / chat_template.jinja
hvgfgh's picture
Upload v0.1 pure-text BF16 weights (ep1.0-ckpt300)
93cab16 verified
Raw History Blame Contribute Delete
189 Bytes
{% for message in messages %}{{'<|im_start|>' + message['role'] + '
' + message['content'] + '<|im_end|>
'}}{% endfor %}{% if add_generation_prompt %}{{'<|im_start|>assistant
'}}{% endif %}