{ | |
"add_bos_token": true, | |
"add_eos_token": false, | |
"added_tokens_decoder": { | |
"0": { | |
"content": "<unk>", | |
"lstrip": true, | |
"normalized": false, | |
"rstrip": true, | |
"single_word": false, | |
"special": true | |
}, | |
"1": { | |
"content": "<s>", | |
"lstrip": true, | |
"normalized": false, | |
"rstrip": true, | |
"single_word": false, | |
"special": true | |
}, | |
"2": { | |
"content": "</s>", | |
"lstrip": true, | |
"normalized": false, | |
"rstrip": true, | |
"single_word": false, | |
"special": true | |
}, | |
"32000": { | |
"content": "[PAD]", | |
"lstrip": false, | |
"normalized": false, | |
"rstrip": false, | |
"single_word": false, | |
"special": true | |
} | |
}, | |
"additional_special_tokens": [], | |
"bos_token": "<s>", | |
"chat_template": "<#meta#>\n- Date: {{ (messages|selectattr('role', 'equalto', 'meta-current_date')|list|last).content if (messages|selectattr('role', 'equalto', 'meta-current_date')|list) else '' }}\n- Task: {{ (messages|selectattr('role', 'equalto', 'meta-task_name')|list|last).content if (messages|selectattr('role', 'equalto', 'meta-task_name')|list) else '' }}\n<#system#>\n{{ (messages|selectattr('role', 'equalto', 'system')|list|last).content if (messages|selectattr('role', 'equalto', 'system')|list) else '' }}\n<#chat#>\n{% for message in messages %}\n {% if message['role'] == 'human' %}\n<#user#>\n{{ message['content'] }}\n {% elif message['role'] == 'ai' %}\n<#bot#>\n{{ message['content'] }}\n{% elif message['role'] == 'user_context' %}\n<#user_context#>\n{{ message['content'] }}\n{% endif %}\n{% endfor %}\n{% if add_generation_prompt or (messages[-1]['role'] == 'human' or messages[-1]['role'] == 'user_context') %}\n<#bot#>\n{% endif %}", | |
"clean_up_tokenization_spaces": false, | |
"eos_token": "</s>", | |
"legacy": false, | |
"model_max_length": 8192, | |
"pad_token": "[PAD]", | |
"padding_side": "right", | |
"sp_model_kwargs": {}, | |
"spaces_between_special_tokens": false, | |
"tokenizer_class": "LlamaTokenizer", | |
"tokenizer_file": null, | |
"trust_remote_code": false, | |
"unk_token": "<unk>", | |
"use_default_system_prompt": true, | |
"use_fast": false | |
} | |