Spaces:
Sleeping
Sleeping
A newer version of the Streamlit SDK is available:
1.45.1
metadata
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 model from Hugging Face, which is based on DistilBERT and was trained on a large dataset of Amazon product reviews.
Usage
- Enter your review text in the text area
- Click "Analyze Sentiment"
- View the predicted rating and confidence scores
Technical Details
- Built with Streamlit
- Uses PyTorch and Transformers
- Model is cached for faster inference