Download tabby.json from kosar/WizardCoder-Python-34B-Tabby: direct link, hf CLI and curl.
- Browser
- Download file 644 Bytes
-
https://huggingface.co/kosar/WizardCoder-Python-34B-Tabby/resolve/main/tabby.json
- Command line
-
hf download hf://kosar/WizardCoder-Python-34B-Tabby/tabby.json
-
curl -L -o tabby.json https://huggingface.co/kosar/WizardCoder-Python-34B-Tabby/resolve/main/tabby.json
644 Bytes
| { | |
| "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 %}" | |
| } | |