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-funsd
|
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-funsd
|
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.8190
|
24 |
+
- Precision: 0.8973
|
25 |
+
- Recall: 0.9111
|
26 |
+
- F1: 0.9041
|
27 |
+
- Accuracy: 0.8473
|
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: 1e-05
|
47 |
+
- train_batch_size: 8
|
48 |
+
- eval_batch_size: 8
|
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 | 5.26 | 100 | 0.5958 | 0.8295 | 0.8723 | 0.8504 | 0.8178 |
|
60 |
+
| No log | 10.53 | 200 | 0.6181 | 0.8505 | 0.8932 | 0.8713 | 0.8241 |
|
61 |
+
| No log | 15.79 | 300 | 0.6992 | 0.8841 | 0.9021 | 0.8930 | 0.8470 |
|
62 |
+
| No log | 21.05 | 400 | 0.8182 | 0.8931 | 0.9006 | 0.8969 | 0.8328 |
|
63 |
+
| 0.3071 | 26.32 | 500 | 0.8190 | 0.8973 | 0.9111 | 0.9041 | 0.8473 |
|
64 |
+
| 0.3071 | 31.58 | 600 | 0.9001 | 0.8812 | 0.9061 | 0.8935 | 0.8326 |
|
65 |
+
| 0.3071 | 36.84 | 700 | 0.9112 | 0.8958 | 0.9101 | 0.9029 | 0.8435 |
|
66 |
+
| 0.3071 | 42.11 | 800 | 0.9196 | 0.8951 | 0.9026 | 0.8988 | 0.8408 |
|
67 |
+
| 0.3071 | 47.37 | 900 | 0.9256 | 0.8990 | 0.9061 | 0.9025 | 0.8454 |
|
68 |
+
| 0.0245 | 52.63 | 1000 | 0.9584 | 0.8962 | 0.9046 | 0.9004 | 0.8431 |
|
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.1704302211.da8a9f822ab1.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:779510c94787860bdac2715091868ce9a257a4c1022d19ebc7c9b918f12fa0e9
|
3 |
+
size 10349
|
logs/events.out.tfevents.1704304336.da8a9f822ab1.26.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a34db6df7ebbc9e6645e36108fdc398ee5d2678e73e6362f44bddc87b0430045
|
3 |
+
size 560
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 501355532
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:95a86d87fee87053b113220b5ed0bf4ac72dbfa11f5b57c4534236577b72f637
|
3 |
size 501355532
|
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,
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4283
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:84c0e64df283fb95e523331d6840ada9a235e21a7bc2c7f1c4b58da27b596a1c
|
3 |
size 4283
|