CoolFace
Modelpublic

alexgshaw/hyperpartisan-classifier

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

hyperpartisan-classifier

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

  • Loss: 0.0036
  • Accuracy: 0.9988

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

Training results

Training LossEpochStepValidation LossAccuracy
0.14410.1110000.13910.9453
0.12480.2120000.10420.9595
0.10270.3230000.09130.9647
0.09280.4340000.08270.9688
0.09920.5350000.07990.9698
0.08810.6460000.07100.9741
0.0780.7570000.06400.9762
0.07080.8580000.06260.9764
0.06960.9690000.05640.9792
0.05861.07100000.05160.9813
0.05581.17110000.05070.9815
0.05311.28120000.04630.9829
0.05851.39130000.04680.9831
0.04881.49140000.04030.9854
0.0571.6150000.03930.9865
0.05141.71160000.03490.9879
0.0521.81170000.03660.9868
0.05721.92180000.03000.9895
0.03112.03190000.03090.9893
0.03322.13200000.02620.9908
0.03962.24210000.02500.9914
0.03142.35220000.02230.9924
0.03612.45230000.02360.9919
0.02892.56240000.01970.9933
0.03222.67250000.01820.9939
0.04162.77260000.01830.9937
0.02732.88270000.01590.9946
0.03172.99280000.01520.9949
0.02033.09290000.01320.9957
0.01823.2300000.01460.9953
0.01653.31310000.01230.9961
0.01843.41320000.01050.9968
0.02083.52330000.01030.9967
0.01873.63340000.00830.9973
0.01833.73350000.00760.9977
0.02583.84360000.00730.9977
0.01143.95370000.00660.9979
0.0074.05380000.00520.9983
0.00944.16390000.00610.9981
0.01064.27400000.00530.9983
0.01344.37410000.00520.9984
0.00874.48420000.00400.9987
0.0184.59430000.00470.9985
0.01184.69440000.00410.9987
0.0124.8450000.00380.9988
0.01654.91460000.00360.9988

Framework versions

  • Transformers 4.27.0.dev0
  • Pytorch 1.13.1+cu116
  • Datasets 2.9.0
  • Tokenizers 0.13.2