Get the daily emailDaily email
  1. Home
  2. Models
  3. This story

Google patches small Gemma 4 tokenizers to fix 219 glitch tokens

The tokenizer for models such as gemma-4-E4B-it was patched to remediate 219 glitch tokens that caused empty or nonsensical output. The fix prunes 253 BPE merge rules so those strings split into well-trained subwords; model weights are unchanged.

Published Read the original

Ranked #26 of 30 on Tuesday, November 17

Google patches small Gemma 4 tokenizers to fix 219 glitch tokens

Why it matters

Anyone running small Gemma 4 models locally should pull the updated tokenizer to avoid odd failures.

What happened

1 min read

The tokenizer for models such as gemma-4-E4B-it was patched to remediate 219 glitch tokens that caused empty or nonsensical output. The fix prunes 253 BPE merge rules so those strings split into well-trained subwords; model weights are unchanged.

inscraper analysis

Our analysis

A small but practical fix; pruning merges while keeping token IDs intact preserves compatibility. The key caveat is that many of these tokens exist in earlier Gemma generations too, so agentic pipelines could still feed them to unpatched models. Third-party quantized builds such as GGUFs likely need regenerating to pick up the fix.

More in Models