This model is using pre-trained question-answering from distilbert-base-cased-distilled-squad.

Use this model

Import

qa = pipeline(
    "question-answering",
    model="harishforaiandml/my-pretrained-qa-model"
)

Asking Question

paragraph = "Delhi is the capital of India"
question = "What is capital city of india?"

result = qa(question=question, context=paragraph)

print(result["answer"])
Downloads last month
37
Safetensors
Model size
65.2M params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for harishforaiandml/my-pretrained-qa-model

Finetuned
(52)
this model

Spaces using harishforaiandml/my-pretrained-qa-model 2

Collection including harishforaiandml/my-pretrained-qa-model