mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-10-01 01:26:03 -04: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