https://huggingface.co/tanaos/tanaos-spam-detection-italian
A small Spam Detection model specifically fine-tuned to recognize spam content from text in Italian. The following types of content are considered spam:
- Unsolicited commercial advertisement or non-commercial proselytizing.
- Fraudulent schemes. including get-rich-quick and pyramid schemes.
- Phishing attempts. unrealistic offers or announcements.
- Content with deceptive or misleading information.
- Malware or harmful links.
- Adult content or explicit material.
- Excessive use of capitalization or punctuation to grab attention.
How to use
Use this model through the Artifex library:
install Artifex with
pip install artifex use the model with
from artifex import Artifex spam_detection = Artifex().spam_detection(language="italian") print(spam_detection("Hai vinto un iPhone 16! Clicca qui per ottenere il tuo premio.")) # >>> [{'label': 'spam', 'score': 0.9989}] Intended Uses
This model is intended to:
- Serve as a first-layer spam filter for email systems, messaging applications, or any other text-based communication platform, if the text is in Italian.
- Help reduce unwanted or harmful messages by classifying text as spam or not spam.
Not intended for:
- Use in high-stakes scenarios where misclassification could lead to significant consequences without further human review.
[link] [comments]




