wiorz commited on
Commit
1d45c6d
·
1 Parent(s): 57343a2

update model card README.md

Browse files
Files changed (1) hide show
  1. README.md +87 -0
README.md ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-sa-4.0
3
+ tags:
4
+ - generated_from_trainer
5
+ metrics:
6
+ - accuracy
7
+ - precision
8
+ - recall
9
+ - f1
10
+ model-index:
11
+ - name: legal_bert_small_defined_summarized
12
+ results: []
13
+ ---
14
+
15
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
16
+ should probably proofread and complete it, then remove this comment. -->
17
+
18
+ # legal_bert_small_defined_summarized
19
+
20
+ This model is a fine-tuned version of [nlpaueb/legal-bert-base-uncased](https://huggingface.co/nlpaueb/legal-bert-base-uncased) on the None dataset.
21
+ It achieves the following results on the evaluation set:
22
+ - Loss: 1.4178
23
+ - Accuracy: 0.87
24
+ - Precision: 0.6
25
+ - Recall: 0.2143
26
+ - F1: 0.3158
27
+ - D-index: 1.5771
28
+
29
+ ## Model description
30
+
31
+ More information needed
32
+
33
+ ## Intended uses & limitations
34
+
35
+ More information needed
36
+
37
+ ## Training and evaluation data
38
+
39
+ More information needed
40
+
41
+ ## Training procedure
42
+
43
+ ### Training hyperparameters
44
+
45
+ The following hyperparameters were used during training:
46
+ - learning_rate: 5e-05
47
+ - train_batch_size: 4
48
+ - eval_batch_size: 8
49
+ - seed: 42
50
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
51
+ - lr_scheduler_type: linear
52
+ - lr_scheduler_warmup_steps: 1600
53
+ - num_epochs: 20
54
+ - mixed_precision_training: Native AMP
55
+
56
+ ### Training results
57
+
58
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 | D-index |
59
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|:-------:|
60
+ | No log | 1.0 | 200 | 0.4008 | 0.86 | 0.0 | 0.0 | 0.0 | 1.4803 |
61
+ | No log | 2.0 | 400 | 0.3871 | 0.86 | 0.0 | 0.0 | 0.0 | 1.4803 |
62
+ | 0.5179 | 3.0 | 600 | 0.4293 | 0.87 | 0.625 | 0.1786 | 0.2778 | 1.5635 |
63
+ | 0.5179 | 4.0 | 800 | 0.6702 | 0.87 | 0.625 | 0.1786 | 0.2778 | 1.5635 |
64
+ | 0.3816 | 5.0 | 1000 | 0.7388 | 0.865 | 0.5455 | 0.2143 | 0.3077 | 1.5706 |
65
+ | 0.3816 | 6.0 | 1200 | 1.0422 | 0.86 | 0.5 | 0.1786 | 0.2632 | 1.5504 |
66
+ | 0.3816 | 7.0 | 1400 | 1.0804 | 0.875 | 0.7143 | 0.1786 | 0.2857 | 1.5700 |
67
+ | 0.0567 | 8.0 | 1600 | 1.1490 | 0.875 | 0.6364 | 0.25 | 0.3590 | 1.5970 |
68
+ | 0.0567 | 9.0 | 1800 | 1.3190 | 0.865 | 0.5556 | 0.1786 | 0.2703 | 1.5570 |
69
+ | 0.0125 | 10.0 | 2000 | 1.4220 | 0.835 | 0.3913 | 0.3214 | 0.3529 | 1.5718 |
70
+ | 0.0125 | 11.0 | 2200 | 1.3567 | 0.855 | 0.4706 | 0.2857 | 0.3556 | 1.5845 |
71
+ | 0.0125 | 12.0 | 2400 | 1.3349 | 0.875 | 0.7143 | 0.1786 | 0.2857 | 1.5700 |
72
+ | 0.0021 | 13.0 | 2600 | 1.3494 | 0.87 | 0.5714 | 0.2857 | 0.3810 | 1.6038 |
73
+ | 0.0021 | 14.0 | 2800 | 1.3747 | 0.87 | 0.6 | 0.2143 | 0.3158 | 1.5771 |
74
+ | 0.0 | 15.0 | 3000 | 1.3890 | 0.87 | 0.6 | 0.2143 | 0.3158 | 1.5771 |
75
+ | 0.0 | 16.0 | 3200 | 1.4069 | 0.875 | 0.6667 | 0.2143 | 0.3243 | 1.5835 |
76
+ | 0.0 | 17.0 | 3400 | 1.4185 | 0.875 | 0.6667 | 0.2143 | 0.3243 | 1.5835 |
77
+ | 0.0 | 18.0 | 3600 | 1.3945 | 0.865 | 0.5385 | 0.25 | 0.3415 | 1.5840 |
78
+ | 0.0 | 19.0 | 3800 | 1.3921 | 0.87 | 0.6 | 0.2143 | 0.3158 | 1.5771 |
79
+ | 0.0037 | 20.0 | 4000 | 1.4178 | 0.87 | 0.6 | 0.2143 | 0.3158 | 1.5771 |
80
+
81
+
82
+ ### Framework versions
83
+
84
+ - Transformers 4.28.0
85
+ - Pytorch 2.0.1+cu118
86
+ - Datasets 2.12.0
87
+ - Tokenizers 0.13.3