CoolFace
Modelpublic

Chaima-KHENAFIF/fake-news-spreader-detector

sourceHugging Facemitupdated 29d agoView on Hugging Face
1likes28downloads
Model Card

Fake News Spreader Detector

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.

Usage

python
from transformers import pipeline

classifier = pipeline("text-classification", model="Chaima-KHENAFIF/fake-news-spreader-detector")
classifier("aggregated user post text goes here")

Training

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.

Results

MetricScore
AccuracyTODO
F1TODO

Links

  • —Full code, training pipeline, and Flask interface: GitHub repo