update model card README.md d4d5473
Rachel M Lee commited on
How to use rsml/my_awesome_qa_model with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("question-answering", model="rsml/my_awesome_qa_model") # Load model directly
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
tokenizer = AutoTokenizer.from_pretrained("rsml/my_awesome_qa_model")
model = AutoModelForQuestionAnswering.from_pretrained("rsml/my_awesome_qa_model")