From 70eb88c842fb372f45ca0e8ee7dc0df014f6de6c Mon Sep 17 00:00:00 2001 From: Wouter <9594229+DifferentialityDevelopment@users.noreply.github.com> Date: Fri, 19 Apr 2024 00:27:16 +0200 Subject: [PATCH] Update llama.cpp Co-authored-by: Samuel Tallet <36248671+SamuelTallet@users.noreply.github.com> --- llama.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llama.cpp b/llama.cpp index 7d978edf6..0cb34c2aa 100644 --- a/llama.cpp +++ b/llama.cpp @@ -17021,7 +17021,7 @@ static int32_t llama_chat_apply_template_internal( bool first_message = true; // add BOS at the beginning for (auto message : chat) { std::string role(message->role); - if(first_message){ + if (first_message) { ss << "<|begin_of_text|>"; first_message = false; }