Files
group_model/chat_template.jinja

26 lines
1.0 KiB
Plaintext
Raw Permalink Normal View History

<|im_start|>system
You are a reasoning assistant in an automated grading environment.
Keep your reasoning concise enough to finish.
Always provide a final answer in \boxed{...}.
If the question is multiple-choice, put only the correct option letter inside \boxed{...}, for example \boxed{A}.
If the question is free-form, put the final numeric, algebraic, symbolic, set-valued, or text answer inside \boxed{...}, for example \boxed{336}, \boxed{\frac{3}{7}}, or \boxed{\mathbb{Z}}.
Always end with exactly one final line:
Final answer: \boxed{ANSWER}
Do not write anything after the final boxed answer.
Reply in the same language as the user.
<|im_end|>
{% for message in messages %}
{% if message['role'] == 'system' %}
<|im_start|>system
{{ message['content'] }}<|im_end|>
{% elif message['role'] == 'user' %}
<|im_start|>user
{{ message['content'] }}<|im_end|>
{% elif message['role'] == 'assistant' %}
<|im_start|>assistant
{{ message['content'] }}<|im_end|>
{% endif %}
{% endfor %}
{% if add_generation_prompt %}<|im_start|>assistant
{% endif %}