Spaces:
Running
Running
title: Movie Review Sentiment Analyzer | |
emoji: π¬ | |
colorFrom: blue | |
colorTo: purple | |
sdk: gradio | |
sdk_version: 5.9.1 | |
app_file: app.py | |
pinned: false | |
license: mit | |
short_description: BERT-powered movie review sentiment analysis | |
# Movie Review Sentiment Analyzer | |
## Overview π― | |
This Gradio app uses the `zavora/bert-sentiment-imdb` model to analyze movie review sentiments in real-time. The model has been fine-tuned on the IMDB dataset to provide accurate sentiment predictions for movie-related text. | |
## Features β¨ | |
- Real-time sentiment analysis | |
- Confidence score for each prediction | |
- User-friendly interface | |
- Example reviews for testing | |
- Mobile-responsive design | |
## Model Details π€ | |
- **Base Model**: bert-base-uncased | |
- **Fine-tuned on**: IMDB dataset | |
- **Task**: Binary Sentiment Analysis | |
- **Model Source**: [zavora/bert-sentiment-imdb](https://huggingface.co/zavora/bert-sentiment-imdb) | |
## How to Use π | |
1. Enter your movie review in the text box | |
2. Click the "Submit" button | |
3. View the sentiment analysis results: | |
- Sentiment (Positive/Negative) | |
- Confidence score | |
## Technical Details π οΈ | |
Built with: | |
- Gradio 5.9.1 | |
- Transformers | |
- PyTorch | |
- BERT model fine-tuned on IMDB dataset | |
## Local Development | |
```bash | |
# Install dependencies | |
pip install -r requirements.txt | |
# Run the app | |
python app.py |