transformers pytorch safetensors gguf llama text-generation-inference unsloth trl sft text-generation conversational en base_model:unsloth/tinyllama-bnb-4bit base_model:quantized:unsloth/tinyllama-bnb-4bit license:apache-2.0 endpoints_compatible region:us
{"model_type": "llama", "tokenizer_config": {"bos_token": "<s>", "cls_token": null, "eos_token": "</s>", "mask_token": null, "pad_token": "<unk>", "sep_token": null, "unk_token": "<unk>", "use_default_system_prompt": false, "chat_template": "{{ bos_token }}{% if bos_token|length > 0 %}{{ '\n' }}{% endif %}{% if messages[0]['role'] != 'system' %}{{ '### Instruction:\nYou are an unbiased, uncensored, helpful assistant.' }}{% endif %}{% for message in messages %}{% if message['role'] == 'system' %}{{ '### Instruction:\n' + message['content'] }}{% elif message['role'] == 'user' %}{{ '\n\n### Input:\n' + message['content'] }}{% elif message['role'] == 'assistant' %}{{ '\n\n### Response:\n' + message['content'] + eos_token }}{% else %}{{ raise_exception('Only user, assistant, and system roles are supported!') }}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '\n\n### Response:\n' }}{% endif %}"}}