update model card README.md
Browse files
README.md
ADDED
@@ -0,0 +1,98 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: cc-by-nc-sa-4.0
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
datasets:
|
6 |
+
- cord-layoutlmv3
|
7 |
+
metrics:
|
8 |
+
- precision
|
9 |
+
- recall
|
10 |
+
- f1
|
11 |
+
- accuracy
|
12 |
+
model-index:
|
13 |
+
- name: layoutlmv3-finetuned-cord_100
|
14 |
+
results:
|
15 |
+
- task:
|
16 |
+
name: Token Classification
|
17 |
+
type: token-classification
|
18 |
+
dataset:
|
19 |
+
name: cord-layoutlmv3
|
20 |
+
type: cord-layoutlmv3
|
21 |
+
config: cord
|
22 |
+
split: train
|
23 |
+
args: cord
|
24 |
+
metrics:
|
25 |
+
- name: Precision
|
26 |
+
type: precision
|
27 |
+
value: 0.917960088691796
|
28 |
+
- name: Recall
|
29 |
+
type: recall
|
30 |
+
value: 0.9296407185628742
|
31 |
+
- name: F1
|
32 |
+
type: f1
|
33 |
+
value: 0.9237634808478989
|
34 |
+
- name: Accuracy
|
35 |
+
type: accuracy
|
36 |
+
value: 0.9303904923599321
|
37 |
+
---
|
38 |
+
|
39 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
40 |
+
should probably proofread and complete it, then remove this comment. -->
|
41 |
+
|
42 |
+
# layoutlmv3-finetuned-cord_100
|
43 |
+
|
44 |
+
This model is a fine-tuned version of [microsoft/layoutlmv3-base](https://huggingface.co/microsoft/layoutlmv3-base) on the cord-layoutlmv3 dataset.
|
45 |
+
It achieves the following results on the evaluation set:
|
46 |
+
- Loss: 0.2854
|
47 |
+
- Precision: 0.9180
|
48 |
+
- Recall: 0.9296
|
49 |
+
- F1: 0.9238
|
50 |
+
- Accuracy: 0.9304
|
51 |
+
|
52 |
+
## Model description
|
53 |
+
|
54 |
+
More information needed
|
55 |
+
|
56 |
+
## Intended uses & limitations
|
57 |
+
|
58 |
+
More information needed
|
59 |
+
|
60 |
+
## Training and evaluation data
|
61 |
+
|
62 |
+
More information needed
|
63 |
+
|
64 |
+
## Training procedure
|
65 |
+
|
66 |
+
### Training hyperparameters
|
67 |
+
|
68 |
+
The following hyperparameters were used during training:
|
69 |
+
- learning_rate: 1e-05
|
70 |
+
- train_batch_size: 2
|
71 |
+
- eval_batch_size: 2
|
72 |
+
- seed: 42
|
73 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
74 |
+
- lr_scheduler_type: linear
|
75 |
+
- training_steps: 2500
|
76 |
+
|
77 |
+
### Training results
|
78 |
+
|
79 |
+
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
80 |
+
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
81 |
+
| No log | 0.62 | 250 | 1.2967 | 0.6175 | 0.7021 | 0.6571 | 0.7296 |
|
82 |
+
| 1.6872 | 1.25 | 500 | 0.7576 | 0.8140 | 0.8383 | 0.8260 | 0.8383 |
|
83 |
+
| 1.6872 | 1.88 | 750 | 0.5695 | 0.8301 | 0.8518 | 0.8408 | 0.8544 |
|
84 |
+
| 0.6109 | 2.5 | 1000 | 0.4778 | 0.8564 | 0.875 | 0.8656 | 0.8812 |
|
85 |
+
| 0.6109 | 3.12 | 1250 | 0.3825 | 0.8694 | 0.8922 | 0.8807 | 0.8986 |
|
86 |
+
| 0.3905 | 3.75 | 1500 | 0.3546 | 0.8831 | 0.9049 | 0.8939 | 0.9143 |
|
87 |
+
| 0.3905 | 4.38 | 1750 | 0.3153 | 0.8998 | 0.9207 | 0.9101 | 0.9223 |
|
88 |
+
| 0.275 | 5.0 | 2000 | 0.3065 | 0.8926 | 0.9147 | 0.9035 | 0.9202 |
|
89 |
+
| 0.275 | 5.62 | 2250 | 0.2872 | 0.9131 | 0.9281 | 0.9206 | 0.9291 |
|
90 |
+
| 0.2275 | 6.25 | 2500 | 0.2854 | 0.9180 | 0.9296 | 0.9238 | 0.9304 |
|
91 |
+
|
92 |
+
|
93 |
+
### Framework versions
|
94 |
+
|
95 |
+
- Transformers 4.25.1
|
96 |
+
- Pytorch 1.13.1+cpu
|
97 |
+
- Datasets 2.8.0
|
98 |
+
- Tokenizers 0.13.2
|