{ "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 %}\n{% if message['role'] == 'user' %}\n{% if message['context'] is defined %}\n{{ '<|user|>\nCONTEXT:\n'+ message['context'] + '\nINSTRUCTION:\n' + message['instruction'] + eos_token }}\n{% else %}\n{{ '<|user|>\nINSTRUCTION:\n' + message['instruction'] + eos_token }}\n{% endif %}\n{% elif message['role'] == 'assistant' %}\n{{ '<|assistant|>\n' + message['content'] + eos_token }}\n{% endif %}\n{% if loop.last and add_generation_prompt %}\n{{ '<|assistant|>' }}\n{% endif %}\n{% endfor %}", "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 }