CoolFace
Modelpublic

viathorr/xlm-roberta-multi-label-uk-toxic-comments-v14

sourceHugging Facemitupdated 5mo agoView on Hugging Face
0likes23downloads
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. -->

<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>

xlm-roberta-multi-label-uk-toxic-comments-v14

This model is a fine-tuned version of FacebookAI/xlm-roberta-base on the None dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.2277
  • —Macro F1: 0.7638
  • —Micro F1: 0.7964
  • —Macro Precision: 0.7629
  • —Macro Recall: 0.7655
  • —Macro Auc: 0.9469
  • —Subset Accuracy: 0.6524
  • —Toxic F1: 0.8549
  • —Severe Toxic F1: 0.6305
  • —Obscene F1: 0.8174
  • —Threat F1: 0.8369
  • —Insult F1: 0.7481
  • —Identity Hate F1: 0.6948

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: 32
  • —evalbatchsize: 64
  • —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_ratio: 0.2
  • —num_epochs: 6

Training results

Training LossEpochStepValidation LossMacro F1Micro F1Macro PrecisionMacro RecallMacro AucSubset AccuracyToxic F1Severe Toxic F1Obscene F1Threat F1Insult F1Identity Hate F1
0.31381.010430.26550.70960.75240.69320.73530.92400.56520.82780.59060.76480.72490.70660.6428
0.23842.020860.22170.74760.78390.75630.74630.94430.63250.84700.61360.79830.79150.75100.6843
0.20633.031290.21300.75420.79420.76260.74710.94760.64150.85770.58870.81230.83200.74470.6901
0.17914.041720.22010.74820.79530.74740.75620.94890.64430.85630.55380.82680.81030.75790.6843
0.15595.052150.22060.76530.79880.77150.76010.94760.65930.85850.63550.81380.83110.75320.6996
0.13946.062580.22770.76380.79640.76290.76550.94690.65240.85490.63050.81740.83690.74810.6948

Framework versions

  • —Transformers 4.57.1
  • —Pytorch 2.8.0+cu126
  • —Datasets 4.4.2
  • —Tokenizers 0.22.1