Detect Orca 2 template (#4697)

This commit is contained in:
oobabooga 2023-11-21 15:26:42 -03:00 committed by GitHub
parent 54a4eb60a3
commit b81d6ad8a4
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 7 additions and 6 deletions

View file

@ -1,7 +1,6 @@
user: "user" user: user
bot: "assistant" bot: assistant
turn_template: <|im_start|><|user|>\n<|user-message|><|im_end|>\n<|im_start|><|bot|>\n<|bot-message|><|im_end|>\n
context: | context: |
<|im_start|><|system-message|> <|im_start|>system
<|im_end|> <|system-message|><|im_end|>
turn_template: "<|im_start|><|user|>\n<|user-message|><|im_end|>\n<|im_start|><|bot|>\n<|bot-message|><|im_end|>\n"
system_message: "system"

View file

@ -180,3 +180,5 @@
instruction_template: 'ChatML' instruction_template: 'ChatML'
.*(WizardCoder-Python-34B-V1.0|Phind-CodeLlama-34B-v2|CodeBooga-34B-v0.1): .*(WizardCoder-Python-34B-V1.0|Phind-CodeLlama-34B-v2|CodeBooga-34B-v0.1):
instruction_template: 'Alpaca' instruction_template: 'Alpaca'
.*orca-2-(13|7)b:
instruction_template: 'ChatML'