mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-05-02 15:14:38 +02:00
talk-llama : add check for deepseek-r1-qwen in llama-vocab.cpp
This commit is contained in:
parent
7ffcd05267
commit
3972a8c6a5
@ -1522,7 +1522,8 @@ void llama_vocab::impl::load(llama_model_loader & ml, const LLM_KV & kv) {
|
|||||||
pre_type = LLAMA_VOCAB_PRE_TYPE_COMMAND_R;
|
pre_type = LLAMA_VOCAB_PRE_TYPE_COMMAND_R;
|
||||||
clean_spaces = false;
|
clean_spaces = false;
|
||||||
} else if (
|
} else if (
|
||||||
tokenizer_pre == "qwen2") {
|
tokenizer_pre == "qwen2" ||
|
||||||
|
tokenizer_pre == "deepseek-r1-qwen") {
|
||||||
pre_type = LLAMA_VOCAB_PRE_TYPE_QWEN2;
|
pre_type = LLAMA_VOCAB_PRE_TYPE_QWEN2;
|
||||||
clean_spaces = false;
|
clean_spaces = false;
|
||||||
} else if (
|
} else if (
|
||||||
|
Loading…
Reference in New Issue
Block a user