Team Ai
Apppublic

NirajGogoi/Multi-Class_News_Authenticity_Detector

sourceHugging Faceupdated 9mo agoView on Hugging Face
0likes
App README

Multi-Class Fake News + Scam + Not-News Detection System

๐Ÿ“Œ Project Overview

This project is an AI-based Natural Language Processing (NLP) system that classifies input text into four categories:

  • โ€”REAL News
  • โ€”FAKE News
  • โ€”SCAM Messages
  • โ€”NOT-NEWS (casual text / opinions)

The system uses TF-IDF vectorization and a Logistic Regression model to perform multi-class text classification. A Streamlit web interface is used for real-time prediction.


โš™๏ธ Technologies Used

  • โ€”Python
  • โ€”Scikit-learn
  • โ€”TF-IDF Vectorizer
  • โ€”Logistic Regression
  • โ€”Pandas & NumPy
  • โ€”Streamlit (Web Interface)

๐Ÿ“‚ Project Files

  • โ€”app.py โ†’ Streamlit application
  • โ€”lrmodelmulti.jb โ†’ Trained multi-class model
  • โ€”vectorizer_multi.jb โ†’ TF-IDF vectorizer
  • โ€”requirements.txt โ†’ Required Python libraries
  • โ€”README.md โ†’ Project documentation

โ–ถ๏ธ How to Run Locally

  1. 1.Install Dependencies: py -m pip install -r requirements.txt
  1. 1.Run Streamlit App: py -m streamlit run app.py
  1. 1.Open Browser: http://localhost:8501

๐Ÿงช Sample Test Inputs

Government announces new education policy today โ†’ REAL Aliens landed in Delhi confirmed โ†’ FAKE Your bank account is locked verify immediately โ†’ SCAM I love cricket so much โ†’ NOT-NEWS


๐ŸŒ Deployment

The application can be deployed online using Hugging Face Spaces by uploading:

  • โ€”app.py
  • โ€”lrmodelmulti.jb
  • โ€”vectorizer_multi.jb
  • โ€”requirements.txt
  • โ€”README.md

๐Ÿ“ˆ Future Enhancements

  • โ€”Use Deep Learning models (BERT, LSTM)
  • โ€”Add URL credibility checking
  • โ€”Multilingual news detection
  • โ€”Browser extension integration

๐ŸŽ“ Project Outcome

This system helps users identify misinformation, scams, and non-news content, promoting safer information consumption.


๐Ÿ‘จโ€๐Ÿ’ป Developed for Academic AI/ML Project