Downloads · 30 days
50
5% of all-time downloads
mlx-community/codegemma-1.1-2b-4bit
codegemma-1.1-2b-4bit 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.
This model was converted to MLX format from google/codegemma-1.1-2b using mlx-lm version 0.12.0. Refer to the original model card for more details on the model.
Downloads · 30 days
50
5% of all-time downloads
All-time downloads
927
Public
Parameters
2.5B
1.4 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors1.4 GB · 98%
How the weights are stored.
U322.5B · 100%
From the Hugging Face model README
This model was converted to MLX format from google/codegemma-1.1-2b using mlx-lm version 0.12.0.
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/codegemma-1.1-2b-4bit")
response = generate(model, tokenizer, prompt="hello", verbose=True)