CoolFace
Modelpublic

kartiksrma/roberta-issue-classifier

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes5downloads
Model Card

roberta-issue-classifier

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

  • Loss: 0.0945
  • Accuracy: 0.9844
  • F1: 0.9844

Model description

Issue Type Mapping: {'economic': 0, 'environmental': 1, 'family/gender': 2, 'geo-political and foreign policy': 3, 'political': 4, 'racial justice and immigration': 5, 'religious': 6, 'social, health and education': 7}

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
  • num_epochs: 4

Training results

Training LossEpochStepValidation LossAccuracyF1
0.56610.6251000.43500.94370.9436
0.1121.252000.14880.9750.9750
0.03351.8753000.12620.97810.9781
0.10092.54000.13280.97810.9781
0.0323.1255000.09450.98440.9844
0.00743.756000.09440.97810.9781

Framework versions

  • Transformers 4.45.1
  • Pytorch 2.4.0
  • Datasets 3.0.1
  • Tokenizers 0.20.0