End of training
Browse files
README.md
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
---
|
2 |
license: mit
|
|
|
3 |
tags:
|
4 |
- generated_from_trainer
|
5 |
-
base_model: law-ai/InLegalBERT
|
6 |
metrics:
|
7 |
- accuracy
|
8 |
- precision
|
@@ -19,21 +19,21 @@ should probably proofread and complete it, then remove this comment. -->
|
|
19 |
|
20 |
This model is a fine-tuned version of [law-ai/InLegalBERT](https://huggingface.co/law-ai/InLegalBERT) on an unknown dataset.
|
21 |
It achieves the following results on the evaluation set:
|
22 |
-
- Loss: 1.
|
23 |
-
- Accuracy: 0.
|
24 |
-
- Precision: 0.
|
25 |
-
- Recall: 0.
|
26 |
-
- Precision Macro: 0.
|
27 |
-
- Recall Macro: 0.
|
28 |
-
- Macro Fpr: 0.
|
29 |
-
- Weighted Fpr: 0.
|
30 |
-
- Weighted Specificity: 0.
|
31 |
-
- Macro Specificity: 0.
|
32 |
-
- Weighted Sensitivity: 0.
|
33 |
-
- Macro Sensitivity: 0.
|
34 |
-
- F1 Micro: 0.
|
35 |
-
- F1 Macro: 0.
|
36 |
-
- F1 Weighted: 0.
|
37 |
|
38 |
## Model description
|
39 |
|
@@ -58,22 +58,28 @@ The following hyperparameters were used during training:
|
|
58 |
- seed: 42
|
59 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
60 |
- lr_scheduler_type: linear
|
61 |
-
- num_epochs:
|
|
|
62 |
|
63 |
### Training results
|
64 |
|
65 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | Precision Macro | Recall Macro | Macro Fpr | Weighted Fpr | Weighted Specificity | Macro Specificity | Weighted Sensitivity | Macro Sensitivity | F1 Micro | F1 Macro | F1 Weighted |
|
66 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:---------------:|:------------:|:---------:|:------------:|:--------------------:|:-----------------:|:--------------------:|:-----------------:|:--------:|:--------:|:-----------:|
|
67 |
-
| 1.
|
68 |
-
|
|
69 |
-
| 0.
|
70 |
-
| 0.
|
71 |
-
| 0.
|
72 |
-
| 0.
|
73 |
-
| 0.
|
74 |
-
| 0.
|
75 |
-
| 0.
|
76 |
-
| 0.
|
|
|
|
|
|
|
|
|
|
|
77 |
|
78 |
|
79 |
### Framework versions
|
|
|
1 |
---
|
2 |
license: mit
|
3 |
+
base_model: law-ai/InLegalBERT
|
4 |
tags:
|
5 |
- generated_from_trainer
|
|
|
6 |
metrics:
|
7 |
- accuracy
|
8 |
- precision
|
|
|
19 |
|
20 |
This model is a fine-tuned version of [law-ai/InLegalBERT](https://huggingface.co/law-ai/InLegalBERT) on an unknown dataset.
|
21 |
It achieves the following results on the evaluation set:
|
22 |
+
- Loss: 1.5914
|
23 |
+
- Accuracy: 0.8296
|
24 |
+
- Precision: 0.8293
|
25 |
+
- Recall: 0.8296
|
26 |
+
- Precision Macro: 0.7959
|
27 |
+
- Recall Macro: 0.8029
|
28 |
+
- Macro Fpr: 0.0150
|
29 |
+
- Weighted Fpr: 0.0145
|
30 |
+
- Weighted Specificity: 0.9774
|
31 |
+
- Macro Specificity: 0.9871
|
32 |
+
- Weighted Sensitivity: 0.8296
|
33 |
+
- Macro Sensitivity: 0.8029
|
34 |
+
- F1 Micro: 0.8296
|
35 |
+
- F1 Macro: 0.7954
|
36 |
+
- F1 Weighted: 0.8283
|
37 |
|
38 |
## Model description
|
39 |
|
|
|
58 |
- seed: 42
|
59 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
60 |
- lr_scheduler_type: linear
|
61 |
+
- num_epochs: 15
|
62 |
+
- mixed_precision_training: Native AMP
|
63 |
|
64 |
### Training results
|
65 |
|
66 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | Precision Macro | Recall Macro | Macro Fpr | Weighted Fpr | Weighted Specificity | Macro Specificity | Weighted Sensitivity | Macro Sensitivity | F1 Micro | F1 Macro | F1 Weighted |
|
67 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:---------------:|:------------:|:---------:|:------------:|:--------------------:|:-----------------:|:--------------------:|:-----------------:|:--------:|:--------:|:-----------:|
|
68 |
+
| 1.065 | 1.0 | 643 | 0.6395 | 0.7994 | 0.7818 | 0.7994 | 0.6194 | 0.6308 | 0.0185 | 0.0176 | 0.9714 | 0.9847 | 0.7994 | 0.6308 | 0.7994 | 0.6029 | 0.7804 |
|
69 |
+
| 0.5866 | 2.0 | 1286 | 0.6907 | 0.8187 | 0.8199 | 0.8187 | 0.7285 | 0.7366 | 0.0161 | 0.0156 | 0.9765 | 0.9864 | 0.8187 | 0.7366 | 0.8187 | 0.7276 | 0.8152 |
|
70 |
+
| 0.4622 | 3.0 | 1929 | 0.8056 | 0.8180 | 0.8137 | 0.8180 | 0.7227 | 0.7376 | 0.0162 | 0.0156 | 0.9764 | 0.9863 | 0.8180 | 0.7376 | 0.8180 | 0.7283 | 0.8150 |
|
71 |
+
| 0.2398 | 4.0 | 2572 | 0.9310 | 0.8172 | 0.8235 | 0.8172 | 0.7661 | 0.7425 | 0.0161 | 0.0157 | 0.9762 | 0.9862 | 0.8172 | 0.7425 | 0.8172 | 0.7407 | 0.8161 |
|
72 |
+
| 0.1611 | 5.0 | 3215 | 1.0763 | 0.8304 | 0.8363 | 0.8304 | 0.8174 | 0.7918 | 0.0148 | 0.0144 | 0.9784 | 0.9873 | 0.8304 | 0.7918 | 0.8304 | 0.7986 | 0.8304 |
|
73 |
+
| 0.1055 | 6.0 | 3858 | 1.1377 | 0.8257 | 0.8275 | 0.8257 | 0.8039 | 0.7810 | 0.0154 | 0.0149 | 0.9775 | 0.9869 | 0.8257 | 0.7810 | 0.8257 | 0.7863 | 0.8246 |
|
74 |
+
| 0.0463 | 7.0 | 4501 | 1.3215 | 0.8071 | 0.8111 | 0.8071 | 0.7692 | 0.7689 | 0.0172 | 0.0168 | 0.9761 | 0.9856 | 0.8071 | 0.7689 | 0.8071 | 0.7661 | 0.8078 |
|
75 |
+
| 0.031 | 8.0 | 5144 | 1.3483 | 0.8203 | 0.8170 | 0.8203 | 0.7773 | 0.7727 | 0.0161 | 0.0154 | 0.9751 | 0.9864 | 0.8203 | 0.7727 | 0.8203 | 0.7690 | 0.8175 |
|
76 |
+
| 0.0202 | 9.0 | 5787 | 1.3730 | 0.8280 | 0.8263 | 0.8280 | 0.7818 | 0.7803 | 0.0152 | 0.0146 | 0.9779 | 0.9871 | 0.8280 | 0.7803 | 0.8280 | 0.7753 | 0.8256 |
|
77 |
+
| 0.0133 | 10.0 | 6430 | 1.5407 | 0.8164 | 0.8163 | 0.8164 | 0.7688 | 0.7779 | 0.0165 | 0.0158 | 0.9751 | 0.9861 | 0.8164 | 0.7779 | 0.8164 | 0.7655 | 0.8135 |
|
78 |
+
| 0.0051 | 11.0 | 7073 | 1.5235 | 0.8226 | 0.8265 | 0.8226 | 0.7900 | 0.7680 | 0.0156 | 0.0152 | 0.9769 | 0.9866 | 0.8226 | 0.7680 | 0.8226 | 0.7744 | 0.8234 |
|
79 |
+
| 0.0027 | 12.0 | 7716 | 1.5643 | 0.8265 | 0.8259 | 0.8265 | 0.7805 | 0.7841 | 0.0154 | 0.0148 | 0.9772 | 0.9869 | 0.8265 | 0.7841 | 0.8265 | 0.7775 | 0.8245 |
|
80 |
+
| 0.002 | 13.0 | 8359 | 1.5516 | 0.8280 | 0.8273 | 0.8280 | 0.7882 | 0.7902 | 0.0152 | 0.0146 | 0.9779 | 0.9871 | 0.8280 | 0.7902 | 0.8280 | 0.7860 | 0.8262 |
|
81 |
+
| 0.0015 | 14.0 | 9002 | 1.5835 | 0.8273 | 0.8268 | 0.8273 | 0.7943 | 0.8022 | 0.0153 | 0.0147 | 0.9773 | 0.9870 | 0.8273 | 0.8022 | 0.8273 | 0.7943 | 0.8259 |
|
82 |
+
| 0.0007 | 15.0 | 9645 | 1.5914 | 0.8296 | 0.8293 | 0.8296 | 0.7959 | 0.8029 | 0.0150 | 0.0145 | 0.9774 | 0.9871 | 0.8296 | 0.8029 | 0.8296 | 0.7954 | 0.8283 |
|
83 |
|
84 |
|
85 |
### Framework versions
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 437998636
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:64b15401fe33efa92d6e384fb8d182acdb897146fb4f943c19e62bed5666f3e1
|
3 |
size 437998636
|
runs/Apr14_02-25-35_3e1d3a604afe/events.out.tfevents.1713061536.3e1d3a604afe.34.2
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:4fd8a47d263397312412f838255d49211b253acb9b5d34e23d29c8f3a7311263
|
3 |
+
size 25629
|