LLM Engineer's Handbook: Master the art of engineering large language models from concept to production

LLM Engineer’s Handbook: Master the art of engineering large language models from concept to production
Author: Paul Iusztin (Author), Maxime Labonne (Author)
Publisher finelybook 出版社: Packt Publishing
Publication Date 出版日期: 2024-10-22
Language 语言: English
Print Length 页数: 522 pages
ISBN-10: 1836200072
ISBN-13: 9781836200079


Book Description
By finelybook

Step into the world of LLMs with this practical guide that takes you from the fundamentals to deploying advanced applications using LLMOps best practices

Purchase of the print or Kindle book includes a free eBook in PDF format

“This book is instrumental in making sure that as many people as possible can not only use LLMs but also adapt them, fine-tune them, quantize them, and make them efficient enough to deploy in the real world.”– Julien Chaumond, CTO and Co-founder, Hugging Face


Book Description
By finelybook

This LLM book provides practical insights into designing, training, and deploying LLMs in real-world scenarios by leveraging MLOps’ best practices. The guide walks you through building an LLM-powered twin that’s cost-effective, scalable, and modular. It moves beyond isolated Jupyter Notebooks, focusing on how to build production-grade end-to-end LLM systems.

Throughout this book, you will learn data engineering, supervised fine-tuning, and deployment. The hands-on approach to building the LLM twin use case will help you implement MLOps components in your own projects. You will also explore cutting-edge advancements in the field, including inference optimization, preference alignment, and real-time data processing, making this a vital resource for those looking to apply LLMs in their projects.

What you will learn

  • Implement robust data pipelines and manage LLM training cycles
  • Create your own LLM and refine with the help of hands-on examples
  • Get started with LLMOps by diving into core MLOps principles like IaC
  • Perform supervised fine-tuning and LLM evaluation
  • Deploy end-to-end LLM solutions using AWS and other tools
  • Explore continuous training, monitoring, and logic automation
  • Learn about RAG ingestion as well as inference and feature pipelines

Who this book is for

This book is for AI engineers, NLP professionals, and LLM engineers looking to deepen their understanding of LLMs. Basic knowledge of LLMs and the Gen AI landscape, Python and AWS is recommended. Whether you are new to AI or looking to enhance your skills, this book provides comprehensive guidance on implementing LLMs in real-world scenarios.

Table of Contents

  1. Undersstanding the LLM Twin Concept and Architecture
  2. Tooling and Installation
  3. Data Engineering
  4. RAG Feature Pipeline
  5. Supervised Fine-tuning
  6. Fine-tuning with Preference Alignment
  7. Evaluating LLMs
  8. Inference Optimization
  9. RAG Inference Pipeline
  10. Inference Pipeline Deployment
  11. MLOps and LLMOps
  12. Appendix: MLOps Principles

About the Author

Paul Iusztin is a senior ML and MLOps engineer at Metaphysic, a leading GenAI platform, serving as one of their core engineers in taking their deep learning products to production. Along with Metaphysic, with over seven years of experience, he built GenAI, Computer Vision and MLOps solutions for CoreAI, Everseen, and Continental. Paul’s determined passion and mission are to build data-intensive AI/ML products that serve the world and educate others about the process. As the Founder of Decoding ML, a channel for battle-tested content on learning how to design, code, and deploy production-grade ML, Paul has significantly enriched the engineering and MLOps community. His weekly content on ML engineering and his open-source courses focusing on end-to-end ML life cycles, such as Hands-on LLMs and LLM Twin, testify to his valuable contributions.

Maxime Labonne is a Senior Staff Machine Learning Scientist at Liquid AI, serving as the head of post-training. He holds a Ph.D. in Machine Learning from the Polytechnic Institute of Paris and is recognized as a Google Developer Expert in AI/ML. An active blogger, he has made significant contributions to the open-source community, including the LLM Course on GitHub, tools such as LLM AutoEval, and several state-of-the-art models like NeuralBeagle and Phixtral. He is the author of the best-selling book “Hands-On Graph Neural Networks Using Python,” published by Packt.

Amazon page

相关文件下载地址

Formats: PDF, EPUB | 28 MB | 2024-11-02

打赏
未经允许不得转载:finelybook » LLM Engineer's Handbook: Master the art of engineering large language models from concept to production

评论 抢沙发

觉得文章有用就打赏一下

您的打赏,我们将继续给力更多优质内容

支付宝扫一扫

微信扫一扫