Skip to content

Commit aed59ba

Browse files
committed
merge if blocks
1 parent 3c23a42 commit aed59ba

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/llama-vocab.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1836,10 +1836,7 @@ void llama_vocab::impl::load(llama_model_loader & ml, const LLM_KV & kv) {
18361836
pre_type = LLAMA_VOCAB_PRE_TYPE_DEEPSEEK_CODER;
18371837
clean_spaces = false;
18381838
} else if (
1839-
tokenizer_pre == "deepseek-v3") {
1840-
pre_type = LLAMA_VOCAB_PRE_TYPE_DEEPSEEK3_LLM;
1841-
clean_spaces = false;
1842-
} else if (
1839+
tokenizer_pre == "deepseek-v3" ||
18431840
tokenizer_pre == "deepseek-v3.1") {
18441841
pre_type = LLAMA_VOCAB_PRE_TYPE_DEEPSEEK3_LLM;
18451842
clean_spaces = false;

0 commit comments

Comments
 (0)