Instructions to use dima806/sarcasm-detection-distilbert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dima806/sarcasm-detection-distilbert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="dima806/sarcasm-detection-distilbert")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("dima806/sarcasm-detection-distilbert") model = AutoModelForSequenceClassification.from_pretrained("dima806/sarcasm-detection-distilbert") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
83ea2ef | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:b3ddde43c74acbdc9a7d7f40677094d2857b44dd26e651fda755950ea0a80dae
size 4027
|