Building Specialized AI Systems

you own this product
Fine tuning models, agents, and applications
  • MEAP began July 2026
  • Last updated July 2026
  • Publication in Spring 2027 (estimated)
  • ISBN 9781633434776
  • 325 pages (estimated)
  • printed in black & white

pro $24.99 per month

  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose one free eBook per month to keep
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime

lite $19.99 per month

  • access to all Manning books, including MEAPs!

team

5, 10 or 20 seats+ for your team - learn more


Look inside
AI systems using large models like GPT or Gemini can produce impressive results across an astounding range of subjects and domains. In areas like clinical coding, legal contract review, financial due diligence, fraud detection, compliance monitoring, and other specialized business or technical disciplines, however, broad general ability is far less important than efficient output that can be trusted, audited, and controlled. Building Specialized AI Systems: Fine tuning models, agents, and applications teaches you how to adapt pretrained language models to your exact domain, data, and operational constraints.

In this hands-on guide, authors Walid Amamou, CEO of UbiAI.tools and Alessandro Negro, Chief Scientist at GraphAware, walk you through the complete process of building production-grade AI systems around Specialized Language Models. In it, you'll learn how to choose the right pretrained base models, and how to work directly with supervised fine-tuning and modern parameter-efficient techniques including LoRA, QLoRA, DoRA, adapters, and Half Fine-Tuning. You'll also explore reinforcement learning–based approaches such as RLHF and GRPO, along with knowledge distillation for transferring the capabilities of large teacher models into smaller, faster student models.

Building Specialized AI Systems puts working code in front of you and walks through practical implementations step by step. You'll load and quantize models, configure fine-tuning methods, prepare datasets, run reproducible training jobs on accessible hardware, and evaluate whether your specialized model is actually improving on the task that matters.

Complete real-world projects connect these techniques from design to deployment, showing how specialized models can be applied to practical industry problems and giving you reusable patterns for your own AI systems. Along the way, you'll work with the modern fine-tuning ecosystem, including open-source and commercial platforms and tools used to train, evaluate, deploy, and operate specialized language models.

By the end, you'll have a practical framework for deciding when specialization is the right strategy and the technical skills to build, fine-tune, evaluate, and deploy language models tailored to your own domain, tasks, and constraints.

what's inside

  • When—and when not—to fine-tune instead of prompting or RAG
  • Building Specialized Language Models from pretrained open-source models
  • Preparing and cleaning domain-specific datasets for fine-tuning
  • LoRA, QLoRA, DoRA, adapters, and Half Fine-Tuning
  • Reinforcement learning–based fine-tuning techniques like RLHF and GRPO
  • Knowledge distillation from large teacher models to smaller student models
  • Model quantization and training on accessible hardware
  • Evaluation, monitoring, human-in-the-loop workflows, and data drift
  • Production deployment, serving, scalability, security, cost, and CI/CD
  • Complete real-world projects from model design to deployment

about the reader

For data scientists, AI engineers, and data engineers with basic ML/NLP familiarity, some experience with LLMs, and intermediate Python. Product managers and technical decision-makers overseeing AI initiatives will also find strategic value.

about the authors

Walid Amamou is the founder and CEO of UbiAI.tools, a leading fine-tuning platform used by Fortune 500 companies and enterprise AI teams. He holds a Ph.D in Physics and is a patent holder for ”Systems and methods for automated text labeling”. He has years of hands-on experience deploying LLMs in production and advising data scientists, AI engineers, and product managers on model optimization. His work focuses on fine-tuning for compliance-critical and industry-specific applications.

Alessandro Negro is Chief Scientist at GraphAware, where he designs domain-specific knowledge graph and LLM solutions for regulated industries. He is the author of two previous Manning books, Graph-Powered Machine Learning and Knowledge Graphs and LLMs in Action. His expertise spans knowledge graphs, graph neural networks, NLP, and specialized language models.
choose your plan

team

monthly
annual
$49.99
$499.99
only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime
  • renews annually, pause or cancel renewal anytime
  • Building Specialized AI Systems ebook for free
choose your plan

team

monthly
annual
$49.99
$499.99
only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime
  • renews annually, pause or cancel renewal anytime
  • Building Specialized AI Systems ebook for free