CoolFace
Modelpublic

Mahloromela/Swahili-Classifier-cola

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes5downloads
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. -->

Swahili-Classifier-cola

This model is a fine-tuned version of Mahloromela/Afriberta-Swahili-mlm_model on an unknown dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.2529
  • —Accuracy: 0.9239
  • —Precision: 0.9072
  • —Recall: 0.9286
  • —F1: 0.9178

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: 16
  • —seed: 42
  • —optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • —lrschedulertype: linear
  • —num_epochs: 5

Training results

Training LossEpochStepValidation LossAccuracyPrecisionRecallF1
0.28141.011110.26250.91920.89400.93400.9136
0.21632.022220.25290.92390.90720.92860.9178
0.16543.033330.31010.91710.88090.94680.9127
0.11554.044440.36010.91420.91170.89960.9056
0.08445.055550.41590.91040.90000.90450.9023

Framework versions

  • —Transformers 4.44.2
  • —Pytorch 2.5.0+cu121
  • —Datasets 3.0.2
  • —Tokenizers 0.19.1