Transformers How to use TheAIchemist13/span_extraction with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("question-answering", model="TheAIchemist13/span_extraction") # Load model directly
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
tokenizer = AutoTokenizer.from_pretrained("TheAIchemist13/span_extraction")
model = AutoModelForQuestionAnswering.from_pretrained("TheAIchemist13/span_extraction")