Instructions to use helinivan/multilingual-sarcasm-detector with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use helinivan/multilingual-sarcasm-detector with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="helinivan/multilingual-sarcasm-detector")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("helinivan/multilingual-sarcasm-detector") model = AutoModelForSequenceClassification.from_pretrained("helinivan/multilingual-sarcasm-detector") - Notebooks
- Google Colab
- Kaggle
Librarian Bot: Update dataset YAML metadata for model
#1
by librarian-bot - opened
README.md
CHANGED
|
@@ -1,13 +1,14 @@
|
|
| 1 |
---
|
| 2 |
-
language:
|
| 3 |
tags:
|
| 4 |
- bert
|
| 5 |
- sarcasm-detection
|
| 6 |
- text-classification
|
|
|
|
| 7 |
widget:
|
| 8 |
-
- text:
|
| 9 |
-
- text:
|
| 10 |
-
- text:
|
| 11 |
---
|
| 12 |
|
| 13 |
# Multilingual Sarcasm Detector
|
|
|
|
| 1 |
---
|
| 2 |
+
language: multilingual
|
| 3 |
tags:
|
| 4 |
- bert
|
| 5 |
- sarcasm-detection
|
| 6 |
- text-classification
|
| 7 |
+
datasets: helinivan/sarcasm_headlines_multilingual
|
| 8 |
widget:
|
| 9 |
+
- text: Gli Usa a un passo dalla recessione
|
| 10 |
+
- text: CIA Realizes It's Been Using Black Highlighters All These Years.
|
| 11 |
+
- text: We deden een man een nacht in een vat met cola en nu is hij dood
|
| 12 |
---
|
| 13 |
|
| 14 |
# Multilingual Sarcasm Detector
|