bloomer010 commited on
Commit
a513f5f
·
verified ·
1 Parent(s): d2d0ed3

Upload chat_template.jinja with huggingface_hub

Browse files
Files changed (1) hide show
  1. chat_template.jinja +7 -1
chat_template.jinja CHANGED
@@ -2,7 +2,13 @@
2
  {#- Supports: thinking option, tool calling -#}
3
 
4
  {#- ==================== thinking option normalization ==================== -#}
5
- {%- if enable_thinking is defined %}
 
 
 
 
 
 
6
  {%- if enable_thinking %}
7
  {%- set thinking_option = 'on' %}
8
  {%- else %}
 
2
  {#- Supports: thinking option, tool calling -#}
3
 
4
  {#- ==================== thinking option normalization ==================== -#}
5
+ {%- if reasoning_effort is defined and reasoning_effort is not none %}
6
+ {%- if reasoning_effort in ('none', 'minimal', 'low') %}
7
+ {%- set thinking_option = 'off' %}
8
+ {%- else %}
9
+ {%- set thinking_option = 'on' %}
10
+ {%- endif %}
11
+ {%- elif enable_thinking is defined %}
12
  {%- if enable_thinking %}
13
  {%- set thinking_option = 'on' %}
14
  {%- else %}