Downloads · 30 days
25
9% of all-time downloads
cmcmaster/rheum-gemma-2-2b-it-mlx
rheum-gemma-2-2b-it-mlx is a text generation model from cmcmaster. Use it when you need the model to write or continue text. It is set up for transformers.
The Model cmcmaster/rheum-gemma-2-2b-it-mlx was converted to MLX format from cmcmaster/rheum-gemma-2-2b-it using mlx-lm version 0.18.1.
Downloads · 30 days
25
9% of all-time downloads
All-time downloads
268
Public
Parameters
2.6B
10.5 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors5.2 GB · 100%
From the Hugging Face model README
The Model cmcmaster/rheum-gemma-2-2b-it-mlx was converted to MLX format from cmcmaster/rheum-gemma-2-2b-it using mlx-lm version 0.18.1.
pip install mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("cmcmaster/rheum-gemma-2-2b-it-mlx")
response = generate(model, tokenizer, prompt="hello", verbose=True)