O'Reilly logo

Hands-On Natural Language Processing with Python by Rajalingappaa Shanmugamani, Rajesh Arumugam

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The Question-Answering task

On the surface, the Question-Answering task seems straightforward—given a question and (optionally) some related facts, the model must produce an answer.

Traditional approaches to QA include rule-based models or information retrieval methods based on word overlap or tf-idf scores. However, training a model to understand the input as well as the facts in terms of both syntax and semantics can be challenging due to the inherent complications of natural language. Deep neural networks can learn to model these complexities without handcrafting or feature engineering, and have emerged as the state-of-the-art networks for these tasks.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required