Google put out two sizes of a new open model on February 21, 2024, and the pitch was that you can run it on your own laptop. The family is called Gemma, after the Latin word for “precious stone.”
Gemma comes from the same research and technology behind Google’s Gemini models. Google DeepMind built it with other teams across the company. The weights come as Gemma 2B and Gemma 7B, and each size has a pre-trained version and an instruction-tuned one.
Google says both sizes lead their class against other open models. It also says Gemma surpasses significantly larger models on key benchmarks. The technical report carries the details on performance, dataset composition and methods.
Where it runs
The models can run on a laptop, a desktop, a workstation or Google Cloud. Toolchains for inference and supervised fine-tuning cover JAX, PyTorch and TensorFlow through native Keras 3.0. Ready-to-use Colab and Kaggle notebooks are available, and Gemma works with Hugging Face, MaxText, NVIDIA NeMo and TensorRT-LLM.
Google worked with NVIDIA to optimize the models for its GPUs, from data center machines to local RTX AI PCs. On Google Cloud, deployment goes through Vertex AI and Google Kubernetes Engine. Developers can fine-tune on their own data for jobs such as summarization or retrieval-augmented generation.
The terms of use permit responsible commercial usage and distribution for all organizations, regardless of size.
Safety work
Google says it filtered certain personal information and other sensitive data out of the training sets. It then used fine-tuning and reinforcement learning from human feedback to steer the instruction-tuned models toward responsible behavior. Evaluations included manual red-teaming, automated adversarial testing and assessments of capabilities for dangerous activities. The results are laid out in the Model Card.
A new Responsible Generative AI Toolkit ships alongside. It offers a method for building safety classifiers from minimal examples, a debugging tool for investigating the model’s behavior, and best practices drawn from Google’s own experience with large language models.
Free credits
Getting started costs little. Kaggle offers free access and Colab has a free tier. First-time Google Cloud users get $300 in credits, and researchers can apply for Google Cloud credits of up to a collective $500,000.
Google also pointed to its record of releasing work to the open community, which includes Transformers, TensorFlow, BERT, T5, JAX, AlphaFold and AlphaCode. It said more Gemma variants would follow.
Sources
- Gemma: Introducing new state-of-the-art open models
- Gemma models overview | Google AI for Developers
- Gemma
Sources
- Gemma: Google introduces new state-of-the-art open models
- Gemma models overview | Google AI for Developers





