SetFit/mrpc
Viewer • Updated • 5.8k • 511 • 15
How to use diamond0/dummy-model with Transformers:
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("diamond0/dummy-model")
model = AutoModelForSequenceClassification.from_pretrained("diamond0/dummy-model")This is the dummy model following the huggingface NLP course.