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