isom-5240-project / README.md
LTH001's picture
Update README.md
7ffe297 verified
---
title: Amazon Review Sentiment Analysis
emoji: 📊
colorFrom: blue
colorTo: indigo
sdk: streamlit
sdk_version: 1.22.0
app_file: app.py
pinned: false
---
# Amazon Review Sentiment Analysis
This Streamlit application analyzes the sentiment of product reviews and predicts ratings (1-5 stars) using a pre-trained model from Hugging Face.
## Features
- Real-time sentiment analysis of product reviews
- Rating prediction (1-5 stars)
- Confidence scores for each rating
- Multi-language support (English, Dutch, German, French, Spanish, Italian)
## Model Information
The application uses the [LiYuan/amazon-review-sentiment-analysis](https://huggingface.co/LiYuan/amazon-review-sentiment-analysis) model from Hugging Face, which is based on DistilBERT and was trained on a large dataset of Amazon product reviews.
## Usage
1. Enter your review text in the text area
2. Click "Analyze Sentiment"
3. View the predicted rating and confidence scores
## Technical Details
- Built with Streamlit
- Uses PyTorch and Transformers
- Model is cached for faster inference