Book Image

Deep Learning for Natural Language Processing

By : Karthiek Reddy Bokka, Shubhangi Hora, Tanuj Jain, Monicah Wambugu
Book Image

Deep Learning for Natural Language Processing

By: Karthiek Reddy Bokka, Shubhangi Hora, Tanuj Jain, Monicah Wambugu

Overview of this book

Applying deep learning approaches to various NLP tasks can take your computational algorithms to a completely new level in terms of speed and accuracy. Deep Learning for Natural Language Processing starts by highlighting the basic building blocks of the natural language processing domain. The book goes on to introduce the problems that you can solve using state-of-the-art neural network models. After this, delving into the various neural network architectures and their specific areas of application will help you to understand how to select the best model to suit your needs. As you advance through this deep learning book, you’ll study convolutional, recurrent, and recursive neural networks, in addition to covering long short-term memory networks (LSTM). Understanding these networks will help you to implement their models using Keras. In later chapters, you will be able to develop a trigger word detection application using NLP techniques such as attention model and beam search. By the end of this book, you will not only have sound knowledge of natural language processing, but also be able to select the best text preprocessing and neural network models to solve a number of NLP issues.
Table of Contents (11 chapters)

Fundamentals of Deploying a Model as a Service

The purpose of deploying a model as a service is for other people to view and access it with ease, and in other ways besides just looking at your code on GitHub. There are different types of model deployments, depending on why you've created the model in the first place. You could say there are three types—a streaming model (one that constantly learns as it is constantly fed data and then makes predictions), an analytics as a service model (AaaS—one that is open for anyone to interact with) and an on-line model (one which is only accessible by people working within the same company).

The most common way of showcasing your work is through a web application. There are multiple deployment platforms that aid and allow you to deploy your models through them, such as Deep Cognition, MLflow, and others.

Flask is the easiest micro web framework to use to deploy your own model without using an existing platform. It is written in Python...