CoolFace
Modelpublic

christinacdl/OLID_OFFENSIVE_BERT_MULTILINGUAL

sourceHugging Faceapache-2.0updated 3y agoView on Hugging Face
0likes13downloads
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. -->

OLIDOFFENSIVEBERT_MULTILINGUAL

This model is a fine-tuned version of bert-base-multilingual-uncased on an unknown dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.6444
  • —Macro F1: 0.7636
  • —Micro F1: 0.7927
  • —Accuracy: 0.7927

Performance on test set:

  • —Accuracy: 0.9022540551927534
  • —F1 score: 0.8855180494749837
  • —Precision: 0.8690382339788112
  • —Recall : 0.9122739652138543
  • —Matthews Correlation Coefficient: 0.7801150070033589
  • —Precision of each class: [0.97256778 0.76550868]
  • —Recall of each class: [0.88969945 0.93484848]
  • —F1 score of each class: [0.92928985 0.84174625]

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

Training results

Training LossEpochStepValidation LossMacro F1Micro F1Accuracy
0.55681.07440.45630.76410.79730.7973
0.45072.014880.44420.76570.80410.8041
0.30333.022320.51680.76720.79270.7927
0.26614.029760.64440.76360.79270.7927

Framework versions

  • —Transformers 4.30.2
  • —Pytorch 2.0.1+cu118
  • —Datasets 2.13.1
  • —Tokenizers 0.13.3