End of training
Browse files
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.0018
|
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.0902 | 0.972 | 0.9858 | 0.9789 | 0.9971 |
|
83 |
+
| No log | 4.0 | 200 | 0.0228 | 0.972 | 0.9858 | 0.9789 | 0.9971 |
|
84 |
+
| No log | 6.0 | 300 | 0.0168 | 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.136 | 10.0 | 500 | 0.0132 | 0.972 | 0.9858 | 0.9789 | 0.9971 |
|
87 |
+
| 0.136 | 12.0 | 600 | 0.0151 | 0.972 | 0.9858 | 0.9789 | 0.9971 |
|
88 |
+
| 0.136 | 14.0 | 700 | 0.0046 | 0.9939 | 0.9939 | 0.9939 | 0.9992 |
|
89 |
+
| 0.136 | 16.0 | 800 | 0.0047 | 0.9960 | 0.9980 | 0.9970 | 0.9996 |
|
90 |
+
| 0.136 | 18.0 | 900 | 0.0029 | 0.9960 | 0.9980 | 0.9970 | 0.9996 |
|
91 |
+
| 0.0072 | 20.0 | 1000 | 0.0018 | 1.0 | 1.0 | 1.0 | 1.0 |
|
92 |
+
| 0.0072 | 22.0 | 1100 | 0.0016 | 1.0 | 1.0 | 1.0 | 1.0 |
|
93 |
+
| 0.0072 | 24.0 | 1200 | 0.0015 | 1.0 | 1.0 | 1.0 | 1.0 |
|
94 |
+
| 0.0072 | 26.0 | 1300 | 0.0013 | 1.0 | 1.0 | 1.0 | 1.0 |
|
95 |
+
| 0.0072 | 28.0 | 1400 | 0.0013 | 1.0 | 1.0 | 1.0 | 1.0 |
|
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.0011 | 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.36.0.dev0
|
107 |
+
- Pytorch 2.1.0+cu118
|
108 |
+
- Datasets 2.15.0
|
109 |
+
- Tokenizers 0.15.0
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 503733512
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a1f9bfc8535076fc68bcb60fc98f73dbff200bbe7096397ac2464fe9a54cf846
|
3 |
size 503733512
|
runs/Nov18_13-01-32_bb635d3cb478/events.out.tfevents.1700312505.bb635d3cb478.4625.0
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:23ad1fd46684aa80614b7e08ee403ffbbe73a41114bd2453579119367f8ff7f9
|
3 |
+
size 15701
|
runs/Nov18_13-01-32_bb635d3cb478/events.out.tfevents.1700314161.bb635d3cb478.4625.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:55e1811ab62c8429aeac0ea613f912cc5428e72702cecfbf411abfeef80293be
|
3 |
+
size 560
|