time-machine commited on
Commit
8d97255
·
1 Parent(s): be0afce

layoutlmv3-drc-id_trained

Browse files
Files changed (4) hide show
  1. README.md +15 -44
  2. config.json +6 -14
  3. pytorch_model.bin +2 -2
  4. training_args.bin +1 -1
README.md CHANGED
@@ -3,8 +3,6 @@ license: cc-by-nc-sa-4.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,29 +10,7 @@ metrics:
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.888781896966779
29
- - name: Recall
30
- type: recall
31
- value: 0.9170392449080974
32
- - name: F1
33
- type: f1
34
- value: 0.9026894865525672
35
- - name: Accuracy
36
- type: accuracy
37
- value: 0.8572447402828955
38
  ---
39
 
40
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
@@ -42,13 +18,13 @@ should probably proofread and complete it, then remove this comment. -->
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.6019
48
- - Precision: 0.8888
49
- - Recall: 0.9170
50
- - F1: 0.9027
51
- - Accuracy: 0.8572
52
 
53
  ## Model description
54
 
@@ -73,22 +49,17 @@ The following hyperparameters were used during training:
73
  - seed: 42
74
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
75
  - lr_scheduler_type: linear
76
- - training_steps: 1000
77
 
78
  ### Training results
79
 
80
- | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
81
- |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
82
- | No log | 1.33 | 100 | 0.6846 | 0.7562 | 0.7874 | 0.7715 | 0.7729 |
83
- | No log | 2.67 | 200 | 0.5002 | 0.8202 | 0.8818 | 0.8499 | 0.8433 |
84
- | No log | 4.0 | 300 | 0.4580 | 0.8373 | 0.8847 | 0.8604 | 0.8556 |
85
- | No log | 5.33 | 400 | 0.4812 | 0.8526 | 0.9106 | 0.8806 | 0.8416 |
86
- | 0.5581 | 6.67 | 500 | 0.4664 | 0.8768 | 0.9011 | 0.8888 | 0.8588 |
87
- | 0.5581 | 8.0 | 600 | 0.5033 | 0.8774 | 0.9136 | 0.8951 | 0.8607 |
88
- | 0.5581 | 9.33 | 700 | 0.5450 | 0.8757 | 0.9131 | 0.8940 | 0.8540 |
89
- | 0.5581 | 10.67 | 800 | 0.6086 | 0.8885 | 0.9106 | 0.8994 | 0.8590 |
90
- | 0.5581 | 12.0 | 900 | 0.5942 | 0.8885 | 0.9141 | 0.9011 | 0.8588 |
91
- | 0.1353 | 13.33 | 1000 | 0.6019 | 0.8888 | 0.9170 | 0.9027 | 0.8572 |
92
 
93
 
94
  ### Framework versions
 
3
  base_model: microsoft/layoutlmv3-base
4
  tags:
5
  - generated_from_trainer
 
 
6
  metrics:
7
  - precision
8
  - recall
 
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
 
19
  # test
20
 
21
+ This model is a fine-tuned version of [microsoft/layoutlmv3-base](https://huggingface.co/microsoft/layoutlmv3-base) on the None dataset.
22
  It achieves the following results on the evaluation set:
23
+ - Loss: 0.2614
24
+ - Precision: 0.0
25
+ - Recall: 0.0
26
+ - F1: 0.0
27
+ - Accuracy: 0.9778
28
 
29
  ## Model description
30
 
 
49
  - seed: 42
50
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
51
  - lr_scheduler_type: linear
52
+ - training_steps: 100
53
 
54
  ### Training results
55
 
56
+ | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
57
+ |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:---:|:--------:|
58
+ | No log | 10.0 | 20 | 0.2566 | 0.0 | 0.0 | 0.0 | 0.9778 |
59
+ | No log | 20.0 | 40 | 0.2557 | 0.0 | 0.0 | 0.0 | 0.9778 |
60
+ | No log | 30.0 | 60 | 0.2579 | 0.0 | 0.0 | 0.0 | 0.9778 |
61
+ | No log | 40.0 | 80 | 0.2610 | 0.0 | 0.0 | 0.0 | 0.9778 |
62
+ | No log | 50.0 | 100 | 0.2614 | 0.0 | 0.0 | 0.0 | 0.9778 |
 
 
 
 
 
63
 
64
 
65
  ### Framework versions
config.json CHANGED
@@ -14,25 +14,17 @@
14
  "hidden_dropout_prob": 0.1,
15
  "hidden_size": 768,
16
  "id2label": {
17
- "0": "O",
18
- "1": "B-HEADER",
19
- "2": "I-HEADER",
20
- "3": "B-QUESTION",
21
- "4": "I-QUESTION",
22
- "5": "B-ANSWER",
23
- "6": "I-ANSWER"
24
  },
25
  "initializer_range": 0.02,
26
  "input_size": 224,
27
  "intermediate_size": 3072,
28
  "label2id": {
29
- "B-ANSWER": 5,
30
- "B-HEADER": 1,
31
- "B-QUESTION": 3,
32
- "I-ANSWER": 6,
33
- "I-HEADER": 2,
34
- "I-QUESTION": 4,
35
- "O": 0
36
  },
37
  "layer_norm_eps": 1e-05,
38
  "max_2d_position_embeddings": 1024,
 
14
  "hidden_dropout_prob": 0.1,
15
  "hidden_size": 768,
16
  "id2label": {
17
+ "0": 0,
18
+ "1": 1,
19
+ "2": 2
 
 
 
 
20
  },
21
  "initializer_range": 0.02,
22
  "input_size": 224,
23
  "intermediate_size": 3072,
24
  "label2id": {
25
+ "0": 0,
26
+ "1": 1,
27
+ "2": 2
 
 
 
 
28
  },
29
  "layer_norm_eps": 1e-05,
30
  "max_2d_position_embeddings": 1024,
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8ff317bcbea5f11c81662d92f48c7b6a4356598159d8959904f4529656c3c5a8
3
- size 501403301
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:96bd05de1a3a14e26a522bd88f1202bf8ac022e5ccfaf251b93ea7c3140d5818
3
+ size 501391013
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:22a65992e4f884cd52a8d7245f7cab4785c368880347b3e28a27888b040fdfa9
3
  size 4027
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:feef112372ca4d21371e6b3927518f755e90bea374fb71dbb62ff706b4584fb8
3
  size 4027