End of training
Browse files
README.md
ADDED
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: cc-by-nc-sa-4.0
|
3 |
+
base_model: microsoft/layoutlmv3-base
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- precision
|
8 |
+
- recall
|
9 |
+
- f1
|
10 |
+
- accuracy
|
11 |
+
model-index:
|
12 |
+
- name: layoutlmv3-cord
|
13 |
+
results: []
|
14 |
+
---
|
15 |
+
|
16 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
17 |
+
should probably proofread and complete it, then remove this comment. -->
|
18 |
+
|
19 |
+
# layoutlmv3-cord
|
20 |
+
|
21 |
+
This model is a fine-tuned version of [microsoft/layoutlmv3-base](https://huggingface.co/microsoft/layoutlmv3-base) on an unknown dataset.
|
22 |
+
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 0.1589
|
24 |
+
- Precision: 0.9433
|
25 |
+
- Recall: 0.9521
|
26 |
+
- F1: 0.9477
|
27 |
+
- Accuracy: 0.9669
|
28 |
+
|
29 |
+
## Model description
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Intended uses & limitations
|
34 |
+
|
35 |
+
More information needed
|
36 |
+
|
37 |
+
## Training and evaluation data
|
38 |
+
|
39 |
+
More information needed
|
40 |
+
|
41 |
+
## Training procedure
|
42 |
+
|
43 |
+
### Training hyperparameters
|
44 |
+
|
45 |
+
The following hyperparameters were used during training:
|
46 |
+
- learning_rate: 5e-05
|
47 |
+
- train_batch_size: 4
|
48 |
+
- eval_batch_size: 4
|
49 |
+
- seed: 42
|
50 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
51 |
+
- lr_scheduler_type: linear
|
52 |
+
- training_steps: 1000
|
53 |
+
- mixed_precision_training: Native AMP
|
54 |
+
|
55 |
+
### Training results
|
56 |
+
|
57 |
+
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
58 |
+
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
59 |
+
| No log | 0.5 | 100 | 0.6487 | 0.7825 | 0.8006 | 0.7914 | 0.8330 |
|
60 |
+
| No log | 1.0 | 200 | 0.4266 | 0.8496 | 0.8686 | 0.8590 | 0.8925 |
|
61 |
+
| No log | 1.5 | 300 | 0.2553 | 0.9008 | 0.9057 | 0.9033 | 0.9341 |
|
62 |
+
| No log | 2.0 | 400 | 0.2496 | 0.8960 | 0.9057 | 0.9008 | 0.9295 |
|
63 |
+
| 0.5667 | 2.5 | 500 | 0.2016 | 0.9274 | 0.9374 | 0.9324 | 0.9554 |
|
64 |
+
| 0.5667 | 3.0 | 600 | 0.1806 | 0.9387 | 0.9467 | 0.9427 | 0.9609 |
|
65 |
+
| 0.5667 | 3.5 | 700 | 0.1667 | 0.9424 | 0.9474 | 0.9449 | 0.9630 |
|
66 |
+
| 0.5667 | 4.0 | 800 | 0.1735 | 0.9452 | 0.9467 | 0.9459 | 0.9639 |
|
67 |
+
| 0.5667 | 4.5 | 900 | 0.1657 | 0.9456 | 0.9529 | 0.9492 | 0.9660 |
|
68 |
+
| 0.1025 | 5.0 | 1000 | 0.1589 | 0.9433 | 0.9521 | 0.9477 | 0.9669 |
|
69 |
+
|
70 |
+
|
71 |
+
### Framework versions
|
72 |
+
|
73 |
+
- Transformers 4.36.0
|
74 |
+
- Pytorch 2.0.0
|
75 |
+
- Datasets 2.16.1
|
76 |
+
- Tokenizers 0.15.0
|
logs/events.out.tfevents.1704281030.ecbe837ee653.25.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:3e6795ab0a0abe553fa40d4665b2a4d63b3539c66d079bac6a6fd74cf3de3ad8
|
3 |
+
size 11697
|
logs/events.out.tfevents.1704284253.ecbe837ee653.25.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1196370d15312aa79980830dbdb77955ba409de30a0f553e97d2f44aa44868b0
|
3 |
+
size 560
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 503785804
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0494caa90cfd210ed2cbf48fd11eb4af2ee11db04e63924e4cf8be40f53b2fa8
|
3 |
size 503785804
|
preprocessor_config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"apply_ocr":
|
3 |
"do_normalize": true,
|
4 |
"do_rescale": true,
|
5 |
"do_resize": true,
|
|
|
1 |
{
|
2 |
+
"apply_ocr": true,
|
3 |
"do_normalize": true,
|
4 |
"do_rescale": true,
|
5 |
"do_resize": true,
|