From ca565f4ed665d697a4129325a2cb4175089de40c Mon Sep 17 00:00:00 2001 From: Yazan Agha-Schrader Date: Wed, 29 May 2024 12:08:39 +0200 Subject: [PATCH] fix llama3 prompt template --- examples/server/themes/mount-ai/promptFormats.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/server/themes/mount-ai/promptFormats.js b/examples/server/themes/mount-ai/promptFormats.js index aae67c3dc..e9fc2b71e 100644 --- a/examples/server/themes/mount-ai/promptFormats.js +++ b/examples/server/themes/mount-ai/promptFormats.js @@ -45,7 +45,7 @@ userMsgSuffix: "" "llama3": { template: `<|begin_of_text|><|start_header_id|>system<|end_header_id|> -{{prompt}}<|eot_id|>{{history}}{{char}}`, +{{prompt}}<|eot_id|>{{history}}`, historyTemplate: `<|start_header_id|>{{name}}<|end_header_id|> {{message}}`,