From 54e749d1cfa299f339fece4e4da7e436b3de1b0d Mon Sep 17 00:00:00 2001 From: hoshi-hiyouga Date: Mon, 30 Sep 2024 16:39:48 +0800 Subject: [PATCH] Update template.py Former-commit-id: 02957fc9c3cd04ef5140f093642b94e74ce86b61 --- src/llamafactory/data/template.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/llamafactory/data/template.py b/src/llamafactory/data/template.py index e7539019..e832e3ad 100644 --- a/src/llamafactory/data/template.py +++ b/src/llamafactory/data/template.py @@ -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, )