mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-25 09:19:23 +01:00
Minor fix to Vigogne-Chat template
This commit is contained in:
parent
3f973e1fbf
commit
306c479d3a
@ -13,9 +13,9 @@ instruction_template: |-
|
|||||||
{{- '' + message['content'] + '\n' -}}
|
{{- '' + message['content'] + '\n' -}}
|
||||||
{%- else -%}
|
{%- else -%}
|
||||||
{%- if message['role'] == 'user' -%}
|
{%- if message['role'] == 'user' -%}
|
||||||
{{-'\n<|USER|>: ' + message['content'] + '\n'-}}
|
{{-'<|USER|>: ' + message['content'] + '\n'-}}
|
||||||
{%- else -%}
|
{%- else -%}
|
||||||
{{-'<|ASSISTANT|>: ' + message['content'] + '' -}}
|
{{-'<|ASSISTANT|>: ' + message['content'] + '\n' -}}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
|
Loading…
Reference in New Issue
Block a user