add models

This commit is contained in:
hiyouga committed 2024-02-06 14:57:23 +08:00
1 parent ccabb5b04a
commit 85622ae757
2 files changed
+16 -20

No files matched your search

+2 -1
View File
@@ -376,7 +376,8 @@ register_template(
register_template(
name="deepseekcoder",
format_user=StringFormatter(slots=["### Instruction:\n{{content}}\n### Response:\n"]),
format_user=StringFormatter(slots=["### Instruction:\n{{content}}\n### Response:"]),
format_assistant=StringFormatter(slots=["\n", "{{content}}"]),
format_separator=EmptyFormatter(slots=["\n", {"token": "<|EOT|>"}, "\n"]),
default_system=(
"You are an AI programming assistant, utilizing the Deepseek Coder model, "