This project demonstrates a sentiment analysis application using Generative AI. The application leverages state-of-the-art language models to classify the sentiment of text inputs.
- Sentiment Classification: Classify text as positive or negative.
- User-Friendly Interface: Simple User interface for input and output.
- Customizable Model: Option to fine-tune or replace the pre-trained model for specific use cases.
Here’s a screenshot of the user interface for the sentiment analysis application:
- Python 3.7 or higher
transformersanddatasetslibrariespipfor package management
-
Clone the repository:
git clone https://github.com/yourusername/sentiment-analysis-project.git cd sentiment-analysis-project
-
Run the sentiment analysis script:
```bash main.py.```bash streamlit run app.py
Here are a few example sentences you can use to test the sentiment analysis model:
-
Positive: "I absolutely love this new feature! It's fantastic and makes my work so much easier."

-
Negative: "I am really disappointed with the latest update. It’s full of bugs and doesn’t work as expected."

This project uses the Hugging Face Transformers library to leverage pre-trained models for sentiment analysis.
Contributions are welcome! Please open an issue or submit a pull request if you have suggestions or improvements.
