The code is divided by chapters in the chapters
folder. Each chapter has its own folder. The code is mostly independent at a chapter level to make it simple to read along when going through the book. We presume that you have all the dependencies and the environment ready - if not please refer to the installation instructions for details.
The chapters correspond to the book of course and are arranged as follows:
- Chapter 1 - Introduction to Generative AI 💾
- Chapter 2 - Introduction to LLMs 👓
- Chapter 3 - Generating Text 📝
- Chapter 4 - Generating Images 🖼️
- Chapter 5 - What else can AI Generate? 🤔
- Chapter 6 - Guide to Prompt Engineering 💬
- Chapter 7 - RAG - The Secret Weapon 🤫
- Chapter 8 - Chatting with your data 💬
- Chapter 9 - Tailoring Models with Model Adaptation and Fine-Tuning 🔌
- Chapter 10 - Application Architecture for Gen AI Apps 👏
- Chapter 11 - Scaling Up: Best Practices for Production Deployment 💽
- Chapter 12 - Evaluations and Benchmarks ✅
- Chapter 13 - Guide to Ethical GenAI: Principles, Practices, and Pitfalls 😇