End of training
Browse files- README.md +29 -8
- config.json +4 -2
- model.safetensors +2 -2
- tokenizer.json +16 -2
README.md
CHANGED
|
@@ -4,6 +4,9 @@ license: cc-by-nc-sa-4.0
|
|
| 4 |
base_model: microsoft/layoutlmv3-base
|
| 5 |
tags:
|
| 6 |
- generated_from_trainer
|
|
|
|
|
|
|
|
|
|
| 7 |
model-index:
|
| 8 |
- name: layoutlmv3_document_classification
|
| 9 |
results: []
|
|
@@ -16,14 +19,9 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 16 |
|
| 17 |
This model is a fine-tuned version of [microsoft/layoutlmv3-base](https://huggingface.co/microsoft/layoutlmv3-base) on the None dataset.
|
| 18 |
It achieves the following results on the evaluation set:
|
| 19 |
-
-
|
| 20 |
-
-
|
| 21 |
-
-
|
| 22 |
-
- eval_runtime: 33.1715
|
| 23 |
-
- eval_samples_per_second: 21.947
|
| 24 |
-
- eval_steps_per_second: 1.387
|
| 25 |
-
- epoch: 3.8462
|
| 26 |
-
- step: 700
|
| 27 |
|
| 28 |
## Model description
|
| 29 |
|
|
@@ -51,6 +49,29 @@ The following hyperparameters were used during training:
|
|
| 51 |
- lr_scheduler_warmup_steps: 500
|
| 52 |
- num_epochs: 10
|
| 53 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 54 |
### Framework versions
|
| 55 |
|
| 56 |
- Transformers 4.47.1
|
|
|
|
| 4 |
base_model: microsoft/layoutlmv3-base
|
| 5 |
tags:
|
| 6 |
- generated_from_trainer
|
| 7 |
+
metrics:
|
| 8 |
+
- accuracy
|
| 9 |
+
- f1
|
| 10 |
model-index:
|
| 11 |
- name: layoutlmv3_document_classification
|
| 12 |
results: []
|
|
|
|
| 19 |
|
| 20 |
This model is a fine-tuned version of [microsoft/layoutlmv3-base](https://huggingface.co/microsoft/layoutlmv3-base) on the None dataset.
|
| 21 |
It achieves the following results on the evaluation set:
|
| 22 |
+
- Loss: 1.0329
|
| 23 |
+
- Accuracy: 0.8070
|
| 24 |
+
- F1: 0.7806
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
|
| 26 |
## Model description
|
| 27 |
|
|
|
|
| 49 |
- lr_scheduler_warmup_steps: 500
|
| 50 |
- num_epochs: 10
|
| 51 |
|
| 52 |
+
### Training results
|
| 53 |
+
|
| 54 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|
| 55 |
+
|:-------------:|:------:|:----:|:---------------:|:--------:|:------:|
|
| 56 |
+
| 0.9913 | 0.5587 | 100 | 1.2412 | 0.7790 | 0.7459 |
|
| 57 |
+
| 0.9127 | 1.1173 | 200 | 1.2323 | 0.7804 | 0.7466 |
|
| 58 |
+
| 0.9307 | 1.6760 | 300 | 1.2167 | 0.7874 | 0.7550 |
|
| 59 |
+
| 0.8986 | 2.2346 | 400 | 1.2004 | 0.7888 | 0.7585 |
|
| 60 |
+
| 0.8744 | 2.7933 | 500 | 1.1751 | 0.7860 | 0.7572 |
|
| 61 |
+
| 0.7765 | 3.3520 | 600 | 1.1382 | 0.7874 | 0.7584 |
|
| 62 |
+
| 0.7695 | 3.9106 | 700 | 1.1275 | 0.7930 | 0.7642 |
|
| 63 |
+
| 0.7158 | 4.4693 | 800 | 1.0994 | 0.8056 | 0.7788 |
|
| 64 |
+
| 0.7015 | 5.0279 | 900 | 1.0844 | 0.7902 | 0.7619 |
|
| 65 |
+
| 0.6286 | 5.5866 | 1000 | 1.0828 | 0.8014 | 0.7728 |
|
| 66 |
+
| 0.693 | 6.1453 | 1100 | 1.0715 | 0.8042 | 0.7768 |
|
| 67 |
+
| 0.6291 | 6.7039 | 1200 | 1.0549 | 0.8070 | 0.7822 |
|
| 68 |
+
| 0.6422 | 7.2626 | 1300 | 1.0502 | 0.8168 | 0.7924 |
|
| 69 |
+
| 0.609 | 7.8212 | 1400 | 1.0368 | 0.8084 | 0.7828 |
|
| 70 |
+
| 0.6022 | 8.3799 | 1500 | 1.0407 | 0.8098 | 0.7824 |
|
| 71 |
+
| 0.5783 | 8.9385 | 1600 | 1.0343 | 0.8112 | 0.7843 |
|
| 72 |
+
| 0.5635 | 9.4972 | 1700 | 1.0329 | 0.8070 | 0.7806 |
|
| 73 |
+
|
| 74 |
+
|
| 75 |
### Framework versions
|
| 76 |
|
| 77 |
- Transformers 4.47.1
|
config.json
CHANGED
|
@@ -104,7 +104,8 @@
|
|
| 104 |
"87": "LABEL_87",
|
| 105 |
"88": "LABEL_88",
|
| 106 |
"89": "LABEL_89",
|
| 107 |
-
"90": "LABEL_90"
|
|
|
|
| 108 |
},
|
| 109 |
"initializer_range": 0.02,
|
| 110 |
"input_size": 224,
|
|
@@ -200,7 +201,8 @@
|
|
| 200 |
"LABEL_88": 88,
|
| 201 |
"LABEL_89": 89,
|
| 202 |
"LABEL_9": 9,
|
| 203 |
-
"LABEL_90": 90
|
|
|
|
| 204 |
},
|
| 205 |
"layer_norm_eps": 1e-05,
|
| 206 |
"max_2d_position_embeddings": 1024,
|
|
|
|
| 104 |
"87": "LABEL_87",
|
| 105 |
"88": "LABEL_88",
|
| 106 |
"89": "LABEL_89",
|
| 107 |
+
"90": "LABEL_90",
|
| 108 |
+
"91": "LABEL_91"
|
| 109 |
},
|
| 110 |
"initializer_range": 0.02,
|
| 111 |
"input_size": 224,
|
|
|
|
| 201 |
"LABEL_88": 88,
|
| 202 |
"LABEL_89": 89,
|
| 203 |
"LABEL_9": 9,
|
| 204 |
+
"LABEL_90": 90,
|
| 205 |
+
"LABEL_91": 91
|
| 206 |
},
|
| 207 |
"layer_norm_eps": 1e-05,
|
| 208 |
"max_2d_position_embeddings": 1024,
|
model.safetensors
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:6ad5e351cedc9dd3dcb6bcf882e74f5ac26aa198c41077a0b3f1612c16c91652
|
| 3 |
+
size 503979592
|
tokenizer.json
CHANGED
|
@@ -1,7 +1,21 @@
|
|
| 1 |
{
|
| 2 |
"version": "1.0",
|
| 3 |
-
"truncation":
|
| 4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
"added_tokens": [
|
| 6 |
{
|
| 7 |
"id": 0,
|
|
|
|
| 1 |
{
|
| 2 |
"version": "1.0",
|
| 3 |
+
"truncation": {
|
| 4 |
+
"direction": "Right",
|
| 5 |
+
"max_length": 512,
|
| 6 |
+
"strategy": "LongestFirst",
|
| 7 |
+
"stride": 0
|
| 8 |
+
},
|
| 9 |
+
"padding": {
|
| 10 |
+
"strategy": {
|
| 11 |
+
"Fixed": 512
|
| 12 |
+
},
|
| 13 |
+
"direction": "Right",
|
| 14 |
+
"pad_to_multiple_of": null,
|
| 15 |
+
"pad_id": 1,
|
| 16 |
+
"pad_type_id": 0,
|
| 17 |
+
"pad_token": "<pad>"
|
| 18 |
+
},
|
| 19 |
"added_tokens": [
|
| 20 |
{
|
| 21 |
"id": 0,
|