Spaces:
Sleeping
Sleeping
|
Download README.md from pankajkr07/FAKENEWSDETECTOR: direct link, hf CLI and curl.
- Browser
- Download file 978 Bytes
-
https://huggingface.co/spaces/pankajkr07/FAKENEWSDETECTOR/resolve/main/README.md
- Command line
-
hf download hf://spaces/pankajkr07/FAKENEWSDETECTOR/README.md
-
curl -L -o README.md https://huggingface.co/spaces/pankajkr07/FAKENEWSDETECTOR/resolve/main/README.md
978 Bytes
| 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. |