mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-09-22 03:48:08 +00:00
[Jinja] Fix typo in Phi-3.1-mini-128k-instruct replacement template (#3412)
Signed-off-by: ThiloteE <73715071+ThiloteE@users.noreply.github.com> Signed-off-by: Jared Van Bortel <jared@nomic.ai> Co-authored-by: Jared Van Bortel <jared@nomic.ai>
This commit is contained in:
@@ -626,7 +626,7 @@ const std::unordered_map<std::string_view, std::string_view> CHAT_TEMPLATE_SUBST
|
||||
// replacement
|
||||
R"TEMPLATE({%- for message in messages %}
|
||||
{%- if message['role'] == 'system' %}
|
||||
{{-'<|system|>\n' + message['content'] + '<|end|>\n'}}
|
||||
{{- '<|system|>\n' + message['content'] + '<|end|>\n' }}
|
||||
{%- elif message['role'] == 'user' %}
|
||||
{{- '<|user|>\n' + message['content'] + '<|end|>\n' }}
|
||||
{%- elif message['role'] == 'assistant' %}
|
||||
|
Reference in New Issue
Block a user