{ | |
"add_bos_token": true, | |
"add_eos_token": false, | |
"added_tokens_decoder": { | |
"0": { | |
"content": "<unk>", | |
"lstrip": false, | |
"normalized": false, | |
"rstrip": false, | |
"single_word": false, | |
"special": true | |
}, | |
"1": { | |
"content": "<s>", | |
"lstrip": false, | |
"normalized": false, | |
"rstrip": false, | |
"single_word": false, | |
"special": true | |
}, | |
"2": { | |
"content": "</s>", | |
"lstrip": false, | |
"normalized": false, | |
"rstrip": false, | |
"single_word": false, | |
"special": true | |
}, | |
"32000": { | |
"content": "<|im_end|>", | |
"lstrip": false, | |
"normalized": false, | |
"rstrip": false, | |
"single_word": false, | |
"special": true | |
}, | |
"32001": { | |
"content": "<pad>", | |
"lstrip": false, | |
"normalized": false, | |
"rstrip": false, | |
"single_word": false, | |
"special": true | |
}, | |
"32002": { | |
"content": "<|im_start|>user", | |
"lstrip": false, | |
"normalized": false, | |
"rstrip": false, | |
"single_word": false, | |
"special": true | |
}, | |
"32003": { | |
"content": "<|im_start|>assistant", | |
"lstrip": false, | |
"normalized": false, | |
"rstrip": false, | |
"single_word": false, | |
"special": true | |
}, | |
"32004": { | |
"content": "<|im_start|>system", | |
"lstrip": false, | |
"normalized": false, | |
"rstrip": false, | |
"single_word": false, | |
"special": true | |
} | |
}, | |
"additional_special_tokens": [ | |
"<|im_start|>user", | |
"<|im_start|>assistant", | |
"<|im_start|>system", | |
"<|im_end|>", | |
"<s>", | |
"<pad>" | |
], | |
"bos_token": "<s>", | |
"chat_template": "{% for message in messages %}\n{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% if loop.last and add_generation_prompt %}{{'<|im_start|>assistant\n' }}{% endif %}{% endfor %}", | |
"clean_up_tokenization_spaces": false, | |
"eos_token": "<|im_end|>", | |
"legacy": false, | |
"model_max_length": 1000000000000000019884624838656, | |
"pad_token": "<pad>", | |
"padding_side": "left", | |
"sp_model_kwargs": {}, | |
"tokenizer_class": "LlamaTokenizer", | |
"unk_token": "<unk>", | |
"use_default_system_prompt": false | |
} | |