CoolFace
Modelpublic

callmesan/ModernBERT-large-roman-urdu-binary

sourceHugging Faceapache-2.0updated 2y agoView on Hugging Face
0likes10downloads
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-large-roman-urdu-binary

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

  • —Loss: 0.3226
  • —Accuracy: 0.8832
  • —Precision: 0.8841
  • —Recall: 0.8857
  • —F1: 0.8831

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-05
  • —trainbatchsize: 16
  • —evalbatchsize: 128
  • —seed: 42
  • —gradientaccumulationsteps: 4
  • —totaltrainbatch_size: 64
  • —optimizer: Use adamwhf with betas=(0.9,0.999) and epsilon=1e-08 and optimizerargs=No additional optimizer arguments
  • —lrschedulertype: linear
  • —num_epochs: 10

Training results

Training LossEpochStepValidation LossAccuracyPrecisionRecallF1
1.54530.99331120.38600.82770.83110.83140.8277
1.05771.99332240.29180.87770.88430.87310.8757
0.61432.99333360.30230.88760.88710.88880.8874
0.24383.99334480.67920.86520.87140.86060.8630
0.0634.99335600.75000.87890.88170.87580.8776
0.0525.99336720.88920.87770.88320.87350.8758
0.00056.99337840.94230.88010.88630.87580.8783
0.00027.99338960.84040.87520.87770.87220.8738
0.08.993310080.87740.87770.88230.87380.8760
0.09.993311200.88280.87770.88230.87380.8760

Framework versions

  • —Transformers 4.48.2
  • —Pytorch 2.5.1+cu121
  • —Datasets 3.2.0
  • —Tokenizers 0.21.0