parshwa1404's picture
Update README.md
2be108a verified

A newer version of the Streamlit SDK is available: 1.48.0

Upgrade
metadata
title: News Veracity Checker
emoji: ๐Ÿ“ฐ
colorFrom: indigo
colorTo: green
sdk: streamlit
sdk_version: 1.45.1
app_file: app.py
pinned: false

๐Ÿ“ฐ News Veracity Checker

With the explosive growth of social media, the spread of fake news has become a global crisis. According to the MIT Media Lab, false information spreads six times faster than true news on platforms like Twitter. Studies also show that nearly 64% of adults have been exposed to fake news online, often without even realizing it.

Thatโ€™s why I built this project: an News Veracity Checker Using AI. This tool classifies whether a news article or headline is true or false and provides a fact-based explanation using an open-source language model.


๐Ÿ’ก Features

  • โœ… Veracity Score โ€“ Classifies news as true or false using a BERT-based fake news detector
  • ๐Ÿ“ƒ Article Summarizer โ€“ Provides a concise summary of the content using Facebookโ€™s BART model
  • ๐Ÿค– AI Explanation โ€“ Uses Googleโ€™s Gemma-2B-Instruct LLM to generate fact-based rationales and corrections
  • โ˜๏ธ Word Cloud Visualization โ€“ Visual insight into the most frequent keywords
  • ๐Ÿง  All models are run locally using Hugging Face Transformers

๐Ÿ› ๏ธ Tech Stack

  • Streamlit โ€“ For interactive front-end interface
  • Hugging Face Transformers โ€“ For veracity detection, summarization, and explanation generation
  • PyTorch
  • Matplotlib & WordCloud โ€“ For visualization
  • Models Used:
    • jy46604790/Fake-News-Bert-Detect โ€“ for veracity classification
    • facebook/bart-large-cnn โ€“ for summarizing long news texts
    • google/gemma-2b-it โ€“ for AI-generated factual explanation