update deepseek template

This commit is contained in:
huangpan.foo 2024-07-19 15:02:54 +08:00
parent 88c7fc1599
commit 44e48e2b82
1 changed files with 1 additions and 0 deletions

View File

@ -578,6 +578,7 @@ _register_template(
_register_template(
name="deepseek",
format_user=StringFormatter(slots=["User: {{content}}\n\nAssistant:"]),
format_system=StringFormatter(slots=["{{content}}\n\n"]),
format_prefix=EmptyFormatter(slots=[{"bos_token"}]),
)