Packt
LLM Engineer’s Handbook

通过 Coursera Plus 解锁访问 10,000 多门课程。开始 7 天免费试用

Packt

LLM Engineer’s Handbook

包含在 Coursera Plus

深入了解一个主题并学习基础知识。
初级 等级

推荐体验

2 周 完成
在 10 小时 一周
灵活的计划
自行安排学习进度
深入了解一个主题并学习基础知识。
初级 等级

推荐体验

2 周 完成
在 10 小时 一周
灵活的计划
自行安排学习进度

您将学到什么

  • Design and manage effective LLM training and deployment pipelines.

  • Implement supervised fine-tuning and evaluate LLM performance.

  • Deploy scalable, end-to-end LLM applications using cloud tools.

要了解的详细信息

可分享的证书

添加到您的领英档案

最近已更新!

November 2025

作业

11 项作业

授课语言:英语(English)

了解顶级公司的员工如何掌握热门技能

Petrobras, TATA, Danone, Capgemini, P&G 和 L'Oreal 的徽标

该课程共有11个模块

In this section, we delve into the concept and architecture of LLM Twin, an innovative AI model mimicking a person's writing style and personality. We discuss its significance, benefits over generic chatbots, and the planning process for creating an effective LLM product. Detailed insights into the design of the feature, training, and inference pipelines are explored to structure a robust ML system.

涵盖的内容

2个视频3篇阅读材料1个作业

In this section, we introduce the essential tools needed for the course, particularly for the LLM Twin project. We provide an overview of the tech stack, cover installation procedures for Python and its ecosystem, dependency management with Poetry, and task execution using Poe the Poet. This section also provides insights into MLOps and LLMOps tooling, including ZenML and Hugging Face, and explains their roles in the project. Finally, we guide users in setting up an AWS account, focusing on SageMaker for deploying ML models.

涵盖的内容

1个视频2篇阅读材料1个作业

In this section, we delve into the LLM Twin project by designing a data collection pipeline for gathering raw data essential for LLM use cases, such as fine-tuning and inference. We'll focus on implementing an ETL pipeline that aggregates data from platforms like Medium and GitHub into a MongoDB data warehouse, thus simulating real-world machine learning project scenarios.

涵盖的内容

1个视频4篇阅读材料1个作业

In this section, we explore the Retrieval-augmented Generation (RAG) feature pipeline, a crucial technique for embedding custom data into large language models without constant fine-tuning. We introduce the fundamental components of a naive RAG system, such as chunking, embedding, and vector databases. We also delve into LLM Twin's RAG feature pipeline architecture, applying theoretical concepts through practical implementation, and discuss the importance of RAG for addressing issues like model hallucinations and old data. This section provides in-depth insights into advanced RAG techniques and the role of batch pipelines in syncing data for improved accuracy.

涵盖的内容

1个视频7篇阅读材料1个作业

In this section, we will explore the process of Supervised Fine-Tuning (SFT) for Large Language Models (LLMs). We'll delve into the creation of instruction datasets and how they are used to refine LLMs for specific tasks. This section covers the steps involved in crafting these datasets, the importance of data quality, and presents various techniques and strategies for enhancing the fine-tuning process. Our focus will be on transforming general-purpose models into specialized assistants through SFT, enabling them to provide more coherent and relevant responses.

涵盖的内容

1个视频7篇阅读材料1个作业

In this section, we delve into the realms of preference alignment, discussing how Direct Preference Optimization (DPO) can fine-tune language models to better align with human preferences. We elaborate on creating and evaluating preference datasets, ensuring our models capture nuanced human interactions.

涵盖的内容

1个视频4篇阅读材料1个作业

In this section, we delve into the evaluation of large language models (LLMs), addressing various evaluation methods and their significance. We cover general-purpose, domain-specific, and task-specific evaluations, highlighting the unique challenges each presents. Additionally, we explore retrieval-augmented generation (RAG) pipelines and introduce tools like Ragas and ARES for comprehensive LLM assessment.

涵盖的内容

1个视频3篇阅读材料1个作业

In this section, we dive into the art of fine-tuning large language models to boost their performance and efficiency. We'll explore key strategies to optimize the inference process of these models, a crucial step given their heavy computational and memory demands. From reducing latency to improving throughput and minimizing memory usage, we examine how to deploy specialized hardware and innovative techniques to enhance model output. By learning these optimization secrets, you'll unlock more efficient deployments, be they for fast-response tasks like code completion or document generation in batches.

涵盖的内容

1个视频3篇阅读材料1个作业

In this section, we explore the construction and implementation of a RAG inference pipeline, starting from understanding its architecture to implementing key modules such as retrieval, prompt creation, and interaction with the LLM. We introduce methods for optimizing retrieval processes like query expansion and self-querying while utilizing OpenAI's API, and integrate these techniques into a comprehensive retrieval module. We'll conclude by assembling these elements into a cohesive inference pipeline and preparing for further deployment steps.

涵盖的内容

1个视频5篇阅读材料1个作业

In this section, we focus on deploying the inference pipeline for large language models (LLMs) in ML applications, ensuring models are accessible and efficient for end users. We'll cover deployment strategies, architectural decisions, and optimization techniques to address challenges like computing power and feature access.

涵盖的内容

1个视频5篇阅读材料1个作业

In this section, we dive into the intricacies of MLOps and LLMOps, exploring their roles in automating machine learning processes and handling large language models. We will cover their origins in DevOps, highlight the unique challenges LLMOps addresses, such as prompt management and scaling issues, and illustrate the practical steps for deploying these systems efficiently. The section also includes discussions on the transition from manual deployment to cloud-based solutions, emphasizing the advantages of CI/CD pipelines and Dockerization in executing and managing models at scale.

涵盖的内容

1个视频7篇阅读材料1个作业

位教师

Packt - Course Instructors
Packt
1,194 门课程293,786 名学生

提供方

Packt

从 Data Analysis 浏览更多内容

人们为什么选择 Coursera 来帮助自己实现职业发展

Felipe M.
自 2018开始学习的学生
''能够按照自己的速度和节奏学习课程是一次很棒的经历。只要符合自己的时间表和心情,我就可以学习。'
Jennifer J.
自 2020开始学习的学生
''我直接将从课程中学到的概念和技能应用到一个令人兴奋的新工作项目中。'
Larry W.
自 2021开始学习的学生
''如果我的大学不提供我需要的主题课程,Coursera 便是最好的去处之一。'
Chaitanya A.
''学习不仅仅是在工作中做的更好:它远不止于此。Coursera 让我无限制地学习。'
Coursera Plus

通过 Coursera Plus 开启新生涯

无限制访问 10,000+ 世界一流的课程、实践项目和就业就绪证书课程 - 所有这些都包含在您的订阅中

通过在线学位推动您的职业生涯

获取世界一流大学的学位 - 100% 在线

加入超过 3400 家选择 Coursera for Business 的全球公司

提升员工的技能,使其在数字经济中脱颖而出

常见问题