mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-21 23:57:58 +01:00
Add llama 2 chat format for lora training (#5553)
This commit is contained in:
parent
e0fc808980
commit
45c4cd01c5
4
training/formats/llama2-chat-format.json
Normal file
4
training/formats/llama2-chat-format.json
Normal 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>"
|
||||
}
|
Loading…
Reference in New Issue
Block a user