|
{ |
|
"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 |
|
}, |
|
"101": { |
|
"content": "<image>", |
|
"lstrip": false, |
|
"normalized": false, |
|
"rstrip": false, |
|
"single_word": false, |
|
"special": true |
|
}, |
|
"102": { |
|
"content": "</image>", |
|
"lstrip": false, |
|
"normalized": false, |
|
"rstrip": false, |
|
"single_word": false, |
|
"special": true |
|
}, |
|
"103": { |
|
"content": "<ref>", |
|
"lstrip": false, |
|
"normalized": false, |
|
"rstrip": false, |
|
"single_word": false, |
|
"special": true |
|
}, |
|
"104": { |
|
"content": "</ref>", |
|
"lstrip": false, |
|
"normalized": false, |
|
"rstrip": false, |
|
"single_word": false, |
|
"special": true |
|
}, |
|
"105": { |
|
"content": "<box>", |
|
"lstrip": false, |
|
"normalized": false, |
|
"rstrip": false, |
|
"single_word": false, |
|
"special": true |
|
}, |
|
"106": { |
|
"content": "</box>", |
|
"lstrip": false, |
|
"normalized": false, |
|
"rstrip": false, |
|
"single_word": false, |
|
"special": true |
|
}, |
|
"107": { |
|
"content": "<quad>", |
|
"lstrip": false, |
|
"normalized": false, |
|
"rstrip": false, |
|
"single_word": false, |
|
"special": true |
|
}, |
|
"108": { |
|
"content": "</quad>", |
|
"lstrip": false, |
|
"normalized": false, |
|
"rstrip": false, |
|
"single_word": false, |
|
"special": true |
|
}, |
|
"109": { |
|
"content": "<point>", |
|
"lstrip": false, |
|
"normalized": false, |
|
"rstrip": false, |
|
"single_word": false, |
|
"special": true |
|
}, |
|
"110": { |
|
"content": "</point>", |
|
"lstrip": false, |
|
"normalized": false, |
|
"rstrip": false, |
|
"single_word": false, |
|
"special": true |
|
}, |
|
"111": { |
|
"content": "<slice>", |
|
"lstrip": false, |
|
"normalized": false, |
|
"rstrip": false, |
|
"single_word": false, |
|
"special": true |
|
}, |
|
"112": { |
|
"content": "</slice>", |
|
"lstrip": false, |
|
"normalized": false, |
|
"rstrip": false, |
|
"single_word": false, |
|
"special": true |
|
} |
|
}, |
|
"additional_special_tokens": [ |
|
"<image>", |
|
"</image>", |
|
"<ref>", |
|
"</ref>", |
|
"<box>", |
|
"</box>", |
|
"<quad>", |
|
"</quad>", |
|
"<point>", |
|
"</point>", |
|
"<slice>", |
|
"</slice>" |
|
], |
|
"auto_map": { |
|
"AutoTokenizer": [ |
|
"tokenization_minicpmv.MiniCPMVTokenizer", |
|
null |
|
] |
|
}, |
|
"bos_token": "<s>", |
|
"clean_up_tokenization_spaces": false, |
|
"eos_token": "</s>", |
|
"legacy": true, |
|
"chat_template": "{% set loop_messages = messages %}{% for message in loop_messages %}{% set content = '<' + message['role'] + '>'+ message['content'] | trim %}{% if loop.index0 == 0 %}{% set content = bos_token + content %}{% endif %}{{ content }}{% endfor %}{{ '<AI>' }}", |
|
"model_max_length": 1000000000000000019884624838656, |
|
"pad_token": "<unk>", |
|
"padding_side": "right", |
|
"sp_model_kwargs": {}, |
|
"spaces_between_special_tokens": false, |
|
"tokenizer_class": "MiniCPMVTokenizer", |
|
"truncation_side": "right", |
|
"unk_token": "<unk>", |
|
"use_default_system_prompt": false |
|
} |
|
|