safetensors gguf mistral endpoints_compatible region:us conversational
{"architectures": ["MistralForCausalLM"], "model_type": "mistral", "tokenizer_config": {"bos_token": "<s>", "chat_template": "{{ bos_token }}{% if messages[0]['from'] == 'system' %}{{ messages[0]['value'] + '\n\n' }}{% set loop_messages = messages[1:] %}{% else %}{{ 'Below are some instructions that describe some tasks. Write responses that appropriately complete each request.\n\n' }}{% set loop_messages = messages %}{% endif %}{% for message in loop_messages %}{% if message['from'] == 'human' %}{{ '### Instruction:\n' + message['value'] + '\n\n' }}{% elif message['from'] == 'gpt' %}{{ '### Response:\n' + message['value'] + eos_token + '\n\n' }}{% else %}{{ raise_exception('Only user and assistant roles are supported!') }}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '### Response:\n' }}{% endif %}", "eos_token": "<|endoftext|>", "pad_token": "<|placeholder6|>", "unk_token": "<unk>", "use_default_system_prompt": false}}