{ | |
"added_tokens_decoder": { | |
"0": { | |
"content": "<|unused0|>", | |
"lstrip": false, | |
"normalized": false, | |
"rstrip": false, | |
"single_word": false, | |
"special": true | |
}, | |
"1": { | |
"content": "<|unused1|>", | |
"lstrip": false, | |
"normalized": false, | |
"rstrip": false, | |
"single_word": false, | |
"special": true | |
}, | |
"2": { | |
"content": "<|endoftext|>", | |
"lstrip": false, | |
"normalized": false, | |
"rstrip": false, | |
"single_word": false, | |
"special": true | |
}, | |
"3": { | |
"content": "<|sep|>", | |
"lstrip": false, | |
"normalized": false, | |
"rstrip": false, | |
"single_word": false, | |
"special": true | |
}, | |
"30000": { | |
"content": "<|acc|>", | |
"lstrip": false, | |
"normalized": false, | |
"rstrip": false, | |
"single_word": false, | |
"special": true | |
}, | |
"30001": { | |
"content": "<|tel|>", | |
"lstrip": false, | |
"normalized": false, | |
"rstrip": false, | |
"single_word": false, | |
"special": true | |
}, | |
"30002": { | |
"content": "<|rrn|>", | |
"lstrip": false, | |
"normalized": false, | |
"rstrip": false, | |
"single_word": false, | |
"special": true | |
} | |
}, | |
"additional_special_tokens": [ | |
"<|endoftext|>", | |
"<|sep|>", | |
"<|acc|>", | |
"<|tel|>", | |
"<|rrn|>" | |
], | |
"chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% set loop_messages = messages %}{% for message in loop_messages %}{% set content = '<|start_header_id|>' + message['role'] + '<|end_header_id|>\n\n'+ message['content'] | trim + '<|eot_id|>' %}{% if loop.index0 == 0 %}{% set content = bos_token + content %}{% endif %}{{ content }}{% endfor %}{% if add_generation_prompt %}{{ '<|start_header_id|>assistant<|end_header_id|>\n\n' }}{% endif %}", | |
"clean_up_tokenization_spaces": true, | |
"eos_token": "<|endoftext|>", | |
"max_length": 2048, | |
"model_max_length": 1000000000000000019884624838656, | |
"pad_token": "<|endoftext|>", | |
"stride": 0, | |
"tokenizer_class": "PreTrainedTokenizerFast", | |
"truncation_side": "right", | |
"truncation_strategy": "longest_first" | |
} | |