{ | |
"add_prefix_space": false, | |
"added_tokens_decoder": { | |
"50256": { | |
"content": "<|endoftext|>", | |
"lstrip": false, | |
"normalized": true, | |
"rstrip": false, | |
"single_word": false, | |
"special": true | |
}, | |
"50257": { | |
"content": "<|user|>", | |
"lstrip": false, | |
"normalized": false, | |
"rstrip": false, | |
"single_word": false, | |
"special": true | |
}, | |
"50258": { | |
"content": "<|system|>", | |
"lstrip": false, | |
"normalized": false, | |
"rstrip": false, | |
"single_word": false, | |
"special": true | |
}, | |
"50259": { | |
"content": "<|end|>", | |
"lstrip": false, | |
"normalized": false, | |
"rstrip": false, | |
"single_word": false, | |
"special": true | |
}, | |
"50260": { | |
"content": "<|assistant|>", | |
"lstrip": false, | |
"normalized": false, | |
"rstrip": false, | |
"single_word": false, | |
"special": true | |
} | |
}, | |
"additional_special_tokens": [ | |
"<|user|>", | |
"<|system|>", | |
"<|end|>", | |
"<|assistant|>" | |
], | |
"bos_token": "<|endoftext|>", | |
"chat_template": "{% for message in messages %}{% if message['role'] == 'user' %}{{ '<|endoftext|><|user|>\n' + message['content'] + '<|end|>\n' }}{% elif message['role'] == 'system' %}{{ '<|system|>\n' + message['content'] + '<|end|>\n' }}{% elif message['role'] == 'assistant' %}{{ '<|assistant|>\n' + message['content'] + '<|end|><|endoftext|>\n' }}{% endif %}{% endfor %}", | |
"clean_up_tokenization_spaces": true, | |
"eos_token": "<|endoftext|>", | |
"model_max_length": 1024, | |
"pad_token": "<|endoftext|>", | |
"tokenizer_class": "GPT2Tokenizer", | |
"unk_token": "<|endoftext|>" | |
} | |