Downloads · 30 days
22
9% of all-time downloads
mlx-community/Hercules-5.0-Qwen2-1.5B-4bits
Hercules-5.0-Qwen2-1.5B-4bits 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/Hercules-5.0-Qwen2-1.5B-4bits was converted to MLX format from M4-ai/Hercules-5.0-Qwen2-1.5B using mlx-lm version 0.14.0.
Downloads · 30 days
22
9% of all-time downloads
All-time downloads
251
Public
Parameters
1.5B
869 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors869 MB · 99%
How the weights are stored.
U321.5B · 100%
From the Hugging Face model README
The Model mlx-community/Hercules-5.0-Qwen2-1.5B-4bits was converted to MLX format from M4-ai/Hercules-5.0-Qwen2-1.5B using mlx-lm version 0.14.0.
pip install mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("mlx-community/Hercules-5.0-Qwen2-1.5B-4bits")
response = generate(model, tokenizer, prompt="hello", verbose=True)