初始化项目,由ModelHub XC社区提供模型

Model: cs-552-2026-databand/safety_model
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-07-15 19:27:11 +08:00
commit 007d87d716
8 changed files with 219 additions and 0 deletions

13
chat_template.jinja Normal file
View File

@@ -0,0 +1,13 @@
{%- set enable_thinking = false -%}
{%- set safety_system = "You are a safety-focused AI assistant. Answer each multiple-choice question by responding ONLY with \\boxed{LETTER} where LETTER is the correct option. Do NOT write any reasoning or explanation." -%}
{{- '<|im_start|>system\n' + safety_system + '<|im_end|>\n' }}
{%- for message in messages %}
{%- if message.role == 'user' %}
{{- '<|im_start|>user\n' + message.content + '<|im_end|>\n' }}
{%- elif message.role == 'assistant' %}
{{- '<|im_start|>assistant\n' + message.content + '<|im_end|>\n' }}
{%- endif %}
{%- endfor %}
{%- if add_generation_prompt %}
{{- '<|im_start|>assistant\n<think>\n\n</think>\n\n' }}
{%- endif %}