Text Generation
MLX
Safetensors
English
gpt_oss
coding-agent
agentic
gpt-oss
codex
apple-silicon
conversational
4-bit precision
Run this model with HF Jobs
Run exalandru/GPT-OSS-Coder-MLX on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/exalandru/GPT-OSS-Coder-MLX. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/exalandru/GPT-OSS-Coder-MLX on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/exalandru/GPT-OSS-Coder-MLX. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/exalandru/GPT-OSS-Coder-MLX. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use exalandru/GPT-OSS-Coder-MLX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use exalandru/GPT-OSS-Coder-MLX with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("exalandru/GPT-OSS-Coder-MLX") prompt = "Write a story about Einstein" messages = [{"role": "user", "content": prompt}] prompt = tokenizer.apply_chat_template( messages, add_generation_prompt=True ) text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Pi
How to use exalandru/GPT-OSS-Coder-MLX with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "exalandru/GPT-OSS-Coder-MLX"
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "mlx-lm": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "exalandru/GPT-OSS-Coder-MLX" } ] } } }Run Pi
# Start Pi in your project directory: pi
- MLX LM
How to use exalandru/GPT-OSS-Coder-MLX with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "exalandru/GPT-OSS-Coder-MLX"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "exalandru/GPT-OSS-Coder-MLX" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8080/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "exalandru/GPT-OSS-Coder-MLX", "messages": [ {"role": "user", "content": "Hello"} ] }' - Hermes Agent
How to use exalandru/GPT-OSS-Coder-MLX with Hermes Agent:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "exalandru/GPT-OSS-Coder-MLX"
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default exalandru/GPT-OSS-Coder-MLX
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use exalandru/GPT-OSS-Coder-MLX with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "exalandru/GPT-OSS-Coder-MLX"
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "exalandru/GPT-OSS-Coder-MLX" \ --custom-provider-id mlx-lm \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Upload folder using huggingface_hub
Browse filesFiles changed (6)
21 unmodified lines2223242526275 unmodified lines3334353637381 unmodified line4041424344454615 unmodified lines62636465666721 unmodified lines> Also available in **[GGUF for llama.cpp / LM Studio / Ollama →](https://huggingface.co/exalandru/GPT-OSS-Coder-GGUF)**## How it worksIt digs deeper into the repository, follows evidence to the root cause, and keeps iterating until the fix holds under real tests instead of stopping at a plausible-looking patch.5 unmodified lines- Reasons about state and invariants across components- Continues iterating when the first implementation is incomplete- Ends its turns with a real report of what was done — no empty summaries, no truncated turnsThe fine-tune also significantly reduced malformed JSON arguments.1 unmodified line## Runtime<span style="color:orange;">Trained and optimized for Codex.</span>### Codex GPT-OSS Server15 unmodified lines**Format:** MLX, MXFP4 experts + bf16 attention, ~61 GB on disk. Weights are consolidated — nothing to fuse or merge. Runs on Apple silicon with 96 GB unified memory; a full agent session peaks around 82 GB.---## How it was trained21 unmodified lines2223242526272829305 unmodified lines363738394041424344451 unmodified line4748495051525315 unmodified lines697071727374757677787921 unmodified lines> Also available in **[GGUF for llama.cpp / LM Studio / Ollama →](https://huggingface.co/exalandru/GPT-OSS-Coder-GGUF)**# Version 1.1> This release adds three focused passes over re-curated data, each targeting a behaviour measured missing in the previous one: writing failure-injection regression tests before closing, iterating on multi-defect repositories past the first green suite, and honouring per-harness completion contracts. Every pass was gated by calibrated probes and a held-out benchmark ladder before being promoted.## How it worksIt digs deeper into the repository, follows evidence to the root cause, and keeps iterating until the fix holds under real tests instead of stopping at a plausible-looking patch.5 unmodified lines- Reasons about state and invariants across components- Continues iterating when the first implementation is incomplete- Ends its turns with a real report of what was done — no empty summaries, no truncated turns- Writes its own failing test before declaring victory : adds regression tests that fail on the unfixed code, then proves the fix against them- Iterates past the first green suite : coupled defects don't survive the second pass- Follows each harness's closing convention : a Codex task ends with a final report, a Cline task ends with a proper `attempt_completion` call- Tightens what a fix requires : removes deprecated or unauthorized call forms instead of quietly keeping them acceptedThe fine-tune also significantly reduced malformed JSON arguments.1 unmodified line## Runtime<span style="color:orange;">Optimized for Codex.</span>### Codex GPT-OSS Server15 unmodified lines**Format:** MLX, MXFP4 experts + bf16 attention, ~61 GB on disk. Weights are consolidated — nothing to fuse or merge. Runs on Apple silicon with 96 GB unified memory; a full agent session peaks around 82 GB.> **116.8B parameters** (MoE, ~5.1B active per token — which is why it decodes> faster than much smaller dense models). The Hub badge shows ~24B because MLX> packs eight 4-bit weights per uint32 element and the badge counts elements,> not parameters.---## How it was trained
123version https://git-lfs.github.com/spec/v1oid sha256:75bcb1049fef7d8db54681f4e6f2529fef4d359326d5ad242c18ee05ed182a62size 5244364053123version https://git-lfs.github.com/spec/v1oid sha256:6a4aa4f912819cecc39daf98924e45c5fdbd324a292171a8d5044ef49ca297d4size 5244364053
123version https://git-lfs.github.com/spec/v1oid sha256:47e7e73a5a189d03720a7df75145c5fb7cb9b07c7f17e9c3bc5b19a649967833size 5244364043123version https://git-lfs.github.com/spec/v1oid sha256:ca880309ec746517a35b6241b993b4c47daf0ad44ab65f68fda5aaa589f09e2asize 5244364043
123version https://git-lfs.github.com/spec/v1oid sha256:9274ca1b754e0d2ebfc0885bb214aa3e61679abfe46ad95ebbd298f4d171f83dsize 5244364039123version https://git-lfs.github.com/spec/v1oid sha256:afcd7bb586b8d4644697491f728c733034aa0a0dd8cd5b30070a690ae5e8b844size 5244364039
123version https://git-lfs.github.com/spec/v1oid sha256:0997e608e3732768f9bb5706fdbe768eef273caf86def548499daa11f1bc5b38size 2288530151123version https://git-lfs.github.com/spec/v1oid sha256:56ba1913391283792fa7b60cc8e8155e4ced59ca5421cdb026ea0feb75a01818size 2288530151
.DS_StoreAdded
README.md+13-1
model-00010-of-00013.safetensors+1-1
model-00011-of-00013.safetensors+1-1
model-00012-of-00013.safetensors+1-1
model-00013-of-00013.safetensors+1-1