Downloads · 30 days
56
10% of all-time downloads
mlx-community/Qwen2-0.5B-Instruct
Qwen2-0.5B-Instruct 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 mlx. The card lists the license as apache-2.0.
The Model mlx-community/Qwen2-0.5B-Instruct was converted to MLX format from Qwen/Qwen2-0.5B-Instruct using mlx-lm version 0.14.0.
Downloads · 30 days
56
10% of all-time downloads
All-time downloads
562
Public
Parameters
494M
988 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors988 MB · 99%
From the Hugging Face model README
The Model mlx-community/Qwen2-0.5B-Instruct was converted to MLX format from Qwen/Qwen2-0.5B-Instruct using mlx-lm version 0.14.0.
pip install mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("mlx-community/Qwen2-0.5B-Instruct")
response = generate(model, tokenizer, prompt="hello", verbose=True)