vllm.transformers_utils.chat_templates
¶
Modules:
-
registry–
Functions:
-
get_chat_template_override_path–Return the predefined template that replaces the tokenizer's own.
get_chat_template_override_path(model_type, tokenizer_name_or_path)
¶
Return the predefined template that replaces the tokenizer's own.
Only for model types whose Hub tokenizers ship a wrong chat template. Remove
"siglip" from _MODEL_TYPES_OVERRIDING_TOKENIZER_CHAT_TEMPLATE once the
SigLIP2 checkpoints drop the Gemma template upstream:
https://huggingface.co/google/siglip2-base-patch16-224/discussions/23