Skip to content

Commit c971ea8

Browse files
ryan-mangenoCISC
andauthored
Update src/llama-vocab.cpp
Co-authored-by: Sigbjørn Skjæret <[email protected]>
1 parent dd6d36b commit c971ea8

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/llama-vocab.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1673,10 +1673,6 @@ void llama_vocab::impl::load(llama_model_loader & ml, const LLM_KV & kv) {
16731673
tokenizer_pre == "smoldocling") {
16741674
pre_type = LLAMA_VOCAB_PRE_TYPE_SMOLDOCLING;
16751675
clean_spaces = false;
1676-
} else if (
1677-
tokenizer_pre == "smoldocling") {
1678-
pre_type = LLAMA_VOCAB_PRE_TYPE_SMOLDOCLING;
1679-
clean_spaces = false;
16801676
} else {
16811677
throw std::runtime_error(format("unknown pre-tokenizer type: '%s'", tokenizer_pre.c_str()));
16821678
}

0 commit comments

Comments
 (0)