From 1d16e87c5faa06e16531a310d0023dd0616570ce Mon Sep 17 00:00:00 2001 From: hiyouga Date: Sat, 10 Feb 2024 16:44:47 +0800 Subject: [PATCH] update default template Former-commit-id: f32b55649a9f95109a6d180216eb67f959d060da --- src/llmtuner/data/template.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/llmtuner/data/template.py b/src/llmtuner/data/template.py index 47c25863..4b2e2e51 100644 --- a/src/llmtuner/data/template.py +++ b/src/llmtuner/data/template.py @@ -420,6 +420,7 @@ _register_template( _register_template( name="default", format_user=StringFormatter(slots=["Human: {{content}}\nAssistant: "]), + format_system=StringFormatter(slots=["{{content}}\n"]), format_separator=EmptyFormatter(slots=["\n"]), )