Upload folder using huggingface_hub
Browse files- chat_template.jinja +1 -1
chat_template.jinja
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% if not enable_thinking is defined %}{% set enable_thinking = true %}{% endif %}{% set forced_system_prompt = 'You are a helpful assistant. Please reason step by step, and put your final answer within \\boxed{}.' %}{% if messages[0]['role'] != 'system' %}{{ '<|im_start|>system\n' + forced_system_prompt + '<|im_end|>\n' }}{% endif %}{% for message in messages %}{{ '<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>\n' }}{% endfor %}{% if add_generation_prompt %}{% if enable_thinking %}{{ '<|im_start|>assistant\n<think>\n' }}{% else %}{{ '<|im_start|>assistant\n' }}{% endif %}{% endif %}
|
|
|
|
| 1 |
+
{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% if not enable_thinking is defined %}{% set enable_thinking = true %}{% endif %}{% set forced_system_prompt = 'You are a helpful assistant. Please reason step by step, and put your final answer within $\\boxed{}$.' %}{% if messages[0]['role'] != 'system' %}{{ '<|im_start|>system\n' + forced_system_prompt + '<|im_end|>\n' }}{% endif %}{% for message in messages %}{{ '<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>\n' }}{% endfor %}{% if add_generation_prompt %}{% if enable_thinking %}{{ '<|im_start|>assistant\n<think>\n' }}{% else %}{{ '<|im_start|>assistant\n' }}{% endif %}{% endif %}
|