Sharpaxis commited on
Commit
e479458
·
verified ·
1 Parent(s): 372a871
README.md ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: bert-base-uncased
5
+ tags:
6
+ - generated_from_trainer
7
+ datasets:
8
+ - financial_phrasebank
9
+ metrics:
10
+ - f1
11
+ model-index:
12
+ - name: FIN_BERT_sentiment
13
+ results:
14
+ - task:
15
+ name: Text Classification
16
+ type: text-classification
17
+ dataset:
18
+ name: financial_phrasebank
19
+ type: financial_phrasebank
20
+ config: sentences_66agree
21
+ split: train
22
+ args: sentences_66agree
23
+ metrics:
24
+ - name: F1
25
+ type: f1
26
+ value: 0.8890693407692588
27
+ ---
28
+
29
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
30
+ should probably proofread and complete it, then remove this comment. -->
31
+
32
+ # FIN_BERT_sentiment
33
+
34
+ This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on the financial_phrasebank dataset.
35
+ It achieves the following results on the evaluation set:
36
+ - Loss: 0.4905
37
+ - F1: 0.8891
38
+ - Acc: 0.8886
39
+
40
+ ## Model description
41
+
42
+ More information needed
43
+
44
+ ## Intended uses & limitations
45
+
46
+ More information needed
47
+
48
+ ## Training and evaluation data
49
+
50
+ More information needed
51
+
52
+ ## Training procedure
53
+
54
+ ### Training hyperparameters
55
+
56
+ The following hyperparameters were used during training:
57
+ - learning_rate: 2e-05
58
+ - train_batch_size: 16
59
+ - eval_batch_size: 16
60
+ - seed: 42
61
+ - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
62
+ - lr_scheduler_type: linear
63
+ - num_epochs: 5
64
+
65
+ ### Training results
66
+
67
+ | Training Loss | Epoch | Step | Validation Loss | F1 | Acc |
68
+ |:-------------:|:-----:|:----:|:---------------:|:------:|:------:|
69
+ | 0.5295 | 1.0 | 211 | 0.3757 | 0.8731 | 0.8720 |
70
+ | 0.2174 | 2.0 | 422 | 0.3117 | 0.8911 | 0.8910 |
71
+ | 0.1129 | 3.0 | 633 | 0.4066 | 0.8886 | 0.8874 |
72
+ | 0.0459 | 4.0 | 844 | 0.4923 | 0.8896 | 0.8886 |
73
+ | 0.0275 | 5.0 | 1055 | 0.4905 | 0.8891 | 0.8886 |
74
+
75
+
76
+ ### Framework versions
77
+
78
+ - Transformers 4.46.2
79
+ - Pytorch 2.5.1
80
+ - Datasets 3.1.0
81
+ - Tokenizers 0.20.3
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:74111cf6d0c67a4d9dc856f2505a3ca4cbd34a0124a698581c81dae3889458a6
3
  size 437961724
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c7c8e85130504bc9cea3a833425bf91b6a40fdaea5197376d784eeeef65f11cf
3
  size 437961724
runs/Dec04_22-24-57_Aadityas-MacBook-Pro.local/events.out.tfevents.1733331298.Aadityas-MacBook-Pro.local.59050.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6fb123208665aab317ae679a196f471f0b41d78520250c5c4f4bf624219c799e
3
- size 7506
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:69b88e3e9b9a8d70b5ee5f479eef4a11098d18c55bd946e6a5ffe1871e19ebec
3
+ size 8435