CoolFace
Modelpublic

gplsi/Toxicity_model_binary

sourceHugging Faceapache-2.0updated 1y agoView on Hugging Face
0likes11downloads
Model Card

🧠 ToxicitymodelRoBERTa-base-bne– Spanish Toxicity Classifier Binary (Fine-tuned)

πŸ“Œ Model Description

This model is a fine-tuned version of `RoBERTa-base-bne`, specifically trained to classify the toxicity level of Spanish-language user comments on news articles**. It distinguishes between two categories:

  • β€”Non-toxic
  • β€”Toxic

πŸ“‚ Training Data

The model was fine-tuned on the [SocialTOX dataset](https://huggingface.co/datasets/gplsi/SocialTOX), a collection of Spanish-language comments annotated for varying levels of toxicity. These comments come from news platforms and represent real-world scenarios of online discourse. In this case, a Binary classifier was developed, where the classes \textit{Slightly toxic} and \textit{Toxic} were merged into a single \textit{Toxic} category.


Training hyperparameters

  • β€”epochs: 10
  • β€”learning_rate: 2.45e-6
  • β€”beta1: 0.9
  • β€”beta2: 0.95
  • β€”Adam_epsilon: 1.00e-8
  • β€”weight_decay: 0
  • β€”batch_size: 16
  • β€”maxseqlength: 512