augment-multi-qwen-fixed / chat_template.jinja
Ba2han's picture
Upload folder using huggingface_hub
0c6d2f0 verified
Raw
History Blame Contribute Delete
221 Bytes
{% for message in messages %}
{{'<|im_start|>' + message['role'] + '\n' + message['content'].strip() + '<|im_end|>' + '\n'}}
{% endfor %}
{% if add_generation_prompt %}
{{ '<|im_start|>assistant\n' }}
{% endif %}