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,4 +1,5 @@
user: ""
bot: ""
turn_template: "<|user|><|user-message|> [/INST] <|bot|><|bot-message|> </s><s>[INST] "
context: "[INST] <<SYS>>\nAnswer the questions.\n<</SYS>>\n\n"
context: "[INST] <<SYS>>\n<|system-message|>\n<</SYS>>\n\n"
system_message: "Answer the questions."