Skip to content

Commit b06658d

Browse files
committed
llama : add support for Deepseek-R1-Qwen distill model (partial)
(based on commit ec7f3ac)
1 parent 46e449c commit b06658d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/llama.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -6359,7 +6359,8 @@ static void llm_load_vocab(
63596359
vocab.type_pre = LLAMA_VOCAB_PRE_TYPE_COMMAND_R;
63606360
vocab.tokenizer_clean_spaces = false;
63616361
} else if (
6362-
tokenizer_pre == "qwen2") {
6362+
tokenizer_pre == "qwen2" ||
6363+
tokenizer_pre == "deepseek-r1-qwen") {
63636364
vocab.type_pre = LLAMA_VOCAB_PRE_TYPE_QWEN2;
63646365
vocab.tokenizer_clean_spaces = false;
63656366
} else if (

0 commit comments

Comments
 (0)