Team Ai
Modelpublic

DayCardoso/modernbert-base-multi-head-values-context

sourceHugging Faceapache-2.0updated 1y agoView on Hugging Face
0likes15downloads
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-multi-head-values-context

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.2990
  • —Subset Accuracy: 0.2753
  • —F1 Macro: 0.3032
  • —F1 Micro: 0.3876
  • —Precision Macro: 0.4109
  • —Recall Macro: 0.2499
  • —Roc Auc: 0.7910

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: 5e-06
  • —trainbatchsize: 2
  • —evalbatchsize: 2
  • —seed: 2025
  • —gradientaccumulationsteps: 8
  • —totaltrainbatch_size: 16
  • —optimizer: Use OptimizerNames.ADAMWTORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizerargs=No additional optimizer arguments
  • —lrschedulertype: linear
  • —lrschedulerwarmup_ratio: 0.01
  • —num_epochs: 33
  • —mixedprecisiontraining: Native AMP

Training results

Training LossEpochStepValidation LossSubset AccuracyF1 MacroF1 MicroPrecision MacroRecall MacroRoc Auc
2.54510.50027670.20120.00270.00230.00500.07180.00120.6531
1.50751.015340.18380.07680.05690.13190.23300.03530.7437
1.43821.500223010.17810.14370.13180.22810.35340.08910.7792
1.38582.030680.17100.16800.15820.26150.43380.10910.7962
1.31572.500238350.16810.18220.17870.27960.49670.12670.8058
1.2913.046020.16220.22290.21150.32910.63020.15230.8195
1.23883.500253690.16140.20260.22010.30820.61430.15360.8222
1.19934.061360.15830.24450.24540.35540.59560.17830.8291
1.14154.500269030.16080.27930.28830.39340.56140.22200.8288
1.12215.076700.15950.23840.25230.35330.59820.17610.8342
1.07265.500284370.16040.27270.29300.39060.55840.21780.8318
1.03816.092040.16290.25990.26930.37590.54210.20990.8315
0.99576.500299710.16620.28140.28560.40010.53800.22230.8300
0.93197.0107380.16400.26040.29600.38200.54310.22010.8288
0.82797.5002115050.17330.27880.29530.39390.52750.23070.8245
0.83658.0122720.17420.27570.30040.39100.50300.23390.8218
0.71688.5002130390.18100.28630.30630.40200.45890.24990.8202
0.71589.0138060.18040.27580.30520.39100.46220.23920.8212
0.58279.5002145730.18800.28780.31660.40340.45680.25840.8159
0.595810.0153400.19060.27880.31140.39400.49120.25220.8134
0.464110.5002161070.19780.27500.31040.38960.45050.25010.8106
0.460811.0168740.20220.27240.30260.38800.48400.24700.8082
0.354611.5002176410.21130.27730.31200.39220.45980.25560.8038
0.357512.0184080.21330.28340.30920.39800.43610.25350.8045
0.260112.5002191750.22260.27780.31040.38970.42740.25590.8003
0.25813.0199420.22750.28240.31760.39560.41880.26430.8003
0.177813.5002207090.23750.26860.30350.38150.41030.24960.7994
0.180314.0214760.24260.27130.30830.38650.43050.25220.7968
0.123314.5002222430.25010.27810.31390.39060.44730.25920.7970
0.119715.0230100.25660.27350.30810.38640.42310.25190.7950
0.080415.5002237770.26530.27460.30650.38390.42670.25120.7941
0.081316.0245440.27230.27400.30780.38610.43720.25050.7931
0.054816.5002253110.28130.27760.30770.39220.45440.25000.7927
0.053517.0260780.28820.28040.30930.39120.44970.25280.7914
0.038717.5002268450.29900.27530.30320.38760.41090.24990.7910

Framework versions

  • —Transformers 4.53.2
  • —Pytorch 2.6.0+cu124
  • —Datasets 2.14.4
  • —Tokenizers 0.21.2