Downloads · 30 days
0
saharsahebi/layout-aware-receipt-ocr
layout-aware-receipt-ocr is a machine learning model from saharsahebi. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
This repository contains the trained PyTorch weights for an end-to-end Visually Rich Document Understanding (VRDU) pipeline. The system is custom-built to extract key entities from receipts (based on the ICDAR 2019 SR…
Downloads · 30 days
0
Access
Public
Updated Aug 20, 2026
Repo size
19 MB
Likes
2
Public
Click a slice to open those files.
.pth19 MB · 100%
From the Hugging Face model README
This repository contains the trained PyTorch weights for an end-to-end Visually Rich Document Understanding (VRDU) pipeline. The system is custom-built to extract key entities from receipts (based on the ICDAR 2019 SROIE dataset) by simultaneously analyzing text semantics and physical document layout.
The pipeline was rigorously evaluated on the unseen SROIE 2019 test split.
Evaluated over 33,618 cropped word instances to measure text extraction exactness.
| Metric | Score |
|---|---|
| Word Accuracy (Exact Match) | 94.35% |
| Character Error Rate (CER) | 0.92% |
Evaluated over 4,835 test sentences, prioritizing the F1-Score to counteract the severe class imbalance inherent in receipt data (where background noise vastly outweighs key entities).
| Metric | Score |
|---|---|
| Accuracy | 91.50% |
| Precision | 70.37% |
| Recall | 73.99% |
| F1-Score | 72.14% |
These weights (.pth files) are designed to be loaded into the custom PyTorch inference pipeline. For the complete training codebase, data preprocessing modules, and end-to-end inference scripts, please refer to the associated GitHub repository.