Skip to content

Custom AI models

Train a model, or configure a template?

Most document problems are solved by a good template and an afternoon in the Playground. Some are not. Tell the two apart before you spend a quarter finding out.

Trained and served on a dedicated GPU
Enterprise
Judged against your agreed bar
Per field
MeasureYOUR DOCUMENTSTrainDEDICATED GPU INSTANCEEvaluateDOCUMENTS HELD OUTDeployTHEN MEASURE AGAIN

Where a model lands

A trained model is one more step in a pipeline.

A custom model joins the same pipeline as the templated steps, so it is validated, versioned and rolled back the same way, with the template still behind it.

admin.assentify.com/ai-hub/pipeline-builder
The structural preview of an AI Hub pipeline: counts of steps by state, step categories, and the execution order with a timeout for each step.

Templated pipeline

The answer for most documents

  • The document class has a stable layout
  • The fields you need sit in predictable places
  • Arabic and English are the languages involved
  • The volume is normal for an onboarding operation
  • You want it working this week, not this quarter
  • The Playground already returns what you need

Custom model

Worth it only past a measured ceiling

  • The document is unusual and no template holds it
  • Layouts vary widely across issuers, years or branches
  • Inputs are degraded in a way specific to your operation
  • Volumes are high enough that small accuracy gains pay
  • Handwriting or stamps carry meaning you must read
  • Processing must be isolated for your own risk reasons

If the first card describes your case, you do not need the second.

How training works

Four things decide whether a custom model succeeds.

None of them is the model architecture. Bespoke document AI fails on corpus, evaluation and maintenance far more often than on modelling, and the corpus worth training on is the hard pages.

Start with your real corpus

Training begins with the documents your operation actually receives. Clean scans teach a model almost nothing. The pages worth collecting are the worn cards, the glare, the angled phone photographs, the odd issuer, the reprint from a different year.

The shape of the work

Custom model work runs as a loop.

Documents drift: a new card series ships, a form gains a field, a scanner changes its settings. So the engagement runs as a loop.

  1. 01 MeasureNext: train

    Measure on your corpus first

    The templated pipeline is run against your own documents, so the baseline is a number, not an impression.

  2. 02 TrainNext: evaluate

    Train on the dedicated GPU instance

    The model is fine-tuned on your document set, isolated on Enterprise infrastructure.

  3. 03 EvaluateNext: deploy

    Evaluate against the held-out set

    Accuracy is judged per field, against the bar agreed up front, on pages the model has never seen.

  4. 04 DeployNext: measure again

    Deploy, then measure again

    The model enters the pipeline, and production pages feed the next measurement.

The position

Often a custom model is not worth building.

The first step is always the same: run your hardest documents through the templated pipeline in the Playground, and read the result. If it clears your bar, that is the project finished.

After deployment

A model is a component with a lifecycle.

Most bespoke AI projects underestimate what has to keep happening after the training run, for as long as the model makes decisions about real clients.

An issuer redesigns a card, a bank changes a statement layout, a ministry adds a security feature. A model trained before that change degrades quietly, and wrong values look exactly like right ones until somebody checks.

Because the templated pipeline stays available behind the custom model, a bad version is a rollback rather than an incident.

Custom work of this kind sits alongside Assentify’s professional services practice, which has delivered full financial institution cores, mobile applications and integrations with central bank systems. The team that builds a model is used to shipping into regulated production.

What comes with a custom model

Versioning
A model is a version, not an event. It is replaced, not patched
Regression testing
The held-out set is re-run before any version goes live
Confidence
Attached per field, so low reads raise a case for a human
Fallback
The templated pipeline remains available behind the custom model
Audit
Extraction recorded as live audit video, decisions in the Audit Hub
Residency
Training and inference on cloud or on premise, per tenant
Certification
ISO/IEC 27001:2022, InterCert

Your data

Training on your documents is a data protection question first.

Where the corpus lives, who can reach it, and what happens to it afterwards.

A data processor

Assentify acts as a data processor on behalf of its tenants. Your documents remain your data, and the commercial terms covering a specific model are set in the engagement contract rather than assumed.

Where it runs

Dedicated GPU instance on enterprise, with Data Persistence set per tenant to on cloud or on premise. In Lebanon, local GPU servers keep training data and inference inside the country.

Certified management system

ISO/IEC 27001:2022, registration number IC-IS-2408273, certification body InterCert, certified 31 August 2024, recertification due 30 August 2027.

Questions

Custom models, answered

Ask us a question

Start

Get the baseline before you buy the project.

Run your hardest documents through the templated pipeline first. The result gives you a number that says whether a custom model is worth training.