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: "<|user|>"
bot: "<|assistant|>"
context: "<|system|>\n<|end|>\n"
turn_template: "<|user|>\n<|user-message|><|end|>\n<|bot|>\n<|bot-message|><|end|>\n"
context: "<|system|><|system-message|>\n<|end|>\n"
system_message: ""