Added SciBERT-SQuAD-QuAC model df352e1
Jon Ander commited on
How to use ixa-ehu/SciBERT-SQuAD-QuAC with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("question-answering", model="ixa-ehu/SciBERT-SQuAD-QuAC") # Load model directly
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
tokenizer = AutoTokenizer.from_pretrained("ixa-ehu/SciBERT-SQuAD-QuAC")
model = AutoModelForQuestionAnswering.from_pretrained("ixa-ehu/SciBERT-SQuAD-QuAC", device_map="auto")