chethan999 commited on
Commit
5e97822
·
1 Parent(s): c0081db

chethan999/legal-bert-v1

Browse files
README.md ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: bert-large-uncased
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ - precision
9
+ - recall
10
+ - f1
11
+ model-index:
12
+ - name: output
13
+ results: []
14
+ ---
15
+
16
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
17
+ should probably proofread and complete it, then remove this comment. -->
18
+
19
+ # output
20
+
21
+ This model is a fine-tuned version of [bert-large-uncased](https://huggingface.co/bert-large-uncased) on an unknown dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.8310
24
+ - Accuracy: 0.7919
25
+ - Precision: 0.8030
26
+ - Recall: 0.7919
27
+ - F1: 0.7889
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: 8
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
+ - num_epochs: 12
53
+
54
+ ### Training results
55
+
56
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
57
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
58
+ | No log | 1.0 | 495 | 1.0327 | 0.7253 | 0.7362 | 0.7253 | 0.7090 |
59
+ | 1.68 | 2.0 | 990 | 0.8310 | 0.7919 | 0.8030 | 0.7919 | 0.7889 |
60
+ | 0.8242 | 3.0 | 1485 | 0.8599 | 0.8091 | 0.8106 | 0.8091 | 0.8013 |
61
+ | 0.6748 | 4.0 | 1980 | 0.8628 | 0.8263 | 0.8125 | 0.8263 | 0.8158 |
62
+ | 0.4822 | 5.0 | 2475 | 1.0139 | 0.8162 | 0.8065 | 0.8162 | 0.8070 |
63
+ | 0.3781 | 6.0 | 2970 | 1.0535 | 0.8081 | 0.8013 | 0.8081 | 0.8011 |
64
+ | 0.3832 | 7.0 | 3465 | 1.1459 | 0.8081 | 0.8039 | 0.8081 | 0.8034 |
65
+ | 0.3101 | 8.0 | 3960 | 1.3831 | 0.7788 | 0.8079 | 0.7788 | 0.7847 |
66
+ | 0.2665 | 9.0 | 4455 | 1.2051 | 0.8222 | 0.8263 | 0.8222 | 0.8197 |
67
+ | 0.2286 | 10.0 | 4950 | 1.4487 | 0.7980 | 0.8064 | 0.7980 | 0.7962 |
68
+ | 0.2163 | 11.0 | 5445 | 1.4848 | 0.8121 | 0.8240 | 0.8121 | 0.8123 |
69
+ | 0.1965 | 12.0 | 5940 | 1.4572 | 0.7919 | 0.8051 | 0.7919 | 0.7919 |
70
+
71
+
72
+ ### Framework versions
73
+
74
+ - Transformers 4.35.2
75
+ - Pytorch 2.1.0+cu118
76
+ - Tokenizers 0.15.0
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4c4505d693895443f082b17a8ca677742485d4f1c4f25f0c4839c7a5541efa49
3
  size 1340721168
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:440605bd967b75f96e189bcb6916cb79db4ca96744f8b5eadeb2ff1b6cceb8f9
3
  size 1340721168
runs/Dec13_08-00-35_bf4dc1ee57d5/events.out.tfevents.1702454435.bf4dc1ee57d5.5243.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:419b4ac2de65a6655b6c3dc5cd9a9093d390f82be3c66e6090220e4ad295cdf6
3
- size 12658
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:61c5433776edbe07de8de600da274b5ef8b25c4271d4f82a9e04dda6e977ec5b
3
+ size 13012
runs/Dec13_08-00-35_bf4dc1ee57d5/events.out.tfevents.1702462783.bf4dc1ee57d5.5243.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9874ff28f8e799f5a030782246c2299d1b1038bb25c87e4bf2f7ae2bd803be78
3
+ size 560