Downloads Β· 30 days
11
2% of all-time downloads
k4tel/vit-historical-page
vit-historical-page is a image classification model from k4tel. Use it when you need a label for an image. It is set up for transformers. The card lists the license as mit.
Scope: Processing of images, training and evaluation of ViT model, input file/directory processing, class π·οΈ (category) results of top N predictions output, predictions summarizing into a tabular format, HF π hub suβ¦
Downloads Β· 30 days
11
2% of all-time downloads
All-time downloads
692
Public
Parameters
85.8M
3.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors343 MB Β· 100%
From the Hugging Face model README
Scope: Processing of images, training and evaluation of ViT model, input file/directory processing, class π·οΈ (category) results of top N predictions output, predictions summarizing into a tabular format, HF π hub support for the model
There are currently 2 version of the model available for download, both of them have the same set of categories,
but different data annotations. The latest approved v2.1 is considered to be default and can be found in the main branch
of HF π hub 1 π
| Version | Base | Pages | PDFs | Description |
|---|---|---|---|---|
v2.0 | vit-base-path16-224 | 10073 | 3896 | annotations with mistakes, more heterogenous data |
v2.1 | vit-base-path16-224 | 11940 | 5002 | main: more diverse pages in each category, less annotation mistakes |
v2.2 | vit-base-path16-224 | 15855 | 5730 | same data as v2.1 + some restored pages from v2.0 |
v3.2 | vit-base-path16-384 | 15855 | 5730 | same data as v2.2, but a bit larger model base with higher resolution |
v5.2 | vit-large-path16-384 | 15855 | 5730 | same data as v2.2, but the largest model base with higher resolution |
π² Fine-tuned model repository: vit-historical-page 1 π
π³ Base model repository: Google's vit-base-patch16-224, vit-base-patch16-384, vit-large-patch16-284 2 [^13] [^14] π
Training set of the model: 8950 images for v2.0
Training set of the model: 10745 images for v2.1
Training set of the model: 14565 images for v2.2, v3.2 and v5.2
| LabelοΈ | Description |
|---|---|
DRAW | π - drawings, maps, paintings, schematics, or graphics, potentially containing some text labels or captions |
DRAW_L | ππ - drawings, etc but presented within a table-like layout or includes a legend formatted as a table |
LINE_HW | βοΈπ - handwritten text organized in a tabular or form-like structure |
LINE_P | π - printed text organized in a tabular or form-like structure |
LINE_T | π - machine-typed text organized in a tabular or form-like structure |
PHOTO | π - photographs or photographic cutouts, potentially with text captions |
PHOTO_L | ππ - photos presented within a table-like layout or accompanied by tabular annotations |
TEXT | π° - mixtures of printed, handwritten, and/or typed text, potentially with minor graphical elements |
TEXT_HW | βοΈπ - only handwritten text in paragraph or block form (non-tabular) |
TEXT_P | π - only printed text in paragraph or block form (non-tabular) |
TEXT_T | π - only machine-typed text in paragraph or block form (non-tabular) |
Evaluation set: 1290 images (taken from v2.2 annotations)
During training the following transforms were applied randomly with a 50% chance:
v2.0 Evaluation set's accuracy (Top-3): 95.58%

v2.1 Evaluation set's accuracy (Top-3): 99.84%

v2.2 Evaluation set's accuracy (Top-3): 100.00%

v2.0 Evaluation set's accuracy (Top-1): 84.96%

v2.1 Evaluation set's accuracy (Top-1): 96.36%

v2.2 Evaluation set's accuracy (Top-1): 99.61%

v2.0 Manually β checked evaluation dataset results (TOP-3): model_TOP-3_EVAL.csv π
v2.0 Manually β checked evaluation dataset results (TOP-1): model_TOP-1_EVAL.csv π
v2.1 Manually β checked evaluation dataset results (TOP-3): model_TOP-3_EVAL.csv π
v2.1 Manually β checked evaluation dataset results (TOP-1): model_TOP-1_EVAL.csv π
v2.2 Manually β checked evaluation dataset results (TOP-3): model_TOP-3_EVAL.csv π
v2.2 Manually β checked evaluation dataset results (TOP-1): model_TOP-1_EVAL.csv π
For support write to π§ [email protected] π§
Official repository: UFAL 3
Β©οΈ 2022 UFAL & ATRIUM