Atomic-Germ commited on
Commit
7f55ced
·
verified ·
1 Parent(s): bdbe6a5

Upload chat_template.jinja with huggingface_hub

Browse files
Files changed (1) hide show
  1. chat_template.jinja +2 -2
chat_template.jinja CHANGED
@@ -97,7 +97,7 @@
97
  {%- endif %}
98
  {%- endif %}
99
  {%- set reasoning_content = reasoning_content|trim %}
100
- {{- '<|im_start|>' + message.role + '\n' + content }}
101
  {%- if message.tool_calls and message.tool_calls is iterable and message.tool_calls is not mapping %}
102
  {%- for tool_call in message.tool_calls %}
103
  {%- if tool_call.function is defined %}
@@ -147,4 +147,4 @@
147
  {%- else %}
148
  {{- '<think>\n' }}
149
  {%- endif %}
150
- {%- endif %}
 
97
  {%- endif %}
98
  {%- endif %}
99
  {%- set reasoning_content = reasoning_content|trim %}
100
+ {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content + '\n</think>\n\n' + content }}
101
  {%- if message.tool_calls and message.tool_calls is iterable and message.tool_calls is not mapping %}
102
  {%- for tool_call in message.tool_calls %}
103
  {%- if tool_call.function is defined %}
 
147
  {%- else %}
148
  {{- '<think>\n' }}
149
  {%- endif %}
150
+ {%- endif %}