Edit model card

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
  • train_batch_size: 8
  • eval_batch_size: 64
  • seed: 42
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lr_scheduler_type: linear
  • num_epochs: 8
  • mixed_precision_training: 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 Loss Epoch Step Validation Loss Accuracy
No log 1.0 126 0.6600 0.8373
No log 2.0 252 0.7822 0.8413
No log 3.0 378 0.9954 0.8175
0.2137 4.0 504 0.8702 0.8611
0.2137 5.0 630 0.9220 0.8571
0.2137 6.0 756 0.9134 0.8532
0.2137 7.0 882 0.8932 0.8571
0.0152 8.0 1008 0.9054 0.8532

Framework versions

  • Transformers 4.18.0
  • Pytorch 2.2.1+cu121
  • Datasets 2.18.0
  • Tokenizers 0.12.1
Downloads last month
5