Downloads · 30 days
82
6% of all-time downloads
mlx-community/codegemma-1.1-2b-8bit
codegemma-1.1-2b-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.
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
82
6% of all-time downloads
All-time downloads
1.3K
Public
Parameters
2.5B
2.7 GB on disk
Likes
2
Public
Click a slice to open those files.
.safetensors2.7 GB · 99%
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-8bit")
response = generate(model, tokenizer, prompt="hello", verbose=True)