Merge pull request #4892 from piamo/main

update deepseek template
This commit is contained in:
hoshi-hiyouga 2024-07-26 11:49:34 +08:00 committed by GitHub
commit 8a2846cfe1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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"}]),
)