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

Model: jtatman/merged-llama32-1b-uncensored-dolphin-agent
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-06-16 07:28:16 +08:00
commit 33fdbfa0dc
8 changed files with 308 additions and 0 deletions

5
chat_template.jinja Normal file
View File

@@ -0,0 +1,5 @@
{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% set loop_messages = messages %}{% for message in loop_messages %}{% set content = '<|start_header_id|>' + message['role'] + '<|end_header_id|>
'+ message['content'] | trim + '<|eot_id|>' %}{% if loop.index0 == 0 %}{% set content = bos_token + content %}{% endif %}{{ content }}{% endfor %}{% if add_generation_prompt %}{{ '<|start_header_id|>assistant<|end_header_id|>
' }}{% endif %}