CoolFace
Modelpublic

gabriel-hf/bert-hate-speech-ptbr

sourceHugging Faceapache-2.0updated 10mo agoView on Hugging Face
0likes11downloads
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. -->

gabriel-hf/bert-hate-speech-ptbr

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.0646
  • —Accuracy: 0.9896

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: 8
  • —seed: 42
  • —optimizer: Use OptimizerNames.ADAMWTORCHFUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
  • —lrschedulertype: linear
  • —num_epochs: 5

Training results

Training LossEpochStepValidation LossAccuracy
0.08940.23122000.06390.9890
0.06650.46244000.07470.9890
0.0340.69366000.07630.9890
0.10970.92498000.06710.9890
0.04781.156110000.07160.9890
0.10241.387312000.06040.9890
0.07021.618514000.06690.9890
0.06141.849716000.07080.9890
0.05262.080918000.07200.9890
0.06282.312120000.06960.9890
0.07022.543422000.06600.9890
0.06332.774624000.06960.9890
0.1043.005826000.06240.9890
0.05433.237028000.06840.9890
0.07633.468230000.06710.9890
0.09113.699432000.06380.9890
0.08053.930634000.06770.9890
0.08754.161836000.07510.9861
0.03924.393138000.07520.9890
0.05164.624340000.06070.9890
0.06094.855542000.06460.9896

Framework versions

  • —Transformers 4.57.1
  • —Pytorch 2.9.0+cu126
  • —Datasets 4.0.0
  • —Tokenizers 0.22.1