chat : fix yandex chat template (#15116)
This commit is contained in:
parent
25726898e8
commit
65c797c4fa
2 changed files with 2 additions and 4 deletions
|
|
@ -625,8 +625,6 @@ int32_t llm_chat_apply_template(
|
|||
} else if (tmpl == LLM_CHAT_TEMPLATE_YANDEX) {
|
||||
// Yandex template ("\n\n" is defined as EOT token)
|
||||
|
||||
ss << "<s>";
|
||||
|
||||
for (size_t i = 0; i < chat.size(); i++) {
|
||||
std::string role(chat[i]->role);
|
||||
if (role == "user") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue