Gemma 2: Improving Open Language Models at a Practical Size
Gemma Team: Morgane Riviere, Shreya Pathak, Pier Giuseppe Sessa,, Cassidy Hardin, Surya Bhupatiraju, L\'eonard Hussenot, Thomas Mesnard, Bobak, Shahriari, Alexandre Ram\'e, Johan Ferret, Peter Liu, Pouya Tafti, Abe, Friesen, Michelle Casbon, Sabela Ramos, Ravin Kumar

TL;DR
Gemma 2 introduces lightweight open language models with innovative architectural modifications and knowledge distillation, achieving state-of-the-art performance at smaller sizes and providing accessible models to the community.
Contribution
It presents Gemma 2, a family of efficient open language models with architectural enhancements and knowledge distillation, outperforming larger models.
Findings
Gemma 2 models achieve top performance for their size.
Models are competitive with 2-3 times larger models.
All models are publicly released for community use.
Abstract
In this work, we introduce Gemma 2, a new addition to the Gemma family of lightweight, state-of-the-art open models, ranging in scale from 2 billion to 27 billion parameters. In this new version, we apply several known technical modifications to the Transformer architecture, such as interleaving local-global attentions (Beltagy et al., 2020a) and group-query attention (Ainslie et al., 2023). We also train the 2B and 9B models with knowledge distillation (Hinton et al., 2015) instead of next token prediction. The resulting models deliver the best performance for their size, and even offer competitive alternatives to models that are 2-3 times bigger. We release all our models to the community.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
- 🤗Timofey/Gemma-2-9b-it-Fused_PPImodel· 3 dl· ♡ 13 dl♡ 1
- 🤗google/paligemma2-3b-ft-docci-448-jaxmodel· ♡ 2♡ 2
- 🤗google/paligemma2-10b-ft-docci-448-jaxmodel· ♡ 2♡ 2
- 🤗google/paligemma2-3b-mix-224model· 43k dl· ♡ 4843k dl♡ 48
- 🤗google/paligemma2-3b-mix-448-jaxmodel· 2 dl· ♡ 22 dl♡ 2
- 🤗google/paligemma2-3b-ft-docci-448model· 36k dl· ♡ 1336k dl♡ 13
- 🤗google/paligemma2-10b-ft-docci-448model· 927 dl· ♡ 17927 dl♡ 17
- 🤗google/paligemma2-10b-mix-224-jaxmodel
- 🤗google/paligemma2-3b-mix-448model· 3.8k dl· ♡ 573.8k dl♡ 57
- 🤗google/paligemma2-10b-mix-224model· 194 dl· ♡ 10194 dl♡ 10
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNatural Language Processing Techniques
MethodsLinear Layer · Residual Connection · Multi-Head Attention · Attention Is All You Need · Position-Wise Feed-Forward Layer · Adam · Byte Pair Encoding · Softmax · Absolute Position Encodings · Dense Connections
