support glm-4-9b-chat
Signed-off-by: XingXing Qiao <qiaoxx@dingdao.com>
This commit is contained in:
parent
f3bc337f43
commit
1fc5bf5bcb
5 changed files with 116 additions and 7 deletions
|
@ -3056,7 +3056,7 @@ int main(int argc, char ** argv) {
|
|||
chat.push_back({{"role", "user"}, {"content", "Hello"}});
|
||||
chat.push_back({{"role", "assistant"}, {"content", "Hi there"}});
|
||||
chat.push_back({{"role", "user"}, {"content", "How are you?"}});
|
||||
|
||||
printf("sparams.chat_template: #%s#\n", sparams.chat_template.c_str());
|
||||
const std::string chat_example = format_chat(ctx_server.model, sparams.chat_template, chat);
|
||||
|
||||
LOG_INFO("chat template", {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue