CoolFace
Modelpublic

mrm8488/ModernBERT-base-ft-financial-news-sentiment-analysis

sourceHugging Faceapache-2.0updated 2y agoView on Hugging Face
1likes98downloads
Model Card

<!-- This model card has been generated automatically according to the information the Trainer had access to. You should probably proofread and complete it, then remove this comment. -->

ModernBERT-base-ft-financial-news-sentiment-analysis-2

This model is a fine-tuned version of answerdotai/ModernBERT-base on the None dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.1293
  • —F1 Score: 0.9765
  • —Precision Score: 0.9765
  • —Recall Score: 0.9765

Model description

More information needed

Intended uses & limitations

More information needed

Training and evaluation data

More information needed

Training procedure

Training hyperparameters

The following hyperparameters were used during training:

  • —learning_rate: 8e-05
  • —trainbatchsize: 128
  • —evalbatchsize: 128
  • —seed: 42
  • —optimizer: Use adamwtorch with betas=(0.9,0.98) and epsilon=1e-06 and optimizerargs=No additional optimizer arguments
  • —lrschedulertype: linear
  • —num_epochs: 10

Training results

Training LossEpochStepValidation LossF1 ScorePrecision ScoreRecall Score
0.69271.0160.38840.84490.88160.8265
0.22032.0320.20170.95560.95580.9559
0.08473.0480.16630.94720.95070.9471
0.02734.0640.17650.97050.97100.9706
0.01985.0800.19800.96460.96530.9647
0.01416.0960.13960.97950.97970.9794
0.00877.01120.12040.96740.96770.9676
0.00138.01280.12850.97050.97040.9706
0.00029.01440.12740.97650.97650.9765
0.000210.01600.12930.97650.97650.9765

Framework versions

  • —Transformers 4.48.0.dev0
  • —Pytorch 2.5.1+cu121
  • —Datasets 3.2.0
  • —Tokenizers 0.21.0