Kaynağa Gözat

chat : fix yandex chat template (#15116)

Sigbjørn Skjæret 5 ay önce
ebeveyn
işleme
65c797c4fa
2 değiştirilmiş dosya ile 0 ekleme ve 2 silme
  1. 0 2
      src/llama-chat.cpp
  2. 0 0
      tests/test-chat-template.cpp

+ 0 - 2
src/llama-chat.cpp

@@ -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") {

Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
tests/test-chat-template.cpp


Bu fark içinde çok fazla dosya değişikliği olduğu için bazı dosyalar gösterilmiyor