From c3d0f41d50425e8662b3bab874c9a994620aa2c4 Mon Sep 17 00:00:00 2001 From: Haoxiang Fei Date: Fri, 10 May 2024 19:19:29 +0800 Subject: [PATCH] fix: change ignore_merges to bool --- llama.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llama.cpp b/llama.cpp index 152d15e56..554b34a8e 100644 --- a/llama.cpp +++ b/llama.cpp @@ -12200,7 +12200,7 @@ struct llm_tokenizer_bpe { void tokenize(const std::string & text, std::vector & output) { int final_prev_index = -1; - int ignore_merges = false; + bool ignore_merges = false; std::vector word_collection; switch (vocab.type) {