Text Generation
MLX
Safetensors
English
gpt_oss
coding-agent
agentic
gpt-oss
codex
apple-silicon
conversational
4-bit precision
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 @mariozechner/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:8000/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 files- .DS_Store +0 -0
- 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
.DS_Store
ADDED
|
Binary file (6.15 kB). View file
|
|
|
README.md
CHANGED
|
@@ -22,6 +22,9 @@ A **gpt-oss-120b** version focused on improving practical coding-agent behavior
|
|
| 22 |
> Also available in **[GGUF for llama.cpp / LM Studio / Ollama →](https://huggingface.co/exalandru/GPT-OSS-Coder-GGUF)**
|
| 23 |
|
| 24 |
|
|
|
|
|
|
|
|
|
|
| 25 |
## How it works
|
| 26 |
|
| 27 |
It 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.
|
|
@@ -33,6 +36,10 @@ It digs deeper into the repository, follows evidence to the root cause, and keep
|
|
| 33 |
- Reasons about state and invariants across components
|
| 34 |
- Continues iterating when the first implementation is incomplete
|
| 35 |
- Ends its turns with a real report of what was done — no empty summaries, no truncated turns
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
|
| 37 |
The fine-tune also significantly reduced malformed JSON arguments.
|
| 38 |
|
|
@@ -40,7 +47,7 @@ Works even better with my **[Adversarial Agent Engineering](https://github.com/e
|
|
| 40 |
|
| 41 |
## Runtime
|
| 42 |
|
| 43 |
-
<span style="color:orange;">
|
| 44 |
|
| 45 |
### Codex GPT-OSS Server
|
| 46 |
|
|
@@ -62,6 +69,11 @@ mlx_lm.generate --model exalandru/GPT-OSS-Coder-MLX --prompt "Hello World!"
|
|
| 62 |
|
| 63 |
**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.
|
| 64 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 65 |
---
|
| 66 |
|
| 67 |
## How it was trained
|
|
|
|
| 22 |
> Also available in **[GGUF for llama.cpp / LM Studio / Ollama →](https://huggingface.co/exalandru/GPT-OSS-Coder-GGUF)**
|
| 23 |
|
| 24 |
|
| 25 |
+
# Version 1.1
|
| 26 |
+
> 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.
|
| 27 |
+
|
| 28 |
## How it works
|
| 29 |
|
| 30 |
It 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.
|
|
|
|
| 36 |
- Reasons about state and invariants across components
|
| 37 |
- Continues iterating when the first implementation is incomplete
|
| 38 |
- Ends its turns with a real report of what was done — no empty summaries, no truncated turns
|
| 39 |
+
- Writes its own failing test before declaring victory : adds regression tests that fail on the unfixed code, then proves the fix against them
|
| 40 |
+
- Iterates past the first green suite : coupled defects don't survive the second pass
|
| 41 |
+
- Follows each harness's closing convention : a Codex task ends with a final report, a Cline task ends with a proper `attempt_completion` call
|
| 42 |
+
- Tightens what a fix requires : removes deprecated or unauthorized call forms instead of quietly keeping them accepted
|
| 43 |
|
| 44 |
The fine-tune also significantly reduced malformed JSON arguments.
|
| 45 |
|
|
|
|
| 47 |
|
| 48 |
## Runtime
|
| 49 |
|
| 50 |
+
<span style="color:orange;">Optimized for Codex.</span>
|
| 51 |
|
| 52 |
### Codex GPT-OSS Server
|
| 53 |
|
|
|
|
| 69 |
|
| 70 |
**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.
|
| 71 |
|
| 72 |
+
> **116.8B parameters** (MoE, ~5.1B active per token — which is why it decodes
|
| 73 |
+
> faster than much smaller dense models). The Hub badge shows ~24B because MLX
|
| 74 |
+
> packs eight 4-bit weights per uint32 element and the badge counts elements,
|
| 75 |
+
> not parameters.
|
| 76 |
+
|
| 77 |
---
|
| 78 |
|
| 79 |
## How it was trained
|
model-00010-of-00013.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 5244364053
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6a4aa4f912819cecc39daf98924e45c5fdbd324a292171a8d5044ef49ca297d4
|
| 3 |
size 5244364053
|
model-00011-of-00013.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 5244364043
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ca880309ec746517a35b6241b993b4c47daf0ad44ab65f68fda5aaa589f09e2a
|
| 3 |
size 5244364043
|
model-00012-of-00013.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 5244364039
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:afcd7bb586b8d4644697491f728c733034aa0a0dd8cd5b30070a690ae5e8b844
|
| 3 |
size 5244364039
|
model-00013-of-00013.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 2288530151
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:56ba1913391283792fa7b60cc8e8155e4ced59ca5421cdb026ea0feb75a01818
|
| 3 |
size 2288530151
|