End of training 098caa6 verified
Hoang Pham commited on
How to use hoganpham/my_first_qa_model with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("question-answering", model="hoganpham/my_first_qa_model") # Load model directly
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
tokenizer = AutoTokenizer.from_pretrained("hoganpham/my_first_qa_model")
model = AutoModelForQuestionAnswering.from_pretrained("hoganpham/my_first_qa_model")