surrey-nlp/BESSTIE-CW-26
Viewer β’ Updated β’ 6.24k β’ 85
Fine-tuned roberta-base on the
BESSTIE-CW-26
dataset for binary sentiment classification.
roberta-basesentiment (binary)from transformers import AutoModelForSequenceClassification, AutoTokenizer
model = AutoModelForSequenceClassification.from_pretrained("vyshnav112233/roberta-base-sentiment")
tokenizer = AutoTokenizer.from_pretrained("vyshnav112233/roberta-base-sentiment")
inputs = tokenizer("your sentence here", return_tensors="pt", truncation=True, max_length=64)
logits = model(**inputs).logits
Base model
FacebookAI/roberta-base