The result Synthetic data
Each claim was written down with its bar before any code (CLAIMS.md). The model, the data and the code were frozen by hash before any model read a held-out complaint (SEAL2.md). A claim that misses its bar is kept and shown as failed. Every number is read from the committed record.
| Claim | What it says | Measured synthetic | Bar | Verdict |
|---|
| On the held-out complaints synthetic | The tuned 0.5B, inside the stack | The same model untuned, inside the stack | qwen2.5:7b on its own |
|---|
…
Run after the held-out record, by tools outside both seals. They change no sealed number above; they test it. Each re-derives in CI from committed files.
…
…
SYNTHETIC DATA · What these numbers are measured on. Synthetic complaints: written by this repository's own generator from structured facts, in phrasings the model never trained on, with the truth computed by the verified library. No real client matter has been run. A client build retrains the adapter on that firm's own intakes, with consent, and is judged the same way on a held-out set of its own before anyone relies on it.
What the result says
…
Watch it work, on a complaint it never saw
Pick a held-out complaint. You see what the trained model read from it (recorded when it ran on this laptop), then the library and the gate turn that into the memo live, in your tab. Beside it is what the bigger model said on its own (also recorded), with its citations checked against the verified table.
Try your own facts
Set the facts of a complaint yourself and the library and the gate answer in your tab. No model is involved here: this is the reasoning layer on its own, and it gives the same answer every time.
Clear a date to see the associate abstain and name what it needs.
What this is
Simon's SLM Suite: one shared stack, and a model per industry where only the training data and the domain's rules change. Each finished one is both a showcase a prospect can test and the template for the next real client in that industry. Legal is first and built deep, because building it builds the shared stack.
This associate does the first screen on a consumer's complaint about goods, a service or an online purchase, under the law of England and Wales: which rights apply, which remedy, which deadlines matter, and an angle a busy reader might miss. It assists. A qualified human reviews it and owns any use of it.
Words on this page
| SLM | A small language model: here Qwen2.5 with half a billion parameters, small enough to train and run on a laptop. |
| LoRA, adapter | A way to train a model by adding a small set of new weights (the adapter) instead of changing the whole model. The adapter is a single file of a few tens of megabytes. |
| Verified library | The associate's reasoning: rules written from the actual legislation, each checked against legislation.gov.uk, that compute the rights, the remedy and every deadline date. |
| The gate | The check between the model and the memo. No provision, remedy or date reaches the memo unless the library gave it. If the model reports a critical fact missing, the associate abstains and says what it needs. If the model reads a fact that is not there, the gate cannot tell; the human review is what catches it. One line is the model's own words: its one-sentence summary of the complaint. The gate withholds it if it mentions law or dates and checks nothing else about it; the audit under the result counts how often it is wrong. |
| Abstain | Decline to answer, and say why. Better than a confident guess. |
| Held-out | Complaints kept aside, written in different words from the training ones, and read once after everything was frozen. |
| Section 75 | Consumer Credit Act 1974, s. 75: when a single item costing over one hundred pounds and up to thirty thousand pounds is paid for by credit card, the card issuer can be liable too. A classic angle that gets missed. |
| Seal, mutation gate | Seal: the claims, then the frozen model and code, committed to the public record before the held-out set is read. Mutation gate: a tool (witness) that breaks the code in small ways and checks the tests catch every break. |
Start here
- Read The result, and the three-way table under it.
- Step through a few complaints in Watch it work, including one where a date is missing.
- Set your own facts in Try your own facts, and clear a date to see it abstain.
- Off the page: clone the repo and run
node --test test/suite.test.mjs,node tools/data.mjs --checkandnode tools/eval.mjs --check. To re-run the models you need the base model and the adapter on your own machine.
How it works
- Read. The trained model turns the complaint into facts: what was bought, how, the price, how it was paid, the dates, how many repairs failed, and whether the buyer simply changed their mind. It also writes a one-line summary.
- Reason. The verified library takes those facts and works out the claim, the provisions that apply, the remedy and every deadline date, by fixed rules taken from the legislation.
- Gate. If a fact the answer depends on is missing, it abstains and says which. A summary that mentions law or dates on its own is withheld. Every provision cited comes from the verified table.
- Propose. Where an angle applies, such as section 75 against the card issuer, it is added, marked as a proposal.
- Hand over. Every memo ends with the review label: a qualified human reviews it and owns any use of it.
Blueprint
What is shared and what is legal: stack/ is the template every vertical reuses unchanged. verticals/legal/ is all that changes: the law table, the library's rules, the fact schema and the words.
What it will not do
- It does not give legal advice, decide anything, file anything or send anything. A qualified human reviews it and owns any use of it.
- It does not cite anything outside its verified table, and it does not compute a date any other way than the library's.
- It does not guess a missing fact the answer depends on. It abstains and asks for it. (Its one-line summary can still name an item the client never mentioned; the audit under the result counts how often.)
- It covers one narrow area: consumer claims about goods, services and online purchases in England and Wales, under the provisions in its table. It is not a general legal tool.
Adoption
A pilot, step by step
- Pick one intake a team screens by hand, such as consumer enquiries or claim triage.
- Agree the provisions and rules it covers, with a solicitor, and seal the bars it must meet.
- Train the adapter on your own past intakes, with consent, on your own hardware.
- Freeze it, then judge it once on held-out intakes against your current first screen. The fee is due only if it beat it.
- Run it beside your team, deciding nothing, until the reviewers trust it on what it does.
What it runs on: a laptop CPU, as here. Training the adapter took …; drafting one memo took about … on the same CPU, which other work shared for part of the run. No GPU, no cloud service.
White paper: let the small model read and the law reason
The question. Can a model small enough to train on a laptop, wrapped in a verified library and a gate, triage real-shaped legal complaints better than a bigger model answering on its own, without ever inventing the law?
The method. Fourteen provisions read on legislation.gov.uk; a rule engine over them; synthetic complaints written from structured facts, 360 to train and 80 held out in phrasings never seen; a LoRA adapter on Qwen2.5-0.5B trained on the CPU; the claims and bars sealed first, the model and code frozen by hash, the held-out set read once.
The results, from the record:
The limits, plainly:
- Synthetic complaints, generated from templates. Real ones are messier.
- One narrow area of consumer law, under fourteen provisions. No case law.
- The bigger model stands in for a rented black box; it is a local qwen2.5:7b, not a commercial service.
- A 0.5B model trained in a couple of hours on a laptop CPU; a GPU would allow a bigger one.
For business
| Who | What this means for them |
|---|---|
| Managing partner | A first screen that shows its reasoning, cites only verified law and says when it cannot tell, on hardware you own. |
| Finance | No per-seat licence and no per-call fee. The cost case below uses your own numbers. |
| Risk and compliance | Nothing leaves the building; no ungrounded law, remedy or date reaches the memo; a qualified human reviews every output, including the model's one-line summary, and owns it. |
| IT | A base model, a small adapter file and a few scripts. It runs offline, with the network disabled. |
The cost case for one intake
Your numbers in; sourced figures for the rest, each source listed. These are your costs. No price of ours appears. The starting values are an example intake. Put in your own.
…
| Route | What it means | A year | Over the years |
|---|
Questions buyers ask
| Will it make up a case or a statute? | Loading… |
| What happens when the client leaves out a date? | Loading… |
| Is this legal advice? | No. It assists a qualified human, who reviews it and owns any use of it. It does not advise, decide, file or send. |
| Does client data leave our machines? | No. Training and inference run on your hardware, and inference runs with the network disabled. This page loads only its own files. |
| Was the bigger model given a fair go? | Loading… |
| What failed? | Loading… |
| Who has used it on real matters? | No one yet: this is the showcase. A client build retrains the adapter on that firm's own intakes, with consent, and is judged on their held-out set before anyone relies on it. |
Supplied by AI Native Solutions; contact through that site. Support, SLA, warranty and liability are agreed per deployment. The code is MIT.
Sources, as read into the cost basis: