roberta-base-sarcasm

Fine-tuned roberta-base on the BESSTIE-CW-26 dataset for binary sarcasm classification.

Training

  • Base model: roberta-base
  • Task: sarcasm (binary)
  • Epochs: 2
  • Batch size: 4
  • Learning rate: 2e-5
  • Weight decay: 0.01
  • Max sequence length: 64
  • Seed: 42 (best of {42, 65, 131})
  • Optimizer: AdamW (Trainer default)

Test results

  • macro-F1: 0.6189

Usage

from transformers import AutoModelForSequenceClassification, AutoTokenizer

model = AutoModelForSequenceClassification.from_pretrained("vyshnav112233/roberta-base-sarcasm")
tokenizer = AutoTokenizer.from_pretrained("vyshnav112233/roberta-base-sarcasm")
inputs = tokenizer("your sentence here", return_tensors="pt", truncation=True, max_length=64)
logits = model(**inputs).logits
Downloads last month
47
Safetensors
Model size
0.1B params
Tensor type
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for vyshnav112233/roberta-base-sarcasm

Finetuned
(2311)
this model

Dataset used to train vyshnav112233/roberta-base-sarcasm

Spaces using vyshnav112233/roberta-base-sarcasm 2