[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:
ThiloteE
2025-01-28 22:54:15 +01:00
committed by GitHub
parent 0d974297a5
commit 88f5dac133
2 changed files with 2 additions and 1 deletions

View File

@@ -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' %}