Transformers How to use MasterGuda/bert-base-uncased-gluesst2-finetuned-gpu with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="MasterGuda/bert-base-uncased-gluesst2-finetuned-gpu") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("MasterGuda/bert-base-uncased-gluesst2-finetuned-gpu")
model = AutoModelForSequenceClassification.from_pretrained("MasterGuda/bert-base-uncased-gluesst2-finetuned-gpu")