Instructions to use hallisky/sarcasm-classifier-gpt4-data with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hallisky/sarcasm-classifier-gpt4-data with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="hallisky/sarcasm-classifier-gpt4-data")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("hallisky/sarcasm-classifier-gpt4-data") model = AutoModelForSequenceClassification.from_pretrained("hallisky/sarcasm-classifier-gpt4-data") - Notebooks
- Google Colab
- Kaggle
metadata
license: apache-2.0
widget:
- text: >-
Oh really, what a great idea! Let's just ignore all the facts and trot
right ahead!
example_title: Sarcastic Dialogue
output:
- label: sarcasm_more
score: 1
- label: sarcasm_less
score: 0
- text: What a great idea - let's continue!
example_title: Sincere Dialogue