Update chat_template.jinja
Browse files- 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|><|
|
| 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|><|
|
| 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 }}
|