update model card README.md
Browse files
README.md
ADDED
@@ -0,0 +1,105 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: cc-by-nc-sa-4.0
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
model-index:
|
6 |
+
- name: lmv2ubiai-pan8doc-06-11
|
7 |
+
results: []
|
8 |
+
---
|
9 |
+
|
10 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
11 |
+
should probably proofread and complete it, then remove this comment. -->
|
12 |
+
|
13 |
+
# lmv2ubiai-pan8doc-06-11
|
14 |
+
|
15 |
+
This model is a fine-tuned version of [microsoft/layoutlmv2-base-uncased](https://huggingface.co/microsoft/layoutlmv2-base-uncased) on the None dataset.
|
16 |
+
It achieves the following results on the evaluation set:
|
17 |
+
- Loss: 0.9633
|
18 |
+
- Dob Precision: 1.0
|
19 |
+
- Dob Recall: 1.0
|
20 |
+
- Dob F1: 1.0
|
21 |
+
- Dob Number: 2
|
22 |
+
- Fname Precision: 0.6667
|
23 |
+
- Fname Recall: 1.0
|
24 |
+
- Fname F1: 0.8
|
25 |
+
- Fname Number: 2
|
26 |
+
- Name Precision: 1.0
|
27 |
+
- Name Recall: 1.0
|
28 |
+
- Name F1: 1.0
|
29 |
+
- Name Number: 2
|
30 |
+
- Pan Precision: 1.0
|
31 |
+
- Pan Recall: 1.0
|
32 |
+
- Pan F1: 1.0
|
33 |
+
- Pan Number: 2
|
34 |
+
- Overall Precision: 0.8889
|
35 |
+
- Overall Recall: 1.0
|
36 |
+
- Overall F1: 0.9412
|
37 |
+
- Overall Accuracy: 0.9821
|
38 |
+
|
39 |
+
## Model description
|
40 |
+
|
41 |
+
More information needed
|
42 |
+
|
43 |
+
## Intended uses & limitations
|
44 |
+
|
45 |
+
More information needed
|
46 |
+
|
47 |
+
## Training and evaluation data
|
48 |
+
|
49 |
+
More information needed
|
50 |
+
|
51 |
+
## Training procedure
|
52 |
+
|
53 |
+
### Training hyperparameters
|
54 |
+
|
55 |
+
The following hyperparameters were used during training:
|
56 |
+
- learning_rate: 4e-05
|
57 |
+
- train_batch_size: 1
|
58 |
+
- eval_batch_size: 1
|
59 |
+
- seed: 42
|
60 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
61 |
+
- lr_scheduler_type: constant
|
62 |
+
- num_epochs: 30
|
63 |
+
|
64 |
+
### Training results
|
65 |
+
|
66 |
+
| Training Loss | Epoch | Step | Validation Loss | Dob Precision | Dob Recall | Dob F1 | Dob Number | Fname Precision | Fname Recall | Fname F1 | Fname Number | Name Precision | Name Recall | Name F1 | Name Number | Pan Precision | Pan Recall | Pan F1 | Pan Number | Overall Precision | Overall Recall | Overall F1 | Overall Accuracy |
|
67 |
+
|:-------------:|:-----:|:----:|:---------------:|:-------------:|:----------:|:------:|:----------:|:---------------:|:------------:|:--------:|:------------:|:--------------:|:-----------:|:-------:|:-----------:|:-------------:|:----------:|:------:|:----------:|:-----------------:|:--------------:|:----------:|:----------------:|
|
68 |
+
| 2.1195 | 1.0 | 6 | 1.7519 | 0.0 | 0.0 | 0.0 | 2 | 0.0 | 0.0 | 0.0 | 2 | 0.0 | 0.0 | 0.0 | 2 | 0.0 | 0.0 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.0 | 1.0 | 1.0 | 2 | 0.4167 | 0.625 | 0.5 | 0.9286 |
|
76 |
+
| 1.1369 | 9.0 | 54 | 1.0453 | 1.0 | 1.0 | 1.0 | 2 | 0.4 | 1.0 | 0.5714 | 2 | 0.0 | 0.0 | 0.0 | 2 | 1.0 | 1.0 | 1.0 | 2 | 0.5455 | 0.75 | 0.6316 | 0.9464 |
|
77 |
+
| 1.0882 | 10.0 | 60 | 1.0054 | 1.0 | 1.0 | 1.0 | 2 | 0.5 | 1.0 | 0.6667 | 2 | 0.5 | 0.5 | 0.5 | 2 | 1.0 | 1.0 | 1.0 | 2 | 0.7 | 0.875 | 0.7778 | 0.9643 |
|
78 |
+
| 1.0482 | 11.0 | 66 | 0.9633 | 1.0 | 1.0 | 1.0 | 2 | 0.6667 | 1.0 | 0.8 | 2 | 1.0 | 1.0 | 1.0 | 2 | 1.0 | 1.0 | 1.0 | 2 | 0.8889 | 1.0 | 0.9412 | 0.9821 |
|
79 |
+
| 1.017 | 12.0 | 72 | 0.9368 | 1.0 | 1.0 | 1.0 | 2 | 0.6667 | 1.0 | 0.8 | 2 | 1.0 | 1.0 | 1.0 | 2 | 1.0 | 1.0 | 1.0 | 2 | 0.8889 | 1.0 | 0.9412 | 0.9643 |
|
80 |
+
| 0.9825 | 13.0 | 78 | 0.9139 | 1.0 | 1.0 | 1.0 | 2 | 0.6667 | 1.0 | 0.8 | 2 | 1.0 | 1.0 | 1.0 | 2 | 1.0 | 1.0 | 1.0 | 2 | 0.8889 | 1.0 | 0.9412 | 0.9821 |
|
81 |
+
| 0.9459 | 14.0 | 84 | 0.8837 | 1.0 | 1.0 | 1.0 | 2 | 0.6667 | 1.0 | 0.8 | 2 | 1.0 | 1.0 | 1.0 | 2 | 1.0 | 1.0 | 1.0 | 2 | 0.8889 | 1.0 | 0.9412 | 0.9643 |
|
82 |
+
| 0.9155 | 15.0 | 90 | 0.8472 | 1.0 | 1.0 | 1.0 | 2 | 1.0 | 1.0 | 1.0 | 2 | 0.5 | 0.5 | 0.5 | 2 | 1.0 | 1.0 | 1.0 | 2 | 0.875 | 0.875 | 0.875 | 0.9643 |
|
83 |
+
| 0.8819 | 16.0 | 96 | 0.8231 | 1.0 | 1.0 | 1.0 | 2 | 1.0 | 1.0 | 1.0 | 2 | 0.5 | 0.5 | 0.5 | 2 | 1.0 | 1.0 | 1.0 | 2 | 0.875 | 0.875 | 0.875 | 0.9643 |
|
84 |
+
| 0.8523 | 17.0 | 102 | 0.7957 | 1.0 | 1.0 | 1.0 | 2 | 1.0 | 1.0 | 1.0 | 2 | 0.6667 | 1.0 | 0.8 | 2 | 1.0 | 1.0 | 1.0 | 2 | 0.8889 | 1.0 | 0.9412 | 0.9821 |
|
85 |
+
| 0.8251 | 18.0 | 108 | 0.7681 | 1.0 | 1.0 | 1.0 | 2 | 1.0 | 1.0 | 1.0 | 2 | 0.5 | 0.5 | 0.5 | 2 | 1.0 | 1.0 | 1.0 | 2 | 0.875 | 0.875 | 0.875 | 0.9643 |
|
86 |
+
| 0.7982 | 19.0 | 114 | 0.7533 | 1.0 | 1.0 | 1.0 | 2 | 1.0 | 1.0 | 1.0 | 2 | 0.5 | 0.5 | 0.5 | 2 | 1.0 | 1.0 | 1.0 | 2 | 0.875 | 0.875 | 0.875 | 0.9643 |
|
87 |
+
| 0.7762 | 20.0 | 120 | 0.7283 | 1.0 | 1.0 | 1.0 | 2 | 1.0 | 1.0 | 1.0 | 2 | 0.5 | 0.5 | 0.5 | 2 | 1.0 | 1.0 | 1.0 | 2 | 0.875 | 0.875 | 0.875 | 0.9643 |
|
88 |
+
| 0.7558 | 21.0 | 126 | 0.7114 | 1.0 | 1.0 | 1.0 | 2 | 1.0 | 1.0 | 1.0 | 2 | 0.5 | 0.5 | 0.5 | 2 | 1.0 | 1.0 | 1.0 | 2 | 0.875 | 0.875 | 0.875 | 0.9643 |
|
89 |
+
| 0.7346 | 22.0 | 132 | 0.6889 | 1.0 | 1.0 | 1.0 | 2 | 1.0 | 1.0 | 1.0 | 2 | 0.5 | 0.5 | 0.5 | 2 | 1.0 | 1.0 | 1.0 | 2 | 0.875 | 0.875 | 0.875 | 0.9643 |
|
90 |
+
| 0.7116 | 23.0 | 138 | 0.6697 | 1.0 | 1.0 | 1.0 | 2 | 1.0 | 1.0 | 1.0 | 2 | 0.5 | 0.5 | 0.5 | 2 | 1.0 | 1.0 | 1.0 | 2 | 0.875 | 0.875 | 0.875 | 0.9643 |
|
91 |
+
| 0.6898 | 24.0 | 144 | 0.6593 | 1.0 | 1.0 | 1.0 | 2 | 1.0 | 1.0 | 1.0 | 2 | 0.5 | 0.5 | 0.5 | 2 | 1.0 | 1.0 | 1.0 | 2 | 0.875 | 0.875 | 0.875 | 0.9643 |
|
92 |
+
| 0.6748 | 25.0 | 150 | 0.6356 | 1.0 | 1.0 | 1.0 | 2 | 1.0 | 1.0 | 1.0 | 2 | 0.5 | 0.5 | 0.5 | 2 | 1.0 | 1.0 | 1.0 | 2 | 0.875 | 0.875 | 0.875 | 0.9643 |
|
93 |
+
| 0.6487 | 26.0 | 156 | 0.6142 | 1.0 | 1.0 | 1.0 | 2 | 1.0 | 1.0 | 1.0 | 2 | 0.5 | 0.5 | 0.5 | 2 | 1.0 | 1.0 | 1.0 | 2 | 0.875 | 0.875 | 0.875 | 0.9643 |
|
94 |
+
| 0.6312 | 27.0 | 162 | 0.6008 | 1.0 | 1.0 | 1.0 | 2 | 1.0 | 1.0 | 1.0 | 2 | 0.5 | 0.5 | 0.5 | 2 | 1.0 | 1.0 | 1.0 | 2 | 0.875 | 0.875 | 0.875 | 0.9643 |
|
95 |
+
| 0.6156 | 28.0 | 168 | 0.5855 | 1.0 | 1.0 | 1.0 | 2 | 1.0 | 1.0 | 1.0 | 2 | 0.5 | 0.5 | 0.5 | 2 | 1.0 | 1.0 | 1.0 | 2 | 0.875 | 0.875 | 0.875 | 0.9643 |
|
96 |
+
| 0.5961 | 29.0 | 174 | 0.5625 | 1.0 | 1.0 | 1.0 | 2 | 1.0 | 1.0 | 1.0 | 2 | 0.5 | 0.5 | 0.5 | 2 | 1.0 | 1.0 | 1.0 | 2 | 0.875 | 0.875 | 0.875 | 0.9643 |
|
97 |
+
| 0.5781 | 30.0 | 180 | 0.5553 | 1.0 | 1.0 | 1.0 | 2 | 1.0 | 1.0 | 1.0 | 2 | 0.5 | 0.5 | 0.5 | 2 | 1.0 | 1.0 | 1.0 | 2 | 0.875 | 0.875 | 0.875 | 0.9643 |
|
98 |
+
|
99 |
+
|
100 |
+
### Framework versions
|
101 |
+
|
102 |
+
- Transformers 4.20.0.dev0
|
103 |
+
- Pytorch 1.11.0+cu113
|
104 |
+
- Datasets 2.2.2
|
105 |
+
- Tokenizers 0.12.1
|