This model presents an approach to fine-tuning of `distilbert/distilbert-base-uncased` on a dataset of approximately 8,000 synthetic and randomised document samples. Randomisation was a process of token shuffling.
The dataset was generated using LangChain's wrapper around GPT-4o-mini, with additional randomisation performed by GPT-4.5. The goal was to create a dataset that is 90% clean, while intentionally introducing 10% of samples with OCR-like noise and artefacts. These imperfections are characterised by:
- Excessive spacing between words (e.g., three or more spaces instead of one),
- Line breaks here and there,
- Common OCR misreads (e.g., the number "1" in place of a capital "i", or "3" in place of "E").
This model is designed to work exclusively with the following document types:
- Invoices
- UK Driving Licenses
- US Driving Licenses
- Contracts
- Passports (all nationalities)
Currently, the model supports documents written in `English` only.
Reading hand-written docu…