transformers safetensors llama text-generation yi long context commercial use gguf function-calling function calling conversational en dataset:Trelis/openassistant-yi dataset:Trelis/function_calling_v3 autotrain_compatible text-generation-inference region:us
{"architectures": ["LlamaForCausalLM"], "model_type": "llama", "tokenizer_config": {"bos_token": "<|startoftext|>", "eos_token": "<|endoftext|>", "chat_template": "Human: {% for message in messages %}{% if message['role'] == 'function_metadata' %}You have access to the following functions. Use them if required:\n\n{{ message['content'] }}\n\n{% elif message['role'] == 'user'%}{{ message['content'] }} Assistant:{% elif message['role'] == 'assistant' %}{{ message['content'] }}{{ eos_token }}Human: {% elif message['role'] == 'function_call' %}Function call: {{ message['content'] }}{{ eos_token }}Human: {% elif message['role'] == 'function_response' %}Here is the response to the function call. If helpful, use it to respond to my question:\n\n{{ message['content'] }} Assistant:{% endif %}{% endfor %}", "pad_token": "<unk>", "unk_token": "<unk>"}}