Gemma, developed by Google DeepMind, is a family of open-weights large language models (LLMs) built upon the research and technology behind Gemini. This repository provides the official implementation of the Gemma PyPI package, a JAX-based library that enables users to load, interact with, and fine-tune Gemma models. The framework supports both text and multi-modal input, allowing natural language conversations that incorporate visual content such as images. It includes APIs for conversational sampling, parameter management, and integration with fine-tuning methods like LoRA. The Gemma library can operate efficiently on CPUs, GPUs, or TPUs, with recommended configurations depending on model size. Through included tutorials and Colab notebooks, users can explore examples covering sampling, multi-modal interactions, and fine-tuning workflows. By providing accessible open-weight models, Gemma enables researchers and developers to experiment with state-of-the-art LLM architectures.

Features

  • JAX-based library for running and fine-tuning Gemma large language models
  • Supports multi-turn and multi-modal conversations, including image inputs
  • Provides open-weight checkpoints for different model sizes (2B, 7B, etc.)
  • Compatible with CPU, GPU, and TPU environments
  • Includes examples for sampling, fine-tuning, and LoRA-based adaptation
  • Integrates easily through a simple PyPI installation and Python interface

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow Gemma

Gemma Web Site

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Gemma!

Additional Project Details

Operating Systems

Linux, Mac

Programming Language

Python

Related Categories

Python Large Language Models (LLM)

Registered

2025-10-09