CoolFace
Apppublic

Rxmshx/NewsLens

sourceHugging Facemitupdated 6mo agoView on Hugging Face
0likes
App README

๐Ÿ“ฐ NewsLens - AI News Analysis System

An end-to-end AI-powered news analysis platform that performs news classification, sentiment analysis, entity extraction, and keyword extraction using advanced NLP and deep learning models.


๐Ÿš€ Features

  • โ€”๐Ÿง  News Classification using DistilBERT (92.3% accuracy)
  • โ€”๐Ÿ’ฐ Financial Sentiment Analysis using FinBERT (94%+ confidence)
  • โ€”๐Ÿท๏ธ Named Entity Recognition using spaCy
  • โ€”๐Ÿ”‘ Keyword Extraction using NLP techniques
  • โ€”๐ŸŒ Web Scraping (BBC & Yahoo Finance)
  • โ€”โšก FastAPI Backend for real-time predictions
  • โ€”๐ŸŽจ Glassmorphism Web UI
  • โ€”๐Ÿš€ GPU-Accelerated Training & Inference

๐Ÿง  Models Used

TaskModel
Text ClassificationDistilBERT
Sentiment AnalysisFinBERT
NERspaCy encoreweb_sm
Keyword ExtractionPOS-based NLP

โ–ถ๏ธ How to Run

bash
git clone https://github.com/Rxmshx/NewsLens.git
cd NewsLens
pip install -r requirements.txt
python -m spacy download en_core_web_sm
python -m uvicorn api.app:app --reload --port 8000

๐Ÿ“Š Model Performance

  • โ€”โœ… Accuracy: 92.3%
  • โ€”โœ… F1 Score: 92.26%
  • โ€”โœ… Balanced Precision & Recall
  • โ€”๐Ÿš€ Trained on RTX 5070 Ti GPU