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