Skip to main content

Gemma

Unittests PyPI version Documentation Status

Gemma is a family of open-weights Large Language Model (LLM) by Google DeepMind, based on Gemini research and technology.

This repository contain the implementation of the gemma PyPI package. A JAX library to use and fine-tune Gemma.

For examples and uses-cases, see our documentation. Please report issues and feedback in our GitHub.

Learn more about Gemma

Quick start

Installation

  1. Install JAX for CPU, GPU or TPU. Follow instructions at the JAX website.

  2. Run

    pip install gemma
    

Downloading the models

To download the model weights. See our documentation.

Examples

Our documentation contain various Colabs and tutorial for:

Additionally, our examples/ folder contain additional scripts to fine-tune and sample with Gemma.

System Requirements

Gemma can run on a CPU, GPU and TPU. For GPU, we recommend a 8GB+ RAM on GPU for the 2B checkpoint and 24GB+ RAM on GPU for the 7B checkpoint.

This is not an official Google product.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gemma-2.0.5.tar.gz (43.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gemma-2.0.5-py3-none-any.whl (68.4 kB view details)

Uploaded Python 3

File details

Details for the file gemma-2.0.5.tar.gz.

File metadata

  • Download URL: gemma-2.0.5.tar.gz
  • Upload date:
  • Size: 43.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for gemma-2.0.5.tar.gz
Algorithm Hash digest
SHA256 77d90d266bcff9612b2e9ff60a8cd8866c675bcfc23dd0b90acf3b04625382bd
MD5 93c91961f5bf4cc1800a16ba375dd31f
BLAKE2b-256 67bcf5f91c1a189b0e13b611e75d6682c1a949b4f9392ecf425264ecfda0322c

See more details on using hashes here.

File details

Details for the file gemma-2.0.5-py3-none-any.whl.

File metadata

  • Download URL: gemma-2.0.5-py3-none-any.whl
  • Upload date:
  • Size: 68.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for gemma-2.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 fcffa126214e8707f59f51b6dccf068e19b12cb2a91e43dc92b43519e4f40892
MD5 f332ad1e763fb2c6dd891d076f213947
BLAKE2b-256 c6a53e57e607d544db7d5904b45433b0bff283a0e4c90d14cd351fcc46c8f331

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page