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