transformers safetensors gguf phi3 text-generation conversational custom_code license:cc-by-nc-sa-4.0 autotrain_compatible text-generation-inference endpoints_compatible region:us
{"architectures": ["Phi3ForCausalLM"], "auto_map": {"AutoConfig": "microsoft/Phi-3-mini-128k-instruct--configuration_phi3.Phi3Config", "AutoModel": "microsoft/Phi-3-mini-128k-instruct--modeling_phi3.Phi3ForCausalLM", "AutoModelForCausalLM": "microsoft/Phi-3-mini-128k-instruct--modeling_phi3.Phi3ForCausalLM"}, "model_type": "phi3", "tokenizer_config": {"bos_token": "<s>", "chat_template": "{{ '<s>' }}{% if messages[0]['role'] == 'system' %}{% set system_message = messages[0]['content'] %}{% endif %}{% if system_message is defined %}{{ '<|system|>\n' + system_message + '<|end|>\n' }}{% endif %}{% for message in messages %}{% set content = message['content'] %}{% if message['role'] == 'user' %}{{ '<|user|>\n' + content + '<|end|>\n<|assistant|>\n' }}{% elif message['role'] == 'assistant' %}{{ content + '<|end|>' + '\n' }}{% endif %}{% endfor %}", "eos_token": "<|end|>", "pad_token": "<|endoftext|>", "unk_token": "<unk>", "use_default_system_prompt": false}}