初始化项目,由ModelHub XC社区提供模型
Model: SirSahOl/glm-edge-1.5b-chat-mlx-16bit Source: Original Platform
This commit is contained in:
5
chat_template.jinja
Normal file
5
chat_template.jinja
Normal file
@@ -0,0 +1,5 @@
|
||||
{% for item in messages %}{% if item['role'] == 'system' %}<|system|>
|
||||
{{ item['content'] }}{% elif item['role'] == 'user' %}<|user|>
|
||||
{{ item['content'] }}{% elif item['role'] == 'assistant' %}<|assistant|>
|
||||
{{ item['content'] }}{% endif %}{% endfor %}{% if add_generation_prompt %}<|assistant|>
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user