Skip to content

[Conversation] Match Gemma 4 large text chat templates - #3605

Merged
akaashrp merged 5 commits into
mlc-ai:mainfrom
JCNTH:codex/gemma4-text-templates
Nov 21, 2026
Merged

akaashrp merged 5 commits into
mlc-ai:mainfrom
JCNTH:codex/gemma4-text-templates

Conversation

@JCNTH

@JCNTH JCNTH commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Match the Hugging Face chat templates for Gemma 4 26B-A4B and 31B in Python and the native engine. Preserve explicitly empty system messages and render assistant history and generation headers for both thinking modes.

Model support is in #3603. The WebLLM counterpart is mlc-ai/web-llm#898.

@akaashrp
akaashrp merged commit ca62748 into mlc-ai:main Nov 21, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants