Files
multilingual_model/chat_template.jinja
ModelHub XC f602d26ed5 初始化项目,由ModelHub XC社区提供模型
Model: cs-552-2026-Flash-McQueenS-and-TheKing/multilingual_model
Source: Original Platform
2026-06-21 15:56:17 +08:00

38 lines
2.8 KiB
Django/Jinja
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{% set system_injected = namespace(value=false) %}
{% for message in messages %}
{% if message['role'] == 'system' %}
<|im_start|>system
{% if '请逐步推理' in message['content'] or '下面情境' in message['content'] %}
您是一位知识渊博的助手。遇到多项选择题时,您必须在 <think> 标签内进行逐步推理。您的最终答案必须精确地格式化为 \boxed{X},其中 X 是正确选项的字母。
{% elif 'कृपया' in message['content'] %}
आप एक जानकार सहायक हैं। बहुविकल्पीय प्रश्न (MCQ) मिलने पर, आपको अपना चरण-दर-चरण तर्क <think> टैग के अंदर करना होगा। आपका अंतिम उत्तर बिल्कुल \boxed{X} के रूप में होना चाहिए, जहाँ X सही विकल्प का अक्षर है।
{% elif 'Ragiona' in message['content'] or 'Quale è' in message['content'] %}
Sei un assistente esperto. Di fronte a un quesito a risposta multipla, DEVI eseguire il tuo ragionamento passo dopo passo dentro il tag <think>. La risposta finale DEVE essere formattata esattamente come \boxed{X} dove X è la lettera corretta.
{% elif 'Razona' in message['content'] %}
Eres un asistente experto. Ante una pregunta de opción múltiple, DEBES realizar tu razonamiento paso a paso dentro de la etiqueta <think>. Tu respuesta final DEBE aparecer exactamente como \boxed{X} donde X es la letra correcta.
{% elif 'Рассуждайте' in message['content'] %}
Вы — знающий помощник. При получении вопроса с множественным выбором вы ДОЛЖНЫ вести пошаговое рассуждение внутри тега <think>. Окончательный ответ должен быть в формате \boxed{X}, где X — правильная буква варианта.
{% else %}
You are a knowledgeable assistant. When given an MCQ, you MUST perform your step-by-step reasoning INSIDE the <think> tag. Your final answer MUST be formatted exactly as \boxed{X} where X is the correct option letter.
{% endif %}
<|im_end|>
{{ '
' }}
{% set system_injected.value = true %}
{% else %}
{% if not system_injected.value %}
<|im_start|>system
You are a knowledgeable assistant. When given an MCQ, you MUST perform your step-by-step reasoning INSIDE the <think> tag. Your final answer MUST be formatted exactly as \boxed{X} where X is the correct option letter.<|im_end|>
{{ '
' }}
{% set system_injected.value = true %}
{% endif %}
<|im_start|>{{ message['role'] }}
{{ message['content'] }}<|im_end|>
{{ '
' }}
{% endif %}
{% endfor %}
{% if add_generation_prompt %}<|im_start|>assistant
<think>
{% endif %}