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 |
+
- funsd-layoutlmv3
|
8 |
+
metrics:
|
9 |
+
- precision
|
10 |
+
- recall
|
11 |
+
- f1
|
12 |
+
- accuracy
|
13 |
+
model-index:
|
14 |
+
- name: layoutlmv3-base-fine_tuned-FUNSD_dataset
|
15 |
+
results:
|
16 |
+
- task:
|
17 |
+
name: Token Classification
|
18 |
+
type: token-classification
|
19 |
+
dataset:
|
20 |
+
name: funsd-layoutlmv3
|
21 |
+
type: funsd-layoutlmv3
|
22 |
+
config: funsd
|
23 |
+
split: test
|
24 |
+
args: funsd
|
25 |
+
metrics:
|
26 |
+
- name: Precision
|
27 |
+
type: precision
|
28 |
+
value: 0.8978890525282278
|
29 |
+
- name: Recall
|
30 |
+
type: recall
|
31 |
+
value: 0.9085941381023348
|
32 |
+
- name: F1
|
33 |
+
type: f1
|
34 |
+
value: 0.9032098765432099
|
35 |
+
- name: Accuracy
|
36 |
+
type: accuracy
|
37 |
+
value: 0.8461904195887318
|
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-base-fine_tuned-FUNSD_dataset
|
44 |
+
|
45 |
+
This model is a fine-tuned version of [microsoft/layoutlmv3-base](https://huggingface.co/microsoft/layoutlmv3-base) on the funsd-layoutlmv3 dataset.
|
46 |
+
It achieves the following results on the evaluation set:
|
47 |
+
- Loss: 0.2956
|
48 |
+
- Precision: 0.8979
|
49 |
+
- Recall: 0.9086
|
50 |
+
- F1: 0.9032
|
51 |
+
- Accuracy: 0.8462
|
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 |
+
| 0.2149 | 1.33 | 100 | 0.2402 | 0.7469 | 0.8212 | 0.7823 | 0.7758 |
|
83 |
+
| 0.1466 | 2.67 | 200 | 0.1869 | 0.8161 | 0.8838 | 0.8486 | 0.8273 |
|
84 |
+
| 0.1122 | 4.0 | 300 | 0.1902 | 0.8538 | 0.8997 | 0.8761 | 0.8316 |
|
85 |
+
| 0.0757 | 5.33 | 400 | 0.1857 | 0.8354 | 0.8927 | 0.8631 | 0.8349 |
|
86 |
+
| 0.0427 | 6.67 | 500 | 0.2091 | 0.8792 | 0.8897 | 0.8844 | 0.8446 |
|
87 |
+
| 0.0495 | 8.0 | 600 | 0.2235 | 0.8825 | 0.9031 | 0.8927 | 0.8370 |
|
88 |
+
| 0.0369 | 9.33 | 700 | 0.2532 | 0.8826 | 0.9146 | 0.8983 | 0.8349 |
|
89 |
+
| 0.0329 | 10.67 | 800 | 0.2576 | 0.8829 | 0.8992 | 0.8910 | 0.8474 |
|
90 |
+
| 0.0229 | 12.0 | 900 | 0.2579 | 0.8827 | 0.8937 | 0.8882 | 0.8443 |
|
91 |
+
| 0.0219 | 13.33 | 1000 | 0.2710 | 0.8710 | 0.8987 | 0.8846 | 0.8347 |
|
92 |
+
| 0.0191 | 14.67 | 1100 | 0.2582 | 0.8889 | 0.9061 | 0.8974 | 0.8454 |
|
93 |
+
| 0.0179 | 16.0 | 1200 | 0.2646 | 0.8870 | 0.9006 | 0.8938 | 0.8356 |
|
94 |
+
| 0.0135 | 17.33 | 1300 | 0.2798 | 0.8949 | 0.9180 | 0.9063 | 0.8512 |
|
95 |
+
| 0.007 | 18.67 | 1400 | 0.2944 | 0.8988 | 0.9091 | 0.9039 | 0.8455 |
|
96 |
+
| 0.0064 | 20.0 | 1500 | 0.2822 | 0.8938 | 0.9071 | 0.9004 | 0.8452 |
|
97 |
+
| 0.0089 | 21.33 | 1600 | 0.3003 | 0.8941 | 0.9101 | 0.9020 | 0.8484 |
|
98 |
+
| 0.0099 | 22.67 | 1700 | 0.3008 | 0.8942 | 0.9071 | 0.9006 | 0.8439 |
|
99 |
+
| 0.0069 | 24.0 | 1800 | 0.2965 | 0.8942 | 0.9071 | 0.9006 | 0.8386 |
|
100 |
+
| 0.0048 | 25.33 | 1900 | 0.2973 | 0.9027 | 0.9076 | 0.9051 | 0.8501 |
|
101 |
+
| 0.0069 | 26.67 | 2000 | 0.2956 | 0.8979 | 0.9086 | 0.9032 | 0.8462 |
|
102 |
+
|
103 |
+
|
104 |
+
### Framework versions
|
105 |
+
|
106 |
+
- Transformers 4.33.2
|
107 |
+
- Pytorch 2.0.1
|
108 |
+
- Datasets 2.14.5
|
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 501400357
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e8b6487a58c9895accda98d32f77039c7f0ae1f52ba92b262e69441d46440180
|
3 |
size 501400357
|