Qwen2.5-1.5B-Instruct-MLX-4bit

This model is an MLX 4-bit quantized conversion of Qwen/Qwen2.5-1.5B-Instruct, produced with mlx-lm.

Base model

  • Base: Qwen/Qwen2.5-1.5B-Instruct
  • License: Apache-2.0
  • Context length: 32,768 tokens
  • Generation length: 8,192 tokens
  • Quantization: 4-bit (group size 64, mixed 4.5 bpw)

Use with MLX-LM

pip install -U mlx-lm

mlx_lm.generate \
  --model noricha/Qwen2.5-1.5B-Instruct-MLX-4bit \
  --system-prompt "ใ‚ใชใŸใฏๆ—ฅๆœฌ่ชžใง็ฐกๆฝ”ใซ็ญ”ใˆใ‚‹ใ‚ขใ‚ทใ‚นใ‚ฟใƒณใƒˆใงใ™ใ€‚" \
  --prompt "MLXใƒขใƒ‡ใƒซใจใฏไฝ•ใงใ™ใ‹๏ผŸ" \
  --max-tokens 200 --temp 0.7 --top-p 0.9

Use with LM Studio

LM Studio 0.3.4 ไปฅ้™ใฎ MLX Engine ใง่ชญใฟ่พผใฟๅฏ่ƒฝใงใ™ใ€‚ใ‚ขใƒ—ใƒชๅ†…ๆคœ็ดขใพใŸใฏ CLI:

lms get noricha/Qwen2.5-1.5B-Instruct-MLX-4bit

Notes

  • ๅญฆ็ฟ’็›ฎ็š„ใงไฝœๆˆใ—ใŸ MLX ๅค‰ๆ›ใƒขใƒ‡ใƒซใงใ™ใ€‚็”จ้€”ใƒปๅˆถ้™ใฏๅ…ƒใƒขใƒ‡ใƒซใฎ Qwen2.5-1.5B-Instruct ใ‚’ๅ‚็…งใ—ใฆใใ ใ•ใ„ใ€‚
  • 0.5B ็‰ˆใ‚ˆใ‚Šๆ—ฅๆœฌ่ชžใฎไธ€่ˆฌ็Ÿฅ่ญ˜ใƒป่‡ช็„ถใ•ใŒๆ”นๅ–„ใ—ใฆใ„ใพใ™๏ผˆM3 Ultra ๅฎŸๆธฌ: ็”Ÿๆˆ็ด„ 307 tok/s, Peak 0.98 GB๏ผ‰ใ€‚
  • ๅๅพฉๆŠ‘ๅˆถใฎใŸใ‚ --temp 0.7 --top-p 0.9 ใชใฉใฎใ‚ตใƒณใƒ—ใƒชใƒณใ‚ฐใจ --system-prompt ใฎไฝต็”จใ‚’ๆŽจๅฅจใ—ใพใ™ใ€‚
Downloads last month
6
Safetensors
Model size
2B params
Tensor type
U32
ยท
BF16
ยท
MLX
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for noricha/Qwen2.5-1.5B-Instruct-MLX-4bit

Quantized
(371)
this model