server : remove extra \n after <|eot_id|> in llama3 template
This commit is contained in:
parent
4be8de1604
commit
2727b02b4d
1 changed files with 2 additions and 2 deletions
|
@ -75,9 +75,9 @@ export const promptFormats = {
|
|||
// ----------------------------
|
||||
|
||||
"llama3": {
|
||||
template: `<|start_header_id|>system<|end_header_id|>\n\n{{prompt}}<|eot_id|>\n{{history}}<|start_header_id|>{{char}}<|end_header_id|>\n\n`,
|
||||
template: `<|start_header_id|>system<|end_header_id|>\n\n{{prompt}}<|eot_id|>{{history}}<|start_header_id|>{{char}}<|end_header_id|>\n\n`,
|
||||
|
||||
historyTemplate: `<|start_header_id|>{{name}}<|end_header_id|>\n\n{{message}}<|eot_id|>\n`,
|
||||
historyTemplate: `<|start_header_id|>{{name}}<|end_header_id|>\n\n{{message}}<|eot_id|>`,
|
||||
|
||||
char: "assistant",
|
||||
charMsgPrefix: "",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue