Three dense pretrained sizes: 270M-270M (786,029,296 total), 1B-1B (2,115,977,456 total), and 4B-4B (7,508,928,880 total), including the frozen vision encoder and connector; shared embeddings counted once
128K input and up to 32K output advertised for all sizes; configured encoder/decoder positional ceilings separately: 32,768/32,768 for 270M-270M and 1B-1B, 131,072/131,072 for 4B-4B
Gemma Terms of Use with the Gemma Prohibited Use Policy (custom weights license, not Apache 2.0)
Gemma 3-adapted multimodal encoder-decoder research family: three UL2-pretrained checkpoints, not released instruction-tuned models or separate PrefixLM variants. Both text branches reuse the corresponding Gemma 3 pretrained weights rather than training from scratch; all sizes accept text and images and generate text, including the two sizes whose Gemma 3 parents were text-only. A frozen 416.9M-parameter SigLIP vision encoder processes 896x896 images into 256 tokens, with a learned connector feeding the text encoder. Encoder input, decoder input and output word embeddings are tied; decoder self- and cross-attention share a merged attention module, avoiding a separate cross-attention parameter stack. Dense gated-GELU Transformers use GQA, QK normalization, RMSNorm, RoPE and five local-attention layers per global layer; attention projections have no bias. Continued pretraining uses approximately 2T multilingual web, code, mathematics and image tokens, five text-denoising tasks plus image-prefix language modeling, cross-entropy, and separate input/output sequences up to 16K; pretraining distillation was explicitly dropped, and the final model averages the last five checkpoints. Supports over 140 languages. Publisher reports improved multimodal and long-context capabilities: pretrained 4B-4B scores 39.4 on MMMU and 81.7/57.6 on RULER at 32K/128K, but not every task improves over Gemma 3. The 128K small-model input claim exceeds their saved 32,768 positional settings; the required inference override is not documented in the checked release sources. Paper post-training results are illustrative lightweight distillation/SFT experiments without RL, not scores for released IT checkpoints. Pretrained weights are intended for downstream adaptation before deployment; factual errors remain possible, and safety evaluation used English prompts only.