Accountable by design
Gemma is designed with our AI Ideas on the forefront. As a part of making Gemma pre-trained fashions secure and dependable, we used automated methods to filter out sure private info and different delicate information from coaching units. Moreover, we used intensive fine-tuning and reinforcement studying from human suggestions (RLHF) to align our instruction-tuned fashions with accountable behaviors. To know and cut back the danger profile for Gemma fashions, we carried out strong evaluations together with guide red-teaming, automated adversarial testing, and assessments of mannequin capabilities for harmful actions. These evaluations are outlined in our Mannequin Card.
We’re additionally releasing a brand new Accountable Generative AI Toolkit along with Gemma to assist builders and researchers prioritize constructing secure and accountable AI purposes. The toolkit contains:
- Security classification: We offer a novel methodology for constructing strong security classifiers with minimal examples.
- Debugging: A mannequin debugging device helps you examine Gemma’s conduct and handle potential points.
- Steerage: You possibly can entry greatest practices for mannequin builders primarily based on Google’s expertise in growing and deploying massive language fashions.
Optimized throughout frameworks, instruments and {hardware}
You possibly can fine-tune Gemma fashions by yourself information to adapt to particular software wants, comparable to summarization or retrieval-augmented era (RAG). Gemma helps all kinds of instruments and programs:
- Multi-framework instruments: Deliver your favourite framework, with reference implementations for inference and fine-tuning throughout multi-framework Keras 3.0, native PyTorch, JAX, and Hugging Face Transformers.
- Cross-device compatibility: Gemma fashions run throughout widespread system varieties, together with laptop computer, desktop, IoT, cellular and cloud, enabling broadly accessible AI capabilities.
- Slicing-edge {hardware} platforms: We’ve partnered with NVIDIA to optimize Gemma for NVIDIA GPUs, from information heart to the cloud to native RTX AI PCs, guaranteeing industry-leading efficiency and integration with cutting-edge expertise.
- Optimized for Google Cloud: Vertex AI offers a broad MLOps toolset with a variety of tuning choices and one-click deployment utilizing built-in inference optimizations. Superior customization is obtainable with fully-managed Vertex AI instruments or with self-managed GKE, together with deployment to cost-efficient infrastructure throughout GPU, TPU, and CPU from both platform.
Free credit for analysis and improvement
Gemma is constructed for the open neighborhood of builders and researchers powering AI innovation. You can begin working with Gemma right this moment utilizing free entry in Kaggle, a free tier for Colab notebooks, and $300 in credit for first-time Google Cloud customers. Researchers also can apply for Google Cloud credit of as much as a collective $500,000 to speed up their tasks.
Getting began
You possibly can discover extra about Gemma and entry quickstart guides on ai.google.dev/gemma.
As we proceed to broaden the Gemma mannequin household, we stay up for introducing new variants for various purposes. Keep tuned for occasions and alternatives within the coming weeks to attach, be taught and construct with Gemma.
We’re excited to see what you create!