Qwen3-4B-Computer-Science-MLX-8bit

An Apple MLX 8-bit quantized version of Qwen3-4B-Computer-Science, optimized for efficient local inference on Apple Silicon Macs.

This repository provides an MLX-compatible model for fast inference while maintaining excellent quality with significantly reduced memory usage.

Base Model

  • Base repository: Irfanuruchi/Qwen3-4B-Computer-Science
  • Architecture: Qwen3-4B
  • Format: MLX
  • Quantization: 8-bit
  • Group Size: 64

Features

  • Optimized for Apple Silicon (M-series)
  • Fast local inference using MLX
  • Reduced memory footprint
  • Compatible with mlx-lm

Installation

python3 -m venv .venv
source .venv/bin/activate

pip install mlx mlx-lm

Usage

mlx_lm.generate \
  --model Irfanuruchi/Qwen3-4B-Computer-Science-MLX-8bit \
  --prompt "Write a Python function that validates an IPv4 address." \
  --max-tokens 256

License

This model is released under the Apache 2.0 License.

The original Qwen3 model is licensed under Apache 2.0. This repository contains an MLX quantized version of the original weights.

Acknowledgements

  • Alibaba Qwen Team
  • Apple MLX
  • Hugging Face
Downloads last month
24
Safetensors
Model size
1B params
Tensor type
BF16
·
U32
·
MLX
Hardware compatibility
Log In to add your hardware

8-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Irfanuruchi/Qwen3-4B-Computer-Science-MLX-8bit

Finetuned
Qwen/Qwen3-4B
Quantized
(4)
this model