Add code space &
Co-authored-by: Xuan Son Nguyen <thichthat@gmail.com>
This commit is contained in:
parent
60ed87077d
commit
50ef6ca3b9
1 changed files with 1 additions and 1 deletions
|
@ -21715,7 +21715,7 @@ static int32_t llama_chat_apply_template_internal(
|
|||
}
|
||||
} else if (tmpl == "granite" || tmpl_contains("<|start_of_role|>")) {
|
||||
// IBM Granite template
|
||||
for (const auto& message : chat) {
|
||||
for (const auto & message : chat) {
|
||||
std::string role(message->role);
|
||||
ss << "<|start_of_role|>" << role << "<|end_of_role|>"
|
||||
<< message->content << "<|end_of_text|>\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue