vcliang commited on
Commit
ab21afa
1 Parent(s): 733abb4

End of training

Browse files
README.md CHANGED
@@ -3,6 +3,8 @@ 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
@@ -10,7 +12,29 @@ metrics:
10
  - accuracy
11
  model-index:
12
  - name: test
13
- results: []
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  ---
15
 
16
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
@@ -18,13 +42,13 @@ should probably proofread and complete it, then remove this comment. -->
18
 
19
  # test
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.6850
24
- - Precision: 0.8936
25
- - Recall: 0.9136
26
- - F1: 0.9035
27
- - Accuracy: 0.8445
28
 
29
  ## Model description
30
 
@@ -55,21 +79,21 @@ The following hyperparameters were used during training:
55
 
56
  | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
57
  |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
58
- | No log | 1.33 | 100 | 0.6682 | 0.7574 | 0.8311 | 0.7925 | 0.7658 |
59
- | No log | 2.67 | 200 | 0.4970 | 0.8289 | 0.8833 | 0.8552 | 0.8339 |
60
- | No log | 4.0 | 300 | 0.5550 | 0.8398 | 0.8882 | 0.8634 | 0.8128 |
61
- | No log | 5.33 | 400 | 0.5001 | 0.8800 | 0.9106 | 0.8950 | 0.8500 |
62
- | 0.5341 | 6.67 | 500 | 0.5645 | 0.8947 | 0.9036 | 0.8992 | 0.8456 |
63
- | 0.5341 | 8.0 | 600 | 0.5797 | 0.8847 | 0.9190 | 0.9016 | 0.8537 |
64
- | 0.5341 | 9.33 | 700 | 0.6635 | 0.8816 | 0.9101 | 0.8956 | 0.8421 |
65
- | 0.5341 | 10.67 | 800 | 0.6857 | 0.8939 | 0.9126 | 0.9031 | 0.8452 |
66
- | 0.5341 | 12.0 | 900 | 0.6777 | 0.8941 | 0.9146 | 0.9042 | 0.8438 |
67
- | 0.1335 | 13.33 | 1000 | 0.6850 | 0.8936 | 0.9136 | 0.9035 | 0.8445 |
68
 
69
 
70
  ### Framework versions
71
 
72
- - Transformers 4.37.0.dev0
73
- - Pytorch 2.1.0+cu121
74
- - Datasets 2.16.0
75
- - Tokenizers 0.15.0
 
3
  base_model: microsoft/layoutlmv3-base
4
  tags:
5
  - generated_from_trainer
6
+ datasets:
7
+ - funsd-layoutlmv3
8
  metrics:
9
  - precision
10
  - recall
 
12
  - accuracy
13
  model-index:
14
  - name: test
15
+ results:
16
+ - task:
17
+ name: Token Classification
18
+ type: token-classification
19
+ dataset:
20
+ name: funsd-layoutlmv3
21
+ type: funsd-layoutlmv3
22
+ config: funsd
23
+ split: test
24
+ args: funsd
25
+ metrics:
26
+ - name: Precision
27
+ type: precision
28
+ value: 0.8889970788704966
29
+ - name: Recall
30
+ type: recall
31
+ value: 0.907103825136612
32
+ - name: F1
33
+ type: f1
34
+ value: 0.8979591836734693
35
+ - name: Accuracy
36
+ type: accuracy
37
+ value: 0.8665161060263877
38
  ---
39
 
40
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
42
 
43
  # test
44
 
45
+ This model is a fine-tuned version of [microsoft/layoutlmv3-base](https://huggingface.co/microsoft/layoutlmv3-base) on the funsd-layoutlmv3 dataset.
46
  It achieves the following results on the evaluation set:
47
+ - Loss: 0.5474
48
+ - Precision: 0.8890
49
+ - Recall: 0.9071
50
+ - F1: 0.8980
51
+ - Accuracy: 0.8665
52
 
53
  ## Model description
54
 
 
79
 
80
  | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
81
  |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
82
+ | No log | 1.33 | 100 | 0.5976 | 0.7412 | 0.8296 | 0.7829 | 0.8001 |
83
+ | No log | 2.67 | 200 | 0.5019 | 0.8259 | 0.8698 | 0.8473 | 0.8269 |
84
+ | No log | 4.0 | 300 | 0.4829 | 0.8701 | 0.8982 | 0.8839 | 0.8540 |
85
+ | No log | 5.33 | 400 | 0.4490 | 0.8829 | 0.9141 | 0.8982 | 0.8725 |
86
+ | 0.5303 | 6.67 | 500 | 0.5120 | 0.8721 | 0.9046 | 0.8881 | 0.8574 |
87
+ | 0.5303 | 8.0 | 600 | 0.5212 | 0.8802 | 0.9011 | 0.8905 | 0.8644 |
88
+ | 0.5303 | 9.33 | 700 | 0.5447 | 0.8918 | 0.9086 | 0.9001 | 0.8559 |
89
+ | 0.5303 | 10.67 | 800 | 0.5304 | 0.8875 | 0.9056 | 0.8965 | 0.8713 |
90
+ | 0.5303 | 12.0 | 900 | 0.5496 | 0.8878 | 0.9081 | 0.8978 | 0.8630 |
91
+ | 0.1291 | 13.33 | 1000 | 0.5474 | 0.8890 | 0.9071 | 0.8980 | 0.8665 |
92
 
93
 
94
  ### Framework versions
95
 
96
+ - Transformers 4.39.0.dev0
97
+ - Pytorch 2.2.1+cu121
98
+ - Datasets 2.18.0
99
+ - Tokenizers 0.15.2
config.json CHANGED
@@ -51,7 +51,7 @@
51
  "shape_size": 128,
52
  "text_embed": true,
53
  "torch_dtype": "float32",
54
- "transformers_version": "4.37.0.dev0",
55
  "type_vocab_size": 1,
56
  "visual_embed": true,
57
  "vocab_size": 50265
 
51
  "shape_size": 128,
52
  "text_embed": true,
53
  "torch_dtype": "float32",
54
+ "transformers_version": "4.39.0.dev0",
55
  "type_vocab_size": 1,
56
  "visual_embed": true,
57
  "vocab_size": 50265
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f9d561df6b005ed251f4b2b5fd416dbf2d433069ed673051ddf555b0c2e531ac
3
  size 501355532
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7e813933d2a9f3cea9df985ed021fa23d9c8577bdb5a07fad9d78cb98ce27045
3
  size 501355532
preprocessor_config.json CHANGED
@@ -1,4 +1,21 @@
1
  {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  "apply_ocr": true,
3
  "do_normalize": true,
4
  "do_rescale": true,
 
1
  {
2
+ "_valid_processor_keys": [
3
+ "images",
4
+ "do_resize",
5
+ "size",
6
+ "resample",
7
+ "do_rescale",
8
+ "rescale_factor",
9
+ "do_normalize",
10
+ "image_mean",
11
+ "image_std",
12
+ "apply_ocr",
13
+ "ocr_lang",
14
+ "tesseract_config",
15
+ "return_tensors",
16
+ "data_format",
17
+ "input_data_format"
18
+ ],
19
  "apply_ocr": true,
20
  "do_normalize": true,
21
  "do_rescale": true,
runs/Mar16_20-30-01_7d270137fb59/events.out.tfevents.1710621010.7d270137fb59.7070.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:18dd1d1b46f0084dbc2d78a5702055dece9f1413a1f363dbea96947db360654d
3
+ size 10656
runs/Mar16_20-30-01_7d270137fb59/events.out.tfevents.1710621641.7d270137fb59.7070.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8eb86302484398fe0a479a8d3a43c230468663342ac0869e59029ca1eebc7b31
3
+ size 560
tokenizer.json CHANGED
@@ -1,21 +1,7 @@
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,
 
1
  {
2
  "version": "1.0",
3
+ "truncation": null,
4
+ "padding": null,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  "added_tokens": [
6
  {
7
  "id": 0,
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:365d0f01892cedb6df1ebf8cbeaf826b2f10e687bc8acb6ef991bdba3e19747e
3
- size 4664
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c5656da96959e174ea5ada90298c867c34460f76ea90312ea7e8b66439c7ad71
3
+ size 4856