Downloads · 30 days
160
4% of all-time downloads
mlx-community/quantized-gemma-2b
quantized-gemma-2b 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 other.
This model was converted to MLX format from google/gemma-2b. Refer to the original model card for more details on the model.
Downloads · 30 days
160
4% of all-time downloads
All-time downloads
4.3K
Public
Parameters
2.5B
2.2 GB on disk
Likes
8
Public
Click a slice to open those files.
.safetensors2.2 GB · 99%
How the weights are stored.
U322B · 79%
From the Hugging Face model README
This model was converted to MLX format from google/gemma-2b.
Refer to the original model card for more details on the model.
pip install mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("mlx-community/quantized-gemma-2b")
response = generate(model, tokenizer, prompt="hello", verbose=True)