Safetensors
layoutlmv3
File size: 1,060 Bytes
49c16bc
65144c7
 
 
 
 
 
49c16bc
 
65144c7
49c16bc
65144c7
 
49c16bc
65144c7
 
 
 
 
49c16bc
65144c7
49c16bc
65144c7
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
license: cc-by-nc-sa-4.0
base_model: microsoft/layoutlmv3-base
datasets:
- dvgodoy/rvl_cdip_mini
metrics:
- accuracy
---

# TrustDoc Document Classifier

LayoutLMv3-base fine-tuned for document type classification (16 RVL-CDIP classes), part of the
TrustDoc project -- a document AI trust layer with calibrated confidence for human-in-the-loop review.

- **Base model:** [microsoft/layoutlmv3-base](https://huggingface.co/microsoft/layoutlmv3-base)
  (CC BY-NC-SA 4.0 -- **non-commercial use only**, inherited by this fine-tune)
- **Training data:** [dvgodoy/rvl_cdip_mini](https://huggingface.co/datasets/dvgodoy/rvl_cdip_mini),
  a 1% subset of RVL-CDIP (16 document classes)
- **Validation accuracy:** 85.8%

## Limitations

RVL-CDIP has documented issues that affect this model: shortcut-feature bias (some predictions may
rely on spurious per-page ID codes rather than content), ~8% label noise, train/test duplication,
real PII in the source documents, and a tobacco-industry/1950s-2002-only domain -- generalization
to modern documents is unproven.