transformers safetensors gguf mistral text-generation conversational autotrain_compatible text-generation-inference endpoints_compatible region:us
{"architectures": ["MistralForCausalLM"], "model_type": "mistral", "tokenizer_config": {"bos_token": "<s>", "chat_template": "{% set system_message = 'Below is an instruction that describes a task. Write a response that appropriately completes the request.\\n\\n' %}{% if messages[0]['role'] == 'system' %}{% set system_message = messages[0]['content'] %}{% endif %}{% if system_message is defined %}{{ system_message }}{% endif %}{% for message in messages %}{% set content = message['content'] %}{% if message['role'] == 'user' %}{{ '### Instruction:\\n' + content + '\\n\\n### Response:\\n' }}{% elif message['role'] == 'assistant' %}{{ content + '<|endoftext|>' + '\\n\\n' }}{% endif %}{% endfor %}", "eos_token": "<|endoftext|>", "pad_token": "<|placeholder6|>", "unk_token": "<unk>", "use_default_system_prompt": false}}