Chapter 9: Deploying and Using Models in Production
When Natural Language Processing (NLP) researchers and scientists work on improving a certain NLP model, they usually spend significant amount of time working on improving some very specific part or aspect of the model. When their work is done, results are gathered and then published as part of an academic paper. However, if you plan to leverage NLP for practical purposes, either as a commercial solution or simply as part of a personal project, a well-trained model is usually the point where your journey only begins.
In the first section of this chapter, we plan to cover the typical issues generally encountered when using NLP models in production, how to overcome these issues, and how to make our models publicly available. We will then address the issue from the low level by building a self-serving NLP solution. We will talk about the tools and libraries available for self-serving and the reasons why you should or shouldn&apos...