{ "add_bos_token": true, "add_eos_token": false, "add_prefix_space": null, "added_tokens_decoder": { "0": { "content": "", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "1": { "content": "", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "2": { "content": "", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true } }, "bos_token": "", "chat_template": "{% for message in messages %}<|im_start|>{{ message.role }}\n{% if message.role == 'system' %}{{ message.content }}{% if tools and tools | length > 0 %}\n\nYou have access to the following functions:\n{% for tool in tools %}\nfunctions.{{ tool.function.name }}:\n{{ tool.function.parameters | tojson }}\n{% endfor %}\n\nYou can respond to users messages with either a single message or one or more function calls.\n\nTo respond with a message begin the message with 'message:', use the following format:\n\nmessage:\n\n\nTo respond with one or more function calls begin the message with 'functions.:', use the following format:\n\nfunctions.:\n{ \"arg1\": \"value1\", \"arg2\": \"value2\" }\nfunctions.:\n{ \"arg1\": \"value1\", \"arg2\": \"value2\" }{% endif %}<|im_end|>\n{% endif %}{% if message.role == 'user' %}{{ message.content }}<|im_end|>\n{% endif %}{% if message.role == 'assistant' %}{% if message.content and message.content | length > 0 %}{% if tools %}message:\n{% endif %}{{ message.content }}<|im_end|>\n{% endif %}{% if message.tool_calls and message.tool_calls | length > 0 %}{% for tool_call in message.tool_calls %}functions.{{ tool_call.function.name }}:\n{{ tool_call.function.arguments }}{% endfor %}<|im_end|>\n{% endif %}{% endif %}{% endfor %}{% if add_generation_prompt %}<|im_start|>assistant\n{% endif %}", "clean_up_tokenization_spaces": false, "eos_token": "", "legacy": false, "model_max_length": 2048, "pad_token": "", "padding_side": "right", "sp_model_kwargs": {}, "tokenizer_class": "LlamaTokenizer", "unk_token": "", "use_default_system_prompt": false }