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")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("dima806/sarcasm-detection-distilbert") model = AutoModelForSequenceClassification.from_pretrained("dima806/sarcasm-detection-distilbert", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#1)
Verified signature- Adding `safetensors` variant of this model (11e18dbdb97c9d6a89d2a0c2086cf0a8ad8443ba) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>8f0e242
-
Update README.md
Verified signature100fc33
-
Create README.md
1227316 -
Upload folder using huggingface_hub
83ea2ef -
initial commit
34f6843