mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-08-15 06:33:31 +00:00
Remove \n\n from controls and try other original
Signed-off-by: ThiloteE <73715071+ThiloteE@users.noreply.github.com>
This commit is contained in:
parent
dd3dfa11a4
commit
b79df8ed33
@ -184,7 +184,7 @@ const std::unordered_map<std::string_view, std::string_view> CHAT_TEMPLATE_SUBST
|
|||||||
{%- if loop.last and add_generation_prompt %}
|
{%- if loop.last and add_generation_prompt %}
|
||||||
{{- '<|start_of_role|>assistant' }}
|
{{- '<|start_of_role|>assistant' }}
|
||||||
{%- if controls %}
|
{%- if controls %}
|
||||||
{{- '\n\n' + controls | tojson()}}
|
{{- ' ' + controls | tojson()}}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{{- '<|end_of_role|>' }}
|
{{- '<|end_of_role|>' }}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user