Skip to content

Commit 7efef47

Browse files
committed
server: format_llama2: remove BOS
1 parent 269437e commit 7efef47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/server/utils.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ inline std::string format_llama2(std::vector<json> messages)
174174

175175
for (auto it = messages.begin(); it != messages.end(); ++it) {
176176
if (!is_inside_turn) {
177-
output << "<s>[INST] ";
177+
output << "[INST] ";
178178
}
179179
std::string role = json_value(*it, "role", std::string("user"));
180180
std::string content = json_value(*it, "content", std::string(""));

0 commit comments

Comments
 (0)