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, including:

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: gemma-2.0.8.tar.gz
  • Upload date:
  • Size: 44.3 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.8.tar.gz
Algorithm Hash digest
SHA256 e7ea1186bb090f3981c37d603dd6f853004b89ab5adc1a0a85b0f37582e5c6fb
MD5 21b2ede49e4e2293ee40a819f0abdb58
BLAKE2b-256 ad9bae372da456ae8695bf120d6c9e9f400382a979dbac92d05e419ee4549efe

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gemma-2.0.8-py3-none-any.whl
  • Upload date:
  • Size: 69.9 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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 c746bb536f534ea14f08240201cbde3ae88d9a17b36e91d982ca4e25027bda4f
MD5 5ca0979375e9444ec4f5a08664678e97
BLAKE2b-256 eae774a76040c9e99854e4633c72398c4a19be4ecbf3f9b0fd3d018601fedc20

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