File size: 1,344 Bytes
075c55b 7cf977e 075c55b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | # Multi-Class Sentiment Analysis
This project is a multi-emotion classification tool using a pre-trained BERT model. The application is built with Streamlit to provide an interactive web interface for users to analyze the emotions expressed in a given text.
## Features
- **Emotion Prediction**: Predicts multiple emotions from a given text input.
- **Text Preprocessing**: Splits text into sentences and removes full stops for better analysis.
- **Interactive Interface**: User-friendly interface to input text and view results.
## Installation
1. Clone the repository:
```bash
git clone https://github.com/Orion-Artemis/Multi-Classification-Sentiment-Analysis.git
cd Multi-Classification-Sentiment-Analysis
```
2. Install the required packages:
```bash
pip install -r requirements.txt
```
3. Ensure you have the pre-trained BERT model files in the `./bert_emotion_classifier` directory. You can download the model from Kaggle: https://www.kaggle.com/models/omlande/bert-multiclass-classification-sentiment-analysis
## Usage
Run the Streamlit app:
```bash
streamlit run app.py
```
## License
This project is licensed under the MIT License.
## Acknowledgements
- [Streamlit](https://www.streamlit.io/)
- [Hugging Face Transformers](https://huggingface.co/transformers/)
- [PyTorch](https://pytorch.org/) |