Merge branch 'main' into minicpmv

Former-commit-id: 8a9c90759feda975faadc5858bd44b7ea116e7fb
This commit is contained in:
Zhangchi Feng
2025-01-11 00:01:36 +08:00
committed by GitHub
10 changed files with 198 additions and 69 deletions

View File

@@ -396,8 +396,7 @@ _register_template(
format_user=StringFormatter(slots=["### Instruction:\n{{content}}\n\n### Response:\n"]),
format_assistant=StringFormatter(slots=["{{content}}", {"eos_token"}, "\n\n"]),
default_system=(
"Below is an instruction that describes a task. "
"Write a response that appropriately completes the request.\n\n"
"Below is an instruction that describes a task. Write a response that appropriately completes the request.\n\n"
),
replace_jinja_template=True,
)