初始化项目,由ModelHub XC社区提供模型
Model: TabbyML/WizardCoder-3B Source: Original Platform
This commit is contained in:
5
tabby.json
Normal file
5
tabby.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"auto_model": "AutoModelForCausalLM",
|
||||
"chat_template": "Below is an instruction that describes a task. Write a response that appropriately completes the request.\n{% for message in messages %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}{% endif %}{% if message['role'] == 'user' %}{{ '### Instruction:\n' + message['content'] + '\n### Response:\n' }}{% elif message['role'] == 'assistant' %}{{ message['content'] + '\n' }}{% else %}{{ raise_exception('Only user and assistant roles are supported!') }}{% endif %}{% endfor %}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user