From 167342af8a3477e404204fa7a5161d606b599201 Mon Sep 17 00:00:00 2001 From: Zhangchi Feng <64362896+BUAADreamer@users.noreply.github.com> Date: Sat, 15 Feb 2025 00:37:41 +0800 Subject: [PATCH] [data] fix minicpmo template (#6946) Former-commit-id: 09e4438b58d5c1a5fdde37ff781c3d79461c4743 --- src/llamafactory/data/template.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/llamafactory/data/template.py b/src/llamafactory/data/template.py index ebe9a3ce..bc01882d 100644 --- a/src/llamafactory/data/template.py +++ b/src/llamafactory/data/template.py @@ -1142,6 +1142,7 @@ register_template( format_assistant=StringFormatter(slots=["{{content}}<|im_end|>\n"]), format_system=StringFormatter(slots=["<|im_start|>system\n{{content}}<|im_end|>\n"]), stop_words=["<|im_end|>"], + default_system="You are a helpful assistant.", mm_plugin=get_mm_plugin(name="minicpm_v", image_token="", video_token="