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.7.tar.gz (44.2 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.7-py3-none-any.whl (69.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gemma-2.0.7.tar.gz
  • Upload date:
  • Size: 44.2 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.7.tar.gz
Algorithm Hash digest
SHA256 5c4b254ac09a47ec67ce9b9c3210bb2185113e17122fcfbb07b5e9abe781d37a
MD5 fe533760d3349a9c69f25d2e1377c256
BLAKE2b-256 0e8c03bf0d52e603f415b0e891f94bfcc87bc69c25798c196818b22e208c0b66

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gemma-2.0.7-py3-none-any.whl
  • Upload date:
  • Size: 69.7 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 7c8c7c7449599373ba2d91a7a9664597d71d470b171d0bec42c80d00b099d0bf
MD5 745c8d42610b5a0668cb1fbd7edff021
BLAKE2b-256 b008970f66f814d89f0912a7cca27386bcb66f69862eb08895a6a7339132cef9

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