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

Model: ahczhg/Llama-3.2-1B-Aegis-SFT-DPO
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-06-03 23:24:19 +08:00
commit fec258e892
9 changed files with 2643 additions and 0 deletions

1
chat_template.jinja Normal file
View File

@@ -0,0 +1 @@
{% for message in messages %}{% if message['role'] == 'user' %}{{ '<|start_header_id|>user<|end_header_id|>\n\n' + message['content'] + '<|eot_id|>' }}{% elif message['role'] == 'assistant' %}{{ '<|start_header_id|>assistant<|end_header_id|>\n\n' + message['content'] + '<|eot_id|>' }}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '<|start_header_id|>assistant<|end_header_id|>\n\n' }}{% endif %}