Chapter 8. AutoML for Text and Natural Language Processing
I still remember the first time I saw a machine learning model “understand” human language. It was 2017, and I was working for a retailer that was drowning in support tickets. It had hundreds of thousands of unstructured text messages from customers—complaints, questions, compliments, and everything in between—that needed to be automatically categorized and routed to the right teams.
At the time, building an effective text classification system required weeks of manual feature engineering: extracting n-grams, calculating TF-IDF scores, handling stemming and lemmatization, and carefully tuning preprocessing pipelines. The process was tedious and error-prone and required deep expertise in both natural language processing and the specific domain.
Fast-forward to today, and AutoML has fundamentally transformed how we approach text processing. What once required a team of NLP specialists and weeks of development can now be accomplished by a domain expert with a few lines of code. In this chapter, we’ll explore how AutoGluon’s MultiModalPredictor makes sophisticated NLP capabilities accessible to practitioners at all levels, while still providing the flexibility for experts to customize and optimize their models.
The transformation has been remarkable. That same retailer recently reached out to update its system using modern AutoML tools. What took its team six weeks to build in 2017 was replicated and improved upon in just ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access