On-prem CPU / GPU
Millisecond inference on commodity servers — no accelerators required, GPU optional for bulk jobs.
Open-source financial NER
Your Data. Your Model. Your Hardware.
Small encoder models built for banking: extract IBANs, PANs, counterparties and financial facts, and de-identify regulated data without a single byte leaving your network. Apache-2.0, hosted on Hugging Face.
$ pip install git+https://github.com/flowx-ai/openner
from openner import analyze result = analyze(text, profile="pci-glba") print(result.entities) # IBAN, PAN, COUNTERPARTY, AMOUNT … safe = result.deidentify() # redacts cardholder data & PII on-device
The same weights, from an air-gapped mainframe adjacency to a browser tab. If Python or ONNX runs there, OpenLedger runs there.
Millisecond inference on commodity servers — no accelerators required, GPU optional for bulk jobs.
Install from a wheel, load weights from disk. Zero network dependencies after setup.
Quantized builds run client-side in the browser — redact before data ever reaches a server.
A single container exposes analyze-and-redact endpoints for every team behind your firewall.
De-identification isn't a feature bolted onto NER — it is the point. Every model ships with a redaction pipeline tuned for the data regimes banks actually answer to.
Nine encoder models, each trained for one job in the financial document stack. Small enough for a laptop, precise enough for production. The cross-industry DocFormNER model (LayoutLMv3 — text + 2D layout + page image) now reads scanned and photographed mortgage packets on-prem; it is a preview trained on synthetic rendered forms, so fine-tune it on your own OCR'd scans before production.
Extracts and validates IBAN, account, routing and SWIFT-BIC identifiers.
PCI-DSS cardholder-data detection and redaction.
Identity fields from onboarding documents.
Party, counterparty and UBO detection with watchlist flags.
Parses transaction narratives into structured fields.
XBRL-style numeric financial facts using FiNER-139 labels.
Counterparty and issuer NER with LEI, ISIN and ticker linking.
Entity and event extraction from SAR / STR narratives.
Extracts mortgage-specific fields from applications and offers: borrower, lender, property, loan amount, LTV, rate, term, income.
The toolkit is the foundation. These are the products teams assemble on top of it — each one runs entirely inside your perimeter.
An on-prem redaction proxy that strips PCI and PII from every document, log line and prompt before it reaches your analytics stack or an LLM — with signed audit logs for each pass.
Assembles KYC packets from onboarding documents and pre-drafts SAR narratives by cross-referencing parties, transactions and jurisdictions your analysts would otherwise chase by hand.
Turns filings, credit agreements and term sheets into structured financial facts and counterparty graphs — LEI-linked, queryable, and current the moment a document lands.
Entity coverage and redaction profiles map to the frameworks your compliance team already speaks.
We benchmarked our small on-device models head-to-head against the latest cost-effective frontier LLMs. Same held-out documents, same entity types.
| Task | OpenLedger | Cost-effective frontier LLMs | Why the gap |
|---|---|---|---|
| SEC-filing extractionFilingTag · real FiNER-139 · 139 XBRL fact types | F1 0.667pipeline-usable metric | ≤ 0.02every model tested | Frontier models identify the facts but don't match the token convention a pipeline consumes. |
| Common extractionIBANs · PANs · invoices · multilingual PII | F1 1.000 | ≤ 1.000 | Matches or beats every cheap frontier model — at a fraction of the latency and none of the cost. |
| Mortgage-doc extractionMortgageDocNER · borrower · lender · LTV · rate · term | F1 1.000~120 ms/doc · $0 | ≤ 0.995gemini-3.5-flash best | Perfect strict entity-F1 ahead of every cost-effective frontier model — gemini-3.5-flash 0.995, gpt-5.4-mini 0.967, claude-haiku-4-5 0.954, gemini-3.1-flash-lite 0.940, gpt-5.4-nano 0.919. |
N=30 held-out documents per task. Frontier tier: Claude Haiku 4.5, GPT-5.4-mini, GPT-5.4-nano, Gemini 3.5-flash, Gemini 3.1-flash-lite (OpenAI models via the Responses API). Frontier LLMs remain better at open-ended reasoning — not what these models are for. Small fine-tuned encoders win on structured, convention-bound, on-device extraction.
An open-source toolkit of small encoder-based NER models for banking and financial services, plus a de-identification pipeline. It detects 30+ financial entity types — IBANs, PANs, counterparties, financial facts — and redacts regulated data, all on your own hardware.
Extraction is a labeling problem, not a generation problem. Encoder NER models are two to three orders of magnitude smaller, run in milliseconds on CPUs, produce deterministic character-level spans, and never hallucinate an account number that wasn't in the text. For classification and extraction over regulated data, small and exact beats large and creative.
No. Models are downloaded once (or side-loaded in air-gapped environments) and inference runs entirely locally. There are no API calls, no telemetry, and no network code in the inference path — a claim your security team can verify by reading the source.
Systems that store or process cardholder data are in PCI scope. Redacting PANs, CVVs and track data at the boundary — before data reaches logs, analytics warehouses or LLM prompts — keeps those downstream systems out of scope. The same pattern applies to GLBA NPI: de-identify at ingestion, and everything after it handles only masked data. Signed audit reports document each redaction pass for your assessor.
Yes. Every model ships with training scripts and a documented label schema. Fine-tune on your own annotated corpus — internal transaction narratives, proprietary document formats — and the resulting weights stay yours, on your infrastructure.
The text NER models expect extracted text, so pair them with your OCR of choice for scans. For layout-heavy paperwork we also ship DocFormNER, a cross-industry model built on LayoutLMv3 — it reads text, 2D layout and the page image together, so it can pull fields from scanned and photographed mortgage packets entirely on-prem. It is a preview trained on synthetic rendered forms and should be fine-tuned on your own OCR'd scans before production use.
Apache-2.0, for both code and model weights. Use it commercially, modify it, embed it in proprietary products. No dual licensing, no open-core upsell, no usage caps.
Trained and shipped: 9 open banking models, ONNX/edge exports, checksum validation (IBAN mod-97, card Luhn, ISIN/LEI), and de-identification with signed audit reports. Apache-2.0.