Downloads · 30 days
5
14% of all-time downloads
Chaima-KHENAFIF/fake-news-spreader-detector
fake-news-spreader-detector is a text classification model from Chaima-KHENAFIF. Use it when you need a label for a piece of text. The card lists the license as mit.
A fine-tuned bert-base-uncased model that classifies a Twitter user as a fake news spreader or not, based on their aggregated post history.
Downloads · 30 days
5
14% of all-time downloads
All-time downloads
35
Public
Parameters
109M
438 MB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors438 MB · 100%
From the Hugging Face model README
A fine-tuned bert-base-uncased model that classifies a Twitter user as a fake news spreader or not, based on their aggregated post history.
Trained on a PAN-format author profiling dataset. TF-IDF + classical models (Logistic Regression, SVM, Random Forest, Naive Bayes) were compared as baselines before fine-tuning BERT as the final approach.
from transformers import pipeline
classifier = pipeline("text-classification", model="Chaima-KHENAFIF/fake-news-spreader-detector")
classifier("aggregated user post text goes here")
Fine-tuned for up to 5 epochs with early stopping (patience 1, selected on F1), on text cleaned via lemmatization, stopword/punctuation/URL/mention removal.
| Metric | Score |
|---|---|
| Accuracy | TODO |
| F1 | TODO |