[KongchangAI]
ConceptChat Template / 对话模板

Chat Template

A formatting framework used during large language model inference to organize conversational structure. It defines how system prompts, user messages, and assistant replies are concatenated, including the specific special tokens and role labels employed. Different model families adopt different conventions, and the choice of chat template meaningfully affects model behavior and output style.

Timeline (last 90 days)

Oct 10

Applications typically apply the chat template automatically, and manually pasting an extra layer of special tokens can easily cause duplication or mismatches, creating role-confusion issues.

Unverified50%
Oct 10

The chat template is responsible for clearly marking who is speaking, where turns end, and who continues next; it is not the same thing as a prompt.

Unverified50%
Sep 27

When the framework's default template is inconsistent with the format used during model training, model behavior drifts, including self-referential terms, refusal thresholds, response verbosity, and the way multi-turn conversational context is understood.

Unverified50%
Sep 27

Using the officially recommended chat template that is consistent with training and maintaining template consistency across fine-tuning experiments is a prerequisite for ensuring reliable results.

Unverified50%
Sep 27

If chat templates are not unified in model comparison tests, the personality or style differences measured may stem from template differences rather than the models themselves.

Unverified50%
Sep 27

The self-referential terms used by large language models (such as 'as a language model') change as the chat template is switched.

Unverified50%
Sep 7

blackfrost embeds a 1,457-character jailbreak prompt in the chat template, injecting hidden instructions into every user input, but this information is not disclosed in the README.

Expired50%

All Facts (6)

Source Articles