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