Downloads · 30 days
61
50% of all-time downloads
d4d5c4-1/layoutlmv3-classification-finetuned-no-pretrain
layoutlmv3-classification-finetuned-no-pretrain is a text classification model from d4d5c4-1. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as cc-by-nc-sa-4.0.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
61
50% of all-time downloads
All-time downloads
123
Public
Parameters
126M
6.5 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors504 MB · 100%
From the Hugging Face model README
This model is a fine-tuned version of microsoft/layoutlmv3-base on an unknown dataset. It achieves the following results on the evaluation set:
This model is a fine-tuned version of microsoft/layoutlmv3-base designed for the automated classification of administrative and legal documents. It distinguishes between document types based on visual layout, textual content, and spatial structure. This model was developed to facilitate digital transformation pipelines, enabling the automated archiving of scanned records.
The model classifies documents into five standard legal categories:
Intended Use: This model is designed for private use. Limitations:
Training Data:
To ensure privacy compliance, no real citizen data was used. The training dataset consists of synthetic documents generated using a custom Python pipeline (Faker + PIL). These documents mimic the authentic layout and typography of official forms but contain randomly generated information.
Augmentation (Sim-to-Real): The training data was subjected to aggressive augmentation to simulate real-world scanning conditions, including:
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 0.2551 | 0.2 | 50 | 0.0022 | 1.0 |
| 0.0025 | 0.4 | 100 | 0.0009 | 1.0 |
| 0.0014 | 0.6 | 150 | 0.0006 | 1.0 |
| 0.001 | 0.8 | 200 | 0.0005 | 1.0 |
| 0.0008 | 1.0 | 250 | 0.0004 | 1.0 |
| 0.0006 | 1.2 | 300 | 0.0003 | 1.0 |
| 0.0005 | 1.4 | 350 | 0.0002 | 1.0 |
| 0.0004 | 1.6 | 400 | 0.0002 | 1.0 |
| 0.0004 | 1.8 | 450 | 0.0002 | 1.0 |
| 0.0003 | 2.0 | 500 | 0.0002 | 1.0 |
| 0.0003 | 2.2 | 550 | 0.0002 | 1.0 |
| 0.0003 | 2.4 | 600 | 0.0001 | 1.0 |
| 0.0002 | 2.6 | 650 | 0.0001 | 1.0 |
| 0.0002 | 2.8 | 700 | 0.0001 | 1.0 |
| 0.0002 | 3.0 | 750 | 0.0001 | 1.0 |
| 0.0002 | 3.2 | 800 | 0.0001 | 1.0 |
| 0.0002 | 3.4 | 850 | 0.0001 | 1.0 |
| 0.0002 | 3.6 | 900 | 0.0001 | 1.0 |
| 0.0002 | 3.8 | 950 | 0.0001 | 1.0 |
| 0.0002 | 4.0 | 1000 | 0.0001 | 1.0 |
| 0.0002 | 4.2 | 1050 | 0.0001 | 1.0 |
| 0.0002 | 4.4 | 1100 | 0.0001 | 1.0 |
| 0.0002 | 4.6 | 1150 | 0.0001 | 1.0 |
| 0.0001 | 4.8 | 1200 | 0.0001 | 1.0 |
| 0.0001 | 5.0 | 1250 | 0.0001 | 1.0 |