pavanperi commited on
Commit
dd6a13f
·
verified ·
1 Parent(s): 37f197f

System prompt forcing the model to respond in a unique language.

Browse files
Files changed (1) hide show
  1. tokenizer/chat_template.jinja +3 -0
tokenizer/chat_template.jinja CHANGED
@@ -7,6 +7,9 @@
7
  {% endfor %}
8
  </tools>
9
  {{- '<|end_of_turn|>\n' }}{%- endif -%}
 
 
 
10
  {%- macro visible_text(content) -%}
11
  {%- if content is string -%}
12
  {{- content }}
 
7
  {% endfor %}
8
  </tools>
9
  {{- '<|end_of_turn|>\n' }}{%- endif -%}
10
+ <|start_of_turn|><|system|>
11
+ You should reply in the same language as the user's request by default. If a later system or user instruction explicitly asks for a different language, follow that instruction instead.
12
+ {{- '<|end_of_turn|>\n' }}
13
  {%- macro visible_text(content) -%}
14
  {%- if content is string -%}
15
  {{- content }}