mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-10-30 22:20:14 +01:00
Merge remote-tracking branch 'refs/remotes/origin/dev' into dev
This commit is contained in:
commit
038b4fc8af
@ -4,13 +4,12 @@ instruction_template: |-
|
|||||||
{{- message['content'] -}}
|
{{- message['content'] -}}
|
||||||
{%- else -%}
|
{%- else -%}
|
||||||
{%- if message['role'] == 'user' -%}
|
{%- if message['role'] == 'user' -%}
|
||||||
{{-'[INST] ' + message['content'] + ' [/INST]'-}}
|
{{-' [INST] ' + message['content'].rstrip() + ' [/INST] '-}}
|
||||||
{%- else -%}
|
{%- else -%}
|
||||||
{{-'' + message['content'] + '</s> ' -}}
|
{{-'' + message['content'] + '</s>' -}}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
{%- if add_generation_prompt -%}
|
{%- if add_generation_prompt -%}
|
||||||
{{-''-}}
|
{{-''-}}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user