using pipeline

#18
by halow87 - opened

Can we use this model in hugging face pipeline?
'''
from transformers import pipeline
qa_model = pipeline("question-answering", model="./mymodel")
question = ""
context = ""
qa_model(question=question, context=context)
'''

Sign up or log in to comment