billa1972 commited on
Commit
7db995a
1 Parent(s): 38e1192

End of training

Browse files
Files changed (5) hide show
  1. README.md +5 -5
  2. all_results.json +18 -0
  3. eval_results.json +12 -0
  4. train_results.json +9 -0
  5. trainer_state.json +176 -0
README.md CHANGED
@@ -4,7 +4,7 @@ base_model: microsoft/layoutlmv3-base
4
  tags:
5
  - generated_from_trainer
6
  datasets:
7
- - violations_dataset
8
  metrics:
9
  - precision
10
  - recall
@@ -17,8 +17,8 @@ model-index:
17
  name: Token Classification
18
  type: token-classification
19
  dataset:
20
- name: violations_dataset
21
- type: violations_dataset
22
  config: ViolationsExtraction
23
  split: test
24
  args: ViolationsExtraction
@@ -42,9 +42,9 @@ should probably proofread and complete it, then remove this comment. -->
42
 
43
  # layoutlmv3-violations-test
44
 
45
- This model is a fine-tuned version of [microsoft/layoutlmv3-base](https://huggingface.co/microsoft/layoutlmv3-base) on the violations_dataset dataset.
46
  It achieves the following results on the evaluation set:
47
- - Loss: 0.3979
48
  - Precision: 0.9483
49
  - Recall: 0.9116
50
  - F1: 0.9296
 
4
  tags:
5
  - generated_from_trainer
6
  datasets:
7
+ - violations
8
  metrics:
9
  - precision
10
  - recall
 
17
  name: Token Classification
18
  type: token-classification
19
  dataset:
20
+ name: violations
21
+ type: violations
22
  config: ViolationsExtraction
23
  split: test
24
  args: ViolationsExtraction
 
42
 
43
  # layoutlmv3-violations-test
44
 
45
+ This model is a fine-tuned version of [microsoft/layoutlmv3-base](https://huggingface.co/microsoft/layoutlmv3-base) on the violations dataset.
46
  It achieves the following results on the evaluation set:
47
+ - Loss: 0.3685
48
  - Precision: 0.9483
49
  - Recall: 0.9116
50
  - F1: 0.9296
all_results.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 90.9090909090909,
3
+ "eval_accuracy": 0.9502762430939227,
4
+ "eval_f1": 0.9295774647887324,
5
+ "eval_loss": 0.36847400665283203,
6
+ "eval_precision": 0.9482758620689655,
7
+ "eval_recall": 0.9116022099447514,
8
+ "eval_runtime": 1.5455,
9
+ "eval_samples": 22,
10
+ "eval_samples_per_second": 14.235,
11
+ "eval_steps_per_second": 1.941,
12
+ "total_flos": 2061430731509760.0,
13
+ "train_loss": 0.05030770355463028,
14
+ "train_runtime": 605.6405,
15
+ "train_samples": 86,
16
+ "train_samples_per_second": 13.209,
17
+ "train_steps_per_second": 1.651
18
+ }
eval_results.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 90.9090909090909,
3
+ "eval_accuracy": 0.9502762430939227,
4
+ "eval_f1": 0.9295774647887324,
5
+ "eval_loss": 0.36847400665283203,
6
+ "eval_precision": 0.9482758620689655,
7
+ "eval_recall": 0.9116022099447514,
8
+ "eval_runtime": 1.5455,
9
+ "eval_samples": 22,
10
+ "eval_samples_per_second": 14.235,
11
+ "eval_steps_per_second": 1.941
12
+ }
train_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 90.9090909090909,
3
+ "total_flos": 2061430731509760.0,
4
+ "train_loss": 0.05030770355463028,
5
+ "train_runtime": 605.6405,
6
+ "train_samples": 86,
7
+ "train_samples_per_second": 13.209,
8
+ "train_steps_per_second": 1.651
9
+ }
trainer_state.json ADDED
@@ -0,0 +1,176 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.9295774647887324,
3
+ "best_model_checkpoint": "test\\checkpoint-500",
4
+ "epoch": 90.9090909090909,
5
+ "eval_steps": 100,
6
+ "global_step": 1000,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 9.090909090909092,
13
+ "eval_accuracy": 0.9558011049723757,
14
+ "eval_f1": 0.9382022471910112,
15
+ "eval_loss": 0.29965895414352417,
16
+ "eval_precision": 0.9542857142857143,
17
+ "eval_recall": 0.9226519337016574,
18
+ "eval_runtime": 1.1706,
19
+ "eval_samples_per_second": 18.793,
20
+ "eval_steps_per_second": 2.563,
21
+ "step": 100
22
+ },
23
+ {
24
+ "epoch": 18.181818181818183,
25
+ "eval_accuracy": 0.9447513812154696,
26
+ "eval_f1": 0.923943661971831,
27
+ "eval_loss": 0.372881144285202,
28
+ "eval_precision": 0.9425287356321839,
29
+ "eval_recall": 0.9060773480662984,
30
+ "eval_runtime": 1.142,
31
+ "eval_samples_per_second": 19.265,
32
+ "eval_steps_per_second": 2.627,
33
+ "step": 200
34
+ },
35
+ {
36
+ "epoch": 27.272727272727273,
37
+ "eval_accuracy": 0.9558011049723757,
38
+ "eval_f1": 0.9382022471910112,
39
+ "eval_loss": 0.34077441692352295,
40
+ "eval_precision": 0.9542857142857143,
41
+ "eval_recall": 0.9226519337016574,
42
+ "eval_runtime": 1.1531,
43
+ "eval_samples_per_second": 19.078,
44
+ "eval_steps_per_second": 2.602,
45
+ "step": 300
46
+ },
47
+ {
48
+ "epoch": 36.36363636363637,
49
+ "eval_accuracy": 0.9502762430939227,
50
+ "eval_f1": 0.9295774647887324,
51
+ "eval_loss": 0.3566364049911499,
52
+ "eval_precision": 0.9482758620689655,
53
+ "eval_recall": 0.9116022099447514,
54
+ "eval_runtime": 1.1486,
55
+ "eval_samples_per_second": 19.153,
56
+ "eval_steps_per_second": 2.612,
57
+ "step": 400
58
+ },
59
+ {
60
+ "epoch": 45.45454545454545,
61
+ "grad_norm": 0.019077150151133537,
62
+ "learning_rate": 5e-06,
63
+ "loss": 0.0997,
64
+ "step": 500
65
+ },
66
+ {
67
+ "epoch": 45.45454545454545,
68
+ "eval_accuracy": 0.9502762430939227,
69
+ "eval_f1": 0.9295774647887324,
70
+ "eval_loss": 0.36847400665283203,
71
+ "eval_precision": 0.9482758620689655,
72
+ "eval_recall": 0.9116022099447514,
73
+ "eval_runtime": 1.1347,
74
+ "eval_samples_per_second": 19.388,
75
+ "eval_steps_per_second": 2.644,
76
+ "step": 500
77
+ },
78
+ {
79
+ "epoch": 54.54545454545455,
80
+ "eval_accuracy": 0.9502762430939227,
81
+ "eval_f1": 0.9295774647887324,
82
+ "eval_loss": 0.373576819896698,
83
+ "eval_precision": 0.9482758620689655,
84
+ "eval_recall": 0.9116022099447514,
85
+ "eval_runtime": 1.1846,
86
+ "eval_samples_per_second": 18.571,
87
+ "eval_steps_per_second": 2.532,
88
+ "step": 600
89
+ },
90
+ {
91
+ "epoch": 63.63636363636363,
92
+ "eval_accuracy": 0.9502762430939227,
93
+ "eval_f1": 0.9295774647887324,
94
+ "eval_loss": 0.3865794837474823,
95
+ "eval_precision": 0.9482758620689655,
96
+ "eval_recall": 0.9116022099447514,
97
+ "eval_runtime": 1.1816,
98
+ "eval_samples_per_second": 18.619,
99
+ "eval_steps_per_second": 2.539,
100
+ "step": 700
101
+ },
102
+ {
103
+ "epoch": 72.72727272727273,
104
+ "eval_accuracy": 0.9502762430939227,
105
+ "eval_f1": 0.9295774647887324,
106
+ "eval_loss": 0.398957759141922,
107
+ "eval_precision": 0.9482758620689655,
108
+ "eval_recall": 0.9116022099447514,
109
+ "eval_runtime": 1.1845,
110
+ "eval_samples_per_second": 18.574,
111
+ "eval_steps_per_second": 2.533,
112
+ "step": 800
113
+ },
114
+ {
115
+ "epoch": 81.81818181818181,
116
+ "eval_accuracy": 0.9502762430939227,
117
+ "eval_f1": 0.9295774647887324,
118
+ "eval_loss": 0.401752769947052,
119
+ "eval_precision": 0.9482758620689655,
120
+ "eval_recall": 0.9116022099447514,
121
+ "eval_runtime": 1.1859,
122
+ "eval_samples_per_second": 18.551,
123
+ "eval_steps_per_second": 2.53,
124
+ "step": 900
125
+ },
126
+ {
127
+ "epoch": 90.9090909090909,
128
+ "grad_norm": 0.01136627048254013,
129
+ "learning_rate": 0.0,
130
+ "loss": 0.001,
131
+ "step": 1000
132
+ },
133
+ {
134
+ "epoch": 90.9090909090909,
135
+ "eval_accuracy": 0.9502762430939227,
136
+ "eval_f1": 0.9295774647887324,
137
+ "eval_loss": 0.39788535237312317,
138
+ "eval_precision": 0.9482758620689655,
139
+ "eval_recall": 0.9116022099447514,
140
+ "eval_runtime": 1.1728,
141
+ "eval_samples_per_second": 18.759,
142
+ "eval_steps_per_second": 2.558,
143
+ "step": 1000
144
+ },
145
+ {
146
+ "epoch": 90.9090909090909,
147
+ "step": 1000,
148
+ "total_flos": 2061430731509760.0,
149
+ "train_loss": 0.05030770355463028,
150
+ "train_runtime": 605.6405,
151
+ "train_samples_per_second": 13.209,
152
+ "train_steps_per_second": 1.651
153
+ }
154
+ ],
155
+ "logging_steps": 500,
156
+ "max_steps": 1000,
157
+ "num_input_tokens_seen": 0,
158
+ "num_train_epochs": 91,
159
+ "save_steps": 500,
160
+ "stateful_callbacks": {
161
+ "TrainerControl": {
162
+ "args": {
163
+ "should_epoch_stop": false,
164
+ "should_evaluate": false,
165
+ "should_log": false,
166
+ "should_save": true,
167
+ "should_training_stop": true
168
+ },
169
+ "attributes": {}
170
+ }
171
+ },
172
+ "total_flos": 2061430731509760.0,
173
+ "train_batch_size": 8,
174
+ "trial_name": null,
175
+ "trial_params": null
176
+ }