From 1bf93ced81bb8b1fbdaadb967021d5604d498e73 Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Wed, 24 Apr 2024 09:39:04 +0300 Subject: [PATCH] llama : match EOT token <|end|> --- llama.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/llama.cpp b/llama.cpp index 63483b9a5..698ad2367 100644 --- a/llama.cpp +++ b/llama.cpp @@ -4381,6 +4381,7 @@ static void llm_load_vocab( //vocab.id_to_token[t.second].type == LLAMA_TOKEN_TYPE_CONTROL && (t.first == "<|eot_id|>" || t.first == "<|im_end|>" || + t.first == "<|end|>" || t.first == "" ) ) {