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

Other Useful Business Software
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
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