transformers safetensors gguf mistral text-generation text-generation-inference code unsloth uncensored finetune conversational zh dataset:Minami-su/toxic-sft-zh dataset:llm-wizard/alpaca-gpt4-data-zh dataset:stephenlzc/stf-alpaca base_model:shenzhi-wang/Mistral-7B-v0.3-Chinese-Chat base_model:quantized:shenzhi-wang/Mistral-7B-v0.3-Chinese-Chat license:mit autotrain_compatible endpoints_compatible region:us
{"architectures": ["MistralForCausalLM"], "model_type": "mistral", "tokenizer_config": {"bos_token": "<s>", "chat_template": "{% if messages[0]['role'] == 'system' %}{% set system_message = messages[0]['content'] %}{% endif %}{{ '<s>' + system_message }}{% for message in messages %}{% set content = message['content'] %}{% if message['role'] == 'user' %}{{ ' [INST] ' + content + ' [/INST]' }}{% elif message['role'] == 'assistant' %}{{ content + '</s>' }}{% endif %}{% endfor %}", "eos_token": "</s>", "pad_token": "[control_768]", "unk_token": "<unk>", "use_default_system_prompt": false}}