Gemma4-E2B

Google

Parameters

2.3B

Architecture

Dense

Released

02.03.2026

License

Apache License 2.0

Open Weights Commercial Use Multimodal BF16 Gemma4 en multilingual

Input Modalities

text image audio

Output Modalities

text

Context (native)

131,072 tokens

Context (extended)

131,072 tokens

Openness Index Score 100.0/100

About

Gemma4-E2B (google/gemma-4-E2B-it) is the smallest instruction-tuned model of Google DeepMind's Gemma 4 family - an edge-optimized multimodal model handling text, image and audio input and generating text, with multilingual support in over 140 languages and designed for efficient local execution on phones and laptops. The "E" stands for "effective": Per-Layer Embeddings (PLE) give each decoder layer its own small embedding table, so the E2B has 2.3B effective parameters (5.1B with embeddings) while keeping inference fast enough for on-device deployment.

Its 35-layer hybrid attention stack interleaves local Sliding-Window Attention (SWA) (28 layers, window 512) with 7 full-attention layers (final layer global), with cross-layer KV cache sharing on 20 layers to cut long-context memory, 8 Q / 1 KV heads (head dim 256), FFN 6144, hidden size 1536 with 256-dim per-layer inputs, 262K vocabulary, soft logit capping at 30.0 and a 131,072-token (128K) context window. Multimodality comes from dedicated encoders: a ~150M vision encoder (16-layer ViT, patch 16, 280 soft tokens per image, variable aspect ratio and resolution) and a ~300M audio encoder (12-layer chunked-attention network, 1536-dim projections).

Gemma 4 capabilities include configurable thinking modes, native function calling for agentic workflows, native system role support, video understanding via frame sequences, interleaved multimodal input and enhanced coding. Pre-training spans web documents, code, mathematics, images and audio (cutoff January 2025, 140+ languages) with CSAM and sensitive-data filtering; this checkpoint is the instruction-tuned variant. Released March 2, 2026 under Apache 2.0.

Training Data Large-scale diverse collection: web documents, code, images, audio. 140+ languages. Cutoff: January 2025.

Benchmark Scores

Benchmark Score Date Standing
MMLU-Pro
knowledge
60.00
02.07.2026
#48/48
better than 0%
AIME 26
stem_reasoning
21.30%
02.07.2026
#43/45
better than 5%
LiveCodeBench v6
stem_reasoning
32.47%
02.07.2026
#44/49
better than 10%
GPQA Diamond
stem_reasoning
3.76%
02.07.2026
#78/80
better than 3%
TAU2-Bench
general_agent
10.37%
02.07.2026
#19/21
better than 10%
BigBench Extra Hard
stem_reasoning
4.72%
02.07.2026
#5/6
better than 20%
MMMLU
multilingual
67.40
02.07.2026
#20/20
better than 0%
MMMU-Pro
vision_language
30.85%
02.07.2026
#33/35
better than 6%
OmniDocBench 1.5
document_understanding
0.14%
02.07.2026
#24/26
better than 8%
MathVision
vision_language
12.36%
02.07.2026
#25/27
better than 8%

Architecture

Decoder Block ×35 input Embedding vocab 262K · d 1536 Sliding Window Attn Hybrid 8:1 · dₕ 256 · win 512 ×28 Full Attention Hybrid 8:1 · dₕ 256 · win 512 ×7 Dense FFN SwiGLU · d 6144 Final RMSNorm LM Head tied with embedding output
Attention
Hybrid Attention (8:1)
Layers
35
Hidden size
1536
Context
131K tokens
Parameters
2300M

Source: Hugging Face config.json · Gemma4ForConditionalGeneration · exact layer pattern · model repo

Type: Dense hybrid-attention edge model (Gemma 4 E2B, PLE): 28 SWA + 7 full-attn layers
Attention: Interleaved local SWA (window 512; 8 Q / 1 KV heads) with 7 full-attention layers; cross-layer KV sharing on 20 layers; head dim 256; soft logit capping 30.0
Decoder: Dense decoder-only hybrid (SWA + full attention) with Per-Layer Embeddings

Training Pipeline

  1. 1
    pretraining

    Multimodal pre-training incl. audio (cutoff January 2025)

    Web documents, code, mathematics, images and audio in 140+ languages; CSAM and sensitive-data filtering.

  2. 2
    sft

    Instruction tuning

    This checkpoint is the instruction-tuned (-it) variant of Gemma 4 E2B.

Training & Evaluation Datasets

NameRoleSizeModalitiesCollection
Web documents (140+ languages) pretraining — —
Code pretraining — —
Mathematics pretraining — —
Images pretraining — —
Audio pretraining — —

Comments (0)

No comments yet

Be the first to share your thoughts!

What now?

You have read the full card for Gemma4-E2B — here is where to go next.