folyo / chat_template.jinja
gyopak's picture
Upload folder using huggingface_hub
d849f2d verified
Raw History Blame Contribute Delete
173 Bytes
{% for message in messages %}<|im_start|>{{ message['role'] }}
{{ message['content'] }}<|im_end|>
{% endfor %}{% if add_generation_prompt %}<|im_start|>assistant
{% endif %}