PulseAugur
EN
LIVE 06:52:47

Qwen models use ChatML format, with community refining templates

Qwen models, including the Qwen2.5 series, utilize a ChatML format for structuring conversational prompts, similar to OpenAI's early models. This format relies on specific tokens like <|im_start|> and <|im_end|> and requires precise newline conventions to function correctly. Developers have noted that incorrect formatting can lead to subtle but significant issues in model output and performance. Additionally, recent community efforts have focused on refining and improving the Jinja chat templates for Qwen models, aiming to ensure compatibility and optimal performance by adhering closely to the original training formats. AI

IMPACT Ensures correct prompt formatting for Qwen models, improving output quality and compatibility with downstream applications.

RANK_REASON Discussion of chat templates and their implementation for specific models.

Read on r/LocalLLaMA →

AI-generated summary · Google Gemini · from 2 sources. How we write summaries →

Qwen models use ChatML format, with community refining templates

How we ranked this

Signal score
0 / 100
Composite score across the factors below. Higher = stronger signal that this story matters right now.
Newsworthiness bucket
Tool
Discussion of chat templates and their implementation for specific models.
Source corroboration
2 independent sources
Multiple independent publishers reporting the same story raises confidence that it's real and newsworthy.
Topics
model release, product
Editorial topic classification. Feeds into how the story surfaces on /topic/<slug> hub pages and into the per-entity coverage mix.
AI-industry relevance
High
Clearly on-topic for AI-industry coverage.
Story freshness
54 days old
Aged out of breaking-news scoring windows; ranking reflects the durable signal from the full source set.

Full methodology in our editorial standards.

COVERAGE [2]

  1. dev.to — LLM tag TIER_1 English(EN) · Multigrid ·

    Qwen's ChatML Chat Template

    <p>Qwen uses ChatML, the same turn format OpenAI published for its early chat models. It is three special tokens and a strict newline convention, and getting the newlines wrong is a real failure with a quiet symptom.</p> <h2> A rendered prompt, in full </h2> <p>Here is what <code…

  2. r/LocalLLaMA TIER_1 English(EN) · /u/Chromix_ ·

    Fixed/improved Jinja chat template for Qwen 3.8

    <!-- SC_OFF --><div class="md"><p>&quot;<em>Again?</em>&quot; you might ask.</p> <p>I(<strong>\</strong>*) took the <a href="https://huggingface.co/Qwen/Qwen3.8-27B/blob/main/chat_template.jinja">original</a> Qwen 27B 3.8 chat template and compared it to the <a href="https://www.…