SmolLM-1.7B-Instruct-MLX-4bit / chat_template.jinja
Irfanuruchi's picture
Upload SmolLM 1.7B Instruct MLX 4-bit
f6c0b20 verified
raw
history blame contribute delete
196 Bytes
{% for message in messages %}{{'<|im_start|>' + message['role'] + '
' + message['content'] + '<|im_end|>' + '
'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant
' }}{% endif %}