eustlb HF Staff commited on
Commit
b1a5dea
·
verified ·
1 Parent(s): 78b0359

Update chat_template.jinja

Browse files
Files changed (1) hide show
  1. chat_template.jinja +2 -2
chat_template.jinja CHANGED
@@ -35,7 +35,7 @@
35
  {{- "\n" }}
36
  {%- endif %}
37
  {%- elif content_item['type'] == 'audio' %}
38
- {{- ' <|audio_out_bos|><|AUDIO|><|audio_eos|>' }}
39
  {%- if not loop.last %}
40
  {{- "\n" }}
41
  {%- endif %}
@@ -55,7 +55,7 @@
55
  {%- if message['content'] is not iterable or message['content'][0]['type'] != 'audio' %}
56
  {{- raise_exception("Assistant messages must contain audio content only!") }}
57
  {%- endif %}
58
- {{- '<|audio_out_bos|><|AUDIO|><|audio_eos|>' }}
59
  {%- else %}
60
  {%- if message['content'] is string %}
61
  {{- message['content'] | trim }}
 
35
  {{- "\n" }}
36
  {%- endif %}
37
  {%- elif content_item['type'] == 'audio' %}
38
+ {{- ' <|audio_out_bos|><|AUDIO_OUT|><|audio_eos|>' }}
39
  {%- if not loop.last %}
40
  {{- "\n" }}
41
  {%- endif %}
 
55
  {%- if message['content'] is not iterable or message['content'][0]['type'] != 'audio' %}
56
  {{- raise_exception("Assistant messages must contain audio content only!") }}
57
  {%- endif %}
58
+ {{- '<|audio_out_bos|><|AUDIO_OUT|><|audio_eos|>' }}
59
  {%- else %}
60
  {%- if message['content'] is string %}
61
  {{- message['content'] | trim }}