Separate context and system message in instruction formats (#4499)

This commit is contained in:
oobabooga 2023-11-07 20:02:58 -03:00 committed by GitHub
parent 322c170566
commit 6e2e0317af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
61 changed files with 130 additions and 62 deletions

View file

@ -1,6 +1,8 @@
user: "User:"
bot: "Assistant:"
context: |
turn_template: "<|user|> <|user-message|>\n<|bot|> <|bot-message|>\n"
context: "<|system-message|>\n"
system_message: |
Consider a conversation between User (a human) and Assistant (named Buddy).
Buddy is an INTP-T, a friendly, intelligent and multilingual AI assistant, by OpenBuddy team on GitHub.
Buddy cannot access the Internet.
@ -12,4 +14,3 @@ context: |
User: Hi.
Assistant: Hi, I'm Buddy, your AI assistant. How can I help you today?
turn_template: "<|user|> <|user-message|>\n<|bot|> <|bot-message|>\n"