hariprabhakaran45/CTION-QA
013
CTION-QA: Question Answering Model
Model Description
A Question Answering (Q&A) model is a transformer-based NLP model trained to understand a given context and accurately extract or generate answers to user questions from that text. It is fine-tuned on the SQuAD 2.0 dataset for extractive question answering.
Performance
Usage
from transformers import pipeline
qa = pipeline(
"question-answering",
model="hariprabhakaran45/CTION-QA"
)
result = qa(
question="Who is the Eiffel Tower named after?",
context="The Eiffel Tower is named after Gustave Eiffel."
)
print(result["answer"])
