chiphuyen / aie-book
git clone https://github.com/chiphuyen/aie-book.git
🔥 on GitHub Trending today
[WIP] Resources for AI engineers. Also contains supporting materials for the book AI Engineering (Chip Huyen, 2025)
—
stars, 24h
+142
stars, 7 days · #376
—
stars, 30 days
18k
★ total · +1% this week
2.6k
forks · 13 open issues
Star history starts 2026-10-20; the chart appears after the second daily snapshot.
LanguageJupyter Notebook
License—
Created2024-12-03 (1y ago)
Last push3mo ago
Watchers275
OwnerUser
Seen on GitHub Trending
- 2026-10-20 — #20 weekly in jupyter-notebook · +142 ★
Links
README excerpt
# AI Engineering book and other resources > _This repo will be updated with more resources in the next few weeks._ - About the book AI Engineering - Table of contents - Chapter summaries - Study notes - AI engineering resources - Prompt examples - Case studies - Misalignment AI - Appendix - Fun tools: - ChatGPT and Claude conversation heatmap generator - And more ... ## About the book The availability of foundation models has transformed AI from a specialized discipline into a powerful development tool everyone can use. This book covers the end-to-end process of adapting foundation models to solve real-world problems, encompassing tried-and-true techniques from other engineering fields and techniques emerging with foundation models. The book is available on: - Amazon - O'Reilly - Kindle - Audible and most places where technical books are sold. It's been translated into: Japanese, Korean, Chinese Traditional, Chinese Simplified, Vietnamese, Spanish, Italian, French, Portuguese, German, Thai, Russian, and Polish. It'll soon be available in Greek, Ukrainian, and Uzbek. _This is NOT a tutorial book, so it doesn't have a lot of code snippets._ ## What this book is about This book provides a framework for adapting foundation models, which include both large language models (LLMs) and large multimodal models (LMMs), to specific applications. It not only outlines various solutions for building an AI application but also raises questions you can ask to evaluate the best solution for your needs. Here are just some of the many questions that this book can help you answer: 1. Should I build this AI application? 1. How do I evaluate my application? Can I use AI to evaluate AI outputs? 1. What causes hallucinations? How do I detect and mitigate hallucinations? 1. What are the best practices for prompt engineering? 1. Why does RAG work? What are the strategies for doing RAG? 1. What’s an agent? How do I build and evaluate an agent? 1. When to finetune a model? When not to finetune a model? 1. How much data do I need? How do I validate the quality of my data? 1. How do I make my model faster, cheaper, and secure? 1. How do I create a feedback loop to improve my application continually? The book will also help you navigate the overwhelming AI landscape: types of models, evaluation benchmarks, and a seemingly infinite number of use cases and application patterns. The content in this book is illustrated using actual case studies, many of which I’ve worked on, backed by ample references and extensively reviewed by experts from a wide range of backgrounds. Even though the book took two years to write, it draws from my experience working with language models and ML systems from the last decade. Like my previous book, _Designing Machine Learning Systems (DMLS)_, this book focuses on the fundamentals of AI engineering instead of any specific tool or API. Tools become outdated quickly, but fundamentals should last longer. ### Reading _AI Engineering_ (AIE) with _Desi