Views
No views yet
| Epoch | Accuracy |
|---|---|
| 1 | 98.92% |
| 2 | 98.92% |
| 3 | 99.19% |
1from transformers import pipeline
2spam_detector = pipeline("text-classification", model="Danisht/spam-detector-distilbert")
3result = spam_detector("Congratulations! You won a free iPhone!")
4print(result)