google-deepmind/gemma

Gemma open-weight LLM library, from Google DeepMind

What it solves

It provides a JAX-based implementation for using and fine-tuning the Gemma family of open-weights Large Language Models (LLMs), which are built on Gemini research and technology.

How it works

The project is delivered as a PyPI package (gemma) that leverages JAX to run on CPUs, GPUs, or TPUs. It includes a ChatSampler API for handling multi-turn and multi-modal conversations, as well as tools for loading model checkpoints and performing fine-tuning.

Who it’s for

Developers and researchers who want to integrate Gemma models into their applications or fine-tune them for specific tasks using the JAX ecosystem.

Highlights

  • Multi-modal capabilities: Supports multi-turn conversations involving both text and images.
  • Hardware flexibility: Compatible with CPU, GPU, and TPU hardware.
  • ** uma JAX library**: Specifically designed for high-performance ML operations via JAX.
  • Fine-tuning support: Includes built-in support for fine-tuning and LoRA (Low-Rank Adaptation).

Related

  • Project
  • Project
  • Dispatch
  • Dispatch
  • Project