初始化项目,由ModelHub XC社区提供模型
Model: kandivault/sprocket-500m Source: Original Platform
This commit is contained in:
1
chat/chat_template.jinja
Normal file
1
chat/chat_template.jinja
Normal file
@@ -0,0 +1 @@
|
||||
{% for m in messages %}{% if m['role'] == 'system' %}<|system|>{{ m['content'] }}<|end|>{% elif m['role'] == 'user' %}<|user|>{{ m['content'] }}<|end|>{% elif m['role'] == 'assistant' %}<|assistant|>{{ m['content'] }}<|end|>{% elif m['role'] == 'memory' %}<|memory_read|>{{ m['content'] }}<|end|>{% elif m['role'] == 'tool' %}<|tool_result|>{{ m['content'] }}<|end|>{% endif %}{% endfor %}{% if add_generation_prompt %}<|assistant|>{% endif %}
|
||||
Reference in New Issue
Block a user