simonycl commited on
Commit
87b7181
·
verified ·
1 Parent(s): 3b7cfd8

Upload tokenizer

Browse files
Files changed (1) hide show
  1. chat_template.jinja +4 -8
chat_template.jinja CHANGED
@@ -1,9 +1,5 @@
1
- {{ bos_token }}<|system|>
2
- You are a helpful assistant.
3
- {% for message in messages %}{% if message['role'] == 'user' %}<|user|>
4
  Question: {{ message['content'] }}
5
- Please reason step by step, and put your final answer within \boxed{}.
6
- {% elif message['role'] == 'assistant' %}<|assistant|>
7
- {{ message['content'] }}{{ eos_token }}
8
- {% endif %}{% endfor %}{% if add_generation_prompt %}<|assistant|>
9
- {% endif %}
 
1
+ {% for message in messages %}{% if message['role'] == 'user' %}A conversation between User and Assistant. The user asks a question, and the Assistant solves it. The assistant first thinks about the reasoning process in the mind and then provides the user with the answer. User: You must put your answer inside {% raw %}\boxed{{}}{% endraw %} and your final answer will be extracted automatically by the {% raw %}\boxed{{}}{% endraw %} tag.
 
 
2
  Question: {{ message['content'] }}
3
+ Assistant:{% elif message['role'] == 'assistant' %}{{ message['content'] }}
4
+
5
+ {% endif %}{% endfor %}