Downloads · 30 days
33
46% of all-time downloads
Irfanuruchi/Qwen3-4B-Computer-Science-MLX-4bit
Qwen3-4B-Computer-Science-MLX-4bit is a text generation model from Irfanuruchi. 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.
Qwen3-4B-Computer-Science-MLX-4bit is a 4-bit MLX conversion of Qwen3-4B-Computer-Science for inference on Apple Silicon.
Downloads · 30 days
33
46% of all-time downloads
All-time downloads
72
Public
Parameters
4B
2.3 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors2.3 GB · 99%
How the weights are stored.
U324B · 100%
From the Hugging Face model README
Qwen3-4B-Computer-Science-MLX-4bit is a 4-bit MLX conversion of Qwen3-4B-Computer-Science for inference on Apple Silicon.
The model was converted from the original BF16 Safetensors release using
mlx-lm. It is intended for local inference on supported Mac systems using
the MLX framework.
| Property | Value |
|---|---|
| Source model | Irfanuruchi/Qwen3-4B-Computer-Science |
| Base architecture | Qwen3-4B |
| Framework | MLX |
| Quantization | 4-bit |
| Quantization group size | 64 |
| Effective bits per weight | 4.501 |
| Weight format | Safetensors |
| Primary platform | Apple Silicon |
| Language | English |
| License | Apache-2.0 |
The source model was instruction-tuned using permissively licensed datasets.
| Dataset | Configuration | License |
|---|---|---|
| HuggingFaceTB/smoltalk | smol-magpie-ultra | Apache-2.0 |
| agentica-org/DeepCoder-Preview-Dataset | primeintellect | MIT |
| Split | Samples |
|---|---|
| Training | 60,989 |
| Evaluation | 512 |
This model is intended for:
Install MLX-LM:
python -m pip install mlx-lm
mlx_lm.generate \
--model Irfanuruchi/Qwen3-4B-Computer-Science-MLX-4bit \
--prompt "Write a Python function that returns the first n Fibonacci numbers." \
--max-tokens 200
from mlx_lm import generate, load
model, tokenizer = load(
"Irfanuruchi/Qwen3-4B-Computer-Science-MLX-4bit"
)
response = generate(
model,
tokenizer,
prompt="Write a Python function that returns the first n Fibonacci numbers.",
max_tokens=200,
)
print(response)
The model was converted from:
Irfanuruchi/Qwen3-4B-Computer-Science
Conversion configuration:
| Parameter | Value |
|---|---|
| Quantization enabled | Yes |
| Quantization bits | 4 |
| Quantization group size | 64 |
| Effective bits per weight | 4.501 |
The release was validated locally on Apple Silicon.
| Test | Result |
|---|---|
| MLX conversion | Passed |
| Model loading | Passed |
| Text generation | Passed |
| Generation speed | 53.512 tokens/sec |
| Peak memory | 2.356 GB |
Performance measurements are from one local generation test and may vary by device, prompt, context length, and software version.
model.safetensors
model.safetensors.index.json
config.json
generation_config.json
tokenizer.json
tokenizer_config.json
added_tokens.json
special_tokens_map.json
merges.txt
vocab.json
README.conversion.md
SHA256SUMS
LICENSE
README.md
Verify the downloaded files on macOS:
shasum -a 256 -c SHA256SUMS
On Linux:
sha256sum -c SHA256SUMS
The model is distributed under the Apache License 2.0.
The source model is based on Qwen3-4B, which is also distributed under the Apache License 2.0.
@software{uruci2026qwen3computersciencemlx,
title={Qwen3-4B-Computer-Science-MLX-4bit},
author={Irfan Uruçi},
year={2026},
publisher={Hugging Face}
}