mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-23 00:18:20 +01:00
Add EOS/BOS tokens to Llama-2 template
Following this comment: https://github.com/ggerganov/llama.cpp/issues/2262#issuecomment-1641063329
This commit is contained in:
parent
070a886278
commit
8ec225f245
@ -1,4 +1,4 @@
|
|||||||
user: ""
|
user: ""
|
||||||
bot: ""
|
bot: ""
|
||||||
turn_template: "<|user|><|user-message|> [/INST] <|bot|><|bot-message|> [INST] "
|
turn_template: "<|user|><|user-message|> [/INST] <|bot|><|bot-message|> </s><s>[INST] "
|
||||||
context: "[INST] <<SYS>>\nAnswer the questions.\n<</SYS>>\n"
|
context: "[INST] <<SYS>>\nAnswer the questions.\n<</SYS>>\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user