What our LoRA adapters learned, and didn't
Our LoRA adapters made a 27B model follow the action format without a prompt, 25 of 30 runs against none, but a blinded regrade found only 5 to 7 of 30 correct.
Our LoRA adapters made a 27B model follow the action format without a prompt, 25 of 30 runs against none, but a blinded regrade found only 5 to 7 of 30 correct.
Use RAG for knowledge and fine-tuning for behaviour. Most teams need retrieval, citations and structured outputs first; fine-tune only for a measured gap.
Test AI like software: real cases, code checks for what must hold, a calibrated LLM judge for the rest, human audits, and a release gate on every change.
A recurring report. A slow review. A prototype that needs to work in the real world.
Our LoRA adapters taught a 27-billion-parameter open model the Twin's action format reliably: with no system prompt at all, the adapted model produced valid actions on 25 of 30 held-out real tasks, where the base model managed none. They didn't teach it to get the answers right. An independent, blinded regrade found only 5 to 7 of those 30 fully correct, against the 17 to 19 our first grader had reported. The adapters learned the protocol, not the job, and telling the two apart was the most useful thing the experiment gave us.
A LoRA adapter is a small set of low-rank weight matrices trained on top of a frozen base model, so one base can carry learned behaviours that attach and detach per request rather than baking a new full checkpoint. Our Project Venus work for the Company Twin trains these adapters on real task trajectories. Below is the full evidence from two training cycles, the grading mistake that almost misled us, how we serve an adapter in isolation, and what changed after an independent review.
Key takeaways
When the Twin's agent answers a question from company data, it works in small steps: check which tables exist, inspect one, run a read-only query, read the result, decide what comes next. A frontier model picks that up from a long system prompt spelling out the tools, rules and syntax. A smaller open model (Qwen3.8-27B in our case) struggles with that prompt and pays for its tokens on every call.
The bet was that a LoRA adapter could carry the format and habits instead, letting the model drop the long prompt and spend its context on evidence. From the start we separated two outcomes: format (does it emit a valid action every time?) and substance (does it reach the right answer more often?). The first arrives much faster and is perilously easy to mistake for the second. Our guide to fine-tuning against RAG makes the broader point that fine-tuning teaches behaviour rather than facts; here's what that looked like up close.
The first cycle trained on 90 fictional tasks modelled on the shape of historical requests, then evaluated on 29 held-out cases.
| With instructions | No system prompt | |
|---|---|---|
| Base model | 24 | 0 |
| Base model with adapter | 27 | 25 |
Qwen3.8-27B, September 2026. After removing two penalties for harmless extra prose, the instructed scores were 26 and 27.
The prompt-free adapter used 54% fewer input tokens across the 21 cases both arms solved, with zero instructions. It also regressed in two spots: both adapters mishandled a sum where every value was unknown, and each failed a replay where we changed the underlying data to verify that the query still followed it.
Then a review of the test itself overturned the headline. Those 29 cases used fictional schemas and simplified versions of real questions, and only one training example involved more than a single successful query. The bar was much lower than production work, so the numbers proved the model had learned the protocol and said nothing about whether it retrieved better. Instead of scaling the same curriculum to 500 tasks, we scrapped it and rebuilt on real trajectories.
Cycle 2 drew directly on real task trajectories, and filtering took far more effort than training. Out of 7,391 recorded runs we extracted 774 distinct questions, of which 128 could be verified from source data, split into 98 for training and 30 held out. A stronger teacher model worked every training question and every step was reviewed, yielding a frozen release of 98 trajectories and 650 approved actions. Loss ran on 115,971 of its 1,039,486 tokens (the model's own actions and decision notes); the rest was context it read without being trained to generate.
The training run itself was tiny: a rank-16 LoRA across 496 projection matrices (116.7 million trainable parameters), three epochs, 39 optimiser updates on a single H200, finishing at 0.79 loss. Padding made up 0.037% of tokens, so sequence packing would barely have moved the needle. We served it as a 5-bit build and ran the 30 held-out questions.
Cycle 2 on 30 held-out real tasks
The first score came from the model running the evaluation harness, marking work it had helped produce, and it proved generous towards answers that finished cleanly and read smoothly. The regrade used a separate model, blinded to which arm produced each response, grading against the full intent of every question. It uncovered 16 errors in the keys used to identify records: confident, well-written answers pointing at the wrong things.
The same review caught flaws in the comparison harness itself: a confirmed defect in how cases were admitted, plus 13 malformed responses from other models whose cause we couldn't pin down because the harness had thrown away the raw response bodies. We didn't patch or rerun those attempts; they stayed in the record as unknown, and we fixed the harness to capture rejected bodies going forward instead of guessing. A regrade that halves your headline score is uncomfortable, but one you can't reproduce is worse. Our guide to evaluating AI systems at scale digs deeper into these grading practices.
We keep the adapter's remit tight. Our trial deployment serves an earlier action adapter trained in August on a different base: an open mixture-of-experts model in FP8 running under SGLang, loaded under an internal alias no user can pick. At each step, the request and evidence gathered so far go straight to the adapter, which emits one action from a frozen contract. A broker executes it read-only and appends the result; once the adapter returns control, it detaches and the pinned base model writes the final answer.
Three design rules came straight out of those two cycles.
That serving path works cleanly. The adapter it was built for didn't pass: it loads and runs, yet failed its frozen production behaviour gate, so it stays an authorised trial rather than a production model, and we label that status clearly wherever the route appears. Working infrastructure never excuses a model that missed its gate.
An independent architecture review examined what the harness had actually been training and testing on. At least 78.6% of the 7,311 runs in the catalogue it audited (a separate count from the 7,391 recorded runs we trained from) turned out to be developer or evaluation traffic rather than real usage. Of 50 sampled real turns, 28 were follow-ups, and much of their work touched documents, spreadsheets, corrections and dashboards that our narrow harness excluded by design. We'd been training the model on a slice of the job people seldom ran in isolation.
The review recommended a shared harness covering continuations and documents, versioned business context, a shared procedural adapter as baseline, and organisation-specific adapters only where they prove incremental value. We've since moved the student onto a minimal adaptation of an existing general-purpose agent loop (as a candidate, not a proven winner) because the custom harness suffered from a mismatch between training and serving formats and only exposed three data tools.
Cycle 3 starts with a dataset before we even decide whether to train: 1,000 examples drafted by one model, approved by a second and gated before release. Its first source selection approved zero of the 1,000: 957 needed correction, 43 were rejected, and a privacy-authority check failed across the board. The corpus stays rejected until that's fixed. That's the gate doing its job.
We also closed the teacher question. DeepSeek V4.1 Flash is a strong teacher for generating training text, while distilling its output probabilities into Qwen3.8-27B is ruled out by their mismatched tokenisers. Making the large model the student instead would require an eight-GPU node whose cold start, when we weighed this in late October, sat around a quarter of an hour, defeating scale-to-zero. A later campaign on different hardware brought that down to roughly six and a half minutes at p90 (covered in cold-starting a large model), which is still nowhere near instant. Qwen3.8-27B stays the model we adapt.
Before you trust an adapter's gain
Build the evaluation first: 30 to 100 real questions from your own operations, each backed by a verifiable source answer and graded blind by something other than the system under test. Most fine-tuning projects skip that step and then can't separate a format gain from a real one. Try the cheaper levers next: cleaner tool design, versioned definitions and better retrieval. Our piece on what a Twin should learn from a mistake sets out why evaluated, reversible context changes come before touching weights.
If an adapter still earns its keep, constrain its job, serve it beside a clean base model and treat it like any other release: it ships only when it clears its gates. That's the thinking behind why we serve our own open-weight models, and the Project Venus research page tracks where the work goes next.
In the Company Twin, live figures stay in your governed data and adapters learn only how actions run, so every answer still points straight back to its sources. See how the Twin governs models →