{ | |
"add_bos_token": false, | |
"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": false, | |
"normalized": false, | |
"rstrip": false, | |
"single_word": false, | |
"special": true | |
}, | |
"2": { | |
"content": "</s>", | |
"lstrip": true, | |
"normalized": false, | |
"rstrip": true, | |
"single_word": false, | |
"special": true | |
}, | |
"32000": { | |
"content": "<|im_end|>", | |
"lstrip": false, | |
"normalized": false, | |
"rstrip": false, | |
"single_word": false, | |
"special": true | |
}, | |
"32001": { | |
"content": "<|im_start|>", | |
"lstrip": true, | |
"normalized": false, | |
"rstrip": true, | |
"single_word": false, | |
"special": true | |
} | |
}, | |
"additional_special_tokens": [ | |
"<unk>", | |
"<s>", | |
"</s>", | |
"<|im_end|>", | |
"<|im_start|>" | |
], | |
"bos_token": "<s>", | |
"chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}", | |
"clean_up_tokenization_spaces": false, | |
"eos_token": "</s>", | |
"legacy": true, | |
"model_max_length": 32768, | |
"pad_token": "<unk>", | |
"sp_model_kwargs": {}, | |
"spaces_between_special_tokens": false, | |
"tokenizer_class": "LlamaTokenizer", | |
"tokenizer_file": "/content/saiga2_7b/tokenizer.json", | |
"trust_remote_code": false, | |
"unk_token": "<unk>", | |
"use_default_system_prompt": true, | |
"use_fast": true | |
} | |