Downloads · 30 days
14
52% of all-time downloads
hariprabhakaran45/CTION-QA
CTION-QA is a question answering model from hariprabhakaran45. Use it when the input is a question plus a passage. It is set up for transformers. The card lists the license as mit.
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 da…
Downloads · 30 days
14
52% of all-time downloads
All-time downloads
27
Public
Parameters
124M
496 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors496 MB · 99%
From the Hugging Face model README
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.
| Metric | Score |
|---|---|
| Exact Match | 76.9 |
| F1 Score | 79.8 |
| Context Length | 512 |
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"])