Views
No views yet
distilbert-base-uncased on the IMDb dataset for sentiment analysis.1from transformers import pipeline
2
3# Load the model
4model_pipeline = pipeline("text-classification", model="proc015/sentiment-model")
5
6# Run sentiment analysis
7result = model_pipeline("I love this product!")
8print(result)