Birthday Detector
This model is a fine-tuned version of distilbert/distilbert-base-uncased. It achieves the following results on the evaluation set:
- Loss: 0.0101
- Accuracy: 1.0
You can easily run it with inference, or run it in python with:
from transformers import pipeline
classifier = pipeline("sentiment-analysis", model="nroggendorff/birthday-detector")
isBirthday = classifier("happy birthday doug")[0]["label"] == "POSITIVE"
Make sure you have the necessary dependencies installed.
- Downloads last month
- 3