Skip to content

Commit e5cf8b4

Browse files
thxCodearthw
authored andcommitted
fix: typo of chatglm4 chat tmpl (ggml-org#8586)
Signed-off-by: thxCode <[email protected]>
1 parent fa91d86 commit e5cf8b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/llama.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21607,7 +21607,7 @@ static int32_t llama_chat_apply_template_internal(
2160721607
if (add_ass) {
2160821608
ss << "<|assistant|>";
2160921609
}
21610-
} else if (tmpl == "chaglm4" || tmpl_contains("[gMASK]<sop>")) {
21610+
} else if (tmpl == "chatglm4" || tmpl_contains("[gMASK]<sop>")) {
2161121611
ss << "[gMASK]" << "<sop>";
2161221612
for (auto message : chat) {
2161321613
std::string role(message->role);

0 commit comments

Comments
 (0)