Gemma 3 4B PT

Google DeepMind

Parameters

4.0B

Architecture

Transformer (decoder-only)

Released

27.02.2025

License

Gemma Terms of Use

Open Weights Commercial Use Multimodal BF16 Gemma 3 English Multilingual (140+ languages)

Input Modalities

text image

Output Modalities

text

Context (native)

131,072 tokens

Context (extended)

131,072 tokens

Openness Index Score 70.0/100

About

Gemma 3 4B PT is the pre-trained-variant record for Google's Gemma 3 4B model - a lightweight, open multimodal transformer (4B parameters, dense) built from the same research and technology used to create the Gemini models, released February 27, 2025 under the Gemma Terms of Use. The underlying google/gemma-3-4b repository is access-gated; this record carries the pre-training (PT) benchmark scores for the 4B model.

Gemma 3 handles text and image input and generates text output, with a 128K context window and multilingual support in over 140 languages. The 4B model was trained on 4 trillion tokens of web documents, code, mathematics and images. Its architecture interleaves local sliding-window and global attention layers in a 5:1 local-global pattern, applies QK-Norm for stable attention, and uses a SigLIP-based vision encoder for image understanding.

Training Data 4 trillion tokens (web documents, code, mathematics, images) in 140+ languages

Benchmark Scores

Benchmark Score Date Standing
HellaSwag
reasoning
41.05%
27.02.2025
#6/7
better than 17%
BoolQ
reasoning
47.40%
27.02.2025
#3/4
better than 33%
PIQA
reasoning
61.05%
27.02.2025
#3/4
better than 33%
SocialIQA
reasoning
50.00%
27.02.2025
#3/4
better than 33%
TriviaQA
knowledge
56.89%
27.02.2025
#3/4
better than 33%
Natural Questions
knowledge
39.52%
27.02.2025
#3/4
better than 33%
BIG-Bench Hard
reasoning
38.66%
27.02.2025
#7/8
better than 14%
DROP
reasoning
50.86%
27.02.2025
#3/4
better than 33%
MMLU
knowledge
59.60
27.02.2025
#17/17
better than 0%
MMLU Pro COT
knowledge
29.20
27.02.2025
#4/4
better than 0%

Architecture

Decoder Block input Embedding Full Attention Dense FFN SwiGLU Final Norm LM Head output
Attention
Grouped Query Attention
Context
131K tokens
Parameters
4000M

Source: extracted model record · model repo

Type: Transformer (decoder-only)
Attention: Multi-Head Attention with GQA (Grouped Query Attention)
Decoder: Transformer
Routing: N/A (dense model)

Training Pipeline

  1. 1
    pretraining

    Pretraining on 4 trillion tokens

    Pretrained on 4 trillion tokens of web documents, code, mathematics, and images in 140+ languages. Trained on TPU (TPUv4p, TPUv5p, TPUv5e) using JAX and ML Pathways.

Training & Evaluation Datasets

NameRoleSizeModalitiesCollection
Web Documents (Multilingual) pretraining 14T tokens (27B), 12T (12B), 4T (4B), 2T (1B) text automated
Code Training Data pretraining — code automated
Mathematics Training Data pretraining — text automated
Image Training Data pretraining — image automated
CSAM-Filtered Data pretraining — automated
Sensitive Data Filtered pretraining — automated

Linked Resources

Comments (0)

No comments yet

Be the first to share your thoughts!

What now?

You have read the full card for Gemma 3 4B PT — here is where to go next.