Downloads · 30 days
43
1% of all-time downloads
tanaos/tanaos-spam-detection-v1
tanaos-spam-detection-v1 is a text classification model from tanaos. Use it when you need a label for a piece of text. The card lists the license as mit.
<p align="center" <img src="https://raw.githubusercontent.com/tanaos/.github/master/assets/logo.png" width="250px" alt="Tanaos – Private Small Language Models for all your needs" </p
Downloads · 30 days
43
1% of all-time downloads
All-time downloads
3.2K
Public
Parameters
135M
541 MB on disk
Likes
5
Public
Click a slice to open those files.
.safetensors541 MB · 99%
From the Hugging Face model README
This model was created by Tanaos with the Artifex Python library.
This is a spam detection model trained to classify English text as spam or not_spam. It is intended to be used as a first-layer spam filter for email systems, messaging applications or any other text-based communication platform.
The following categories are considered spam:
The main model language is English, but we have spam detection models specialized in other languages as well:
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()
print(spam_detection("You won an IPhone 16! Click here to claim your prize."))
# >>> [{'label': 'spam', 'score': 0.9989}]
distilbert/distilbert-base-multilingual-casedThis model was trained using the Artifex Python library
pip install artifex
by providing the following instructions and generating 10,000 synthetic training samples:
from artifex import Artifex
spam_detection = Artifex().spam_detection()
spam_detection.train(
spam_content=[
"Unsolicited commercial advertising or non-commercial proselytism",
"Fraudulent schemes, including get-rich-quick schemes and pyramid schemes",
"Phishing attempts, unrealistic offers, or misleading advertisements",
"Content with misleading or false information",
"Malware or harmful links",
"Adult content or explicit material",
"Excessive use of capital letters, punctuation marks, or emojis to attract attention",
],
language="spanish",
num_samples=10000
)
This model is intended to:
Not intended for: