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
Update README.md
Browse files
README.md
CHANGED
|
@@ -4,10 +4,10 @@ widget:
|
|
| 4 |
- text: "Oh really, what a great idea! Let's just ignore all the facts and trot right ahead!"
|
| 5 |
example_title: "Sarcastic Dialogue"
|
| 6 |
output:
|
| 7 |
-
- label:
|
| 8 |
score: 1.0
|
| 9 |
-
- label:
|
| 10 |
score: 0.0
|
| 11 |
- text: "What a great idea - let's continue!"
|
| 12 |
-
example_title: "
|
| 13 |
---
|
|
|
|
| 4 |
- text: "Oh really, what a great idea! Let's just ignore all the facts and trot right ahead!"
|
| 5 |
example_title: "Sarcastic Dialogue"
|
| 6 |
output:
|
| 7 |
+
- label: sarcasm_more
|
| 8 |
score: 1.0
|
| 9 |
+
- label: sarcasm_less
|
| 10 |
score: 0.0
|
| 11 |
- text: "What a great idea - let's continue!"
|
| 12 |
+
example_title: "Sincere Dialogue"
|
| 13 |
---
|