Small change to \n
Small change to \n
This commit is contained in:
parent
3cca307ea6
commit
60ed87077d
1 changed files with 1 additions and 1 deletions
|
@ -21717,7 +21717,7 @@ static int32_t llama_chat_apply_template_internal(
|
||||||
// IBM Granite template
|
// IBM Granite template
|
||||||
for (const auto& message : chat) {
|
for (const auto& message : chat) {
|
||||||
std::string role(message->role);
|
std::string role(message->role);
|
||||||
ss << "<|start_of_role|>" << role << "<|end_of_role|>\n"
|
ss << "<|start_of_role|>" << role << "<|end_of_role|>"
|
||||||
<< message->content << "<|end_of_text|>\n";
|
<< message->content << "<|end_of_text|>\n";
|
||||||
}
|
}
|
||||||
if (add_ass) {
|
if (add_ass) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue