From af019105f1581d8ec66d62c92a5df2c4f57ac416 Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Fri, 14 Jun 2024 13:16:18 +0300 Subject: [PATCH] Update llama.cpp --- llama.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/llama.cpp b/llama.cpp index c3d494889..88bf4359c 100644 --- a/llama.cpp +++ b/llama.cpp @@ -4708,8 +4708,7 @@ static void llm_load_vocab( } else if ( tokenizer_pre == "poro-chat") { vocab.type_pre = LLAMA_VOCAB_PRE_TYPE_PORO; - } - else { + } else { throw std::runtime_error(format("unknown pre-tokenizer type: '%s'", tokenizer_pre.c_str())); } } else {