Downloads · 30 days
0
codersaanvii/toxic_LoRA
toxic_LoRA is a text classification model from codersaanvii. Use it when you need a label for a piece of text. The card lists the license as mit.
Fine-tuned Mistral 7B using LoRA to classify comments as toxic or not toxic, using the Jigsaw Toxic Comments dataset.
Downloads · 30 days
0
Access
Public
Updated Jun 22, 2026
Repo size
976 MB
Likes
0
Public
Click a slice to open those files.
.safetensors975 MB · 100%
From the Hugging Face model README
Fine-tuned Mistral 7B using LoRA to classify comments as toxic or not toxic, using the Jigsaw Toxic Comments dataset.
This model has 0% recall on toxic content. It was trained on an imbalanced dataset (4.4% toxic examples) and learned to always predict "not toxic" regardless of input. It will not flag actual toxic content.
This is documented honestly rather than hidden — see Evaluation Results below for the full diagnosis. Do not use this model for actual content moderation in its current state.
Tested on 20 held-out examples (no overlap with training data):
| Metric | Score |
|---|---|
| Accuracy | 95.0% |
| Precision | 0.0% |
| Recall | 0.0% |
| F1 Score | 0.0% |
Confusion Matrix:
A model reporting fake high accuracy while having zero real capability is worse than no model — it creates false confidence. This card exists so anyone using this model understands its actual (current) limitations.
Currently: Portfolio demonstration only. Not suitable for production content moderation without retraining on a balanced dataset.