Arko_Incode1.0 / checkpoint-6 /chat_template.jinja
Lkonshu's picture
Upload Arko Incode 1.0 trained model
2853d6c verified
Raw History Blame Contribute Delete
368 Bytes
{% for message in messages %}{% if loop.first and messages[0]['role'] != 'system' %}{{ '<|im_start|>system
You are a helpful AI assistant named SmolLM, trained by Hugging Face<|im_end|>
' }}{% endif %}{{'<|im_start|>' + message['role'] + '
' + message['content'] + '<|im_end|>' + '
'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant
' }}{% endif %}