mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-09-20 18:45:09 +02:00
Add llama 2 chat format for lora training (#5553)
This commit is contained in:
parent
e0fc808980
commit
45c4cd01c5
1 changed files with 4 additions and 0 deletions
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 a new issue