Skip to content

Commit

Permalink
Add llama 2 chat format for lora training (#5553)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffbiocode authored Feb 25, 2024
1 parent e0fc808 commit 45c4cd0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions training/formats/llama2-chat-format.json
Original file line number Diff line number Diff line change
@@ -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>"
}

0 comments on commit 45c4cd0

Please sign in to comment.