Saed2023 commited on
Commit
6cf6dc6
1 Parent(s): e2d5cb7

update model card README.md

Browse files
Files changed (1) hide show
  1. README.md +98 -0
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
+ - funsd
7
+ metrics:
8
+ - precision
9
+ - recall
10
+ - f1
11
+ - accuracy
12
+ model-index:
13
+ - name: layoutlmv3-finetuned-funsd
14
+ results:
15
+ - task:
16
+ name: Token Classification
17
+ type: token-classification
18
+ dataset:
19
+ name: funsd
20
+ type: funsd
21
+ config: funsd
22
+ split: test
23
+ args: funsd
24
+ metrics:
25
+ - name: Precision
26
+ type: precision
27
+ value: 0.7998102466793169
28
+ - name: Recall
29
+ type: recall
30
+ value: 0.8375558867362146
31
+ - name: F1
32
+ type: f1
33
+ value: 0.8182479980587235
34
+ - name: Accuracy
35
+ type: accuracy
36
+ value: 0.826102460477832
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-funsd
43
+
44
+ This model is a fine-tuned version of [microsoft/layoutlmv3-base](https://huggingface.co/microsoft/layoutlmv3-base) on the funsd dataset.
45
+ It achieves the following results on the evaluation set:
46
+ - Loss: 1.0068
47
+ - Precision: 0.7998
48
+ - Recall: 0.8376
49
+ - F1: 0.8182
50
+ - Accuracy: 0.8261
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 | 3.33 | 250 | 0.5828 | 0.7015 | 0.8033 | 0.7490 | 0.8022 |
82
+ | 0.6702 | 6.67 | 500 | 0.5765 | 0.7499 | 0.8073 | 0.7775 | 0.8253 |
83
+ | 0.6702 | 10.0 | 750 | 0.7082 | 0.7755 | 0.8236 | 0.7988 | 0.8160 |
84
+ | 0.1797 | 13.33 | 1000 | 0.7819 | 0.7807 | 0.8366 | 0.8077 | 0.8256 |
85
+ | 0.1797 | 16.67 | 1250 | 0.8199 | 0.7997 | 0.8311 | 0.8151 | 0.8227 |
86
+ | 0.0745 | 20.0 | 1500 | 0.9025 | 0.7943 | 0.8286 | 0.8111 | 0.8231 |
87
+ | 0.0745 | 23.33 | 1750 | 0.9159 | 0.7941 | 0.8470 | 0.8197 | 0.8248 |
88
+ | 0.041 | 26.67 | 2000 | 1.0012 | 0.7989 | 0.8385 | 0.8182 | 0.8210 |
89
+ | 0.041 | 30.0 | 2250 | 0.9852 | 0.8024 | 0.8450 | 0.8231 | 0.8301 |
90
+ | 0.0246 | 33.33 | 2500 | 1.0068 | 0.7998 | 0.8376 | 0.8182 | 0.8261 |
91
+
92
+
93
+ ### Framework versions
94
+
95
+ - Transformers 4.28.1
96
+ - Pytorch 2.0.0+cu118
97
+ - Datasets 2.11.0
98
+ - Tokenizers 0.13.3