FAKENEWSDETECTOR / README.md
pankajkr07's picture
Update README.md
1dd4b8f verified
|
Raw History Blame Contribute Delete
978 Bytes

A newer version of the Gradio SDK is available: 6.32.0

Upgrade
metadata
title: Fake News Detector
emoji: 🔍
colorFrom: blue
colorTo: green
sdk: gradio
sdk_version: 4.44.1
python_version: 3.10.13
app_file: app.py
pinned: false
license: mit

🧠 Fake News Detector — BERT Model

A BERT-based Fake News Detection system fine-tuned on the WELFake Dataset (72,134 articles).

How It Works

  1. Input: Paste any news article text
  2. BERT Model: Fine-tuned bert-base-uncased classifies the text
  3. Heuristic Engine: Detects conspiracy phrases, clickbait patterns, caps ratio
  4. Ensemble: Combines BERT (85%) + Heuristic (15%) for final verdict
  5. Output: FAKE / SUSPICIOUS / REAL + Confidence score

Model Details

Property Value
Base Model bert-base-uncased
Fine-tuned On WELFake Dataset (30K samples)
Epochs 3
Max Length 256 tokens
Labels 0 = Fake, 1 = Real

Team

Built by Pankaj Kumar, Ankit Kumar, Amit Yadav, Satyarthi Prakash, and Md Fardin.