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