SF-Foundation commited on
Commit
b5ccf57
·
verified ·
1 Parent(s): dfb184f

use original base model template

Browse files
Files changed (1) hide show
  1. chat_template.jinja +3 -3
chat_template.jinja CHANGED
@@ -3,7 +3,7 @@
3
  following kwargs:
4
  - "builtin_tools": A list, can contain "browser" and/or "python".
5
  - "model_identity": A string that optionally describes the model identity.
6
- - "reasoning_effort": A string that describes the reasoning effort, defaults to "low".
7
  #}
8
 
9
  {#- Tool Definition Rendering ============================================== #}
@@ -201,7 +201,7 @@
201
  {{- "Knowledge cutoff: 2024-06\n" }}
202
  {{- "Current date: " + strftime_now("%Y-%m-%d") + "\n\n" }}
203
  {%- if reasoning_effort is not defined %}
204
- {%- set reasoning_effort = "low" %}
205
  {%- endif %}
206
  {{- "Reasoning: " + reasoning_effort + "\n\n" }}
207
  {%- if builtin_tools %}
@@ -327,5 +327,5 @@
327
 
328
  {#- Generation prompt #}
329
  {%- if add_generation_prompt -%}
330
- <|start|>assistant<|channel|>final<|message|>
331
  {%- endif -%}
 
3
  following kwargs:
4
  - "builtin_tools": A list, can contain "browser" and/or "python".
5
  - "model_identity": A string that optionally describes the model identity.
6
+ - "reasoning_effort": A string that describes the reasoning effort, defaults to "medium".
7
  #}
8
 
9
  {#- Tool Definition Rendering ============================================== #}
 
201
  {{- "Knowledge cutoff: 2024-06\n" }}
202
  {{- "Current date: " + strftime_now("%Y-%m-%d") + "\n\n" }}
203
  {%- if reasoning_effort is not defined %}
204
+ {%- set reasoning_effort = "medium" %}
205
  {%- endif %}
206
  {{- "Reasoning: " + reasoning_effort + "\n\n" }}
207
  {%- if builtin_tools %}
 
327
 
328
  {#- Generation prompt #}
329
  {%- if add_generation_prompt -%}
330
+ <|start|>assistant
331
  {%- endif -%}