My Sentiment Classifier
A DistilBERT model fine-tuned for binary sentiment classification (POSITIVE / NEGATIVE), re-published as a deployment exercise.
Example
from transformers import pipeline
clf = pipeline('text-classification', model='jeremiefcb/my-sentiment-classifier')
clf('I love this!') # -> [{'label': 'POSITIVE', 'score': 0.999}]
- Downloads last month
- 20