CuongNC220592
commited on
Commit
•
3c23f7d
1
Parent(s):
c65868f
update model card README.md
Browse files
README.md
ADDED
@@ -0,0 +1,108 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: cc-by-nc-sa-4.0
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
datasets:
|
6 |
+
- generated
|
7 |
+
metrics:
|
8 |
+
- precision
|
9 |
+
- recall
|
10 |
+
- f1
|
11 |
+
- accuracy
|
12 |
+
model-index:
|
13 |
+
- name: layoutlmv3-finetuned-invoice
|
14 |
+
results:
|
15 |
+
- task:
|
16 |
+
name: Token Classification
|
17 |
+
type: token-classification
|
18 |
+
dataset:
|
19 |
+
name: generated
|
20 |
+
type: generated
|
21 |
+
config: sroie
|
22 |
+
split: test
|
23 |
+
args: sroie
|
24 |
+
metrics:
|
25 |
+
- name: Precision
|
26 |
+
type: precision
|
27 |
+
value: 1.0
|
28 |
+
- name: Recall
|
29 |
+
type: recall
|
30 |
+
value: 1.0
|
31 |
+
- name: F1
|
32 |
+
type: f1
|
33 |
+
value: 1.0
|
34 |
+
- name: Accuracy
|
35 |
+
type: accuracy
|
36 |
+
value: 1.0
|
37 |
+
---
|
38 |
+
|
39 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
40 |
+
should probably proofread and complete it, then remove this comment. -->
|
41 |
+
|
42 |
+
# layoutlmv3-finetuned-invoice
|
43 |
+
|
44 |
+
This model is a fine-tuned version of [microsoft/layoutlmv3-base](https://huggingface.co/microsoft/layoutlmv3-base) on the generated dataset.
|
45 |
+
It achieves the following results on the evaluation set:
|
46 |
+
- Loss: 0.0048
|
47 |
+
- Precision: 1.0
|
48 |
+
- Recall: 1.0
|
49 |
+
- F1: 1.0
|
50 |
+
- Accuracy: 1.0
|
51 |
+
|
52 |
+
## Model description
|
53 |
+
|
54 |
+
More information needed
|
55 |
+
|
56 |
+
## Intended uses & limitations
|
57 |
+
|
58 |
+
More information needed
|
59 |
+
|
60 |
+
## Training and evaluation data
|
61 |
+
|
62 |
+
More information needed
|
63 |
+
|
64 |
+
## Training procedure
|
65 |
+
|
66 |
+
### Training hyperparameters
|
67 |
+
|
68 |
+
The following hyperparameters were used during training:
|
69 |
+
- learning_rate: 1e-05
|
70 |
+
- train_batch_size: 2
|
71 |
+
- eval_batch_size: 2
|
72 |
+
- seed: 42
|
73 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
74 |
+
- lr_scheduler_type: linear
|
75 |
+
- training_steps: 2000
|
76 |
+
|
77 |
+
### Training results
|
78 |
+
|
79 |
+
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
80 |
+
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
81 |
+
| No log | 2.0 | 100 | 0.0785 | 0.9 | 0.9128 | 0.9063 | 0.9895 |
|
82 |
+
| No log | 4.0 | 200 | 0.0226 | 0.972 | 0.9858 | 0.9789 | 0.9971 |
|
83 |
+
| No log | 6.0 | 300 | 0.0167 | 0.972 | 0.9858 | 0.9789 | 0.9971 |
|
84 |
+
| No log | 8.0 | 400 | 0.0119 | 0.972 | 0.9858 | 0.9789 | 0.9971 |
|
85 |
+
| 0.1245 | 10.0 | 500 | 0.0048 | 1.0 | 1.0 | 1.0 | 1.0 |
|
86 |
+
| 0.1245 | 12.0 | 600 | 0.0034 | 1.0 | 1.0 | 1.0 | 1.0 |
|
87 |
+
| 0.1245 | 14.0 | 700 | 0.0026 | 1.0 | 1.0 | 1.0 | 1.0 |
|
88 |
+
| 0.1245 | 16.0 | 800 | 0.0022 | 1.0 | 1.0 | 1.0 | 1.0 |
|
89 |
+
| 0.1245 | 18.0 | 900 | 0.0019 | 1.0 | 1.0 | 1.0 | 1.0 |
|
90 |
+
| 0.0051 | 20.0 | 1000 | 0.0017 | 1.0 | 1.0 | 1.0 | 1.0 |
|
91 |
+
| 0.0051 | 22.0 | 1100 | 0.0015 | 1.0 | 1.0 | 1.0 | 1.0 |
|
92 |
+
| 0.0051 | 24.0 | 1200 | 0.0014 | 1.0 | 1.0 | 1.0 | 1.0 |
|
93 |
+
| 0.0051 | 26.0 | 1300 | 0.0013 | 1.0 | 1.0 | 1.0 | 1.0 |
|
94 |
+
| 0.0051 | 28.0 | 1400 | 0.0012 | 1.0 | 1.0 | 1.0 | 1.0 |
|
95 |
+
| 0.0026 | 30.0 | 1500 | 0.0011 | 1.0 | 1.0 | 1.0 | 1.0 |
|
96 |
+
| 0.0026 | 32.0 | 1600 | 0.0011 | 1.0 | 1.0 | 1.0 | 1.0 |
|
97 |
+
| 0.0026 | 34.0 | 1700 | 0.0010 | 1.0 | 1.0 | 1.0 | 1.0 |
|
98 |
+
| 0.0026 | 36.0 | 1800 | 0.0010 | 1.0 | 1.0 | 1.0 | 1.0 |
|
99 |
+
| 0.0026 | 38.0 | 1900 | 0.0010 | 1.0 | 1.0 | 1.0 | 1.0 |
|
100 |
+
| 0.0019 | 40.0 | 2000 | 0.0010 | 1.0 | 1.0 | 1.0 | 1.0 |
|
101 |
+
|
102 |
+
|
103 |
+
### Framework versions
|
104 |
+
|
105 |
+
- Transformers 4.27.0.dev0
|
106 |
+
- Pytorch 1.13.1+cu116
|
107 |
+
- Datasets 2.10.1
|
108 |
+
- Tokenizers 0.13.2
|