Upload DebertaV2ForQuestionAnswering 92b3655 verified
Rifat Mamayusupov commited on
How to use blackhole33/ExtractQuestionAnswer with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("question-answering", model="blackhole33/ExtractQuestionAnswer") # Load model directly
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
tokenizer = AutoTokenizer.from_pretrained("blackhole33/ExtractQuestionAnswer")
model = AutoModelForQuestionAnswering.from_pretrained("blackhole33/ExtractQuestionAnswer")