v0.20.0
<img width="3748" height="1290" alt="Gemma 4" src="https://github.com/user-attachments/assets/c4727579-47b1-4c7b-8aa2-28eda15b71f5" />
Gemma 4
Effective 2B (E2B)
ollama run gemma4:e2b
Effective 4B (E4B)
ollama run gemma4:e4b
26B (Mixture of Experts model with 4B active parameters)
ollama run gemma4:26b
31B (Dense)
ollama run gemma4:31b
What's Changed
- docs: update pi docs by @ParthSareen in https://github.com/ollama/ollama/pull/15152
- mlx: respect tokenizer add_bos_token setting in pipeline by @dhiltgen in https://github.com/ollama/ollama/pull/15185
- tokenizer: add SentencePiece-style BPE support by @dhiltgen in https://github.com/ollama/ollama/pull/15162
Full Changelog: https://github.com/ollama/ollama/compare/v0.19.0...v0.20.0-rc0
Fetched May 26, 2026


