Loading…
Glossary term
Systems that respond to questions posed in natural language.
Question answering systems respond to questions in natural language. Extractive versions find the answer span inside a given passage; generative versions write an answer, possibly after retrieving documents. Open-domain systems must first find the right source.
Extractive QA
from transformers import pipeline
qa = pipeline("question-answering")
print(qa(question="Where is the Eiffel Tower?",
context="The Eiffel Tower is in Paris, France."))It is the core behavior of assistants and search, and a standard evaluation task.