Revert #1579, apply the proper fix

Apparently models dislike trailing spaces.
This commit is contained in:
oobabooga 2023-04-26 16:47:50 -03:00
parent a941c19337
commit 1d8b8222e9
3 changed files with 4 additions and 4 deletions

View file

@ -1,4 +1,4 @@
name: "### Assistant:"
your_name: "### Human:"
context: "A chat between a human and an assistant.\n\n"
turn_template: "<|user|> <|user-message|>\n<|bot|><|bot-message|>\n"
turn_template: "<|user|> <|user-message|>\n<|bot|> <|bot-message|>\n"

View file

@ -1,4 +1,4 @@
name: "ASSISTANT:"
your_name: "USER:"
context: "A chat between a user and an assistant.\n\n"
turn_template: "<|user|> <|user-message|>\n<|bot|><|bot-message|></s>\n"
turn_template: "<|user|> <|user-message|>\n<|bot|> <|bot-message|></s>\n"