File size: 1,066 Bytes
7ffe297
 
 
 
 
 
 
 
 
 
 
386a70a
e5dd50a
386a70a
e5dd50a
386a70a
 
 
 
 
e5dd50a
 
386a70a
e5dd50a
386a70a
 
 
 
a68abaa
386a70a
 
 
 
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
---
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