diff --git a/src/llamafactory/data/template.py b/src/llamafactory/data/template.py index 3aa2f4f1..db0393d1 100644 --- a/src/llamafactory/data/template.py +++ b/src/llamafactory/data/template.py @@ -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"}]), )