Downloads · 30 days
10
21% of all-time downloads
zibajoon/20231108_layoutlm2_5k_3ep_Doc_NA_B
20231108_layoutlm2_5k_3ep_Doc_NA_B is a document question answering model from zibajoon. Use it for the document question answering task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as mit.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
10
21% of all-time downloads
All-time downloads
47
Public
Repo size
4 GB
Likes
0
Public
Click a slice to open those files.
.bin802 MB · 100%
From the Hugging Face model README
This model was trained from scratch on the 1.2 Example dataset released by DocVQA. It achieves the following results on the evaluation set:
This DocVQA model, built on the Layout LM v2 framework, represents an initial step in a series of experimental models aimed at document visual question answering. It's the "mini" version in a planned series, trained on a relatively small dataset of 1.2k samples (1,000 for training and 200 for testing) over 20 epochs. The training setup was modest, employing mixed precision (fp16), with manageable batch sizes and a focused approach to learning rate adjustment (warmup steps and weight decay). Notably, this model was trained without external reporting tools, emphasizing internal evaluation. As the first iteration in a progressive series that will later include medium (5k samples) and large (50k samples) models, this version serves as a foundational experiment, setting the stage for more extensive and complex models in the future.
Experimental Only
Based on the sample 1.2 dataset released by DocVQA
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 4.3689 | 3.51 | 100 | 3.7775 |
| 3.2761 | 7.02 | 200 | 3.3707 |
| 2.6415 | 10.53 | 300 | 3.0807 |
| 2.2233 | 14.04 | 400 | 3.0120 |
| 1.9586 | 17.54 | 500 | 2.9087 |