Team Ai
Modelpublic

jamesbaskerville/classify-articles

sourceHugging Faceapache-2.0updated 2y 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. -->

classify-articles

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

  • —Loss: 0.3819
  • —Accuracy: 0.9070
  • —F1: 0.9061
  • —Precision: 0.9126
  • —Recall: 0.9070
  • —Accuracy Label Economy: 0.9429
  • —Accuracy Label Politics: 0.9574
  • —Accuracy Label Science: 0.9362
  • —Accuracy Label Sports: 0.96
  • —Accuracy Label Technology: 0.6944

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
  • —gradientaccumulationsteps: 2
  • —totaltrainbatch_size: 32
  • —optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • —lrschedulertype: linear
  • —lrschedulerwarmup_steps: 500
  • —num_epochs: 3

Training results

Training LossEpochStepValidation LossAccuracyF1PrecisionRecallAccuracy Label EconomyAccuracy Label PoliticsAccuracy Label ScienceAccuracy Label SportsAccuracy Label Technology
1.37031.30721001.37750.49300.42380.61000.49300.80.02130.70210.720.2222
0.43292.61442000.44950.89770.90040.91340.89770.94290.89360.91490.960.75

Framework versions

  • —Transformers 4.44.2
  • —Pytorch 2.4.1
  • —Datasets 2.21.0
  • —Tokenizers 0.19.1