mrm8488 commited on
Commit
82574f1
·
verified ·
1 Parent(s): 51e3574

End of training

Browse files
Files changed (2) hide show
  1. README.md +70 -0
  2. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: answerdotai/ModernBERT-base
5
+ tags:
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: ModernBERT-base-ft-financial-news-sentiment-analysis-2
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ # ModernBERT-base-ft-financial-news-sentiment-analysis-2
16
+
17
+ This model is a fine-tuned version of [answerdotai/ModernBERT-base](https://huggingface.co/answerdotai/ModernBERT-base) on the None dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 0.1293
20
+ - F1 Score: 0.9765
21
+ - Precision Score: 0.9765
22
+ - Recall Score: 0.9765
23
+
24
+ ## Model description
25
+
26
+ More information needed
27
+
28
+ ## Intended uses & limitations
29
+
30
+ More information needed
31
+
32
+ ## Training and evaluation data
33
+
34
+ More information needed
35
+
36
+ ## Training procedure
37
+
38
+ ### Training hyperparameters
39
+
40
+ The following hyperparameters were used during training:
41
+ - learning_rate: 8e-05
42
+ - train_batch_size: 128
43
+ - eval_batch_size: 128
44
+ - seed: 42
45
+ - optimizer: Use adamw_torch with betas=(0.9,0.98) and epsilon=1e-06 and optimizer_args=No additional optimizer arguments
46
+ - lr_scheduler_type: linear
47
+ - num_epochs: 10
48
+
49
+ ### Training results
50
+
51
+ | Training Loss | Epoch | Step | Validation Loss | F1 Score | Precision Score | Recall Score |
52
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:---------------:|:------------:|
53
+ | 0.6927 | 1.0 | 16 | 0.3884 | 0.8449 | 0.8816 | 0.8265 |
54
+ | 0.2203 | 2.0 | 32 | 0.2017 | 0.9556 | 0.9558 | 0.9559 |
55
+ | 0.0847 | 3.0 | 48 | 0.1663 | 0.9472 | 0.9507 | 0.9471 |
56
+ | 0.0273 | 4.0 | 64 | 0.1765 | 0.9705 | 0.9710 | 0.9706 |
57
+ | 0.0198 | 5.0 | 80 | 0.1980 | 0.9646 | 0.9653 | 0.9647 |
58
+ | 0.0141 | 6.0 | 96 | 0.1396 | 0.9795 | 0.9797 | 0.9794 |
59
+ | 0.0087 | 7.0 | 112 | 0.1204 | 0.9674 | 0.9677 | 0.9676 |
60
+ | 0.0013 | 8.0 | 128 | 0.1285 | 0.9705 | 0.9704 | 0.9706 |
61
+ | 0.0002 | 9.0 | 144 | 0.1274 | 0.9765 | 0.9765 | 0.9765 |
62
+ | 0.0002 | 10.0 | 160 | 0.1293 | 0.9765 | 0.9765 | 0.9765 |
63
+
64
+
65
+ ### Framework versions
66
+
67
+ - Transformers 4.48.0.dev0
68
+ - Pytorch 2.5.1+cu121
69
+ - Datasets 3.2.0
70
+ - Tokenizers 0.21.0
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:889671ab23706901846ef1998846ec38565026d0f369ddbd8f719034cbf1b4f4
3
  size 598442860
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5330af518788f9c768d3aa6b36d3400c7b384f60007c85f80a7e9ba9bc458bab
3
  size 598442860