Tabularium
State-of-the-art OCR for historical documents, made simple for researchers. Recognize your archive with the best open-weight models, correct the results, and fine-tune a model on your own pages, all from one app and without writing a line of code.
A page of the 1912–13 Annual Statement of Sea-borne Trade, recognized and then corrected in Tabularium: 68 × 12 cells, 672 of 677 verified, 24 of 25 column sums adding up.
Why
Document AI moves fast. Every few months a new open-weight OCR model beats the last one, and each comes with its own serving stack, prompt format, output conventions and training recipe. For a historian, an archivist or a computational social scientist, the gap between "this model is state of the art" and "this model is reading my archive" is weeks of engineering.
Historical sources make it harder still. Old typefaces, faded ink, curved pages, dense multi-column layouts and tables with no ruling lines are exactly where off-the-shelf models stumble, and where a small amount of fine-tuning on your own pages pays off the most.
Tabularium closes that gap:
- Simple: pick a model and where it runs (your laptop or a rented GPU), then recognize, review and export. Runtimes install themselves.
- State of the art: it drives each model with its official prompts, pipeline and training recipe, so you get the result the authors measured rather than an approximation.
- Model-agnostic: your annotations are stored independently of any model. When a better model comes out, add it and keep everything you have done.
- No GPU? No problem: rent one on Vast.ai, RunPod or Modal, or use any server you can reach over SSH. Tabularium sets it up, serves the model and stops it when you switch inference off, all from the interface.
- Built for research teams: multi-user from day one. Share projects, assign pages to annotators and reviewers, and see who is working where, live.
- Yours: self-hosted. Your scans and annotations stay on your server, and go to a GPU only when you decide to send them.
Tabularium: the public archive where ancient Rome kept its tabulae, the records and the tables.
Two paths, use one or both
Inference import scans → choose a model → recognize → review → export
Fine-tuning correct pages → build dataset → train → evaluate → recognize with your model
Many projects only ever need inference. When the base model isn't good enough on your sources, the pages you corrected along the way are already your training set.
Features
Inference
- Bulk recognition of scans and multi-page PDFs in persistent sessions that keep running if you close the browser.
- Runs on this machine (NVIDIA, or Apple Silicon for MLX-ported models) or on external GPU providers: Vast.ai, RunPod, Modal or any SSH host. Pick a GPU, and Tabularium sets up the server and tunnel; stopping inference stops the instance you rented, so you aren't billed for idle time. Each option says before you click whether it can host the chosen model.
- A CPU OCR engine for when you have no GPU at all.
- Export as JSON, CSV or plain text, either the raw model output or your corrected version.
Review and annotation
- A studio for layout blocks, reading order and transcription, with project-specific labels and transcription rules.
- A spreadsheet-style workspace for tables, including the hard ones: no ruling lines, drifting columns, merged cells, arithmetic checks on column sums.
- Model output is a draft until someone confirms it; reports always say how much is still unverified.
Fine-tuning and evaluation
- One-click datasets in the exact format each model's official trainer expects, split by page.
- Training with the official recipes (LoRA or full), live logs and loss charts, and a VRAM check that refuses runs your GPU cannot fit.
- Benchmarks of several models, or several checkpoints, on your own approved pages: layout IoU, reading order, TEDS for tables, CER/WER for text.
Fine-tuning on rented GPUs
- Training can run on this machine or on a remote GPU (SSH, Vast.ai, RunPod), with the same live logs and charts.
Multi-user, for research teams
- One instance for the whole lab: admin / editor / viewer roles, invitations by link, and per-project sharing with edit or read-only access.
- Annotator → reviewer workflow per page: submit, request changes, approve, with a personal "to annotate / to review" queue.
- Live presence in the studio: see who is on the same page, and get their changes without reloading.
- Interface in English, Italian and French.
| Recognize | Review | Annotate |
|---|---|---|
Supported models
Tabularium adds new open-weight OCR models as they are released. A model is listed as verified only after it has been run on real pages.
| Model | NVIDIA (vLLM) | Apple Silicon (MLX) |
|---|---|---|
| MonkeyOCRv2-Parsing | ✅ | — |
| PaddleOCR-VL | ✅ | ✅ |
| MinerU2.5 | ✅ | 🧪 |
| Qwen3-VL | ✅ | 🧪 |
| Unlimited-OCR | ✅ | 🧪 |
| DeepSeek-OCR-2, GLM-OCR, dots.mocr | ✅ | — |
| Any Hugging Face repo you register | ✅ | — |
✅ verified on real pages · 🧪 experimental · — not available locally (use a remote GPU). Every model also runs remotely. The measured matrix, and the reason behind each cell, is in local inference guide; training support per model is in training guide. Missing a model? Open an issue.
Quickstart
Install uv, then:
uv tool install tabularium
tabularium
That's it: uv fetches a compatible Python by itself, and tabularium opens the
app in your browser at http://localhost:8787, where you create the
administrator account. Your data lives in ~/Tabularium. No GPU, Node.js or git
needed.
To upgrade later: uv tool upgrade tabularium. Other ways to install (release
archive, from source) are in the installation guide.
Documentation
- Installation · Configuration · Teams and review · Troubleshooting
- Local inference · Cloud GPUs · Training
- Development · Product spec and design rationale (Italian)
Design principles
- The data comes first. Annotations are stored in source pixels with full provenance; model-specific formats are produced only at export, so your work is never locked to one model.
- Generated is not verified. Nothing a model proposes becomes training data until a person confirms it.
- Nothing destructive is implicit. Every operation that can remove work asks first.
- Official stacks are used, not forked. Prompts, coordinate conventions, OTSL and training scripts match each model's upstream repository.
Contributing
Issues and pull requests are welcome. See CONTRIBUTING.md and the changelog. If you use Tabularium in research, please cite it (CITATION.cff).
License
MIT © Nicolò Badino
Acknowledgments
MonkeyOCRv2 and ms-swift (parsing model and training stack), RapidOCR and PaddleOCR (CPU engines), and the authors of every model Tabularium can drive.
Metadata
Release files for tabularium 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tabularium-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for tabularium-0.3.0-py3-none-any.whl |
Release files / tabularium-0.3.0-py3-none-any.whl
| Download URL | tabularium-0.3.0-py3-none-any.whl |
|---|---|
| Size | 3.9 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ba4b72a91e68fc9a122e73fd0a54d6944f16e592b795fde062c3cd666bd0ff03
|
|
BLAKE2b-256 checksum How to use checksums |
3b9e80a4eefeba6e4b360d790bbaf2fb3c6063e459401aaf4f242caa37b7fc53
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 18, 2026.
Transparency logSecurity for tabularium 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
1 file in this release has been uploaded with provenance metadata.
Attestation for tabularium-0.3.0-py3-none-any.whl
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 18, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.