Google Gemma 모델 패밀리 개요 및 활용 가이드 (Cookbook)
요약
본 문서는 Google DeepMind가 개발한 경량의 생성형 AI 오픈 모델, Gemma 패밀리의 종합적인 안내서입니다. Gemma는 Gemini 모델과 동일한 연구 기술을 기반으로 하며, 다양한 사용 사례에 맞춰 여러 버전과 파생 모델(Variants)을 제공합니다. 주요 모델로는 텍스트 생성에 최적화된 기본 Gemma부터, 코딩 특화 CodeGemma, 의료 분야에 강점을 가진 MedGemma, 그리고 이미지 분석이 가능한 PaliGemma 등이 있습니다. 개발자들은 이 가이드북을 통해 각 모델의 특징과 활용 방법을 파악하고,
핵심 포인트
- **Gemma 3**는 1B부터 27B까지 다양한 파라미터 크기를 가지며, 긴 컨텍스트 창(Longer context window)과 텍스트 및 이미지 입력을 처리할 수 있습니다.
- **MedGemma**는 의료 텍스트와 이미지를 이해하는 데 특화된 모델로, 4B 멀티모달 버전과 27B 텍스트 전용 버전이 제공되어 헬스케어 AI 개발을 가속화합니다.
- **PaliGemma**는 Vision Language Model (VLM)로서 이미지에 대한 심층 분석 및 유용한 통찰력을 제공하는 데 사용됩니다.
- **CodeGemma**와 **FunctionGemma** 등 다양한 변형 모델(Variants)은 각각 코딩 작업, 함수 호출 등에 맞게 파인튜닝되어 특정 도메인에서의 성능을 극대화합니다.
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.
- Tutorials: The latest tested notebooks for Gemma models and variants.
- Apps: Full-stack demos and complex end-to-end use cases.
- Experiments: Research-focused model notebooks, including TxGemma and MedGemma.
- Responsible: Notebooks for responsible AI development.
- Docs: Core documentation, capabilities, and technical guides.
- Archive: All older notebooks and historical examples.
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 4: Well-suited for reasoning, agentic workflows, coding, and multimodal understanding, available in E2B, E4B, 26B A4B, and 31B parameter sizes.
-
Gemma variants
- CodeGemma: Fine-tuned for a variety of coding tasks.
- DataGemma: Fine-tuned for using Data Commons to address AI hallucinations.
- FunctionGemma: Fine-tuned on Gemma 3 270M IT checkpoint for function calling.
- MedGemma: 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.
- 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 on Griffin 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 4B IT checkpoint for image safety classification.
- T5Gemma: A collection of encoder-decoder models that provide a strong quality-inference efficiency tradeoff.
- TranslateGemma: A collection of open model designed to handle translation tasks across 55 languages.
- TxGemma: A collection of open models designed to improve the efficiency of therapeutic development.
- VaultGemma: 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.
- MedGemma on Google-Health: Google-Health has additional notebooks for using MedGemma
- Gemma on Google Cloud: GCP open models has additional notebooks for using Gemma
Ask a Gemma cookbook-related question on the developer forum, or open an issue 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 read contributing before implementation.
Thank you for developing with Gemma! We’re excited to see what you create.
AI 자동 생성 콘텐츠
본 콘텐츠는 GitHub Trending Jupyter Notebook (weekly)의 원문을 AI가 자동으로 요약·번역·분석한 것입니다. 원 저작권은 원저작자에게 있으며, 정확한 내용은 반드시 원문을 확인해 주세요.
원문 바로가기