parandhamudu commited on
Commit
7427361
1 Parent(s): 49e0b8f

layoutlmv3-invoice

Browse files
README.md ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-nc-sa-4.0
3
+ base_model: microsoft/layoutlmv3-base
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - layoutlmv3
8
+ metrics:
9
+ - precision
10
+ - recall
11
+ - f1
12
+ - accuracy
13
+ model-index:
14
+ - name: layoutlmv3-invoice
15
+ results:
16
+ - task:
17
+ name: Token Classification
18
+ type: token-classification
19
+ dataset:
20
+ name: layoutlmv3
21
+ type: layoutlmv3
22
+ config: InvoiceExtraction
23
+ split: test
24
+ args: InvoiceExtraction
25
+ metrics:
26
+ - name: Precision
27
+ type: precision
28
+ value: 0.9698412698412698
29
+ - name: Recall
30
+ type: recall
31
+ value: 0.9591836734693877
32
+ - name: F1
33
+ type: f1
34
+ value: 0.9644830307813733
35
+ - name: Accuracy
36
+ type: accuracy
37
+ value: 0.9708383961117861
38
+ ---
39
+
40
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
41
+ should probably proofread and complete it, then remove this comment. -->
42
+
43
+ # layoutlmv3-invoice
44
+
45
+ This model is a fine-tuned version of [microsoft/layoutlmv3-base](https://huggingface.co/microsoft/layoutlmv3-base) on the layoutlmv3 dataset.
46
+ It achieves the following results on the evaluation set:
47
+ - Loss: 0.1889
48
+ - Precision: 0.9698
49
+ - Recall: 0.9592
50
+ - F1: 0.9645
51
+ - Accuracy: 0.9708
52
+
53
+ ## Model description
54
+
55
+ More information needed
56
+
57
+ ## Intended uses & limitations
58
+
59
+ More information needed
60
+
61
+ ## Training and evaluation data
62
+
63
+ More information needed
64
+
65
+ ## Training procedure
66
+
67
+ ### Training hyperparameters
68
+
69
+ The following hyperparameters were used during training:
70
+ - learning_rate: 1e-05
71
+ - train_batch_size: 8
72
+ - eval_batch_size: 8
73
+ - seed: 42
74
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
75
+ - lr_scheduler_type: linear
76
+ - training_steps: 3500
77
+
78
+ ### Training results
79
+
80
+ | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
81
+ |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
82
+ | No log | 5.32 | 250 | 0.3826 | 0.9471 | 0.9278 | 0.9374 | 0.9465 |
83
+ | 0.8433 | 10.64 | 500 | 0.1720 | 0.9697 | 0.9560 | 0.9628 | 0.9684 |
84
+ | 0.8433 | 15.96 | 750 | 0.1631 | 0.9714 | 0.9608 | 0.9661 | 0.9684 |
85
+ | 0.0347 | 21.28 | 1000 | 0.1548 | 0.9746 | 0.9639 | 0.9692 | 0.9733 |
86
+ | 0.0347 | 26.6 | 1250 | 0.1700 | 0.9698 | 0.9576 | 0.9637 | 0.9672 |
87
+ | 0.0116 | 31.91 | 1500 | 0.1812 | 0.9667 | 0.9576 | 0.9621 | 0.9648 |
88
+ | 0.0116 | 37.23 | 1750 | 0.1513 | 0.9683 | 0.9592 | 0.9637 | 0.9721 |
89
+ | 0.0066 | 42.55 | 2000 | 0.1555 | 0.9730 | 0.9623 | 0.9676 | 0.9757 |
90
+ | 0.0066 | 47.87 | 2250 | 0.1729 | 0.9714 | 0.9592 | 0.9652 | 0.9708 |
91
+ | 0.0048 | 53.19 | 2500 | 0.1854 | 0.9761 | 0.9623 | 0.9692 | 0.9721 |
92
+ | 0.0048 | 58.51 | 2750 | 0.1863 | 0.9714 | 0.9592 | 0.9652 | 0.9696 |
93
+ | 0.0037 | 63.83 | 3000 | 0.1813 | 0.9761 | 0.9623 | 0.9692 | 0.9733 |
94
+ | 0.0037 | 69.15 | 3250 | 0.1903 | 0.9698 | 0.9592 | 0.9645 | 0.9708 |
95
+ | 0.0034 | 74.47 | 3500 | 0.1889 | 0.9698 | 0.9592 | 0.9645 | 0.9708 |
96
+
97
+
98
+ ### Framework versions
99
+
100
+ - Transformers 4.36.0.dev0
101
+ - Pytorch 2.1.0+cu118
102
+ - Datasets 2.15.0
103
+ - Tokenizers 0.15.0
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9822d9e5963ea491719b71b12e0cbbaa7ccd06d38d9ea9c98e38a717b18d8eba
3
  size 503801184
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1926c7052a4fb49d9bad3e6552e1ffda76ab797556d169ebab82f9a2635a7b80
3
  size 503801184
runs/Nov18_05-59-01_d2431beb687f/events.out.tfevents.1700287202.d2431beb687f.1562.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:19ae5d83d0eaafb55a569892f4e35c148215285c765a34c9722fcb7e2e774e0f
3
- size 14349
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2146108d00ca408b3491441a073616533140b64475b6de38e9d19dddcf83743d
3
+ size 14703