From ca551aee7a693301fa6fe272bc76a18236bdc7ed Mon Sep 17 00:00:00 2001 From: ThiloteE <73715071+ThiloteE@users.noreply.github.com> Date: Sat, 14 Dec 2024 01:00:31 +0100 Subject: [PATCH] Remove superflous space in Gemma-2-9b-it Signed-off-by: ThiloteE <73715071+ThiloteE@users.noreply.github.com> --- gpt4all-bindings/python/docs/gpt4all_desktop/chat_templates.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpt4all-bindings/python/docs/gpt4all_desktop/chat_templates.md b/gpt4all-bindings/python/docs/gpt4all_desktop/chat_templates.md index 1e4f863a2afd..6bb6947b277d 100644 --- a/gpt4all-bindings/python/docs/gpt4all_desktop/chat_templates.md +++ b/gpt4all-bindings/python/docs/gpt4all_desktop/chat_templates.md @@ -235,7 +235,7 @@ See issue [3263](https://github.com/nomic-ai/gpt4all/issues/3263) ```jinja {%- for message in messages %} {%- if loop.first and messages[0]['role'] != 'system' %} - {{ '<|im_start|>system\nYou are a helpful assistant.<|im_end|>\n' }} + {{ '<|im_start|>system\nYou are a helpful assistant.<|im_end|>\n' }} {%- endif %} {{ '<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n' }} {%- endfor %}