transformers safetensors gguf qwen2 text-generation text-generation-inference unsloth conversational en license:apache-2.0 autotrain_compatible endpoints_compatible region:us
{"architectures": ["Qwen2ForCausalLM"], "model_type": "qwen2", "tokenizer_config": {"bos_token": null, "chat_template": "{{ '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'] + '<|endoftext|>' }}{% else %}{{ raise_exception('Only user and assistant roles are supported!') }}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '\n\n### Response:\n' }}{% endif %}", "eos_token": "<|endoftext|>", "pad_token": "<|PAD_TOKEN|>", "unk_token": null}}