Kenzoud commited on
Commit
41c7dbf
·
verified ·
1 Parent(s): 5f86008

Upload tokenizer

Browse files
Files changed (1) hide show
  1. chat_template.jinja +3 -0
chat_template.jinja CHANGED
@@ -1,3 +1,6 @@
 
 
 
1
  {%- if tools %}
2
  {{- '<|im_start|>system\n' }}
3
  {%- if messages[0].role == 'system' %}
 
1
+ {%- if messages[0]['role'] != 'system' %}
2
+ {%- set messages = [{'role': 'system', 'content': 'You are an expert competition mathematician. Think carefully and systematically before giving your final answer in \\boxed{}.'}] + messages %}
3
+ {%- endif %}
4
  {%- if tools %}
5
  {{- '<|im_start|>system\n' }}
6
  {%- if messages[0].role == 'system' %}