]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
Add cohere2moe to llama-vocab for TINY_AYA (#24601)
authorBartowski <redacted>
Sun, 14 Jun 2026 07:04:46 +0000 (03:04 -0400)
committerGitHub <redacted>
Sun, 14 Jun 2026 07:04:46 +0000 (09:04 +0200)
src/llama-vocab.cpp

index 8543e178dbadeb915daaa183060d1a0f6e6f3aa3..6e78a3f6c0eae724fc90d3abde4c859f4c7513df 100644 (file)
@@ -2280,7 +2280,8 @@ void llama_vocab::impl::load(llama_model_loader & ml, const LLM_KV & kv) {
                 clean_spaces = false;
                 ignore_merges = true;
             } else if (
-                tokenizer_pre == "tiny_aya") {
+                tokenizer_pre == "tiny_aya" ||
+                tokenizer_pre == "cohere2moe") {
                 pre_type = LLAMA_VOCAB_PRE_TYPE_TINY_AYA;
                 clean_spaces = false;
             } else if (