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
No known key found for this signature in database
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'