agesf commited on
Commit
1535d28
·
verified ·
1 Parent(s): 9133fd5

Update non-thinking chat template

Browse files

Removes `<|channel>thought\n<channel|>` from the non-thinking chat template.

The evals in the original checkpoint look better, please see https://huggingface.co/google/diffusiongemma-26B-A4B-it/discussions/15 (@joaogante ).

Files changed (1) hide show
  1. chat_template.jinja +0 -3
chat_template.jinja CHANGED
@@ -356,8 +356,5 @@
356
  {%- if add_generation_prompt -%}
357
  {%- if ns.prev_message_type != 'tool_response' and ns.prev_message_type != 'tool_call' -%}
358
  {{- '<|turn>model\n' -}}
359
- {%- if not enable_thinking | default(false) -%}
360
- {{- '<|channel>thought\n<channel|>' -}}
361
- {%- endif -%}
362
  {%- endif -%}
363
  {%- endif -%}
 
356
  {%- if add_generation_prompt -%}
357
  {%- if ns.prev_message_type != 'tool_response' and ns.prev_message_type != 'tool_call' -%}
358
  {{- '<|turn>model\n' -}}
 
 
 
359
  {%- endif -%}
360
  {%- endif -%}