transformers pytorch gguf llama text-generation text-generation-inference unsloth trl Ollama Tool-Calling conversational en vi dataset:nguyenthanhthuan/function-calling-sharegpt base_model:meta-llama/Llama-3.2-1B-Instruct base_model:quantized:meta-llama/Llama-3.2-1B-Instruct license:apache-2.0 autotrain_compatible endpoints_compatible region:us
{"architectures": ["LlamaForCausalLM"], "model_type": "llama", "tokenizer_config": {"bos_token": "<|begin_of_text|>", "chat_template": "\n{%- if messages[0]['role'] == 'system' -%}\n<|start_header_id|>system<|end_header_id|>\n\n{{ messages[0]['content'] }}\n{%- endif -%}\n{%- for message in messages -%}\n    {%- if message['role'] == 'user' -%}\n        <|start_header_id|>user<|end_header_id|>\n        {{ message['content'] }}\n    {%- elif message['role'] in ['assistant'] -%}\n        <|start_header_id|>assistant<|end_header_id|>\n        {{ message['content'] }}<|eot_id|>\n    {%- elif message['role'] in ['tool_call'] -%}\n        <|start_header_id|>tool_call<|end_header_id|>\n        {{ message['content'] }}<|eot_id|>\n    {%- elif message['role'] == 'tool_response' -%}\n        <|start_header_id|>tool_respone<|end_header_id|>\n        {{ message['content'] }}\n    {%- endif -%}\n{%- endfor -%}\n{%- if add_generation_prompt -%} <|start_header_id|>assistant<|end_header_id|>\n{%- endif -%}\n", "eos_token": "<|eot_id|>", "pad_token": "<|finetune_right_pad_id|>"}}