Detoxify
PaketLocally run toxic comment classifier models for Python
- Fiyat
- Free, open source
- Erişim
- None
Hakkında
Detoxify is a Python package with trained models that score comments for toxicity, including threats, insults and identity attacks. It runs locally on Transformers and PyTorch Lightning. Original, unbiased and multilingual models are provided, the last covering Turkish among others.
Neler yapabilirsin
- Score user comments for toxicity without sending them to a vendor
- Flag abusive messages for human moderators to review
- Screen comments in several languages with the multilingual model
Başlarken
- Install the package with pip
- Load a model and score your text
Örnek kod
pip install detoxify
python -c "from detoxify import Detoxify; print(Detoxify('original').predict('example text'))"Ayrıntılar
- Barındırma
- Kendi bilgisayarında
- Kullanılabildiği yerler
- Tüm dünya
- Resmi SDK'lar
- Python
- MCP sunucusu
- Yok