CoolFace
Modelpublic

AgentPublic/camembert-base-toxic-fr-user-prompts

sourceHugging Faceapache-2.0updated 2y agoView on Hugging Face
8likes70downloads
Model Card

This model is a camembert-base model fine-tuned on a French translated toxic-chat dataset plus additional synthetic data. The model is trained to classify user prompts into three categories: "Toxic", "Non-Toxic", and "Sensible".

  • —Toxic: Prompts that contain harmful or abusive language, including jailbreaking prompts which attempt to bypass restrictions.
  • —Non-Toxic: Prompts that are safe and free of harmful content.
  • —Sensible: Prompts that, while not toxic, are sensitive in nature, such as those discussing suicidal thoughts, aggression, or asking for help with a sensitive issue.

The evaluation results are as follows (still under evaluation, more data is needed):

PrecisionRecallF1-Score
Non-Toxic0.970.950.96
Sensible0.950.990.98
Toxic0.870.900.88
Accuracy0.94
Macro Avg0.930.950.94
Weighted Avg0.940.940.94

Note: This model is still under development, and its performance and characteristics are subject to change as training is not yet complete.