Views
No views yet
0 = Not Sarcastic, 1 = Sarcastic)distilbert-base-uncased| Model | Accuracy |
|---|---|
| DistilBERT (ours) | 93.1% |
| GRU | 85.3% |
| LSTM | 84.6% |
| Logistic Regression | 83.4% |
| SVM | 82.9% |
| Naive Bayes | 82.7% |
1from transformers import pipeline
2
3# Load the model from HF Hub
4classifier = pipeline("text-classification", model="YamenRM/sarcasm_model")
5
6# Example
7text = "Oh great, another Monday morning meeting!"
8print(classifier(text))