Gemma 4 E4B-it, 4-bit MLX (slim)

A slimmer re-pack of mlx-community/gemma-4-e4b-it-4bit, a conversion of google/gemma-4-E4B-it:

  • The audio tower is removed. The vision tower stays, because Pretype's speculative-decoding load (with Google's MTP drafter) needs it.
  • All other weights are unchanged.

The weights are 4.53 GB instead of 5.15 GB (−12%). In Pretype's evals the outputs match the original (details). The license is the upstream one (Apache-2.0).

Made for Pretype, on-device autocomplete for macOS. It is the model that fixes a selection (⌥Tab) and drafts replies on Pretype's Gemma E2B 8-bit tier, and on the E4B tiers in Base style.

On Pretype's held-out sets (2026-10-11, 17–19 languages), it restores 65% [61–69] of single-typo sentences exactly, proposes a change on 21% of clean lines, and drafts a usable reply for 95% [92–97] of on-screen conversations.

from mlx_lm import load, generate
model, tokenizer = load("nikimori/gemma-4-e4b-it-4bit-slim")
messages = [{"role": "user", "content": "Fix the typo: I recieved your letter."}]
prompt = tokenizer.apply_chat_template(messages, add_generation_prompt=True)
print(generate(model, tokenizer, prompt=prompt, max_tokens=40))
Downloads last month
41
Safetensors
Model size
8B params
Tensor type
U32
·
BF16
·
MLX
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for nikimori/gemma-4-e4b-it-4bit-slim

Quantized
(391)
this model