Chapter 8: Building a Chatbot Using Attention-Based Neural Networks

If you have ever watched any futuristic sci-fi movies, chances are you will have seen a human talk to a robot. Machine-based intelligence has been a long-standing feature in works of fiction; however, thanks to recent advances in NLP and deep learning, conversations with a computer are no longer a fantasy. While we may be many years away from true intelligence, where computers are able to understand the meaning of language in the same way that humans do, machines are at least capable of holding a basic conversation and giving a rudimentary impression of intelligence.

In the previous chapter, we looked at how to construct sequence-to-sequence models to translate sentences from ...

Get Hands-On Natural Language Processing with PyTorch 1.x now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.