Chapter 9. Tools of the Trade
In the preceding section, we covered all the foundational elements of NLP and how to develop NLP models. Starting with this chapter, weâll cover what you should begin to think about as you come out of the wonderful world of training magnificent models on carefully curated datasets and into the mess that is the real world.
In this chapter specifically, we will discuss mainstream machine learning software and the choices you will face as you decide what to include in your stack. Then, in ChapterÂ 10, we build custom web apps for machine learning and data science using an easy-to-use open source Python library called Streamlit, and we will conclude this section (in ChapterÂ 11) with model deployment at scale using software from the industry leader, Databricks. By the end of these three chapters, you will have a good understanding of how to productionize machine learning models as web apps, APIs, and machine learning pipelines.
Letâs start with a topic many developers love spending inordinate amounts of time arguing over: tools.
People who should probably be spending their time coding, love hashing out the standard TensorFlow versus PyTorch or best programming language debates on endlessly long Twitter threads, but we want to take a step back and talk about some of the more practical decisions youâll have to wrestle with in the real world. After all, âappliedâ is in the title of this book.
Here are a few obligatory disclaimers:
It is almost ...