From 0aa4e3aafb6e8227e6dcf1f255f921cf9141a731 Mon Sep 17 00:00:00 2001 From: Justin Hayes Date: Wed, 6 Mar 2024 13:03:39 -0500 Subject: [PATCH] Restore colons --- src/lib/components/chat/Settings/Models.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/components/chat/Settings/Models.svelte b/src/lib/components/chat/Settings/Models.svelte index 9169a63cf..e540885f5 100644 --- a/src/lib/components/chat/Settings/Models.svelte +++ b/src/lib/components/chat/Settings/Models.svelte @@ -45,7 +45,7 @@ let modelUploadMode = 'file'; let modelInputFile = ''; let modelFileUrl = ''; - let modelFileContent = `TEMPLATE """{{ .System }}\nUSER {{ .Prompt }}\nASSISTANT """\nPARAMETER num_ctx 4096\nPARAMETER stop ""\nPARAMETER stop "USER"\nPARAMETER stop "ASSISTANT"`; + let modelFileContent = `TEMPLATE """{{ .System }}\nUSER: {{ .Prompt }}\nASSISTANT: """\nPARAMETER num_ctx 4096\nPARAMETER stop ""\nPARAMETER stop "USER:"\nPARAMETER stop "ASSISTANT:"`; let modelFileDigest = ''; let uploadProgress = null;