Update template.py

This commit is contained in:
hoshi-hiyouga 2024-09-30 16:39:48 +08:00 committed by GitHub
parent 2964b20eb5
commit 02957fc9c3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 2 deletions

View File

@ -649,8 +649,6 @@ _register_template(
format_user=StringFormatter(slots=["[|user|]{{content}}\n[|assistant|]"]),
format_system=StringFormatter(slots=["[|system|]{{content}}[|endofturn|]\n"]),
format_separator=EmptyFormatter(slots=["\n"]),
format_prefix=EmptyFormatter(slots=[""]),
efficient_eos=True,
)