Update llama.cpp
Co-authored-by: Samuel Tallet <36248671+SamuelTallet@users.noreply.github.com>
This commit is contained in:
parent
1f7945f61f
commit
24874e7323
1 changed files with 1 additions and 1 deletions
|
@ -17025,7 +17025,7 @@ static int32_t llama_chat_apply_template_internal(
|
||||||
ss << "<|begin_of_text|>";
|
ss << "<|begin_of_text|>";
|
||||||
first_message = false;
|
first_message = false;
|
||||||
}
|
}
|
||||||
ss << "<|start_header_id|>" << message->role << "<|end_header_id|>\n\n" << trim(message->content) << "<|eot_id|>";
|
ss << "<|start_header_id|>" << role << "<|end_header_id|>\n\n" << trim(message->content) << "<|eot_id|>";
|
||||||
}
|
}
|
||||||
if (add_ass) {
|
if (add_ass) {
|
||||||
ss << "<|start_header_id|>assistant<|end_header_id|>\n\n";
|
ss << "<|start_header_id|>assistant<|end_header_id|>\n\n";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue