- Notifications
You must be signed in to change notification settings - Fork370
A collection of guides and examples for the Gemma open models from Google.
License
google-gemini/gemma-cookbook
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This is a collection of guides and examples forGoogle 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.
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:
- Gemma
The core models of the Gemma family.- Gemma
For a variety of text generation tasks and can be further tuned for specific use cases - Gemma 2
Higher-performing and more efficient, available in 2B, 9B, 27B parameter sizes - Gemma 3
Longer context window and handling text and image input, available in 1B, 4B, 12B and 27B parameter sizes - Gemma 3n
Designed for efficient execution on low-resource devices. Handling text, image, video, and audio input, available in E2B and E4B parameter sizes
- Gemma
- Gemma variants
- CodeGemma
Fine-tuned for a variety of coding tasks - PaliGemma
Vision Language Model
For a deeper analysis of images and provide useful insights - PaliGemma 2
VLM which incorporates the capabilities of the Gemma 2 models - RecurrentGemma
Based onGriffin architecture
For a variety of text generation tasks - ShieldGemma
Fine-tuned for evaluating the safety of text prompt input and text output responses against a set of defined safety policies - ShieldGemma 2
Fine-tuned on Gemma 3's 4B IT checkpoint for image safety classification - DataGemma
Fine-tuned for using Data Commons to address AI hallucinations - MedGemmaThe 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.
- CodeGemma
You can find the Gemma models on the Hugging Face Hub, Kaggle, Google Cloud Vertex AI Model Garden, andai.nvidia.com.
- Gemma
- CodeGemma
- PaliGemma
- MedGemma
- MedGemma on Google-Health : Google-Health has additional notebooks for using MedGemma
- Workshops and technical talks
- Research: Notebooks for research focused models
- Showcase complex end-to-end use cases
- Gemma on Google Cloud : GCP open models has additional notebooks for using Gemma
Ask a Gemma cookbook-related question on thedeveloper forum, or open anissue on GitHub.
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.
Contributions are always welcome. Please readcontributing before implementation.
Thank you for developing with Gemma! We’re excited to see what you create.
About
A collection of guides and examples for the Gemma open models from Google.
Topics
Resources
License
Contributing
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.