{ "backend": "tokenizers", "clean_up_tokenization_spaces": false, "do_lower_case": false, "eos_token": "<|endoftext|>", "image_size": 448, "is_local": true, "max_length": null, "model_input_names": [ "input_ids", "attention_mask" ], "model_max_length": 8192, "pad_to_multiple_of": null, "pad_token": "[MASK]", "pad_token_type_id": 0, "padding_side": "left", "remove_space": false, "stride": 0, "tokenizer_class": "TokenizersBackend", "truncation_side": "right", "truncation_strategy": "longest_first", "added_tokens_decoder": { "59246": { "content": "<|endoftext|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "59247": { "content": "[MASK]", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "59248": { "content": "[gMASK]", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "59249": { "content": "[sMASK]", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "59250": { "content": "", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "59251": { "content": "", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "59252": { "content": "<|system|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "59253": { "content": "<|user|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "59254": { "content": "<|assistant|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "59255": { "content": "<|observation|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "59256": { "content": "<|begin_of_image|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "59257": { "content": "<|end_of_image|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "59258": { "content": "<|begin_of_video|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "59259": { "content": "<|end_of_video|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true } }, "chat_template": "{% for item in messages %}{% if item['role'] == 'system' %}<|system|>\n{{ item['content'] }}{% elif item['role'] == 'user' %}<|user|>\n{{ item['content'] }}{% elif item['role'] == 'assistant' %}<|assistant|>\n{{ item['content'] }}{% endif %}{% endfor %}{% if add_generation_prompt %}<|assistant|>\n{% endif %}" }