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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 6 deletions

View File

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

View File

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