🧠 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
Safetensors
Model size
67M params
Tensor type
F32
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ 1 Ask for provider support

Model tree for anshy047/fake-news-detector-transformer

Finetuned
(11344)
this model