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-large
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- precision
|
8 |
+
- recall
|
9 |
+
- f1
|
10 |
+
- accuracy
|
11 |
+
model-index:
|
12 |
+
- name: layoutlmv3-large-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-large-cord
|
20 |
+
|
21 |
+
This model is a fine-tuned version of [microsoft/layoutlmv3-large](https://huggingface.co/microsoft/layoutlmv3-large) on an unknown dataset.
|
22 |
+
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 0.1616
|
24 |
+
- Precision: 0.9526
|
25 |
+
- Recall: 0.9482
|
26 |
+
- F1: 0.9504
|
27 |
+
- Accuracy: 0.9677
|
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: 2
|
48 |
+
- eval_batch_size: 2
|
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.25 | 100 | 0.5321 | 0.7584 | 0.7859 | 0.7719 | 0.8224 |
|
60 |
+
| No log | 0.5 | 200 | 0.4949 | 0.8091 | 0.8354 | 0.8221 | 0.8683 |
|
61 |
+
| No log | 0.75 | 300 | 0.3478 | 0.8668 | 0.8648 | 0.8658 | 0.8916 |
|
62 |
+
| No log | 1.0 | 400 | 0.5194 | 0.75 | 0.7117 | 0.7304 | 0.8513 |
|
63 |
+
| 0.6065 | 1.25 | 500 | 0.3052 | 0.9059 | 0.9003 | 0.9031 | 0.9341 |
|
64 |
+
| 0.6065 | 1.5 | 600 | 0.2427 | 0.9245 | 0.9173 | 0.9209 | 0.9443 |
|
65 |
+
| 0.6065 | 1.75 | 700 | 0.2372 | 0.9174 | 0.9181 | 0.9177 | 0.9477 |
|
66 |
+
| 0.6065 | 2.0 | 800 | 0.2044 | 0.9247 | 0.9212 | 0.9230 | 0.9494 |
|
67 |
+
| 0.6065 | 2.25 | 900 | 0.1847 | 0.9442 | 0.9413 | 0.9427 | 0.9613 |
|
68 |
+
| 0.1862 | 2.5 | 1000 | 0.1616 | 0.9526 | 0.9482 | 0.9504 | 0.9677 |
|
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.1704424546.8017abf2a21c.26.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:ea748ba1259521d5a5c9b3108dd7d72a0e8de902f50b17f47f29bd1df554147e
|
3 |
+
size 11723
|
logs/events.out.tfevents.1704426911.8017abf2a21c.26.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5b35f872885c929ddfad110e310955b3c7e5716fe46001fb25460ec0bf8dacc9
|
3 |
+
size 560
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 1428389828
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3e8b2da8db9de1148b6b35236c837398d9786c8650f6e84adda2893242df081e
|
3 |
size 1428389828
|
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,
|