|
{
|
|
"add_prefix_space": false,
|
|
"added_tokens_decoder": {
|
|
"0": {
|
|
"content": "<s>",
|
|
"lstrip": false,
|
|
"normalized": true,
|
|
"rstrip": false,
|
|
"single_word": false,
|
|
"special": true
|
|
},
|
|
"1": {
|
|
"content": "<pad>",
|
|
"lstrip": false,
|
|
"normalized": true,
|
|
"rstrip": false,
|
|
"single_word": false,
|
|
"special": true
|
|
},
|
|
"2": {
|
|
"content": "</s>",
|
|
"lstrip": false,
|
|
"normalized": true,
|
|
"rstrip": false,
|
|
"single_word": false,
|
|
"special": true
|
|
},
|
|
"3": {
|
|
"content": "<unk>",
|
|
"lstrip": false,
|
|
"normalized": true,
|
|
"rstrip": false,
|
|
"single_word": false,
|
|
"special": true
|
|
},
|
|
"50264": {
|
|
"content": "<mask>",
|
|
"lstrip": true,
|
|
"normalized": true,
|
|
"rstrip": false,
|
|
"single_word": false,
|
|
"special": true
|
|
},
|
|
"50265": {
|
|
"content": "<|im_start|>",
|
|
"lstrip": false,
|
|
"normalized": false,
|
|
"rstrip": false,
|
|
"single_word": false,
|
|
"special": true
|
|
},
|
|
"50266": {
|
|
"content": "<|im_end|>",
|
|
"lstrip": false,
|
|
"normalized": false,
|
|
"rstrip": false,
|
|
"single_word": false,
|
|
"special": true
|
|
}
|
|
},
|
|
"additional_special_tokens": [
|
|
"<|im_start|>",
|
|
"<|im_end|>"
|
|
],
|
|
"bos_token": "<|im_start|>",
|
|
"chat_template": "{% 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": true,
|
|
"cls_token": "<s>",
|
|
"eos_token": "<|im_end|>",
|
|
"errors": "replace",
|
|
"mask_token": "<mask>",
|
|
"max_length": 1024,
|
|
"model_max_length": 16384,
|
|
"pad_to_multiple_of": null,
|
|
"pad_token": "<|im_end|>",
|
|
"pad_token_type_id": 0,
|
|
"padding_side": "right",
|
|
"sep_token": "</s>",
|
|
"stride": 0,
|
|
"tokenizer_class": "LEDTokenizer",
|
|
"trim_offsets": true,
|
|
"truncation_side": "right",
|
|
"truncation_strategy": "longest_first",
|
|
"unk_token": "<unk>"
|
|
}
|
|
|