transformers safetensors gguf llama text-generation-inference unsloth trl en base_model:unsloth/Meta-Llama-3.1-8B-bnb-4bit base_model:quantized:unsloth/Meta-Llama-3.1-8B-bnb-4bit license:apache-2.0 endpoints_compatible region:us conversational
{"model_type": "llama", "tokenizer_config": {"bos_token": "<|begin_of_text|>", "chat_template": "{{ bos_token }}{{ 'Below are some instructions that describe some tasks. Write responses that appropriately complete each request.' }}{% for message in messages %}{% if message['role'] == 'user' %}{{ '\n\n### Instruction:\n' + message['content'] }}{% elif message['role'] == 'assistant' %}{{ '\n\n### Response:\n' + message['content'] + '<|end_of_text|>' }}{% else %}{{ raise_exception('Only user and assistant roles are supported!') }}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '\n\n### Response:\n' }}{% endif %}", "eos_token": "<|end_of_text|>", "pad_token": "<|finetune_right_pad_id|>"}}