vincentdrenth commited on
Commit
3a87075
·
verified ·
1 Parent(s): 6f33b97

Model save

Browse files
Files changed (1) hide show
  1. README.md +78 -0
README.md ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: answerdotai/ModernBERT-base
5
+ tags:
6
+ - generated_from_trainer
7
+ datasets:
8
+ - financial_phrasebank
9
+ metrics:
10
+ - accuracy
11
+ model-index:
12
+ - name: ModernFinBERT
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_50agree
21
+ split: train
22
+ args: sentences_50agree
23
+ metrics:
24
+ - name: Accuracy
25
+ type: accuracy
26
+ value: 0.8546391752577319
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
+ # ModernFinBERT
33
+
34
+ This model is a fine-tuned version of [answerdotai/ModernBERT-base](https://huggingface.co/answerdotai/ModernBERT-base) on the financial_phrasebank dataset.
35
+ It achieves the following results on the evaluation set:
36
+ - Loss: 0.5429
37
+ - Accuracy: 0.8546
38
+
39
+ ## Model description
40
+
41
+ More information needed
42
+
43
+ ## Intended uses & limitations
44
+
45
+ More information needed
46
+
47
+ ## Training and evaluation data
48
+
49
+ More information needed
50
+
51
+ ## Training procedure
52
+
53
+ ### Training hyperparameters
54
+
55
+ The following hyperparameters were used during training:
56
+ - learning_rate: 2e-05
57
+ - train_batch_size: 16
58
+ - eval_batch_size: 16
59
+ - seed: 42
60
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
61
+ - lr_scheduler_type: linear
62
+ - num_epochs: 3
63
+
64
+ ### Training results
65
+
66
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
67
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
68
+ | No log | 1.0 | 243 | 0.4276 | 0.8289 |
69
+ | No log | 2.0 | 486 | 0.3834 | 0.8557 |
70
+ | 0.4132 | 3.0 | 729 | 0.5429 | 0.8546 |
71
+
72
+
73
+ ### Framework versions
74
+
75
+ - Transformers 4.48.1
76
+ - Pytorch 2.5.1+cu121
77
+ - Datasets 3.2.0
78
+ - Tokenizers 0.21.0