Skip to main content

Open weights large language model (LLM) from Google DeepMind.

Project description

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.

Project details


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.6.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.6-py3-none-any.whl (68.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gemma-2.0.6.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.6.tar.gz
Algorithm Hash digest
SHA256 0dfb131c95eedf486235ace38b3bdadb3ab46586da48a9aa22132822fc1d2afa
MD5 75078c03e7182075f9d610318ae4db83
BLAKE2b-256 1c38c70823c02cefe5f8fb98c9ddccf01fe4ce7e6312fad2461a5a7294badf38

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gemma-2.0.6-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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 4e431ae57b06b035c46ce3a9d1f99bebac0d5c37dc477a1c95e2add8ea3998e1
MD5 9c1d0cc8b609aac0d554beb55fe194c5
BLAKE2b-256 9aa9d5d789618d9c0260b6c7b7ac10303933f1629f0cd4514c2aef3a3286898c

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 Pingdom Monitoring Sentry Error logging StatusPage Status page