From 440292a074d3a1b539b5c782d9bb8cfd77bbe0f3 Mon Sep 17 00:00:00 2001 From: pandora <128635000+pandora-s-git@users.noreply.github.com> Date: Sat, 21 Sep 2024 18:57:07 +0200 Subject: [PATCH] Update Mistral V1.yaml --- instruction-templates/Mistral V1.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instruction-templates/Mistral V1.yaml b/instruction-templates/Mistral V1.yaml index 46194b66..950be5c7 100644 --- a/instruction-templates/Mistral V1.yaml +++ b/instruction-templates/Mistral V1.yaml @@ -18,7 +18,7 @@ instruction_template: |- {{- ' [INST] ' + message['content'].rstrip() + ' [/INST]' }} {%- endif %} {%- elif message['role'] == 'assistant' %} - {{- ' ' + message['content'].rstrip() + ''}} + {{- '' + message['content'] + ''}} {%- else %} {{- raise_exception('Only user and assistant roles are supported, with the exception of an initial optional system message!') }} {%- endif %}