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

Model: serving-d-cause/writing-roleplay-20k-context-nemo-12b-v1.0
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-07-06 00:52:16 +08:00
commit 984ca58057
17 changed files with 9085 additions and 0 deletions

11
chat_template.jinja Normal file
View File

@@ -0,0 +1,11 @@
{% if not add_generation_prompt is defined %}
{% set add_generation_prompt = false %}
{% endif %}
{% for message in messages %}
{{ '<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n' }}
{% endfor %}
{% if add_generation_prompt %}
{{ '<|im_start|>assistant\n' }}
{% endif %}