Update chat_template.jinja
Browse files- chat_template.jinja +1 -1
chat_template.jinja
CHANGED
|
@@ -19,7 +19,7 @@
|
|
| 19 |
{% set add_generation_prompt = false %}
|
| 20 |
{%- endif %}
|
| 21 |
|
| 22 |
-
{%- set ns = namespace(is_first=false, system_prompt='You are Nex, a helpful assistant
|
| 23 |
{%- for message in messages %}
|
| 24 |
{%- if message['role'] == 'system' %}
|
| 25 |
{%- if ns.is_first_sp %}
|
|
|
|
| 19 |
{% set add_generation_prompt = false %}
|
| 20 |
{%- endif %}
|
| 21 |
|
| 22 |
+
{%- set ns = namespace(is_first=false, system_prompt='You are Nex, a helpful assistant.', is_first_sp=true, is_last_user=false) %}
|
| 23 |
{%- for message in messages %}
|
| 24 |
{%- if message['role'] == 'system' %}
|
| 25 |
{%- if ns.is_first_sp %}
|