End of training
Browse files- README.md +105 -0
- model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,105 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: cc-by-nc-sa-4.0
|
3 |
+
base_model: microsoft/layoutlmv3-base
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- precision
|
8 |
+
- recall
|
9 |
+
- f1
|
10 |
+
- accuracy
|
11 |
+
model-index:
|
12 |
+
- name: layoutlmv3-finetuned-passport
|
13 |
+
results: []
|
14 |
+
---
|
15 |
+
|
16 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
17 |
+
should probably proofread and complete it, then remove this comment. -->
|
18 |
+
|
19 |
+
# layoutlmv3-finetuned-passport
|
20 |
+
|
21 |
+
This model is a fine-tuned version of [microsoft/layoutlmv3-base](https://huggingface.co/microsoft/layoutlmv3-base) on the None dataset.
|
22 |
+
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 0.0655
|
24 |
+
- Precision: 0.9735
|
25 |
+
- Recall: 0.9847
|
26 |
+
- F1: 0.9790
|
27 |
+
- Accuracy: 0.9892
|
28 |
+
|
29 |
+
## Model description
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Intended uses & limitations
|
34 |
+
|
35 |
+
More information needed
|
36 |
+
|
37 |
+
## Training and evaluation data
|
38 |
+
|
39 |
+
More information needed
|
40 |
+
|
41 |
+
## Training procedure
|
42 |
+
|
43 |
+
### Training hyperparameters
|
44 |
+
|
45 |
+
The following hyperparameters were used during training:
|
46 |
+
- learning_rate: 1e-05
|
47 |
+
- train_batch_size: 2
|
48 |
+
- eval_batch_size: 2
|
49 |
+
- seed: 42
|
50 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
51 |
+
- lr_scheduler_type: linear
|
52 |
+
- training_steps: 4000
|
53 |
+
|
54 |
+
### Training results
|
55 |
+
|
56 |
+
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
57 |
+
|:-------------:|:--------:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
58 |
+
| No log | 3.4483 | 100 | 0.6286 | 0.7930 | 0.7778 | 0.7853 | 0.8898 |
|
59 |
+
| No log | 6.8966 | 200 | 0.1945 | 0.9423 | 0.9387 | 0.9405 | 0.9719 |
|
60 |
+
| No log | 10.3448 | 300 | 0.0832 | 0.9730 | 0.9655 | 0.9692 | 0.9870 |
|
61 |
+
| No log | 13.7931 | 400 | 0.0558 | 0.9660 | 0.9808 | 0.9734 | 0.9870 |
|
62 |
+
| 0.398 | 17.2414 | 500 | 0.0524 | 0.9624 | 0.9808 | 0.9715 | 0.9870 |
|
63 |
+
| 0.398 | 20.6897 | 600 | 0.0462 | 0.9735 | 0.9847 | 0.9790 | 0.9892 |
|
64 |
+
| 0.398 | 24.1379 | 700 | 0.0543 | 0.9660 | 0.9808 | 0.9734 | 0.9870 |
|
65 |
+
| 0.398 | 27.5862 | 800 | 0.0463 | 0.9735 | 0.9847 | 0.9790 | 0.9892 |
|
66 |
+
| 0.398 | 31.0345 | 900 | 0.0569 | 0.9624 | 0.9808 | 0.9715 | 0.9870 |
|
67 |
+
| 0.0139 | 34.4828 | 1000 | 0.0729 | 0.9515 | 0.9770 | 0.9641 | 0.9849 |
|
68 |
+
| 0.0139 | 37.9310 | 1100 | 0.0656 | 0.9624 | 0.9808 | 0.9715 | 0.9870 |
|
69 |
+
| 0.0139 | 41.3793 | 1200 | 0.0609 | 0.9624 | 0.9808 | 0.9715 | 0.9870 |
|
70 |
+
| 0.0139 | 44.8276 | 1300 | 0.0525 | 0.9732 | 0.9732 | 0.9732 | 0.9892 |
|
71 |
+
| 0.0139 | 48.2759 | 1400 | 0.0735 | 0.9515 | 0.9770 | 0.9641 | 0.9849 |
|
72 |
+
| 0.0072 | 51.7241 | 1500 | 0.0491 | 0.9547 | 0.9693 | 0.9620 | 0.9870 |
|
73 |
+
| 0.0072 | 55.1724 | 1600 | 0.0416 | 0.9773 | 0.9885 | 0.9829 | 0.9914 |
|
74 |
+
| 0.0072 | 58.6207 | 1700 | 0.0472 | 0.9773 | 0.9885 | 0.9829 | 0.9914 |
|
75 |
+
| 0.0072 | 62.0690 | 1800 | 0.0543 | 0.9735 | 0.9847 | 0.9790 | 0.9892 |
|
76 |
+
| 0.0072 | 65.5172 | 1900 | 0.0619 | 0.9662 | 0.9847 | 0.9753 | 0.9892 |
|
77 |
+
| 0.0029 | 68.9655 | 2000 | 0.0670 | 0.9624 | 0.9808 | 0.9715 | 0.9870 |
|
78 |
+
| 0.0029 | 72.4138 | 2100 | 0.0770 | 0.9624 | 0.9808 | 0.9715 | 0.9870 |
|
79 |
+
| 0.0029 | 75.8621 | 2200 | 0.0700 | 0.9624 | 0.9808 | 0.9715 | 0.9870 |
|
80 |
+
| 0.0029 | 79.3103 | 2300 | 0.0655 | 0.9624 | 0.9808 | 0.9715 | 0.9870 |
|
81 |
+
| 0.0029 | 82.7586 | 2400 | 0.0684 | 0.9624 | 0.9808 | 0.9715 | 0.9870 |
|
82 |
+
| 0.0012 | 86.2069 | 2500 | 0.0700 | 0.9624 | 0.9808 | 0.9715 | 0.9870 |
|
83 |
+
| 0.0012 | 89.6552 | 2600 | 0.0696 | 0.9624 | 0.9808 | 0.9715 | 0.9870 |
|
84 |
+
| 0.0012 | 93.1034 | 2700 | 0.0619 | 0.9735 | 0.9847 | 0.9790 | 0.9892 |
|
85 |
+
| 0.0012 | 96.5517 | 2800 | 0.0630 | 0.9735 | 0.9847 | 0.9790 | 0.9892 |
|
86 |
+
| 0.0012 | 100.0 | 2900 | 0.0703 | 0.9733 | 0.9770 | 0.9751 | 0.9892 |
|
87 |
+
| 0.0009 | 103.4483 | 3000 | 0.0655 | 0.9735 | 0.9847 | 0.9790 | 0.9892 |
|
88 |
+
| 0.0009 | 106.8966 | 3100 | 0.0653 | 0.9735 | 0.9847 | 0.9790 | 0.9892 |
|
89 |
+
| 0.0009 | 110.3448 | 3200 | 0.0657 | 0.9735 | 0.9847 | 0.9790 | 0.9892 |
|
90 |
+
| 0.0009 | 113.7931 | 3300 | 0.0660 | 0.9735 | 0.9847 | 0.9790 | 0.9892 |
|
91 |
+
| 0.0009 | 117.2414 | 3400 | 0.0655 | 0.9735 | 0.9847 | 0.9790 | 0.9892 |
|
92 |
+
| 0.0008 | 120.6897 | 3500 | 0.0663 | 0.9735 | 0.9847 | 0.9790 | 0.9892 |
|
93 |
+
| 0.0008 | 124.1379 | 3600 | 0.0663 | 0.9735 | 0.9847 | 0.9790 | 0.9892 |
|
94 |
+
| 0.0008 | 127.5862 | 3700 | 0.0666 | 0.9735 | 0.9847 | 0.9790 | 0.9892 |
|
95 |
+
| 0.0008 | 131.0345 | 3800 | 0.0648 | 0.9735 | 0.9847 | 0.9790 | 0.9892 |
|
96 |
+
| 0.0008 | 134.4828 | 3900 | 0.0660 | 0.9735 | 0.9847 | 0.9790 | 0.9892 |
|
97 |
+
| 0.0009 | 137.9310 | 4000 | 0.0660 | 0.9735 | 0.9847 | 0.9790 | 0.9892 |
|
98 |
+
|
99 |
+
|
100 |
+
### Framework versions
|
101 |
+
|
102 |
+
- Transformers 4.44.0.dev0
|
103 |
+
- Pytorch 2.1.0+cu121
|
104 |
+
- Datasets 2.20.0
|
105 |
+
- Tokenizers 0.19.1
|
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:20bd2fb55ca32082231df1ff0fff48ce8c91953569828d383156b1cdf22fb936
|
3 |
size 503733512
|