Upload folder using huggingface_hub e55cbbb verified
TitanML Co commited on
How to use titanbot/Roberta-Large-MRPC with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="titanbot/Roberta-Large-MRPC") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("titanbot/Roberta-Large-MRPC")
model = AutoModelForSequenceClassification.from_pretrained("titanbot/Roberta-Large-MRPC")