YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
π° News Classifier using LSTM + Django
This is a web app that classifies news articles into categories using an LSTM model with attention mechanism.
π§ Tech Stack
- Python 3.10
- PyTorch
- Django 5.2
- HTML/CSS (basic styling)
π How to Run Locally
# Clone the repo
git clone https://github.com/YOUR_USERNAME/YOUR_REPO.git
cd YOUR_REPO
# Create and activate virtual environment
python -m venv env
env\Scripts\activate # on Windows
# Install dependencies
pip install -r requirements.txt
# Run server
python manage.py runserver
π Project Structure
improvedlstm/
βββ classify/
β βββ templates/classify/index.html
β βββ model_loader.py
β βββ model.py
β βββ predict.py
βββ manage.py
βββ requirements.txt
βββ README.md
MIT License
Copyright (c) 2025
Inference Providers NEW
This model isn't deployed by any Inference Provider. π Ask for provider support