CoolFace
Modelpublic

gplsi/Toxicity_model

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

🧠 ToxicitymodelRoBERTa-base-bne– Spanish Toxicity Classifier Multiclass (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 three categories:

  • β€”Non-toxic
  • β€”Slightly 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 multiclass classifier was developed.


Training hyperparameters

  • β€”epochs: 7
  • β€”learning_rate: 1.51E-06
  • β€”Adam_epsilon: 2.80E-08
  • β€”weight_decay: 3.88E-12
  • β€”batch_size: 16
  • β€”maxseqlength: 512