Inkling 2 Mini for Hermes Agent · coding LoRA and standalone GGUFs

AtomicChat trained a coding LoRA for Hermes Agent on Thinking Machines’ Inkling 2 Mini. Download the adapter in PEFT or F16 GGUF, or choose one of three standalone GGUFs with it baked in.

Atomic Chat Discord GitHub X

Built by the team behind Atomic Chat. To run a baked model, download one GGUF below, start llama.cpp and connect Hermes to the local endpoint.

Run Inkling locally with Atomic Chat

Download Atomic Chat → and use Inkling as the local model for Hermes Agent.

  1. Download the model. In Atomic Chat → Models, search for AtomicChat/Inkling-2-Mini-Hermes-Agent-LoRA. Pick Inkling-2-Mini-Hermes-AD-IQ2_M.gguf (9.09 GB). The Hermes adapter is already included.
  2. Start the server. Open Integrations → Local API Server, select the model, and click Start Server.
  3. Connect Hermes. Choose the custom OpenAI-compatible provider, set the base URL to http://127.0.0.1:1337/v1, and use the model ID shown at http://127.0.0.1:1337/v1/models.

Terminal quickstart (macOS / Linux). Complete steps 1 and 2 above with the baked Inkling model selected. If you need to install Hermes, run the following command and reopen your terminal:

curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash

With the local server running at the default address, configure Hermes once and start a chat. This uses Python 3 to read the model ID from the server and saves your selection in the Hermes config.

base_url=http://127.0.0.1:1337/v1
model_id=$(curl -fsS "$base_url/models" | python3 -c '
import json, sys
models = json.load(sys.stdin)["data"]
if len(models) != 1:
    sys.exit("Select only the baked Inkling model in Atomic Chat, then retry.")
print(models[0]["id"])
') &&
hermes config set model.provider custom &&
hermes config set model.base_url "$base_url" &&
hermes config set model.default "$model_id" &&
hermes chat

Next time, with the same model served in Atomic Chat, just run hermes chat.

See the setup guide with screenshots →

What changed in the pilot? On SWE-bench Verified repairs completed by both configurations, Hermes generated 12,655 output tokens with the external adapter versus 19,146 with the base (33.9% fewer). Total agent time fell from 428.83 to 355.13 seconds (17.2%). These are six paired successes across two seeds, covering five distinct issues. Solve counts moved in opposite directions across seeds. The benchmark used the Uncensored AD-IQ2_M inference base. The three downloadable standalone GGUFs use standard Inkling 2 Mini and each passed a separate end-to-end Hermes test. Task-level results

Standalone models

Download Size
AD-IQ2_M 9.09 GB
AD-IQ3_S 13.77 GB
AD-Q4_K 16.95 GB

Choose one row for a complete text model. The listed sizes are weight files on disk. Runtime memory also depends on context length and GPU offload. If you already have the benchmark base, use the 13.38 MB adapter and the external-adapter command. For Transformers, load the root PEFT configuration with its weights.

Each standalone file starts from the standard AtomicChat Inkling 2 Mini quant with this repository’s LoRA baked in at scale 0.5. The 96 adapted attention tensors are stored in F16. All other 608 tensors were copied byte for byte. Each file passed a Hermes file-read, patch and terminal check. Validation and hashes

Measured file sizes

llama-server -m Inkling-2-Mini-Hermes-AD-IQ2_M.gguf --alias inkling --jinja --host 127.0.0.1 --port 18081 -ngl 99 -c 65536 -np 1 --reasoning-effort none --chat-template-kwargs '{"reasoning_effort":"none"}' --temp 0.4 --top-p 1

Select the custom OpenAI-compatible provider in Hermes, endpoint http://127.0.0.1:18081/v1, model inkling, and the file and terminal toolsets. The separate F16 adapter and PEFT weights with their config are also available.

Held-out evaluation of the separate adapter

The following measurements used the Uncensored AD-IQ2_M base with an external LoRA. The three baked standard-base models have the integration checks linked above.

On SWE-bench Verified repairs solved by both configurations, the external LoRA used 33.9% fewer output tokens and 17.2% less agent time.

Seed Benchmark Base LoRA 0.5 Newly solved Lost
3407 SWE-bench Verified 5/12 7/12 3 1
3407 Terminal-Bench 2.1 0/10 1/10 1 0
5801 SWE-bench Verified 4/12 3/12 1 2
5801 Terminal-Bench 2.1 0/9 1/9 1 0

Repair success depended on the seed. The adapter solved two additional SWE-bench tasks net on seed 3407 and one fewer on seed 5801. On tasks solved by both configurations, wall time and output tokens fell at both seeds. These efficiency comparisons cover four and two shared successes, respectively.

The denominators count tasks with a valid official score in both arms. Common-success totals below compare the same solved tasks within a seed. Wall time includes agent execution and excludes official grading.

Seed Benchmark Common successes Seconds, base → LoRA Output tokens, base → LoRA Tool calls, base → LoRA
3407 SWE-bench Verified 4 295.5 → 246.7 13,024 → 9,131 53 → 55
5801 SWE-bench Verified 2 133.4 → 108.5 6,122 → 3,524 29 → 29

The fixed test set contains 12 SWE-bench Verified and 10 Terminal-Bench 2.1 tasks selected for the earlier Pi study. Repeating the same tasks at a second seed measures sampling variability on this panel. The sample is too small to extrapolate these scores to either full benchmark. Task IDs, wins and losses, official validator outcomes, and the historical Pi comparison are in the paired report.

On Terminal-Bench, the only win at either seed was the same task, portfolio-optimization. The two seeds therefore provide evidence on one terminal task.

What the totals measure

Tool calls totaled 82 for the base and 84 with LoRA on those same successes. The token metric counts generated output, and elapsed time measures the full agent episode. The logs support a reduction in total generation on successful repairs. They do not measure a gain in decoding tokens per second or isolate which reasoning behavior caused the change.

On seed 5801 the Harbor verifier timed out on the adapted query-optimize attempt, leaving nine valid Terminal-Bench pairs. For overfull-hbox, rerunning the official verifier on the recovered candidate yielded a score of zero. The SWE harness resolved all 14 calibration and held-out gold controls. Validator controls · Grading notes

Training and calibration

AtomicChat built the Hermes training sessions and trained the adapter on 23 SWE-bench train tasks from IPython, NumPy, pandas and SciPy. A scripted teacher supplied reference actions derived from each gold diff. Pinned Hermes generated the system message and tool schemas and executed read_file, patch and terminal. Each resulting file matched the gold change byte for byte. Four fixtures also passed targeted before/after behavioral checks. The train, calibration and test splits were checked for overlapping IDs, base commits and stable patch IDs.

The 23 training issues comprised seven NumPy, seven pandas, five SciPy and four IPython fixes. The teacher supplied the reference edit. Hermes ran the tools and recorded their results. Each terminal check validated the diff and Python syntax. Four fixtures additionally failed a targeted behavior check before the edit and passed afterward. System messages, user messages and tool results provided context. Only assistant spans contributed to loss. Teacher implementation · Per-session token counts · Behavior checks

QLoRA used BF16 computation and language attention Q/K/V/O projections only. Rank 16, alpha 32, constant learning rate 1e-4, AdamW 8-bit, batch size 1, two epochs and seed 3407. The 23 sessions contained 125,248 tokens after applying the tool-aware template. Loss covered 9,871 assistant tokens, including function calls and turn boundaries. Training completed 46 steps in 172.6 seconds on one H100 SXM 80 GB. All 192 exported F16 matrices matched PEFT after conversion to F16.

Four separate calibration tasks were scored at scales 0, 0.25, 0.5 and 1.0. The best nonzero scale was selected by solved count, breaking ties by proximity to 0.5 and then by lower scale. The full holdout used the same prompts, tools and limits within each Hermes pair. Each episode had 65,536 tokens of context, up to 18 model requests, 1,536 output tokens per request and 300 seconds of agent time. The server used temperature 0.4, top-p 1 and reasoning effort none. Two slots shared the H100. The official SWE harness accepted all 14 calibration and held-out gold patches. Harbor 0.27.0 ran the Terminal-Bench verifiers.

The training log records 6,684,672 trainable parameters and peak reserved GPU memory of 33.87 GiB. A separate smoke step recorded nonzero gradients in 96 LoRA tensors and a change of approximately 0.0001 in the monitored weight. Calibration solved 2/4 tasks at each of scales 0, 0.25 and 0.5, and 0/4 at scale 1.0. The tie-break selected 0.5 before the held-out runs. Optimizer history · Smoke check · Scale selection

Training loss over 46 optimizer steps

Audit the results

Question Public evidence
Which tasks and revisions were used? Training, calibration and holdout IDs · SWE base commits and patch fingerprints · Pinned versions
What did the trainer actually run? Launch script · Training and masking code · Smoke log · Full trainer log · Final metrics
What happened on each attempt? Calibration scores · Holdout seed 3407 · Holdout seed 5801 · Initial request hashes and request counts
How can I inspect tool use? Worked tool-call example · Hermes episode recorder. Public benchmark records include scores, timing, generated tokens and tool counts. Full benchmark conversations and source patches are kept out of this release.
How were the downloads checked? GGUF export log · PEFT–GGUF tensor verification · Per-quant validation · Weight checksums

To recalculate the headline figures from the public records, download the script and the two small holdout JSONs into the same directory. With the Hugging Face CLI and Python 3:

hf download AtomicChat/Inkling-2-Mini-Hermes-Agent-LoRA --include 'evaluation/holdout-*.json' 'evaluation/recompute.py' --local-dir hermes-audit
python3 hermes-audit/evaluation/recompute.py

The script pairs attempts by task within each seed, requires a valid score for both configurations, and sums time, tokens and calls only when both solved the issue. Inspect the calculation

Run with llama.cpp and Hermes

Use llama.cpp commit db1165480c214ae0634bb6ad8a6ddc3783f6022b and Hermes Agent commit 8cb24a3bf48f96e7fd096bd5fa30392b51547d4b. Download the pinned GGUF base and this repository’s F16 adapter. A single interactive slot can be started with the following command.

llama-server -m Inkling-2-Mini-Uncensored-AD-IQ2_M.gguf \
  --lora-scaled Inkling-2-Mini-Atomic-SWE-Hermes-F16.gguf:0.5 \
  --alias inkling --host 127.0.0.1 --port 18081 --jinja \
  --reasoning-effort none --chat-template-kwargs '{"reasoning_effort":"none"}' \
  -ngl 99 -c 65536 -np 1 --temp 0.4 --top-p 1

With the server running, use the captured Hermes launcher in its pinned Python environment. It sets the toolsets and routes the agent to the loopback endpoint. Supply a disposable working tree, a text file containing the task, and a new output directory.

python reproduction/episode.py /path/to/worktree task.txt trace

The benchmark server script starts with the adapter loaded at zero and switches it through llama.cpp’s LoRA API. The PEFT config points to the pinned training base on the Hub. The adapter GGUF is 13,383,072 bytes with SHA-256 17042da6481d0fcf2400c9985f54822d32cbf55c7cbe0b0d4d524c8565a4d6c2.

Pinned inference base · Training checkpoint and revisions · Tool-call examples · Artifact manifest · Weights license

Downloads last month
1,430
GGUF
Model size
6.68M params
Architecture
inkling2_loop
Hardware compatibility
Log In to add your hardware

2-bit

3-bit

16-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for AtomicChat/Inkling-2-Mini-Hermes-Agent-LoRA

Adapter
(76)
this model

Dataset used to train AtomicChat/Inkling-2-Mini-Hermes-Agent-LoRA