Science-Expert-R1 / chat_template.jinja
Delta-Vector's picture
Upload folder using huggingface_hub
35498a0 verified
raw
history blame contribute delete
295 Bytes
<s>{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% for message in messages %}{{'<|im_start|>' + message['role'] + '
' + message['content'] + '<|im_end|>' + '
'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant
' }}{% endif %}