Add llama 2 chat format for lora training (#5553)

This commit is contained in:
jeffbiocode 2024-02-25 14:36:36 +09:00 committed by GitHub
parent e0fc808980
commit 45c4cd01c5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,4 @@
{
"modelanswer,userprompt,systemprompt": "<s>[INST] <<SYS>>\n%systemprompt%\n<</SYS>>\n\n%userprompt%[/INST] %modelanswer%</s>"
"modelanswer,userprompt": "<s>[INST] <<SYS>>\n\n<</SYS>>\n\n%userprompt%[/INST] %modelanswer%</s>"
}