Paper notes

Gemma: Gemini-derived techniques in 2B and 7B open models

The first Gemma release provides 2B and 7B base and instruction-tuned weights using Gemini-derived techniques, alongside responsible-AI tooling and local deployment support.

Published Updated 1 min read

On this page
  1. How it works
  2. What the evidence shows
  3. A reproducible check
  4. Limitations and common misreadings
  5. The key takeaway
  6. Further reading
  7. FAQ

Google introduced Gemma in 2024 as lightweight 2B and 7B base and instruction models, derived from Gemini research but sized for single-accelerator and local development.

How it works

The decoder uses RoPE, GeGLU and RMSNorm, with MHA at 7B and MQA at 2B plus a large 256K vocabulary. SFT and RLHF produce instruction models, and safety and debugging tools accompany the release.

What the evidence shows

The report shows strong results for their sizes. Open weights do not mean open training data or unconditional licensing; the large vocabulary increases embedding parameters, and attention configurations differ by size.

A reproducible check

This snippet checks a public formula or configuration; it does not reproduce full training.

vocab, width = 256128, 2048
embedding_params = vocab*width
print("embedding parameters =", embedding_params)
print("embedding billions =", embedding_params/1e9)
embedding parameters = 524550144
embedding billions = 0.524550144

The arithmetic is reproducible, but model quality still depends on the full experiments in the paper.

Limitations and common misreadings

As a model report without exhaustive ablations, it cannot isolate data and architecture contributions. Small-model knowledge and reasoning remain limited, and safety tools do not replace application evaluation.

The key takeaway

Gemma packages Gemini-derived design into locally usable models while treating model cards, safety tools and licensing as part of release engineering.

Further reading

FAQ

Which sizes were in the first release?
2B and 7B, each in base and instruction-tuned forms.
Do both sizes use the same attention?
No. The 7B model uses MHA, while 2B uses MQA.
Do open weights mean unrestricted open source?
No. The Gemma license applies, and the complete data and training recipe are not open.