surrey-nlp/BESSTIE-CW-26
Viewer โข Updated โข 6.24k โข 330
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