stanfordnlp/imdb
Viewer • Updated • 100k • 178k • 370
This is a fine-tuned DistilBERT model for sentiment analysis on text data. It classifies input text as either positive or negative sentiment. The model was trained on the IMDB dataset and achieves high accuracy on movie reviews and similar text.
This model is intended for sentiment analysis tasks, such as analyzing customer reviews, social media posts, or any textual feedback to determine overall sentiment.
from transformers import pipeline
classifier = pipeline("sentiment-analysis", model="user/sentiment-classifier")
result = classifier("I love this product!")
print(result)
# [{'label': 'POSITIVE', 'score': 0.99}]