87 lines
2.1 KiB
JSON
87 lines
2.1 KiB
JSON
{
|
|
"add_prefix_space": false,
|
|
"added_tokens_decoder": {
|
|
"50256": {
|
|
"content": "<|endoftext|>",
|
|
"lstrip": false,
|
|
"normalized": true,
|
|
"rstrip": false,
|
|
"single_word": false,
|
|
"special": true
|
|
},
|
|
"50257": {
|
|
"content": "[PAD]",
|
|
"lstrip": false,
|
|
"normalized": false,
|
|
"rstrip": false,
|
|
"single_word": false,
|
|
"special": true
|
|
},
|
|
"50258": {
|
|
"content": "<s>",
|
|
"lstrip": false,
|
|
"normalized": false,
|
|
"rstrip": false,
|
|
"single_word": false,
|
|
"special": true
|
|
},
|
|
"50259": {
|
|
"content": "<|im_end|>",
|
|
"lstrip": false,
|
|
"normalized": false,
|
|
"rstrip": false,
|
|
"single_word": false,
|
|
"special": true
|
|
},
|
|
"50260": {
|
|
"content": "<pad>",
|
|
"lstrip": false,
|
|
"normalized": false,
|
|
"rstrip": false,
|
|
"single_word": false,
|
|
"special": true
|
|
},
|
|
"50261": {
|
|
"content": "<|im_start|>user",
|
|
"lstrip": false,
|
|
"normalized": false,
|
|
"rstrip": false,
|
|
"single_word": false,
|
|
"special": true
|
|
},
|
|
"50262": {
|
|
"content": "<|im_start|>assistant",
|
|
"lstrip": false,
|
|
"normalized": false,
|
|
"rstrip": false,
|
|
"single_word": false,
|
|
"special": true
|
|
},
|
|
"50263": {
|
|
"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|>",
|
|
"extra_special_tokens": {},
|
|
"model_max_length": 1024,
|
|
"pad_token": "<pad>",
|
|
"tokenizer_class": "GPT2Tokenizer",
|
|
"unk_token": "<|endoftext|>"
|
|
}
|