easwar03 commited on
Commit
b851629
·
verified ·
1 Parent(s): 6729d3b

End of training

Browse files
README.md ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: cc-by-sa-4.0
4
+ base_model: nlpaueb/legal-bert-base-uncased
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ - f1
10
+ model-index:
11
+ - name: legal-bert-sentiment
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-sentiment
19
+
20
+ This model is a fine-tuned version of [nlpaueb/legal-bert-base-uncased](https://huggingface.co/nlpaueb/legal-bert-base-uncased) on an unknown dataset.
21
+ It achieves the following results on the evaluation set:
22
+ - Loss: 0.7913
23
+ - Accuracy: 0.886
24
+ - F1: 0.8885
25
+
26
+ ## Model description
27
+
28
+ More information needed
29
+
30
+ ## Intended uses & limitations
31
+
32
+ More information needed
33
+
34
+ ## Training and evaluation data
35
+
36
+ More information needed
37
+
38
+ ## Training procedure
39
+
40
+ ### Training hyperparameters
41
+
42
+ The following hyperparameters were used during training:
43
+ - learning_rate: 2e-05
44
+ - train_batch_size: 32
45
+ - eval_batch_size: 32
46
+ - seed: 42
47
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
48
+ - lr_scheduler_type: linear
49
+ - num_epochs: 2
50
+ - mixed_precision_training: Native AMP
51
+
52
+ ### Training results
53
+
54
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
55
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
56
+ | No log | 1.0 | 125 | 1.0061 | 0.876 | 0.8798 |
57
+ | No log | 2.0 | 250 | 0.7913 | 0.886 | 0.8885 |
58
+
59
+
60
+ ### Framework versions
61
+
62
+ - Transformers 4.45.1
63
+ - Pytorch 2.4.0
64
+ - Datasets 3.0.1
65
+ - Tokenizers 0.20.0
runs/Nov02_13-03-27_3374ec4c58ca/events.out.tfevents.1730552611.3374ec4c58ca.30.2 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:688db9a1a4ec1ba8d7ae9fe6922798d0d0018cfe5c25127b73b4c8554fde8801
3
- size 5403
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aebbb8d669f666896a48de21586d6266135c52ffec9447ac8097fcbd87533905
3
+ size 6126