fix llama3 prompt template

This commit is contained in:
Yazan Agha-Schrader 2024-05-29 12:08:39 +02:00
parent 9fa0aa53f5
commit ca565f4ed6

View file

@ -45,7 +45,7 @@ userMsgSuffix: ""
"llama3": { "llama3": {
template: `<|begin_of_text|><|start_header_id|>system<|end_header_id|> template: `<|begin_of_text|><|start_header_id|>system<|end_header_id|>
{{prompt}}<|eot_id|>{{history}}{{char}}`, {{prompt}}<|eot_id|>{{history}}`,
historyTemplate: `<|start_header_id|>{{name}}<|end_header_id|> historyTemplate: `<|start_header_id|>{{name}}<|end_header_id|>
{{message}}`, {{message}}`,