You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (params_base.chat_template.empty() && !validate_builtin_chat_template(params.use_jinja)) {
1862
+
LOG_WRN("%s: The chat template that comes with this model is not yet supported, falling back to chatml. This may cause the model to output suboptimal responses\n", __func__);
// if a custom chat template is not supplied, we will use the one that comes with the model (if any)
4439
-
if (params.chat_template.empty()) {
4440
-
if (!ctx_server.validate_builtin_chat_template(params.use_jinja)) {
4441
-
LOG_WRN("%s: The chat template that comes with this model is not yet supported, falling back to chatml. This may cause the model to output suboptimal responses\n", __func__);
4442
-
params.chat_template = "chatml";
4443
-
}
4444
-
}
4445
-
4446
4443
// print sample chat example to make it clear which template is used
0 commit comments