Downloads · 30 days
25
27% of all-time downloads
alunadiderot/setfit-multilingual-e5-adult-classifier
setfit-multilingual-e5-adult-classifier is a text classification model from alunadiderot. Use it when you need a label for a piece of text. It is set up for sentence-transformers. The card lists the license as mit.
This is a SetFit model trained for binary classification of adult/safe content in articles.
Downloads · 30 days
25
27% of all-time downloads
All-time downloads
91
Public
Parameters
278M
1.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors1.1 GB · 98%
From the Hugging Face model README
This is a SetFit model trained for binary classification of adult/safe content in articles.
adult, safelabel adult 663 safe 599
2025-11-19 17:14:54
from setfit import SetFitModel
# Load the model
model = SetFitModel.from_pretrained("setfit-multilingual-e5-nsfw-classifier")
# Run inference
texts = [
"domain:example.com\ntitle:Weather forecast\ndescription:Sunny skies expected",
"domain:news.com\ntitle:Breaking news\ndescription:Important developments",
]
predictions = model.predict(texts)
print(predictions)
The model expects input text in the following format:
domain:<domain_name>
title:<article_title>
description:<article_description>
The model outputs one of two labels:
adult: Content is flagged as adult/NSFWsafe: Content is safe for workThis model is trained on a specific dataset and may not generalize well to:
If you use this model, please cite SetFit:
@article{https://doi.org/10.48550/arxiv.2209.11055,
doi = {10.48550/ARXIV.2209.11055},
url = {https://arxiv.org/abs/2209.11055},
author = {Tunstall, Lewis and Reimers, Nils and Jo, Unso Eun Seo and Bates, Luke and Korat, Daniel and Wasserblat, Moshe and Pereg, Oren},
title = {Efficient Few-Shot Learning Without Prompts},
publisher = {arXiv},
year = {2022},
copyright = {Creative Commons Attribution 4.0 International}
}