Text Classification
Transformers
PyTorch
Spanish
roberta
irony
sarcasm
spanish
text-embeddings-inference
Instructions to use dtomas/roberta-base-bne-irony with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dtomas/roberta-base-bne-irony with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="dtomas/roberta-base-bne-irony")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("dtomas/roberta-base-bne-irony") model = AutoModelForSequenceClassification.from_pretrained("dtomas/roberta-base-bne-irony") - Notebooks
- Google Colab
- Kaggle
RoBERTa base finetuned for Spanish irony detection
Model description
Model to perform irony detection in Spanish. This is a finetuned version of the RoBERTa-base-bne model on the IroSvA corpus. Only the Spanish from Spain variant was used in the training process. It comprises 2,400 tweets labeled as ironic/non-ironic.
- Downloads last month
- 13