LFM2-1.2B / chat_template.jinja
danielhanchen's picture
Upload folder using huggingface_hub
86c6a42 verified
raw
history blame contribute delete
209 Bytes
{{bos_token}}{% for message in messages %}{{'<|im_start|>' + message['role'] + '
' + message['content'] + '<|im_end|>' + '
'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant
' }}{% endif %}