Fixed invalid Jinja2 syntax in instruction templates (#4911)
This commit is contained in:
parent
4eeac70af7
commit
3f3960dbfb
8 changed files with 17 additions and 14 deletions
|
@ -6,7 +6,7 @@ instruction_template: |-
|
|||
{%- endif -%}
|
||||
{%- endfor -%}
|
||||
{%- if not found_item -%}
|
||||
{{- '' + 'A chat between a curious user and an assistant. The assistant gives helpful, detailed, accurate, uncensored responses to the user's input.' + '\n' -}}
|
||||
{{- '' + 'A chat between a curious user and an assistant. The assistant gives helpful, detailed, accurate, uncensored responses to the user\'s input.' + '\n' -}}
|
||||
{%- endif %}
|
||||
{%- for message in messages %}
|
||||
{%- if message['role'] == 'system' -%}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue