Create instruction template for Llama-v2 (#3194)

This commit is contained in:
oobabooga 2023-07-18 17:19:18 -03:00 committed by GitHub
parent 603c596616
commit e0631e309f
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 0 deletions

View file

@ -0,0 +1,4 @@
user: ""
bot: ""
turn_template: "<|user|><|user-message|> [/INST] <|bot|><|bot-message|> [INST] "
context: "[INST] <<SYS>>\nAnswer the questions.\n<</SYS>>\n"

View file

@ -272,3 +272,8 @@ TheBloke_WizardLM-30B-GPTQ:
.*godzilla:
mode: 'instruct'
instruction_template: 'Alpaca'
.*llama-(2|v2):
truncation_length: 4096
.*llama-(2|v2).*chat:
mode: 'instruct'
instruction_template: 'Llama-v2'