How to use apardesi/QA_distilBERT_model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="apardesi/QA_distilBERT_model")
# Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("apardesi/QA_distilBERT_model") model = AutoModelForQuestionAnswering.from_pretrained("apardesi/QA_distilBERT_model")
Fine tuned DistilBERT on squad dataset to answer financial performance questions