Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Mastering NLP From Foundations to Agents
  • Table Of Contents Toc
Mastering NLP From Foundations to Agents

Mastering NLP From Foundations to Agents - Second Edition

By : Lior Gazit, Meysam Ghaffari
close
close
Mastering NLP From Foundations to Agents

Mastering NLP From Foundations to Agents

By: Lior Gazit, Meysam Ghaffari

Overview of this book

Natural Language Processing has evolved beyond rule-based systems and classical machine learning (ML). This second edition guides you through that transformation from mathematical and ML foundations to large language models, retrieval pipelines, agentic automation, and AI-native system design. It strengthens core NLP concepts while expanding into modern architectures such as transformers, parameter-efficient fine-tuning (LoRA and QLoRA), and alignment methods like RLHF and DPO. You’ll begin with essential linear algebra, probability, and ML principles before moving into text preprocessing, feature engineering, classification pipelines, and deep learning architectures. From there, the focus shifts to system design: building Retrieval-Augmented Generation (RAG) pipelines, implementing model routing strategies that balance cost and performance, and orchestrating structured multi-agent workflows. You'll also introduce structured interoperability patterns, including the Model Context Protocol (MCP). Governance and safety will be treated as architectural concerns, demonstrating how policy and compliance can be integrated directly into AI systems. By the end, you will have the tools to implement NLP techniques and be equipped to design, govern, and deploy intelligent systems built on them. *Email sign-up and proof of purchase required
Table of Contents (19 chapters)
close
close
14
Index
15
Other Books You May Enjoy
3
Appendix C

Advanced LLM Practices Using RAG and LangChain

After working through architectures and evaluation, we arrive at a common moment in applied natural language processing (NLP). We understand the ideas, but we still feel the friction when we try to turn them into something real. A prototype may answer one prompt well, but will then break when the question changes. A strong model produces great results, but the cost is hard to justify at scale. A local model keeps data private, but quality varies across tasks. This chapter is the turning point where we take what we already know and shape it into systems that behave well under real constraints.

We build around one practical principle: our retrieval layer stays stable, and our LLM becomes a swappable inference backend behind it. Sometimes our best choice is a local, free model because privacy and cost control dominate. Other times, we want a remote, paid model because we need stronger reasoning, longer context, or stricter compliance...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Mastering NLP From Foundations to Agents
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon