Downloads · 30 days
0
nkgevorgyan/detoxify-original
detoxify-original is a text classification model from nkgevorgyan. Use it when you need a label for a piece of text. The card lists the license as apache-2.0.
Mirror of the Detoxify original model checkpoint for offline use.
Downloads · 30 days
0
Access
Public
Updated Dec 9, 2025
Repo size
438 MB
Likes
0
Public
Click a slice to open those files.
.ckpt438 MB · 100%
From the Hugging Face model README
Mirror of the Detoxify original model checkpoint for offline use.
Original source: unitary/detoxify
toxic_original-c1212f89.ckptfrom detoxify import Detoxify
model = Detoxify('original')
result = model.predict("Your text here")
print(result)
toxic_original-c1212f89.ckpt from this repo~/.cache/torch/hub/checkpoints/from detoxify import Detoxify
# Works offline if checkpoint is in cache
model = Detoxify('original', device='cpu')
result = model.predict("Your text here")
The model predicts scores for:
toxicity - Overall toxicitysevere_toxicity - Severe toxic contentobscene - Obscene languagethreat - Threatening languageinsult - Insultsidentity_attack - Attacks on identity@misc{detoxify,
title={Detoxify},
author={Hanu, Laura and Unitary team},
howpublished={Github. https://github.com/unitaryai/detoxify},
year={2020}
}