Draoi commited on
Commit
a0a3772
·
verified ·
1 Parent(s): 0241bd4

End of training

Browse files
Files changed (2) hide show
  1. README.md +68 -0
  2. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: answerdotai/ModernBERT-base
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ - f1
10
+ - precision
11
+ - recall
12
+ model-index:
13
+ - name: modernbert-financial-sentiment
14
+ results: []
15
+ ---
16
+
17
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
18
+ should probably proofread and complete it, then remove this comment. -->
19
+
20
+ # modernbert-financial-sentiment
21
+
22
+ This model is a fine-tuned version of [answerdotai/ModernBERT-base](https://huggingface.co/answerdotai/ModernBERT-base) on the None dataset.
23
+ It achieves the following results on the evaluation set:
24
+ - Loss: 0.4501
25
+ - Accuracy: 0.8558
26
+ - F1: 0.8598
27
+ - Precision: 0.8705
28
+ - Recall: 0.8558
29
+
30
+ ## Model description
31
+
32
+ More information needed
33
+
34
+ ## Intended uses & limitations
35
+
36
+ More information needed
37
+
38
+ ## Training and evaluation data
39
+
40
+ More information needed
41
+
42
+ ## Training procedure
43
+
44
+ ### Training hyperparameters
45
+
46
+ The following hyperparameters were used during training:
47
+ - learning_rate: 5e-05
48
+ - train_batch_size: 8
49
+ - eval_batch_size: 8
50
+ - seed: 42
51
+ - optimizer: Use adamw_torch_fused with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
52
+ - lr_scheduler_type: linear
53
+ - num_epochs: 2
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
58
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:---------:|:------:|
59
+ | 0.4274 | 1.0 | 1193 | 0.3893 | 0.8752 | 0.8787 | 0.8887 | 0.8752 |
60
+ | 0.2062 | 2.0 | 2386 | 0.4430 | 0.8928 | 0.8921 | 0.8918 | 0.8928 |
61
+
62
+
63
+ ### Framework versions
64
+
65
+ - Transformers 4.49.0.dev0
66
+ - Pytorch 2.5.1+cu121
67
+ - Datasets 3.2.0
68
+ - Tokenizers 0.21.0
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:db194b60943db618af8e7cc87d1e6737cb2394a505a9989244aad6b6786b1db7
3
  size 598442860
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5f1ab16c1f60bcdbf4f87ee1e5046e12df18eb9d21e31b1c32e4b9e2637fad9c
3
  size 598442860