Inkling-2-Mini · Codex (LoRA, GGUF)
The GGUF version of harness-hub/Inkling-2-Mini-codex-adapted, a LoRA adapter trained with reinforcement learning inside Codex CLI, on thinkingmachines/Inkling-2-Mini, for llama.cpp.
- Higher accuracy (SWE-bench Pro, hard 51): pass@3 66.0% → 74.0%, avg@3 46.7% → 60.7%.
- Less reasoning per solved task: 42% fewer reasoning tokens, 33% fewer output tokens in all.
- Fewer actions: 16% fewer tool calls and model turns.
- About a fifth faster: 22.7 → 17.7 minutes per solved task (−22%).
- Terminal-Bench 2.1: same accuracy (pass@3 64.6% → 65.8%) with 44% fewer output tokens.
More SWE-bench Pro tasks solved, with a third to nearly half fewer output tokens. Locally, where every generated token costs time, that is the difference you feel.
These scores come from the adapter served by vLLM, under Codex CLI 0.172.0 (reasoning effort
high, temperature 1.0, 131k context, 32k output tokens per turn). These GGUF files have not been re-evaluated through llama.cpp, and a quantized base will move the results further.
The original adapter card describes the training and the evaluation.
Run the merged Q8_0
Inkling-2-Mini-codex-adapted-Q8_0.gguf (about 28 GB) contains the Codex adapter merged into the BF16 base before
quantization. This command downloads and serves it at the default reasoning effort (high), the one the adapter was
trained with:
llama serve -hf harness-hub/Inkling-2-Mini-codex-adapted-GGUF:Q8_0 -c 131072 --alias inkling-codex
Run with the separate adapter
Inkling-2-Mini-codex-adapted-lora-F16.gguf is the adapter only (about 27 MB). It runs on top of the base model's GGUF.
1. Download the base model and the adapter
hf download ggml-org/Inkling-2-Mini-GGUF Inkling-2-Mini-Q8_0.gguf --local-dir .
hf download harness-hub/Inkling-2-Mini-codex-adapted-GGUF Inkling-2-Mini-codex-adapted-lora-F16.gguf --local-dir .
The adapter was trained on the base model's own weights. The closer the base GGUF is to them, the closer you get to the
trained behavior. Q8_0 is a good default; IQ4_NL and NVFP4 are smaller, but drift further from what the adapter
learned against.
2. Serve
llama serve -m Inkling-2-Mini-Q8_0.gguf --lora Inkling-2-Mini-codex-adapted-lora-F16.gguf \
-c 131072 --alias inkling-codex
Keep the default reasoning effort (high): the adapter was trained and evaluated with it.
Point Codex at the server
npm install -g @openai/codex@0.172.0
In ~/.codex/config.toml:
model = "inkling-codex"
model_provider = "local"
model_context_window = 131072
web_search = "disabled"
[model_providers.local]
name = "local"
base_url = "http://localhost:8080/v1"
env_key = "INKLING_API_KEY"
wire_api = "responses"
supports_websockets = false
export INKLING_API_KEY=dummy
codex exec "Find out why the tests in tests/test_parser.py fail and fix the bug."
The adapter card has the details.
Conversion
The adapter, from its copy under the base checkpoint's module names (vllm/ in the adapter repo), with llama.cpp's
convert_lora_to_gguf.py at commit 33aeb17f85869279e3821f746bc645357139bc2c, at F16:
python llama.cpp/convert_lora_to_gguf.py <adapter's vllm/ dir> --base <thinkingmachines/Inkling-2-Mini dir> --outtype f16
The merged Q8_0: llama-export-lora merges the F16 adapter into
ggml-org/Inkling-2-Mini-GGUF's BF16 file, then llama-quantize
quantizes the result to Q8_0, at the same commit.
- Downloads last month
- 77
8-bit
16-bit
Model tree for harness-hub/Inkling-2-Mini-codex-adapted-GGUF
Base model
thinkingmachines/Inkling-2-Mini