Skip to content

gemma-ai-toolkit

Python

Python wrapper and CLI for Google Gemma.

A Python wrapper and CLI for Google's open-source Gemma instruct models. Supports offline use once models are downloaded. Uses PyTorch and Transformers.

python gemma google cli

[features]

Offline Capable

Use models without internet once cached

Conversational AI

Interactive chatbots and assistants

Text Generation

Contextually relevant responses

Multiple Versions

gemma-2b-it, gemma-7b-it

[install]

git clone https://github.com/RMNCLDYO/gemma-ai-toolkit.git
cd gemma-ai-toolkit
pip install -r requirements.txt

[usage]

# CLI
python cli.py --chat
python cli.py --text --prompt "Write a story"

# Python
from gemma import Chat, Text
Chat().run()

[requirements]

[license]

This project is licensed under the MIT license.

[links]