llama_cpp_for_radxa_dragon_.../common
Daniel Bevenius 5e6229a840
common : fix double bos, use common_chat_templates for add_bos and add_eos (#15326)
This commit updates common_chat_templates_apply_jinja to use the
the add_bos and add_eos parameters from the chat template instead of
the inputs.

The motivation for this is that currently if the `add_bos` and `add_eos`
from the input parameters are used it is possible to there will be a
missmatch between the model and the chat template which can lead to the
the removal of duplicate BOS/EOS tokens in chat.cpp `apply` to not
happen leading to two BOS tokens being added to the template.
2025-08-15 19:50:52 +02:00
..
arg.cpp server : add SWA checkpoints (#15293) 2025-08-14 14:59:50 +03:00
arg.h
base64.hpp
build-info.cpp.in
chat-parser.cpp chat : support Granite model reasoning and tool call (#14864) 2025-08-06 20:27:30 +02:00
chat-parser.h
chat.cpp common : fix double bos, use common_chat_templates for add_bos and add_eos (#15326) 2025-08-15 19:50:52 +02:00
chat.h chat : include kwargs in template example (#15309) 2025-08-14 10:28:29 -07:00
CMakeLists.txt
common.cpp finetune: SGD optimizer, more CLI args (#13873) 2025-08-14 12:03:57 +02:00
common.h server : add SWA checkpoints (#15293) 2025-08-14 14:59:50 +03:00
console.cpp
console.h
json-partial.cpp
json-partial.h
json-schema-to-grammar.cpp
json-schema-to-grammar.h
llguidance.cpp
log.cpp
log.h
ngram-cache.cpp
ngram-cache.h
regex-partial.cpp
regex-partial.h
sampling.cpp
sampling.h
speculative.cpp
speculative.h