Skip to content

🎭 AI-powered sentiment analysis web app built with DistilBERT and Streamlit. Analyzes text emotions and suggests relevant emojis in real-time.

Notifications You must be signed in to change notification settings

Abhay-Rudatala/Sentiment-Analyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

11 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

SENTIMENT-ANALYZER

Real-Time Sentiment Classification with Emoji Recommendations

Last Commit Python Languages


Built with the tools and technologies:

Markdown Streamlit transformers PyTorch

HuggingFace Python Plotly NumPy


πŸš€ Live Demo

Try the live application: [Click Here]

Features

  • 3-Class Sentiment Analysis: Positive, Negative, Neutral
  • Smart Emoji Predictions: Context-aware emoji suggestions
  • Real-time Analysis: Instant results with confidence scores
  • Modern UI: Clean, responsive Streamlit interface

🏁 Quick Start

1️⃣ Clone & Install

git clone https://github.com/Abhay-Rudatala/Sentiment-Analyzer.git
cd Sentiment-Analyzer
pip install -r requirements.txt

2️⃣ Train Models

python src/training/train_distilbert.py

4️⃣ Run App

streamlit run app/streamlit_app.py

🌐 Open your browser to http://localhost:8501

πŸ“ Project Structure

β”œβ”€β”€ 🎨 app/streamlit_app.py          # Streamlit web application
β”œβ”€β”€ πŸ“ src/models/                   # Model classes
β”œβ”€β”€ πŸ€– src/training/                 # Training scripts
β”œβ”€β”€ πŸ“Š data/processed/               # Processed data files
β”œβ”€β”€ πŸ“¦ requirements.txt              # Dependencies
└── πŸ“– README.md                     # This file

πŸ“ˆ Model Details

  • Architecture: DistilBERT (66M parameters)
  • Classes: Negative, Neutral, Positive
  • Performance: ~85% accuracy on test data

🀝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

🌟 Show Your Support

If this project helped you, please ⭐ star this repository!


Ready to analyze your resume? Let's get started! πŸš€

Releases

No releases published

Packages

No packages published

Languages