gemma_penzai
A JAX Research Toolkit for Visualizing, Manipulating, and Understanding Gemma Models with Multi-modal Support based on Penzai.
File Explorer
Download Latest Version (.zip)- __init__.py
- gemma_multimodal.py
- gemma_utils.py
- __init__.py
- load_gemma.py
- sampling_mode.py
- simple_decoding_loop.py
- __init__.py
- convolution.py
- image_utils.py
- siglip.py
- vision_layers.py
- vision_parts.py
- __init__.py
- attention_and_logit_lens.ipynb
- gemma_scope1.ipynb
- gemma_scope2.ipynb
- gemma3_multimodal_penzai.ipynb
- gemma3_text_penzai.ipynb
- gemma3_vision_penzai.ipynb
- CONTRIBUTING.md
- LICENSE
- pyproject.toml
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/google-deepmind/gemma_penzai
Downloads the entire project code from GitHub to your computer.
cd gemma_penzai
Moves into the project folder you just downloaded.
2. Official Install Script
Easy RecommendedPrerequisites
- Python 3 Python is required to use pip.
pip install --upgrade pip
Installs the package published on PyPI directly โ no need to clone the source.
After installing, open a new terminal and run the program's version command (e.g. --version) to confirm it worked.
Pulled directly from this repo's README.
3. Python
EasyPrerequisites
pip install --upgrade pip
Installs the package published on PyPI directly โ no need to clone the source.
pip install -e .
Installs the Python libraries listed in requirements.txt (or similar).
If it runs without errors and prints output in the terminal, it worked.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
