llama-chat : update GLM4 chat template (#13238)
* update GLM4 chat template * Update chat template Co-authored-by: Xuan-Son Nguyen <thichthat@gmail.com> --------- Co-authored-by: Xuan-Son Nguyen <thichthat@gmail.com>
This commit is contained in:
parent
79f26e9e12
commit
e0f572c846
2 changed files with 3 additions and 3 deletions
|
@ -454,7 +454,7 @@ int32_t llm_chat_apply_template(
|
|||
ss << "<|" << role << "|>" << "\n" << message->content;
|
||||
}
|
||||
if (add_ass) {
|
||||
ss << "<|assistant|>";
|
||||
ss << "<|assistant|>\n";
|
||||
}
|
||||
} else if (tmpl == LLM_CHAT_TEMPLATE_MINICPM) {
|
||||
// MiniCPM-3B-OpenHermes-2.5-v2-GGUF
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue