Downloads · 30 days
11
12% of all-time downloads
vipsehgal/qwen3-8b-jee-sdpo-mlx-4bit
qwen3-8b-jee-sdpo-mlx-4bit is a text generation model from vipsehgal. 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.
A 4-bit quantized MLX version of vipsehgal/qwen3-8b-jee-sdpo, optimized for fast inference on Apple Silicon Macs.
Downloads · 30 days
11
12% of all-time downloads
All-time downloads
93
Public
Parameters
8.2B
4.6 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors4.6 GB · 100%
How the weights are stored.
U328.2B · 100%
From the Hugging Face model README
A 4-bit quantized MLX version of vipsehgal/qwen3-8b-jee-sdpo, optimized for fast inference on Apple Silicon Macs.
This model solves IIT JEE Advanced problems in Physics, Chemistry, and Mathematics with step-by-step chain-of-thought reasoning.
| Property | Value |
|---|---|
| Base Model | Qwen3-8B |
| Training | SFT (QLoRA on Mac) → SDPO/DPO (A100 on cloud) |
| Quantization | 4-bit (group size 64), 4.5 bits/weight avg |
| Size | ~4.3 GB |
| Peak Memory | ~4.8 GB |
| Speed | ~30 tokens/sec on M3 Pro |
pip install "mlx-lm[generate]"
mlx_lm.generate \
--model vipsehgal/qwen3-8b-jee-sdpo-mlx-4bit \
--prompt "Solve: A particle of mass m is projected with velocity v at 45 degrees. Find the angular momentum about the point of projection at maximum height."
mlx_lm.generate \
--model vipsehgal/qwen3-8b-jee-sdpo-mlx-4bit \
--prompt '<|im_start|>system
You are an expert IIT JEE tutor. Solve problems step-by-step using LaTeX notation. Show all work clearly and arrive at the final answer.<|im_end|>
<|im_start|>user
Find the number of real solutions of x^3 - 3x + 1 = 0<|im_end|>
<|im_start|>assistant
'
mlx_lm.server --model vipsehgal/qwen3-8b-jee-sdpo-mlx-4bit --port 8080
# Then query with any OpenAI-compatible client:
curl http://localhost:8080/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{"messages": [{"role": "user", "content": "Solve: ..."}]}'
from mlx_lm import load, generate
model, tokenizer = load("vipsehgal/qwen3-8b-jee-sdpo-mlx-4bit")
response = generate(
model, tokenizer,
prompt="Solve: The number of sp2 hybridised carbon atoms in benzaldehyde is:",
max_tokens=512,
)
print(response)
You are an expert IIT JEE tutor. Solve problems step-by-step using LaTeX notation. Show all work clearly and arrive at the final answer.
pip install mlx-lmApache 2.0 (following Qwen3-8B license)