Checked fact 655529 Nov 2026Safety and security
Hugging Face's guide says a chat template is a Jinja template stored in the tokenizer, and that Jinja is a templating language that allows you to write Python-like code.
The exact words it rests on
A chat template is a Jinja template stored in the tokenizer's chat_template attribute. Jinja is a templating language that allows you to write Python-like code and syntax.
What the source said when we opened it, on 28 Nov 2026.
The source
Writing a chat template
Checked
Checked by the notis newsroom on , against the source above.
In the story
How a model file can carry instructions its user never sees 29 Nov 2026
Cite this fact
Anyone may quote this address. It does not change; if we correct the story, this page says so.