Gemma 2: Improving Open Language Models at a Practical Size
Authors: name: Gemma Team, name: Morgane Riviere, name: Shreya Pathak, name: Pier Giuseppe Sessa, name: Cassidy Hardin, name: Surya Bhupatiraju, name: Léonard Hussenot, name: Thomas Mesnard, name: Bobak Shahriari, name: Alexandre Ramé, name: Johan Ferret, name: Peter Liu, name: Pouya Tafti, name: Abe Friesen, name: Michelle Casbon, name: Sabela Ramos, name: Ravin Kumar, name: Charline Le Lan, name: Sammy Jerome, name: Anton Tsitsulin, name: Nino Vieillard, name: Piotr Stanczyk, name: Sertan Girgin, name: Nikola Momchev, name: Matt Hoffman, name: Shantanu Thakoor, name: Jean-Bastien Grill, name: Behnam Neyshabur, name: Alanna Walton, name: Aliaksei Severyn, name: Alicia Parrish, name: Aliya Ahmad, name: Allen Hutchison, name: Alvin Abdagic, name: Amanda Carl, name: Amy Shen, name: Andy Brock, name: Andy Coenen, name: Anthony Laforge, name: Antonia Paterson, name: Ben Bastian, name: Bilal Piot, name: Bo Wu, name: Brandon Royal, name: Charlie Chen, name: Chintu Kumar, name: Chris Perry, name: Chris Welty, name: Christopher A. Choquette-Choo, name: Danila Sinopalnikov, name: David Weinberger, name: Dimple Vijaykumar, name: Dominika Rogozińska, name: Dustin Herbison, name: Elisa Bandy, name: Emma Wang, name: Eric Noland, name: Erica Moreira, name: Evan Senter, name: Evgenii Eltyshev, name: Francesco Visin, name: Gabriel Rasskin, name: Gary Wei, name: Glenn Cameron, name: Gus Martins, name: Hadi Hashemi, name: Hanna Klimczak-Plucińska, name: Harleen Batra, name: Harsh Dhand, name: Ivan Nardini, name: Jacinda Mein, name: Jack Zhou, name: James Svensson, name: Jeff Stanway, name: Jetha Chan, name: Jin Zhou, name: Joana Carrasqueira, name: Joana Iljazi, name: Jocelyn Becker, name: Joe Fernandez, name: Joost van Amersfoort, name: Josh Gordon, name: Josh Lipschultz, name: Josh Newlan, name: Ju-yeong Ji, name: Kareem Mohamed, name: Kartikeya Badola, name: Kat Black, name: Katie Millican, name: Keelin McDonell, name: Kelvin Nguyen, name: Kiranbir Sodhia, name: Kish Greene, name: Lars Lowe Sjoesund, name: Lauren Usui, name: Laurent Sifre, name: Lena Heuermann, name: Leticia Lago, name: Lilly McNealus, name: Livio Baldini Soares, name: Logan Kilpatrick, name: Lucas Dixon, name: Luciano Martins, name: Machel Reid, name: Manvinder Singh, name: Mark Iverson, name: Martin Görner, name: Mat Velloso, name: Mateo Wirth, name: Matt Davidow, name: Matt Miller, name: Matthew Rahtz, name: Matthew Watson, name: Meg Risdal, name: Mehran Kazemi, name: Michael Moynihan, name: Ming Zhang, name: Minsuk Kahng, name: Minwoo Park, name: Mofi Rahman, name: Mohit Khatwani, name: Natalie Dao, name: Nenshad Bardoliwalla, name: Nesh Devanathan, name: Neta Dumai, name: Nilay Chauhan, name: Oscar Wahltinez, name: Pankil Botarda, name: Parker Barnes, name: Paul Barham, name: Paul Michel, name: Pengchong Jin, name: Petko Georgiev, name: Phil Culliton, name: Pradeep Kuppala, name: Ramona Comanescu, name: Ramona Merhej, name: Reena Jana, name: Reza Ardeshir Rokni, name: Rishabh Agarwal, name: Ryan Mullins, name: Samaneh Saadat, name: Sara Mc Carthy, name: Sarah Perrin, name: Sébastien Arnold, name: Sebastian Krause, name: Shengyang Dai, name: Shruti Garg, name: Shruti Sheth, name: Sue Ronstrom, name: Susan Chan, name: Timothy Jordan, name: Ting Yu, name: Tom Eccles, name: Tom Hennigan, name: Tomas Kocisky, name: Tulsee Doshi, name: Vihan Jain, name: Vikas Yadav, name: Vilobh Meshram, name: Vishal Dharmadhikari, name: Warren Barkley, name: Wei Wei, name: Wenming Ye, name: Woohyun Han, name: Woosuk Kwon, name: Xiang Xu, name: Zhe Shen, name: Zhitao Gong, name: Zichuan Wei, name: Victor Cotruta, name: Phoebe Kirk, name: Anand Rao, name: Minh Giang, name: Ludovic Peran, name: Tris Warkentin, name: Eli Collins, name: Joelle Barral, name: Zoubin Ghahramani, name: Raia Hadsell, name: D. Sculley, name: Jeanine Banks, name: Anca Dragan, name: Slav Petrov, name: Oriol Vinyals, name: Jeff Dean, name: Demis Hassabis, name: Koray Kavukcuoglu, name: Clement Farabet, name: Elena Buchatskaya, name: Sebastian Borgeaud, name: Noah Fiedel, name: Armand Joulin, name: Kathleen Kenealy, name: Robert Dadashi, name: Alek Andreev
Published: 2024-07-31 19:13:07

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.