mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-10-03 11:35:46 +00:00
preserved tokens
This commit is contained in:
parent
1e300ce8b1
commit
1859dbed49
1 changed files with 1 additions and 0 deletions
|
|
@ -3182,6 +3182,7 @@ void llama_vocab::impl::load(llama_model_loader & ml, const LLM_KV & kv) {
|
|||
|| t.first == "[THINK]" || t.first == "[/THINK]"
|
||||
|| t.first == "<|eom|>" // muse-glimmer mid-turn delimiter
|
||||
|| t.first == "<think>" || t.first == "</think>"
|
||||
|| t.first == "<function" || t.first == "<param" || t.first == "</param>" || t.first == "</function>" //minicpm5
|
||||
// || t.first == "<|tool_calls_section_begin|>" || t.first == "<|tool_calls_section_end|>" // kimi-k2
|
||||
|| t.first == "<|tool_call_begin|>" || t.first == "<|tool_call_argument_begin|>" // kimi-k2
|
||||
|| t.first == "[CALL_ID]" || t.first == "[TOOL_CONTENT]" || t.first == "[TOOL_CALLS]" || t.first == "[ARGS]") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue