alitavanaali commited on
Commit
3509841
·
1 Parent(s): 6439a79

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
+ - sroie
7
+ metrics:
8
+ - precision
9
+ - recall
10
+ - f1
11
+ - accuracy
12
+ model-index:
13
+ - name: test_model
14
+ results:
15
+ - task:
16
+ name: Token Classification
17
+ type: token-classification
18
+ dataset:
19
+ name: sroie
20
+ type: sroie
21
+ config: discharge
22
+ split: test
23
+ args: discharge
24
+ metrics:
25
+ - name: Precision
26
+ type: precision
27
+ value: 0.9343065693430657
28
+ - name: Recall
29
+ type: recall
30
+ value: 0.9696969696969697
31
+ - name: F1
32
+ type: f1
33
+ value: 0.9516728624535317
34
+ - name: Accuracy
35
+ type: accuracy
36
+ value: 0.9976019184652278
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
+ # test_model
43
+
44
+ This model is a fine-tuned version of [microsoft/layoutlmv3-base](https://huggingface.co/microsoft/layoutlmv3-base) on the sroie dataset.
45
+ It achieves the following results on the evaluation set:
46
+ - Loss: 0.0114
47
+ - Precision: 0.9343
48
+ - Recall: 0.9697
49
+ - F1: 0.9517
50
+ - Accuracy: 0.9976
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: 1000
76
+
77
+ ### Training results
78
+
79
+ | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
80
+ |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
81
+ | No log | 8.33 | 100 | 0.0292 | 0.8732 | 0.9394 | 0.9051 | 0.9928 |
82
+ | No log | 16.67 | 200 | 0.0110 | 0.9343 | 0.9697 | 0.9517 | 0.9976 |
83
+ | No log | 25.0 | 300 | 0.0130 | 0.9209 | 0.9697 | 0.9446 | 0.9971 |
84
+ | No log | 33.33 | 400 | 0.0110 | 0.9412 | 0.9697 | 0.9552 | 0.9981 |
85
+ | 0.0466 | 41.67 | 500 | 0.0114 | 0.9275 | 0.9697 | 0.9481 | 0.9976 |
86
+ | 0.0466 | 50.0 | 600 | 0.0117 | 0.9275 | 0.9697 | 0.9481 | 0.9976 |
87
+ | 0.0466 | 58.33 | 700 | 0.0114 | 0.9275 | 0.9697 | 0.9481 | 0.9976 |
88
+ | 0.0466 | 66.67 | 800 | 0.0114 | 0.9343 | 0.9697 | 0.9517 | 0.9976 |
89
+ | 0.0466 | 75.0 | 900 | 0.0115 | 0.9343 | 0.9697 | 0.9517 | 0.9976 |
90
+ | 0.0006 | 83.33 | 1000 | 0.0114 | 0.9343 | 0.9697 | 0.9517 | 0.9976 |
91
+
92
+
93
+ ### Framework versions
94
+
95
+ - Transformers 4.28.0
96
+ - Pytorch 2.0.0+cu118
97
+ - Datasets 2.2.2
98
+ - Tokenizers 0.13.3