From 0930f5869929634baa0881167d3d6c714afc63d9 Mon Sep 17 00:00:00 2001 From: hiyouga <467089858@qq.com> Date: Wed, 29 May 2024 20:55:51 +0800 Subject: [PATCH] fix #3965 --- src/llamafactory/data/template.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/llamafactory/data/template.py b/src/llamafactory/data/template.py index 35866e31..a117b689 100644 --- a/src/llamafactory/data/template.py +++ b/src/llamafactory/data/template.py @@ -544,7 +544,7 @@ _register_template( ) ] ), - format_system=EmptyFormatter(slots=[{"bos_token"}]), + format_system=StringFormatter(slots=[{"bos_token"}, "{{content}}"]), force_system=True, )