INTELLIGENCE, ENCODED.
Loading000%
Skip to content

A private model that cut support-routing errors by 72%

We took a small open model, trained it on a bank's customer-support queries and measured it against the same model used off-the-shelf. Accuracy rose from 62.2% to 89.5% on 3,080 held-out queries, on four CPU cores, with no data leaving the machine.

Client
Zaiphr Labs
Industry
Financial services
Services
Private Models, Voice & Conversational Agents
Year
2026
Timeline
Under 15 minutes of training on CPU
Zaiphr Labs live site on desktop and mobile

89.5%

Intent accuracy, up from 62.2% off-the-shelf

72%

Fewer routing errors on held-out queries

5 ms

Per query on a standard CPU, 91 MB model

* Zaiphr Labs demo on public data. Figures are measured results on the held-out test set, reproducible from the method described below.

Why we ran this

Every conversation about private models comes back to one question: how much better does a model get when it's trained on our own data? Opinions are cheap, so we measured it.

This is a Zaiphr Labs demo, not client work. It uses a public dataset so anyone can check the numbers, and the same method we use on client data inside their own environment.

The setup

  • The task: route customer-support messages for a bank to the right one of 77 intents, such as a lost card, a pending transfer or a failed top-up. It's the first step of almost every support automation, voice agent and chatbot.
  • The data: Banking77, a public set of 13,083 real-style customer queries released by PolyAI (CC BY 4.0), with its official train and test split.
  • The model: all-MiniLM-L6-v2, a small open model with 22.7 million parameters, about a thousand times smaller than frontier models.
  • The hardware: four ordinary CPU cores. No GPU, no external API, no data leaving the machine.

Every version was scored on the same 3,080 held-out queries that no model saw during training.

Evaluation dashboard: off-the-shelf model 62.2%, private model with 10 examples per intent 78.3%, private model on the full training set 89.5%
Intent accuracy on 3,080 held-out queries. Model size, footprint and latency measured on CPU.

What we found

Off-the-shelf: 62.2%. Used as-is, the model matched each query to the closest-sounding intent. It got the gist, but confused intents that sound alike, which is exactly where a support team loses time.

Ten examples per intent: 78.3%. With just 770 labelled examples and three minutes of training on CPU, accuracy jumped 16 points. Most companies have this much labelled data sitting in their ticketing system already.

The full training set: 89.5%. Trained on 10,003 examples in about ten minutes, the private model got 89.5% of held-out queries right, and routing errors fell from 37.8% to 10.5%, a 72% reduction.

Same model. Same hardware. The only difference was training it on the bank's own data.

Where the difference shows

The off-the-shelf model had no way to know how this bank's customers actually phrase things. Asked "Do you know if there is a tracking number for the new card you sent me?", it guessed activate my card. The private model knew it was a card-delivery question.

Table of held-out customer queries where the off-the-shelf model chose the wrong intent and the private model chose the right one
Held-out queries the off-the-shelf model got wrong and the private model got right.

Small, fast and private

The trained model is 91 MB and answers in about 5 milliseconds per query on a standard CPU (95th percentile under 10 ms). It can run inside a company's own cloud account or on-premise hardware, with no per-call fees, no data sent to a third party, and weights the company owns.

What this means for your business

  • Your data is the edge. The same small model went from mediocre to reliable once it learned from real examples.
  • You need less data than you think. Ten good examples per category already delivered most of the gain.
  • Private doesn't mean expensive. Training took minutes on CPU, and the result runs on modest hardware.
  • Measure before you decide. We built the evaluation set and baseline first, so every improvement is a number, not an opinion.

On client projects we follow the same method with your data, in your environment, against benchmarks built from your own cases, and often with larger models where the task needs them.

Reproduce it

The training and evaluation script, its README and the measured results are published with the site's source. Seeds are fixed, so results should be close on similar hardware.

labs / private-model-demo · measured run

$ ./venv/bin/python run.py
Banking77 · 10,003 train / 3,080 held-out · 77 intents
base all-MiniLM-L6-v2 · 22.7M params · 4 CPU cores
A  off-the-shelf           62.2%
C  10 examples per intent  78.3%   3 min
B  private model           89.5%   10.4 min
✓ routing errors 37.8% → 10.5% (−72%)
✓ 91 MB · p50 5.1 ms · p95 9.5 ms on CPU
Figures from results.json, produced by the training and evaluation script.

What we delivered

  • Evaluation set and off-the-shelf baseline
  • Fine-tuned private model (77 intents)
  • Small-data run: 10 examples per intent
  • CPU latency and footprint profile
  • Error analysis on held-out queries
  • Reproducible training and evaluation script

Tools & stack

  • PyTorch
  • Hugging Face Transformers
  • all-MiniLM-L6-v2
  • Banking77
  • scikit-learn

Next project

Noor & DewA storefront that feels like golden hour