Downloads · 30 days
36
6% of all-time downloads
cjnielson44/gpt-oss-20b-oQ4
gpt-oss-20b-oQ4 is a text generation model from cjnielson44. 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.
cjnielson44/gpt-oss-20b-oQ4 is an Apple Silicon / oMLX-ready MLX checkpoint for GPT-OSS 20B. It was produced with oMLX oQ4 quantization and published for local inference through oMLX.
Downloads · 30 days
36
6% of all-time downloads
All-time downloads
644
Public
Parameters
20.9B
11.2 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors11.2 GB · 100%
How the weights are stored.
U3220.9B · 100%
From the Hugging Face model README
cjnielson44/gpt-oss-20b-oQ4 is an Apple Silicon / oMLX-ready MLX checkpoint for GPT-OSS 20B. It was produced with oMLX oQ4 quantization and published for local inference through oMLX.
openai/gpt-oss-20b, downloaded locally without the extra original/ and metal/ artifacts.group_size: 64.bfloat16.GPT-OSS checkpoints use MoE expert tensors, and those tensors need their config metadata to match the actual packed tensor layout. If expert tensors are emitted as MXFP4 passthrough weights, they must be marked as mode: mxfp4, bits: 4, group_size: 32 for oMLX/MLX loading.
Download into an oMLX-discoverable model directory:
hf download cjnielson44/gpt-oss-20b-oQ4 \
--local-dir ~/.omlx/models/cjnielson44/gpt-oss-20b-oQ4
Restart oMLX, then use this model id:
gpt-oss-20b-oQ4
Example OpenAI-compatible request, assuming your oMLX server is listening locally:
curl http://127.0.0.1:8000/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $OMLX_API_KEY" \
-d '{
"model": "gpt-oss-20b-oQ4",
"messages": [{"role": "user", "content": "Write a short note about Apple Silicon inference."}],
"max_tokens": 128
}'
This repo was generated for oMLX and symlinked under ~/.omlx/models/cjnielson44/ after quantization. The source repo and target Hub repo were checked before generation so this upload does not overwrite an existing cjnielson44 20B oQ variant.
openai/gpt-oss-20b.