update model card README.md
Browse files
README.md
ADDED
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: cc-by-nc-sa-4.0
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
model-index:
|
6 |
+
- name: lmv2-g-rai-auth-02-14
|
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 |
+
# lmv2-g-rai-auth-02-14
|
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.0368
|
18 |
+
- Dob Key Precision: 0.5057
|
19 |
+
- Dob Key Recall: 0.5205
|
20 |
+
- Dob Key F1: 0.5130
|
21 |
+
- Dob Key Number: 171
|
22 |
+
- Dob Value Precision: 0.8071
|
23 |
+
- Dob Value Recall: 0.9191
|
24 |
+
- Dob Value F1: 0.8595
|
25 |
+
- Dob Value Number: 173
|
26 |
+
- Patient Name Key Precision: 0.6923
|
27 |
+
- Patient Name Key Recall: 0.7219
|
28 |
+
- Patient Name Key F1: 0.7068
|
29 |
+
- Patient Name Key Number: 187
|
30 |
+
- Patient Name Value Precision: 0.9235
|
31 |
+
- Patient Name Value Recall: 0.9628
|
32 |
+
- Patient Name Value F1: 0.9427
|
33 |
+
- Patient Name Value Number: 188
|
34 |
+
- Provider Name Key Precision: 0.6930
|
35 |
+
- Provider Name Key Recall: 0.7065
|
36 |
+
- Provider Name Key F1: 0.6997
|
37 |
+
- Provider Name Key Number: 460
|
38 |
+
- Provider Name Value Precision: 0.9353
|
39 |
+
- Provider Name Value Recall: 0.9476
|
40 |
+
- Provider Name Value F1: 0.9414
|
41 |
+
- Provider Name Value Number: 458
|
42 |
+
- Overall Precision: 0.7796
|
43 |
+
- Overall Recall: 0.8082
|
44 |
+
- Overall F1: 0.7936
|
45 |
+
- Overall Accuracy: 0.9944
|
46 |
+
|
47 |
+
## Model description
|
48 |
+
|
49 |
+
More information needed
|
50 |
+
|
51 |
+
## Intended uses & limitations
|
52 |
+
|
53 |
+
More information needed
|
54 |
+
|
55 |
+
## Training and evaluation data
|
56 |
+
|
57 |
+
More information needed
|
58 |
+
|
59 |
+
## Training procedure
|
60 |
+
|
61 |
+
### Training hyperparameters
|
62 |
+
|
63 |
+
The following hyperparameters were used during training:
|
64 |
+
- learning_rate: 5e-05
|
65 |
+
- train_batch_size: 8
|
66 |
+
- eval_batch_size: 8
|
67 |
+
- seed: 42
|
68 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
69 |
+
- lr_scheduler_type: linear
|
70 |
+
- num_epochs: 10
|
71 |
+
|
72 |
+
### Training results
|
73 |
+
|
74 |
+
| Training Loss | Epoch | Step | Validation Loss | Dob Key Precision | Dob Key Recall | Dob Key F1 | Dob Key Number | Dob Value Precision | Dob Value Recall | Dob Value F1 | Dob Value Number | Patient Name Key Precision | Patient Name Key Recall | Patient Name Key F1 | Patient Name Key Number | Patient Name Value Precision | Patient Name Value Recall | Patient Name Value F1 | Patient Name Value Number | Provider Name Key Precision | Provider Name Key Recall | Provider Name Key F1 | Provider Name Key Number | Provider Name Value Precision | Provider Name Value Recall | Provider Name Value F1 | Provider Name Value Number | Overall Precision | Overall Recall | Overall F1 | Overall Accuracy |
|
75 |
+
|:-------------:|:-----:|:----:|:---------------:|:-----------------:|:--------------:|:----------:|:--------------:|:-------------------:|:----------------:|:------------:|:----------------:|:--------------------------:|:-----------------------:|:-------------------:|:-----------------------:|:----------------------------:|:-------------------------:|:---------------------:|:-------------------------:|:---------------------------:|:------------------------:|:--------------------:|:------------------------:|:-----------------------------:|:--------------------------:|:----------------------:|:--------------------------:|:-----------------:|:--------------:|:----------:|:----------------:|
|
76 |
+
| 1.1221 | 1.0 | 241 | 0.4373 | 0.0 | 0.0 | 0.0 | 171 | 0.0 | 0.0 | 0.0 | 173 | 0.0 | 0.0 | 0.0 | 187 | 0.0 | 0.0 | 0.0 | 188 | 0.0 | 0.0 | 0.0 | 460 | 0.0 | 0.0 | 0.0 | 458 | 0.0 | 0.0 | 0.0 | 0.9696 |
|
77 |
+
| 0.258 | 2.0 | 482 | 0.1408 | 0.0385 | 0.0351 | 0.0367 | 171 | 0.9778 | 0.2543 | 0.4037 | 173 | 0.0385 | 0.0053 | 0.0094 | 187 | 0.1739 | 0.0426 | 0.0684 | 188 | 0.0286 | 0.0043 | 0.0075 | 460 | 0.6628 | 0.7424 | 0.7003 | 458 | 0.4685 | 0.2450 | 0.3217 | 0.9782 |
|
78 |
+
| 0.1066 | 3.0 | 723 | 0.0774 | 0.4011 | 0.4386 | 0.4190 | 171 | 0.8404 | 0.9133 | 0.8753 | 173 | 0.5097 | 0.5615 | 0.5344 | 187 | 0.4804 | 0.7181 | 0.5757 | 188 | 0.5108 | 0.5674 | 0.5376 | 460 | 0.8841 | 0.9323 | 0.9075 | 458 | 0.6255 | 0.7092 | 0.6648 | 0.9920 |
|
79 |
+
| 0.0685 | 4.0 | 964 | 0.0585 | 0.4229 | 0.4327 | 0.4277 | 171 | 0.8495 | 0.9133 | 0.8802 | 173 | 0.5479 | 0.5508 | 0.5493 | 187 | 0.9005 | 0.9628 | 0.9306 | 188 | 0.6362 | 0.6957 | 0.6646 | 460 | 0.9315 | 0.9498 | 0.9405 | 458 | 0.7390 | 0.7764 | 0.7572 | 0.9938 |
|
80 |
+
| 0.0532 | 5.0 | 1205 | 0.0486 | 0.4432 | 0.4561 | 0.4496 | 171 | 0.8634 | 0.9133 | 0.8876 | 173 | 0.6862 | 0.6898 | 0.688 | 187 | 0.905 | 0.9628 | 0.9330 | 188 | 0.7106 | 0.7152 | 0.7129 | 460 | 0.9375 | 0.9498 | 0.9436 | 458 | 0.7826 | 0.8002 | 0.7913 | 0.9943 |
|
81 |
+
| 0.0453 | 6.0 | 1446 | 0.0429 | 0.4277 | 0.4327 | 0.4302 | 171 | 0.8971 | 0.9075 | 0.9023 | 173 | 0.6806 | 0.6952 | 0.6878 | 187 | 0.8835 | 0.9681 | 0.9239 | 188 | 0.7181 | 0.7087 | 0.7133 | 460 | 0.9332 | 0.9454 | 0.9393 | 458 | 0.7829 | 0.7954 | 0.7891 | 0.9943 |
|
82 |
+
| 0.0392 | 7.0 | 1687 | 0.0392 | 0.4432 | 0.4561 | 0.4496 | 171 | 0.8177 | 0.9075 | 0.8603 | 173 | 0.6875 | 0.7059 | 0.6966 | 187 | 0.9333 | 0.9681 | 0.9504 | 188 | 0.7045 | 0.7152 | 0.7098 | 460 | 0.9353 | 0.9476 | 0.9414 | 458 | 0.7782 | 0.8015 | 0.7896 | 0.9944 |
|
83 |
+
| 0.0351 | 8.0 | 1928 | 0.0368 | 0.5057 | 0.5205 | 0.5130 | 171 | 0.8071 | 0.9191 | 0.8595 | 173 | 0.6923 | 0.7219 | 0.7068 | 187 | 0.9235 | 0.9628 | 0.9427 | 188 | 0.6930 | 0.7065 | 0.6997 | 460 | 0.9353 | 0.9476 | 0.9414 | 458 | 0.7796 | 0.8082 | 0.7936 | 0.9944 |
|
84 |
+
| 0.0326 | 9.0 | 2169 | 0.0354 | 0.4375 | 0.4503 | 0.4438 | 171 | 0.8438 | 0.9364 | 0.8877 | 173 | 0.6943 | 0.7166 | 0.7053 | 187 | 0.9235 | 0.9628 | 0.9427 | 188 | 0.7063 | 0.7109 | 0.7086 | 460 | 0.9353 | 0.9476 | 0.9414 | 458 | 0.7809 | 0.8033 | 0.7919 | 0.9944 |
|
85 |
+
| 0.0313 | 10.0 | 2410 | 0.0350 | 0.4886 | 0.5029 | 0.4957 | 171 | 0.8777 | 0.9538 | 0.9141 | 173 | 0.6959 | 0.7219 | 0.7087 | 187 | 0.9188 | 0.9628 | 0.9403 | 188 | 0.6674 | 0.7022 | 0.6843 | 460 | 0.9333 | 0.9476 | 0.9404 | 458 | 0.7770 | 0.8088 | 0.7926 | 0.9944 |
|
86 |
+
|
87 |
+
|
88 |
+
### Framework versions
|
89 |
+
|
90 |
+
- Transformers 4.27.0.dev0
|
91 |
+
- Pytorch 1.13.1+cu116
|
92 |
+
- Datasets 2.2.2
|
93 |
+
- Tokenizers 0.13.2
|