Buy New
-
To see product details, add this item to your cart.
Ships from: Amazon.com Sold by: Amazon.com
Used - Very Good
-
To see product details, add this item to your cart.
Ships from: BooksRun Sold by: BooksRun
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Follow the author
OK
Natural Language Processing in Action, Second Edition
Purchase options and add-ons
Natural Language Processing in Action, Second Edition has helped thousands of data scientists build machines that understand human language. In this new and revised edition, you’ll discover state-of-the art Natural Language Processing (NLP) models like BERT and HuggingFace transformers, popular open-source frameworks for chatbots, and more. You’ll create NLP tools that can detect fake news, filter spam, deliver exceptional search results and even build truthfulness and reasoning into Large Language Models (LLMs).
In Natural Language Processing in Action, Second Edition you will learn how to:
- Process, analyze, understand, and generate natural language text
- Build production-quality NLP pipelines with spaCy
- Build neural networks for NLP using Pytorch
- BERT and GPT transformers for English composition, writing code, and even organizing your thoughts
- Create chatbots and other conversational AI agents
In this new and revised edition, you’ll discover state-of-the art NLP models like BERT and HuggingFace transformers, popular open-source frameworks for chatbots, and more. Plus, you’ll discover vital skills and techniques for optimizing LLMs including conversational design, and automating the “trial and error” of LLM interactions for effective and accurate results.
About the technology
From nearly human chatbots to ultra-personalized business reports to AI-generated email, news stories, and novels, natural language processing (NLP) has never been more powerful! Groundbreaking advances in deep learning have made high-quality open source models and powerful NLP tools like spaCy and PyTorch widely available and ready for production applications. This book is your entrance ticket—and backstage pass—into the next generation of natural language processing.
About the book
Natural Language Processing in Action, Second Edition introduces the foundational technologies and state-of-the-art tools you’ll need to write and publish NLP applications. You learn how to create custom models for search, translation, writing assistants, and more, without relying on big commercial foundation models. This fully updated second edition includes coverage of BERT, Hugging Face transformers, fine-tuning large language models, and more.
What's inside
- NLP pipelines with spaCy
- Neural networks with PyTorch
- BERT and GPT transformers
- Conversational design for chatbots
About the reader
For intermediate Python programmers familiar with deep learning basics.
About the author
Hobson Lane is a data scientist and machine learning engineer with over twenty years of experience building autonomous systems and NLP pipelines. Maria Dyshel is a social entrepreneur and artificial intelligence expert, and the CEO and cofounder of Tangible AI.
Cole Howard and Hannes Max Hapke were co-authors of the first edition.
Table fo Contents
Part 1
1 Machines that read and write: A natural language processing overview
2 Tokens of thought: Natural language words
3 Math with words: Term frequency–inverse document frequency vectors
4 Finding meaning in word counts: Semantic analysis
Part 2
5 Word brain: Neural networks
6 Reasoning with word embeddings
7 Finding kernels of knowledge in text with CNNs
8 Reduce, reuse, and recycle your words: RNNs and LSTMs
Part 3
9 Stackable deep learning: Transformers
10 Large language models in the real world
11 Information extraction and knowledge graphs
12 Getting chatty with dialog engines
A Your NLP tools
B Playful Python and regular expressions
C Vectors and linear algebra
D Machine learning tools and techniques
E Deploying NLU containerized microservices
F Glossary
- ISBN-101617299448
- ISBN-13978-1617299445
- Edition2nd ed.
- Publication dateFebruary 25, 2025
- LanguageEnglish
- Dimensions7.38 x 1.72 x 9.25 inches
- Print length688 pages
Frequently bought together

Customers who viewed this item also viewed
- Natural Language Processing with Transformers, Revised EditionPaperbackFREE Shipping by AmazonGet it as soon as Sunday, Sep 20
- Domain-Specific Small Language Models: Efficient AI for local deploymentPaperbackFREE Shipping by AmazonGet it as soon as Monday, Sep 21
- Build a Large Language Model (From Scratch)PaperbackFREE Shipping by AmazonGet it as soon as Sunday, Sep 20
- Build a Reasoning Model (From Scratch)PaperbackFREE Shipping by AmazonGet it as soon as Sunday, Sep 20
- AI Engineering: Building Applications with Foundation ModelsPaperbackFREE Shipping by AmazonGet it as soon as Sunday, Sep 20
- Knowledge Graphs and LLMs in Action: Build AI systems using connected dataPaperbackFREE Shipping by AmazonGet it as soon as Monday, Sep 21
Customers also bought or read
- Natural Language Processing with Transformers, Revised Edition
Paperback$41.60$41.60FREE delivery Sun, Sep 20 - Build a Large Language Model (From Scratch)#1 Best SellerComputer Neural Networks
Paperback$49.24$49.24FREE delivery Sun, Sep 20 - AI Agents in Action: Build, orchestrate, and deploy autonomous multi-agent systems
Paperback$59.99$59.99 - Mathematics of Machine Learning: Master linear algebra, calculus, and probability for machine learning
Paperback$44.30$44.30FREE delivery Mon, Sep 21 - Hands-On Machine Learning with Scikit-Learn and PyTorch: Concepts, Tools, and Techniques to Build Intelligent Systems
Paperback$77.72$77.72FREE delivery Mon, Sep 21 - The Hundred-Page Language Models Book: hands-on with PyTorch (The Hundred-Page Books)
Paperback$46.95$46.95FREE delivery Mon, Sep 21 - Hands-On Large Language Models: Language Understanding and Generation
Paperback$37.68$37.68FREE delivery Mon, Sep 21 - Domain-Specific Small Language Models: Efficient AI for local deployment
Paperback$41.51$41.51FREE delivery Mon, Sep 21 - LLMs in Production: From language models to successful products
Paperback$48.13$48.13FREE delivery Sun, Sep 20 - Build a Reasoning Model (From Scratch)#1 Best SellerProgramming Algorithms
Paperback$47.82$47.82FREE delivery Sun, Sep 20 - AI Engineering: Building Applications with Foundation Models#1 Best SellerEnterprise Applications
Paperback$52.40$52.40FREE delivery Sun, Sep 20 - Hands-On Machine Learning with Scikit-Learn, Keras, and TensorFlow: Concepts, Tools, and Techniques to Build Intelligent Systems
Paperback$49.50$49.50FREE delivery Mon, Sep 21 - Practical Natural Language Processing: A Comprehensive Guide to Building Real-World NLP Systems
Paperback$58.48$58.48FREE delivery Wed, Sep 23 - Python Machine Learning By Example: Unlock machine learning best practices with real-world use cases
Paperback$29.55$29.55Delivery Mon, Sep 21 - Hugging Face in Action: Build intelligent applications with transformers, agents, and RAG
Paperback$49.99$49.99FREE delivery Mon, Sep 21 - Deep Learning with PyTorch, Second Edition: Training and applying deep learning and generative AI models
Paperback$51.68$51.68FREE delivery Mon, Sep 21 - Learning LangChain: Building AI and LLM Applications with LangChain and LangGraph
Paperback$55.01$55.01FREE delivery Sun, Sep 20 - Designing Machine Learning Systems: An Iterative Process for Production-Ready Applications
Paperback$40.00$40.00FREE delivery Sun, Sep 20 - Deep Reinforcement Learning Hands-On: A practical and easy-to-follow guide to RL from Q-learning and DQNs to PPO and RLHF
Paperback$32.75$32.75Delivery Mon, Sep 21 - Deep Learning (Adaptive Computation and Machine Learning series)
Hardcover$51.51$51.51FREE delivery Sun, Sep 20 - Building Applications with AI Agents: Designing and Implementing Multiagent Systems
Paperback$56.44$56.44FREE delivery Sun, Sep 20 - Machine Learning with PyTorch and Scikit-Learn: Develop machine learning and deep learning models with Python#1 Best SellerSpeech & Audio Processing
Paperback$36.05$36.05FREE delivery Sun, Sep 20
From the Publisher
Editorial Reviews
From the Back Cover
Deep learning has been a giant leap forward for NLP applications. Developers can now build chatbots and other natural language tools that can imitate real people, diagnose illness, automatically summarize documents, and more. Accessible open source tools such as spaCy and PyTorch make production-level NLP easier and more impactful than ever before.
About the Author
Maria Dyshel is a social entrepreneur and artificial intelligence expert. She held a variety of AI research, engineering, and management roles in diverse industries, from designing and improving algorithms for autonomous vehicles, to implementing company-wide Conversational AI program in one of the world's largest pharma companies. Maria is currently the CEO and cofounder of Tangible AI.
Product details
- Publisher : Manning Publications
- Publication date : February 25, 2025
- Edition : 2nd ed.
- Language : English
- Print length : 688 pages
- ISBN-10 : 1617299448
- ISBN-13 : 978-1617299445
- Item Weight : 2.45 pounds
- Dimensions : 7.38 x 1.72 x 9.25 inches
- Part of series : In Action
- Best Sellers Rank: #676,867 in Books (See Top 100 in Books)
- #268 in Computer Neural Networks
- #303 in Natural Language Processing (Books)
- #1,132 in Computer Programming Languages
- Customer Reviews:
About the author

Hobson Lane is a machine learning engineer with a passion for teaching and writing. So it's no surprise that his first book teaches how to "compile" natural language into software that machines can execute. Hobson has been building control systems for 30 years, from offroad self-driving cars (TerraHawk) to spacefaring robots (NASA's AWIMR project and NGST's Formation Flying laboratory). Hobson's true passion is for robots that can communicate in natural language (English). His answer to the rise of antisocial chatbots is to build and train prosocial virtual assistants. He's on a mission to teach the world how to build chatbots that actually assist us rather than manipulate us. He built the first "visual interpreter for the blind" at Aira, and is now helping architect a cognitive assistant for medical providers at Manceps as well as a safety-monitoring smart camera for DeepCanopy. A how-to book on building cognitive assistants won't be far behind.



















