Downloads · 30 days
12
6% of all-time downloads
ENTUM-AI/distilbert-clickbait-classifier
distilbert-clickbait-classifier is a text classification model from ENTUM-AI. Use it when you need a label for a piece of text. The card lists the license as apache-2.0.
This model is a fine-tuned version of distilbert-base-uncased trained to classify text (news headlines, article titles, video names) into two categories: Clickbait and Non-Clickbait.
Downloads · 30 days
12
6% of all-time downloads
All-time downloads
190
Public
Parameters
67M
268 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors268 MB · 100%
From the Hugging Face model README
This model is a fine-tuned version of distilbert-base-uncased trained to classify text (news headlines, article titles, video names) into two categories: Clickbait and Non-Clickbait.
It is optimized for filtering out sensationalist headlines and improving content recommendation algorithms.
The primary goal of this model is to automatically detect clickbait titles to help users and platforms prioritize high-quality informative content over misleading or exaggerated headlines.
Clickbait or Non-Clickbait) with a confidence score.The model was fine-tuned using the bhargavasthet/clickbait_dataset, which contains a balanced collection of headlines explicitly labeled as clickbait (e.g., from Buzzfeed, Upworthy) and non-clickbait (e.g., from Reuters, The New York Times).
The model achieved excellent performance on the marksverdhei/clickbait_title_classification validation set:
0.9864 (98.6%)0.9862 (98.6%)0.9867 (98.6%)0.9857 (98.5%)0.0488The model was trained under the following conditions:
distilbert-base-uncased (chosen for speed and efficiency)You can easily integrate this model into your applications using the Hugging Face transformers library pipeline:
from transformers import pipeline
# Load the clickbait classifier
classifier = pipeline("text-classification", model="ENTUM-AI/distilbert-clickbait-classifier")
# Test with a sensational headline
text_1 = "10 Bizarre Facts About Apples That Will BLOW YOUR MIND! 🍎🤯"
result_1 = classifier(text_1)
print(f"Text: '{text_1}'\nPrediction: {result_1}\n")
# Test with a normal news headline
text_2 = "Apple releases new quarterly earnings report showing 5% growth."
result_2 = classifier(text_2)
print(f"Text: '{text_2}'\nPrediction: {result_2}")
[{'label': 'Clickbait', 'score': 0.9921}]