This model is a fine-tuned version of distilbert-base-uncased on an Amazon product reviews dataset. It classifies customer reviews into two sentiment categories:
Negative (label 0): rating < 3.5
Positive (label 1): rating ≥ 3.5
The model is designed to support automated customer service systems by providing real-time sentiment analysis.
You can use this model directly with the Transformers pipeline for text classification.
1from transformers import pipeline
2
3classifier = pipeline("text-classification", model="your_username/amazon-sentiment-distilbert")
4result = classifier("This product is amazing!")
5print(result) # [{'label': 'POSITIVE', 'score': 0.99}]