CoolFace
Modelpublic

Tavish15100/distilbert-financial-phrasebank

sourceHugging Faceapache-2.0updated 4mo agoView on Hugging Face
0likes3downloads
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. -->

distilbert-financial-phrasebank

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

  • —Loss: 0.2488
  • —Accuracy: 0.9217
  • —F1 Macro: 0.9084
  • —F1 Weighted: 0.9222
  • —Precision Macro: 0.9140
  • —Recall Macro: 0.9042

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: 2e-05
  • —trainbatchsize: 16
  • —evalbatchsize: 32
  • —seed: 42
  • —optimizer: Use OptimizerNames.ADAMWTORCHFUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
  • —lrschedulertype: linear
  • —lrschedulerwarmup_steps: 0.1
  • —num_epochs: 4
  • —mixedprecisiontraining: Native AMP

Training results

Training LossEpochStepValidation LossAccuracyF1 MacroF1 WeightedPrecision MacroRecall Macro
0.42771.01730.30370.88990.85320.88860.84690.8692
0.22162.03460.24180.92170.89960.92100.89800.9038
0.10973.05190.33880.90720.88490.90800.88800.8836
0.04874.06920.34950.89570.86540.89630.86250.8686

Framework versions

  • —Transformers 5.9.0
  • —Pytorch 2.11.0+cu128
  • —Datasets 4.8.5
  • —Tokenizers 0.22.2