Downloads · 30 days
27
14% of all-time downloads
mlx-community/Yi-1.5-6B-4bit
Yi-1.5-6B-4bit is a machine learning model from mlx-community. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for mlx. The card lists the license as apache-2.0.
The Model mlx-community/Yi-1.5-6B-4bit was converted to MLX format from 01-ai/Yi-1.5-6B using mlx-lm version 0.13.0.
Downloads · 30 days
27
14% of all-time downloads
All-time downloads
187
Public
Parameters
6.1B
3.4 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors3.4 GB · 100%
How the weights are stored.
U326.1B · 100%
From the Hugging Face model README
The Model mlx-community/Yi-1.5-6B-4bit was converted to MLX format from 01-ai/Yi-1.5-6B using mlx-lm version 0.13.0.
Model added by Prince Canuma.
pip install mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("mlx-community/Yi-1.5-6B-4bit")
response = generate(model, tokenizer, prompt="hello", verbose=True)