vectionlabs commited on
Commit
7226580
·
verified ·
1 Parent(s): 193bcdf

Upload chat_template.jinja with huggingface_hub

Browse files
Files changed (1) hide show
  1. chat_template.jinja +2 -2
chat_template.jinja CHANGED
@@ -48,9 +48,9 @@
48
  {%- endif %}
49
  {%- set reasoning_instructions = '' %}
50
  {%- if enable_thinking is undefined or enable_thinking is true %}
51
- {%- set resolved_reasoning_effort = reasoning_effort|default('xhigh') %}
52
  {%- if resolved_reasoning_effort not in ('xhigh', 'medium', 'low') %}
53
- {{- raise_exception('Unexpected reasoning effort ' ~ reasoning_effort ~ '. Supported types are xhigh (default), medium, and low.') }}
54
  {%- endif %}
55
  {%- if resolved_reasoning_effort == 'xhigh' %}
56
  {%- set reasoning_instructions = 'Reasoning effort is set to xhigh. Please think carefully through the task, validate key assumptions, consider plausible alternatives, and prioritize correctness, consistency, and clarity in the final answer.' %}
 
48
  {%- endif %}
49
  {%- set reasoning_instructions = '' %}
50
  {%- if enable_thinking is undefined or enable_thinking is true %}
51
+ {%- set resolved_reasoning_effort = reasoning_effort|default('medium') %}
52
  {%- if resolved_reasoning_effort not in ('xhigh', 'medium', 'low') %}
53
+ {{- raise_exception('Unexpected reasoning effort ' ~ reasoning_effort ~ '. Supported types are xhigh, medium, and low (default: medium).') }}
54
  {%- endif %}
55
  {%- if resolved_reasoning_effort == 'xhigh' %}
56
  {%- set reasoning_instructions = 'Reasoning effort is set to xhigh. Please think carefully through the task, validate key assumptions, consider plausible alternatives, and prioritize correctness, consistency, and clarity in the final answer.' %}