BadreddineHug
commited on
Commit
·
433bc6a
1
Parent(s):
0ef2b0c
End of training
Browse files
README.md
ADDED
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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: LayoutLM_5
|
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 |
+
# LayoutLM_5
|
19 |
+
|
20 |
+
This model is a fine-tuned version of [microsoft/layoutlmv3-large](https://huggingface.co/microsoft/layoutlmv3-large) on an unknown dataset.
|
21 |
+
It achieves the following results on the evaluation set:
|
22 |
+
- Loss: 0.3586
|
23 |
+
- Precision: 0.8344
|
24 |
+
- Recall: 0.8344
|
25 |
+
- F1: 0.8344
|
26 |
+
- Accuracy: 0.9343
|
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-06
|
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 |
+
- training_steps: 2000
|
52 |
+
|
53 |
+
### Training results
|
54 |
+
|
55 |
+
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
56 |
+
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
57 |
+
| No log | 3.7 | 100 | 0.8644 | 0.0 | 0.0 | 0.0 | 0.7818 |
|
58 |
+
| No log | 7.41 | 200 | 0.6214 | 0.7857 | 0.0728 | 0.1333 | 0.8 |
|
59 |
+
| No log | 11.11 | 300 | 0.4714 | 0.7303 | 0.4305 | 0.5417 | 0.8657 |
|
60 |
+
| No log | 14.81 | 400 | 0.4046 | 0.7955 | 0.6954 | 0.7420 | 0.9189 |
|
61 |
+
| 0.6176 | 18.52 | 500 | 0.3755 | 0.8194 | 0.7815 | 0.8000 | 0.9301 |
|
62 |
+
| 0.6176 | 22.22 | 600 | 0.3611 | 0.7935 | 0.8146 | 0.8039 | 0.9245 |
|
63 |
+
| 0.6176 | 25.93 | 700 | 0.3679 | 0.7848 | 0.8212 | 0.8026 | 0.9245 |
|
64 |
+
| 0.6176 | 29.63 | 800 | 0.3292 | 0.8289 | 0.8344 | 0.8317 | 0.9357 |
|
65 |
+
| 0.6176 | 33.33 | 900 | 0.3408 | 0.8289 | 0.8344 | 0.8317 | 0.9315 |
|
66 |
+
| 0.1555 | 37.04 | 1000 | 0.3479 | 0.8141 | 0.8411 | 0.8274 | 0.9315 |
|
67 |
+
| 0.1555 | 40.74 | 1100 | 0.3491 | 0.8247 | 0.8411 | 0.8328 | 0.9357 |
|
68 |
+
| 0.1555 | 44.44 | 1200 | 0.3704 | 0.7888 | 0.8411 | 0.8141 | 0.9245 |
|
69 |
+
| 0.1555 | 48.15 | 1300 | 0.3591 | 0.8194 | 0.8411 | 0.8301 | 0.9315 |
|
70 |
+
| 0.1555 | 51.85 | 1400 | 0.3420 | 0.8344 | 0.8344 | 0.8344 | 0.9343 |
|
71 |
+
| 0.0746 | 55.56 | 1500 | 0.3546 | 0.8421 | 0.8477 | 0.8449 | 0.9357 |
|
72 |
+
| 0.0746 | 59.26 | 1600 | 0.3442 | 0.8421 | 0.8477 | 0.8449 | 0.9371 |
|
73 |
+
| 0.0746 | 62.96 | 1700 | 0.3687 | 0.8205 | 0.8477 | 0.8339 | 0.9357 |
|
74 |
+
| 0.0746 | 66.67 | 1800 | 0.3743 | 0.8258 | 0.8477 | 0.8366 | 0.9343 |
|
75 |
+
| 0.0746 | 70.37 | 1900 | 0.3626 | 0.8301 | 0.8411 | 0.8355 | 0.9343 |
|
76 |
+
| 0.0502 | 74.07 | 2000 | 0.3586 | 0.8344 | 0.8344 | 0.8344 | 0.9343 |
|
77 |
+
|
78 |
+
|
79 |
+
### Framework versions
|
80 |
+
|
81 |
+
- Transformers 4.29.2
|
82 |
+
- Pytorch 2.0.1+cu118
|
83 |
+
- Datasets 2.14.4
|
84 |
+
- 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 1428419377
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:496dfc5259bf47f8506ddddb369e62463816c7f58f31c9be8b621449e47928d8
|
3 |
size 1428419377
|
runs/Aug27_16-32-21_dfdfe5a21d29/events.out.tfevents.1693153958.dfdfe5a21d29.1936.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:f60b2ace169d33ba6a391258879991b18379b9236b9495f4a615970298bd5fb3
|
3 |
+
size 15226
|