Edit model card

religion-classifier

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

  • Loss: 0.0425
  • Accuracy: 0.9975

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
  • train_batch_size: 32
  • eval_batch_size: 32
  • seed: 42
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lr_scheduler_type: linear
  • num_epochs: 10
  • mixed_precision_training: Native AMP

Training results

Training Loss Epoch Step Validation Loss Accuracy
0.1656 1.0 1475 0.0819 0.9941
0.0737 2.0 2950 0.0668 0.9952
0.0453 3.0 4425 0.0884 0.9945
0.0289 4.0 5900 0.0478 0.9969
0.0333 5.0 7375 0.0454 0.9971
0.0265 6.0 8850 0.0734 0.9956
0.0137 7.0 10325 0.0538 0.9968
0.0181 8.0 11800 0.0428 0.9973
0.0089 9.0 13275 0.0450 0.9973
0.0047 10.0 14750 0.0425 0.9975

Framework versions

  • Transformers 4.36.0
  • Pytorch 2.0.0
  • Datasets 2.15.0
  • Tokenizers 0.15.0
Downloads last month
14
Safetensors
Model size
167M params
Tensor type
F32
ยท
Inference API
Unable to determine this model's library. Check the docs .

Model tree for LukeJacob2023/religion-classifier

Finetuned
(104)
this model

Space using LukeJacob2023/religion-classifier 1