IndicPhi-mini / Checkpoint_7500 /chat_template.jinja
root
Updated checkpoints
98d9b09
raw
history blame contribute delete
203 Bytes
{% for message in messages %}{{'<|' + message['role'] + '|>' + '
' + message['content'] + '<|end|>
' }}{% endfor %}{% if add_generation_prompt %}{{ '<|assistant|>
' }}{% else %}{{ eos_token }}{% endif %}