CoolFace
Modelpublic

YagiASAFAS/malaysia-news-classification-bert-proto

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

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: 0.9054
  • —Accuracy: 0.8532

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: 8
  • —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:

Training results

Training LossEpochStepValidation LossAccuracy
No log1.01260.66000.8373
No log2.02520.78220.8413
No log3.03780.99540.8175
0.21374.05040.87020.8611
0.21375.06300.92200.8571
0.21376.07560.91340.8532
0.21377.08820.89320.8571
0.01528.010080.90540.8532

Framework versions

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