{ "add_bos_token": true, "add_eos_token": false, "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 }, "32000": { "content": "<|END_OF_FUNCTION_RESULT|>", "lstrip": true, "normalized": false, "rstrip": true, "single_word": false, "special": true }, "32001": { "content": "<|END_OF_USER|>", "lstrip": true, "normalized": false, "rstrip": true, "single_word": false, "special": true }, "32002": { "content": "<|END_OF_ASSISTANT|>", "lstrip": true, "normalized": false, "rstrip": true, "single_word": false, "special": true }, "32003": { "content": "<|END_OF_SYSTEM|>", "lstrip": true, "normalized": false, "rstrip": true, "single_word": false, "special": true }, "32004": { "content": "<|END_OF_FUNCTION_CALL|>", "lstrip": true, "normalized": false, "rstrip": true, "single_word": false, "special": true }, "32005": { "content": "<|START_OF_FUNCTION_CALL|>", "lstrip": true, "normalized": false, "rstrip": true, "single_word": false, "special": true } }, "additional_special_tokens": [ "", "", "", "<|END_OF_FUNCTION_RESULT|>", "<|END_OF_USER|>", "<|END_OF_ASSISTANT|>", "<|END_OF_SYSTEM|>", "<|END_OF_FUNCTION_CALL|>", "<|START_OF_FUNCTION_CALL|>" ], "bos_token": "", "chat_template": "{#v1.4#}\n{% for message in messages %}\n{% if message['role'] == 'user' %}\n{{ message['role'] + ':\n' + message['content'] + '<|END_OF_USER|>' + '\n' }}{% elif message['role'] == 'system' %}\n{{ message['role'] + ':\n' + message['content'] + '<|END_OF_SYSTEM|>' + '\n' }}{% elif message['role'] == 'function' %}\n{{ 'function name=' + message['name'] + ':\n' + message['content']+ '<|END_OF_FUNCTION_RESULT|>\n' }}{% elif message['role'] == 'assistant' %}\n{% if 'function_call' in message and message['function_call'] is not none %}\n{% if message['content'] is not none %}\n{{ 'assistant:\n' + message['content'] + '\n<|START_OF_FUNCTION_CALL|>' + message['function_call']['name'] + ':\n' + message['function_call']['arguments'] + '<|END_OF_FUNCTION_CALL|>\n' }}{% else %}\n{{ 'assistant:\n<|START_OF_FUNCTION_CALL|>' + message['function_call']['name'] + ':\n' + message['function_call']['arguments'] + '<|END_OF_FUNCTION_CALL|>\n' }}{% endif %}\n{% else %}\n{{ 'assistant:\n' + message['content'] + '<|END_OF_ASSISTANT|>' + '\n' }}{% endif %}\n{% endif %}\n{% endfor %}\n{% if add_generation_prompt %}{{ 'assistant:\n' }}{% endif %}", "clean_up_tokenization_spaces": false, "eos_token": "", "legacy": true, "model_max_length": 4096, "pad_token": "", "padding_side": "left", "sp_model_kwargs": {}, "spaces_between_special_tokens": false, "tokenizer_class": "LlamaTokenizer", "unk_token": "", "use_default_system_prompt": true }