MLX
Safetensors
English
qwen2
Edit model card

mlx-community/Hercules-5.0-Qwen2-1.5B-4bits

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.

Use with mlx

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)
Downloads last month
6
Safetensors
Model size
241M params
Tensor type
FP16
·
U32
·
Inference API
Unable to determine this model’s pipeline type. Check the docs .

Dataset used to train mlx-community/Hercules-5.0-Qwen2-1.5B-4bits