Views
No views yet
distilbert-base-uncased for binary sentiment classification (0 = negative, 1 = positive).distilbert-base-uncased| Metric | Score |
|---|---|
| Accuracy | 0.876 |
| Precision | 0.871 |
| Recall | 0.883 |
| F1 | 0.877 |
1from transformers import pipeline
2classifier = pipeline("sentiment-analysis", model="MahadKhannn/my-sentiment-analyzer")
3result = classifier("This was a great experience!")
4print(result)