google-gemma/cookbook

▲ 27 stars today★ 4,054⑂ 665

A collection of guides and examples for the Gemma open models from Google.

About google-gemma/cookbook

google-gemma/cookbook is an open-source project on GitHub, mainly written in Jupyter Notebook. A collection of guides and examples for the Gemma open models from Google. It currently holds 4,054 stars and 665 forks with 44 open issues, and was last pushed on 2026-10-07 (repository created 2024-05-27).

Project Overview

Git Homed tracks it on the Today's Trending board, currently at rank #100 with 27 new stars today.

GitHub Repository Details

Repository google-gemma/cookbook · default branch main · size 184537 KB · watchers 64 · source: GitHub REST API and repository README

README

Welcome to the Gemma Cookbook

This is a collection of guides and examples for Google Gemma.
Disclaimer: Gemma is a family of developer-focused models built by Google DeepMind. This cookbook is a collection of guides and examples for Google Gemma. Please keep in mind that Gemma is an open model and can hallucinate as you build on examples in this cookbook.

Repository Structure

Get started with the Gemma models

Gemma is a family of lightweight, generative artificial intelligence (AI) open models, built from the same research and technology used to create the Gemini models. The Gemma model family includes: The core models of the Gemma family. For a variety of text generation tasks and can be further tuned for specific use cases Higher-performing and more efficient, available in 2B, 9B, 27B parameter sizes Longer context window and handling text and image input, available in 1B, 4B, 12B, and 27B parameter sizes Designed for efficient execution on low-resource devices. Handling text, image, video, and audio input, available in E2B and E4B parameter sizes Well-suited for reasoning, agentic workflows, coding, and multimodal understanding, available in E2B, E4B, 12B, 26B A4B, and 31B parameter sizes. Fine-tuned for a variety of coding tasks Fine-tuned for using Data Commons to address AI hallucinations An experimental open model that explores text diffusion, an exceptionally fast approach to text generation. Fine-tuned on Gemma 3 270M IT checkpoint for function calling The MedGemma collection contains Google's most capable open models for medical text and image comprehension, built on Gemma 3. Developers can use MedGemma to accelerate building healthcare-based AI applications. MedGemma comes in two variants: a 4B multimodal version and a 27B text-only version. Vision Language Model\ For a deeper analysis of images and provide useful insights VLM which incorporates the capabilities of the Gemma 2 models Based on Griffin architecture\ For a variety of text generation tasks Fine-tuned for evaluating the safety of text prompt input and text output responses against a set of defined safety policies Fine-tuned on Gemma 3 4B IT checkpoint for image safety classification A collection of encoder-decoder models that provide a strong quality-inference efficiency tradeoff A collection of open model designed to handle translation tasks across 55 languages A collection of open models designed to improve the efficiency of therapeutic development An open model trained from the ground up using differential privacy to prevent memorization and leaking of training data examples

You can find the Gemma models on the Hugging Face Hub, Kaggle, Google Cloud Vertex AI Model Garden, and ai.nvidia.com.

Additional Resources

Get help

Ask a Gemma cookbook-related question on the developer forum, or open an issue on GitHub.

Wish list

If you want to see additional cookbooks implemented for specific features/integrations, please open a new issue with “Feature Request” template.

If you want to make contributions to the Gemma Cookbook project, you are welcome to pick any idea in the “Wish List” and implement it.

Contributing

Contributions are always welcome. Please read contributing before implementation.

Thank you for developing with Gemma! We’re excited to see what you create.

Translation of this repository

GitHub Stars & Activity

4,054Stars
665Forks
44Open issues
Jupyter NotebookLanguage

GitHub Popularity

GitHub stars4,054
Forks665
Open issues44
Primary languageJupyter Notebook
LicenseApache-2.0
Stars gained today27
Created2024-05-27
Last pushed2026-10-07

Trending History

Daily boardrank #100 · ▲ 27 stars

Related GitHub Projects

1

jackfrued / Python-100-Days

Jupyter Notebook★ 187,134⑂ 55,753▲ 31 stars
→
2

Lordog / dive-into-llms

Jupyter Notebook★ 55,815⑂ 6,660▲ 59 stars
→
3

DataTalksClub / data-engineering-zoomcamp

Jupyter Notebook★ 46,052⑂ 8,955▲ 29 stars
→
4

mattpocock / skills

Shell★ 279,381⑂ 23,406▲ 1,406 stars
→
5

ohmyzsh / ohmyzsh

Shell★ 190,219⑂ 28,638▲ 41 stars
→
6

microsoft / markitdown

Python★ 189,010⑂ 14,002▲ 193 stars
→
7

ollama / ollama

Go★ 182,486⑂ 18,138▲ 131 stars
→
8

f / prompts.chat

HTML★ 172,292⑂ 22,055▲ 126 stars
→

More Trending Repositories