Downloads · 30 days
190
6% of all-time downloads
mlx-community/gemma-2-9b-8bit
gemma-2-9b-8bit is a text generation model from mlx-community. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as gemma.
The Model mlx-community/gemma-2-9b-8bit was converted to MLX format from google/gemma-2-9b using mlx-lm version 0.15.0.
Downloads · 30 days
190
6% of all-time downloads
All-time downloads
3.2K
Public
Parameters
9.2B
9.8 GB on disk
Likes
9
Public
Click a slice to open those files.
.safetensors9.8 GB · 100%
How the weights are stored.
U329.2B · 100%
From the Hugging Face model README
The Model mlx-community/gemma-2-9b-8bit was converted to MLX format from google/gemma-2-9b using mlx-lm version 0.15.0.
pip install mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("mlx-community/gemma-2-9b-8bit")
response = generate(model, tokenizer, prompt="hello", verbose=True)