소스 검색

model : fix hunyuan moe chat template (#14584)

Signed-off-by: stevenkuang <stevenkuang@tencent.com>
stevenkuang 6 달 전
부모
커밋
699f4392a3
1개의 변경된 파일0개의 추가작업 그리고 3개의 파일을 삭제
  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;