CoolFace
Modelpublic

YagiASAFAS/malaysia-news-classification-bert-english

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

malaysia-news-classification-bert-english-skewness-fixed

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

  • —Loss: 1.2051
  • —Accuracy: 0.8436

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

Label Mappings

This model can predict the following labels:

  • —0: Election
  • —1: Political Issue
  • —2: Corruption
  • —3: Democracy
  • —4: Economic Growth
  • —5: Economic Disparity
  • —6: Economic Subsidy
  • —7: Ethnic Discrimination
  • —8: Ethnic Relation
  • —9: Ethnic Culture
  • —10: Religious Issue
  • —11: Business and Finance
  • —12: Sport
  • —13: Food
  • —14: Entertainment
  • —15: Environmental Issue
  • —16: Domestic News
  • —17: World News

Training results

Training LossEpochStepValidation LossAccuracy
No log1.03580.93570.7486
1.35542.07160.90410.7807
0.48513.010740.78420.8282
0.48514.014320.94780.8226
0.25585.017901.07650.8282
0.10846.021481.13100.8380
0.06257.025061.09990.8464
0.06258.028641.13910.8408
0.03019.032221.10360.8506
0.017110.035801.07650.8534
0.017111.039381.12910.8506
0.012912.042961.13600.8520
0.003513.046541.16190.8450
0.003914.050121.17270.8534
0.003915.053701.20790.8408
0.003116.057281.20510.8436

Framework versions

  • —Transformers 4.18.0
  • —Pytorch 2.2.1+cu121
  • —Datasets 2.19.0
  • —Tokenizers 0.12.1