Skip to content

Commit 699f439

Browse files
model : fix hunyuan moe chat template (#14584)
Signed-off-by: stevenkuang <stevenkuang@tencent.com>
1 parent 0838286 commit 699f439

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/llama-chat.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -680,9 +680,6 @@ int32_t llm_chat_apply_template(
680680
ss << "<|startoftext|>" << message->content << "<|extra_0|>";
681681
}
682682
}
683-
if (add_ass) {
684-
ss << "<|startoftext|>";
685-
}
686683
} else {
687684
// template not supported
688685
return -1;

0 commit comments

Comments
 (0)