Repository navigation
Are there bugs with E4B/E2B or with Gemma 4 at the moment? #1062
|
Tool calling seemed to be an issue with Gemma 4 models (including the smaller ones) for multiple agents and maybe they come from parsers/templates NousResearch/hermes-agent#6626 anomalyco/opencode#20995 Update: Hermes is partially busted and need some patches NousResearch/hermes-agent#6626 (comment) |
Replies: 4 comments 3 replies
|
Self-research: There seems to be fixes like:
Side discovery: even dLLMs have similar quality issues needing to be patched https://huggingface.co/google/diffusiongemma-26B-A4B-it/discussions/23 |
|
Hi @TomLucidor - yes we identified some improvements to be done on the chat_templates. I'm proposing few PRs to the official ones... could you please test with them? https://huggingface.co/google/gemma-4-E2B-it/discussions/35 |
|
Thanks for the detailed links — I reproduced this against the current Rapid-MLX code and a real There are two separate issues here:
We are now comparing the current Google templates across all Gemma 4 sizes and implementing one offline Rapid-MLX fix with multi-turn golden tests, rather than relying on each converted checkpoint to refresh independently. |
|
Answer for current releases: the stale-template part of this was fixed in v0.12.18 (#2179).
On the checkpoint repos: the templates inside |
Answer for current releases: the stale-template part of this was fixed in v0.12.18 (#2179).
gemma4_fullfor 12B/26B/31B,gemma4_compactfor E2B/E4B). The Gemma 4 aliases select them, so a converted checkpoint with an older template no longer changes tool-call or multi-turn rendering.nullrendering, stringfunction.arguments, and continuation after tool responses. Multi-turn golden tests cover it.gemma4parser) returned structuredtool_callsin both streaming and non-streaming modes in our reproduction, and grammar-constrained native tool calls are available (#1171).O…