Răsfoiți Sursa

model : fix hunyuan moe chat template (#14584)

Signed-off-by: stevenkuang <stevenkuang@tencent.com>
stevenkuang 6 luni în urmă
părinte
comite
699f4392a3
1 a modificat fișierele cu 0 adăugiri și 3 ștergeri
  1. 0 3
      src/llama-chat.cpp

+ 0 - 3
src/llama-chat.cpp

@@ -680,9 +680,6 @@ int32_t llm_chat_apply_template(
                 ss << "<|startoftext|>" << message->content << "<|extra_0|>";
             }
         }
-        if (add_ass) {
-            ss << "<|startoftext|>";
-        }
     } else {
         // template not supported
         return -1;