BadreddineHug
commited on
Commit
•
b87afaf
1
Parent(s):
fc178c4
End of training
Browse files
README.md
ADDED
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: cc-by-nc-sa-4.0
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
metrics:
|
6 |
+
- precision
|
7 |
+
- recall
|
8 |
+
- f1
|
9 |
+
- accuracy
|
10 |
+
model-index:
|
11 |
+
- name: LayoutLMv3_large_2
|
12 |
+
results: []
|
13 |
+
---
|
14 |
+
|
15 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
16 |
+
should probably proofread and complete it, then remove this comment. -->
|
17 |
+
|
18 |
+
# LayoutLMv3_large_2
|
19 |
+
|
20 |
+
This model is a fine-tuned version of [BadreddineHug/LayoutLM_5](https://huggingface.co/BadreddineHug/LayoutLM_5) on an unknown dataset.
|
21 |
+
It achieves the following results on the evaluation set:
|
22 |
+
- Loss: 0.4678
|
23 |
+
- Precision: 0.7444
|
24 |
+
- Recall: 0.8462
|
25 |
+
- F1: 0.792
|
26 |
+
- Accuracy: 0.9431
|
27 |
+
|
28 |
+
## Model description
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Intended uses & limitations
|
33 |
+
|
34 |
+
More information needed
|
35 |
+
|
36 |
+
## Training and evaluation data
|
37 |
+
|
38 |
+
More information needed
|
39 |
+
|
40 |
+
## Training procedure
|
41 |
+
|
42 |
+
### Training hyperparameters
|
43 |
+
|
44 |
+
The following hyperparameters were used during training:
|
45 |
+
- learning_rate: 1e-05
|
46 |
+
- train_batch_size: 2
|
47 |
+
- eval_batch_size: 2
|
48 |
+
- seed: 42
|
49 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
50 |
+
- lr_scheduler_type: linear
|
51 |
+
- lr_scheduler_warmup_ratio: 0.1
|
52 |
+
- training_steps: 2000
|
53 |
+
|
54 |
+
### Training results
|
55 |
+
|
56 |
+
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
57 |
+
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
58 |
+
| No log | 2.44 | 100 | 0.2604 | 0.8049 | 0.8462 | 0.8250 | 0.9487 |
|
59 |
+
| No log | 4.88 | 200 | 0.2887 | 0.6923 | 0.8462 | 0.7615 | 0.9294 |
|
60 |
+
| No log | 7.32 | 300 | 0.3961 | 0.6711 | 0.8547 | 0.7519 | 0.9248 |
|
61 |
+
| No log | 9.76 | 400 | 0.3117 | 0.7778 | 0.8376 | 0.8066 | 0.9465 |
|
62 |
+
| 0.1255 | 12.2 | 500 | 0.3344 | 0.7698 | 0.8291 | 0.7984 | 0.9419 |
|
63 |
+
| 0.1255 | 14.63 | 600 | 0.3892 | 0.7197 | 0.8120 | 0.7631 | 0.9339 |
|
64 |
+
| 0.1255 | 17.07 | 700 | 0.3865 | 0.7143 | 0.8547 | 0.7782 | 0.9419 |
|
65 |
+
| 0.1255 | 19.51 | 800 | 0.4737 | 0.6690 | 0.8291 | 0.7405 | 0.9226 |
|
66 |
+
| 0.1255 | 21.95 | 900 | 0.3876 | 0.7405 | 0.8291 | 0.7823 | 0.9442 |
|
67 |
+
| 0.0206 | 24.39 | 1000 | 0.3845 | 0.7444 | 0.8462 | 0.792 | 0.9465 |
|
68 |
+
| 0.0206 | 26.83 | 1100 | 0.4179 | 0.75 | 0.8205 | 0.7837 | 0.9442 |
|
69 |
+
| 0.0206 | 29.27 | 1200 | 0.3942 | 0.7576 | 0.8547 | 0.8032 | 0.9510 |
|
70 |
+
| 0.0206 | 31.71 | 1300 | 0.4521 | 0.7293 | 0.8291 | 0.776 | 0.9408 |
|
71 |
+
| 0.0206 | 34.15 | 1400 | 0.4725 | 0.7050 | 0.8376 | 0.7656 | 0.9328 |
|
72 |
+
| 0.0051 | 36.59 | 1500 | 0.4874 | 0.6849 | 0.8547 | 0.7605 | 0.9317 |
|
73 |
+
| 0.0051 | 39.02 | 1600 | 0.4366 | 0.7519 | 0.8547 | 0.8 | 0.9453 |
|
74 |
+
| 0.0051 | 41.46 | 1700 | 0.4978 | 0.6897 | 0.8547 | 0.7634 | 0.9317 |
|
75 |
+
| 0.0051 | 43.9 | 1800 | 0.4599 | 0.7444 | 0.8462 | 0.792 | 0.9431 |
|
76 |
+
| 0.0051 | 46.34 | 1900 | 0.4765 | 0.7372 | 0.8632 | 0.7953 | 0.9431 |
|
77 |
+
| 0.002 | 48.78 | 2000 | 0.4678 | 0.7444 | 0.8462 | 0.792 | 0.9431 |
|
78 |
+
|
79 |
+
|
80 |
+
### Framework versions
|
81 |
+
|
82 |
+
- Transformers 4.29.2
|
83 |
+
- Pytorch 2.0.1+cu118
|
84 |
+
- Datasets 2.14.4
|
85 |
+
- Tokenizers 0.13.3
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 503789233
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:446eb28f2c1898afa8309e641e1da73f8b1fbae5feeab161d71ffaed82c9e9bc
|
3 |
size 503789233
|
runs/Sep02_17-37-38_a0b4ec993607/events.out.tfevents.1693676314.a0b4ec993607.2845.0
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f1290df82870fa4831cbff6dcca7f01e4386f412f1a60e606a393028c6242550
|
3 |
+
size 15320
|