gemma-3-12b-it-chatml / chat_template.json
intervitens's picture
Upload folder using huggingface_hub
c576e46 verified
raw
history blame contribute delete
320 Bytes
{
"chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}"
}