π§ Fake News Detection using Transformer
This model is a fine-tuned DistilBERT model designed to classify news articles as FAKE or REAL.
π Model Overview
- Base Model: distilbert-base-uncased
- Task: Text Classification
- Labels: FAKE, REAL
- Architecture: Transformer-based (DistilBERT)
π Performance
- Accuracy: ~98%
- F1 Score: ~0.98
π Dataset
Trained on a combined dataset including:
- Fake news datasets
- Real news datasets
- Cleaned and preprocessed text corpus
π§ How It Works
The model analyzes:
- Semantic meaning of text
- Contextual relationships
- Writing patterns
β‘ Usage
from transformers import pipeline
classifier = pipeline("text-classification", model="your-username/your-model")
classifier("Breaking news: Scientists discover new planet")
- Downloads last month
- 29
Model tree for anshy047/fake-news-detector-transformer
Base model
distilbert/distilbert-base-uncased