Amazon Shoe Reviews — Sentiment Classifier
Predict the star rating of Amazon shoe reviews using a fine-tuned DistilBERT model. Type a review and get an instant star rating with confidence score.
How It Works
- Type or paste a shoe review
- The model predicts the star rating (1–5 stars)
- Get a result like: ⭐⭐⭐⭐ 95%
Model
| Detail | Value |
|---|---|
| Model | juliensimon/distilbert-amazon-shoe-reviews |
| Architecture | DistilBERT (text classification) |
| Task | Multi-class star rating prediction (1–5 stars) |
| Training Data | Amazon shoe reviews |
Example
Input: "These running shoes are incredibly comfortable and lightweight. Perfect for long runs!"
Output: ⭐⭐⭐⭐⭐ 93%
Run Locally
git clone https://huggingface.co/spaces/juliensimon/amazon-shoe-reviews-spaces
cd amazon-shoe-reviews-spaces
pip install -r requirements.txt
python app.py