VOOZH about

URL: https://www.coursera.org/learn/packt-building-and-fine-tuning-llm-applications-moxfm

⇱ Building and Fine-Tuning LLM Applications | Coursera


Building and Fine-Tuning LLM Applications

Keep adding new skills with 10,000+ programs for $239 (usually $399). Save now.

Building and Fine-Tuning LLM Applications

Included with

Ask Coursera

Gain insight into a topic and learn the fundamentals.
Advanced level

Recommended experience

9 hours to complete
Flexible schedule
Learn at your own pace

Gain insight into a topic and learn the fundamentals.
Advanced level

Recommended experience

9 hours to complete
Flexible schedule
Learn at your own pace

What you'll learn

  • Build and fine-tune LLM applications using LangChain and RAG systems.

  • Implement advanced techniques for PDF processing and text chunking in LLMs.

  • Use LoRA for efficient model fine-tuning and deployment.

  • Integrate custom LLMs into user-facing applications like chatbots and voice assistants.

Details to know

Shareable certificate

Add to your LinkedIn profile

Assessments

7 assignments

Taught in English

Build your subject-matter expertise

This course is part of the AI & LLM Engineering Mastery - GenAI, RAG Complete Guide Specialization
When you enroll in this course, you'll also be enrolled in this Specialization.
  • Learn new concepts from industry experts
  • Gain a foundational understanding of a subject or tool
  • Develop job-relevant skills with hands-on projects
  • Earn a shareable career certificate

There are 6 modules in this course

This course features Coursera Coach!

A smarter way to learn with interactive, real-time conversations that help you test your knowledge, challenge assumptions, and deepen your understanding as you progress through the course. In this comprehensive course, you'll learn how to build and fine-tune large language models (LLMs) for real-world applications. Starting with fundamental concepts, you'll progress through hands-on projects that focus on document-based retrieval-augmented generation (RAG) systems, LangChain integration, and fine-tuning techniques. You'll gain the skills to build custom applications like a PDF RAG system, a voice assistant, and a YouTube video summarizer, with a focus on optimizing the retrieval and generation of content. With a blend of theoretical lessons and practical exercises, this course ensures you master both building and fine-tuning LLMs for various AI-driven tasks. You'll also dive deep into advanced fine-tuning methods like LoRA (Low-Rank Adaptation), learning to fine-tune models efficiently with minimal computational resources. Throughout the course, you'll implement real-world projects that integrate sophisticated LLM functionalities into usable applications. By the end of the course, you’ll be capable of deploying and fine-tuning LLMs for personalized tasks, giving you the tools to tackle complex AI challenges in your own projects. This course is designed for intermediate to advanced learners with prior programming experience. It’s perfect for those who want to deepen their understanding of LLMs and apply them to solve industry-specific problems. No prior experience with fine-tuning is required, though knowledge of Python and machine learning basics will be beneficial. By the end of the course, you will be able to build, fine-tune, and deploy LLM applications, including RAG systems, voice assistants, and specialized chatbots, using advanced techniques such as LoRA fine-tuning.

In this module, we will walk you through building a PDF RAG system using text chunking and overlap strategies. You’ll explore the system architecture, set up the necessary components, and test your system to ensure it retrieves information effectively, processing large documents in manageable chunks.

What's included

5 videos2 readings1 assignment

5 videosTotal 41 minutes
  • PDF RAG Workflow: Architecture Overview5 minutes
  • PDF and Chunk Processing and Chunk Overlap: Deep Dive12 minutes
  • Setting Up the SimpleRAGSystem Class and Methods10 minutes
  • Testing the PDF RAG System13 minutes
  • Simple PDF RAG Workflow: Summary2 minutes
2 readingsTotal 20 minutes
  • Introduction to the Course 'Building and Fine-Tuning LLM Applications'10 minutes
  • Full Specialization Resources10 minutes
1 assignmentTotal 15 minutes
  • Hands-On: PDF RAG System with Text Chunking - Assessment15 minutes

In this module, we will introduce you to LangChain, an essential framework for building robust LLM applications. You’ll dive deep into LangChain's structure, set up powerful components like chat models and text processors, and build hands-on systems using LangChain’s dynamic tools for data management and retrieval.

What's included

14 videos1 assignment

14 videosTotal 96 minutes
  • LLM Frameworks Introduction: LangChain Fundamentals4 minutes
  • What Is LangChain and Main Components6 minutes
  • LangChain Setup and ChatModel10 minutes
  • Hands-On: LangChain ChatPromptTemplates7 minutes
  • Indexes, Retrievers, and Data Preparation: Overview4 minutes
  • Hands-On: LangChain TextLoaders5 minutes
  • Hands-On: Text Splitting and Cleaning8 minutes
  • Hands-On: Embeddings and Retriever with FAISS VectorStore11 minutes
  • LangChain TextSplitter: Deep Dive3 minutes
  • LangChain DirectoryLoader5 minutes
  • LangChain PDFLoader3 minutes
  • Hands-On: LangChain Chains6 minutes
  • Hands-On: Simple RAG System with Chat and LangChain Chains7 minutes
  • Hands-On: Full RAG System QA Bot Using LangChain19 minutes
1 assignmentTotal 15 minutes
  • LangChain Fundamentals and Workflow Integration - Assessment15 minutes

In this module, we will guide you through building real-world LLM applications using LangChain. You’ll implement various systems, such as a news summarizer, YouTube video summarizer, and voice assistant RAG system, using LangChain's powerful capabilities to process and generate responses from text and voice inputs.

What's included

9 videos1 assignment

9 videosTotal 88 minutes
  • LLM Application: News Summarizer—Architectural Overview3 minutes
  • News Summarizer: Full Implementation19 minutes
  • LLM Application: YouTube Video Summarizer—Architectural Overview3 minutes
  • YouTube Video Summarizer and Q&A Dependency Setup4 minutes
  • YouTube Video Summarizer Class Setup and Walkthrough15 minutes
  • YouTube Video Summarizer Q&A: Testing the Workflow10 minutes
  • LLM Application: Voice Assistant RAG System—Architectural Overview4 minutes
  • Voice Assistant RAG System: Demo5 minutes
  • Voice Assistant RAG System: Walkthrough and Demo25 minutes
1 assignmentTotal 15 minutes
  • Hands-On: Building LLM Applications with LangChain - Assessment15 minutes

In this module, we will dive into fine-tuning techniques, teaching you how to customize LLMs for specific applications. You’ll go through the entire fine-tuning process, from selecting an appropriate technique to applying it to your own dataset and testing the resulting model with real-world queries.

What's included

8 videos1 assignment

8 videosTotal 51 minutes
  • Fine-Tuning Introduction: Overview3 minutes
  • Fine-Tuning Techniques: Overview8 minutes
  • Fine-Tuning Comparison of Techniques2 minutes
  • Fine-Tuning General Process: Overview2 minutes
  • Fine-Tuning OpenAI Models Pricing4 minutes
  • Tokens and the Tokenizer OpenAI Tool4 minutes
  • Hands-On: Fine-Tuning an OpenAI Model—Full Walkthrough22 minutes
  • Creating a Chatbot with Our Fine-Tuned Model and Testing4 minutes
1 assignmentTotal 15 minutes
  • Fine-Tuning LLMs - Assessment15 minutes

In this module, we will focus on LoRA, a powerful technique for efficiently fine-tuning LLMs. You will learn the theory behind LoRA, implement it using PEFT strategies, and then deploy your fine-tuned models as API services for easy integration and testing.

What's included

9 videos1 assignment

9 videosTotal 65 minutes
  • LoRA Introduction: Benefits4 minutes
  • LoRA Deep Analysis5 minutes
  • LoRA Implementation Strategy Workflow3 minutes
  • Hands-On: Training Models—LoRA and PEFT14 minutes
  • Running LoRA Model Fine-Tuning and Testing8 minutes
  • Creating an API Service to Interface with Our Fine-Tuned Models10 minutes
  • Testing Our LoRA Model API Endpoint7 minutes
  • Chatting with LoRA Fine-Tuned Models6 minutes
  • Full LoRA Workflow: Train and Chat with Fine-Tuned Models8 minutes
1 assignmentTotal 15 minutes
  • LoRA-Based Fine-Tuning and Deployment - Assessment15 minutes

In this module, we will summarize the major learnings from the course, helping you solidify your understanding of LLM application development and fine-tuning. You’ll also get recommendations for next steps to continue advancing in the field of AI.

What's included

1 video1 reading2 assignments

1 videoTotal 4 minutes
  • Conclusion to the Specialization4 minutes
1 readingTotal 10 minutes
  • Conclusion to the Course 'Building and Fine-Tuning LLM Applications'10 minutes
2 assignmentsTotal 75 minutes
  • Full Course Assessment60 minutes
  • Full Course Practice Assessment15 minutes

Earn a career certificate

Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.

Instructor

Offered by

Explore more from Software Development

Why people choose Coursera for their career

👁 Image

Felipe M.

Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."
👁 Image

Jennifer J.

Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."
👁 Image

Larry W.

Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."
👁 Image

Chaitanya A.

"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

Frequently asked questions

Fine-tuning an LLM (Large Language Model) refers to the process of taking a pre-trained model and adjusting its parameters using domain-specific data to optimize its performance for particular tasks or applications. This is relevant because it allows models to produce more accurate, relevant, and customized results based on the specific needs of users or businesses, making them highly adaptable and efficient in a variety of real-world contexts.

The "Building and Fine-Tuning LLM Applications" course covers the process of building, fine-tuning, and deploying large language model-based applications. It explores how to integrate systems like RAG (retrieval-augmented generation) for document-based tasks, LangChain for modular workflows, and LoRA (Low-Rank Adaptation) for efficient model fine-tuning. The course provides hands-on experience with applications like news summarizers, YouTube video summarizers, and voice assistants, while also teaching how to fine-tune models and deploy them via API for real-world usage.

After completing this course, you will be able to build LLM-based applications that leverage advanced techniques like RAG, LangChain, and LoRA for fine-tuning. You’ll know how to set up document processing workflows, integrate AI-driven features like summarization and question answering, and deploy models in production-ready environments. You will also be skilled in fine-tuning models for specific tasks and creating interactive applications like chatbots and voice assistants using these fine-tuned models.

This course assumes a basic understanding of working with large language models and programming in Python. Familiarity with machine learning concepts, prompt engineering, and LLM frameworks like LangChain would be helpful, but the course provides detailed explanations and hands-on guidance for building applications. If you have experience with AI and are looking to deepen your knowledge in model fine-tuning and application development, this course will be a good fit.

This course is designed for AI developers, machine learning practitioners, and those looking to expand their skills in building and fine-tuning LLM applications. It is also ideal for individuals interested in deploying AI models into production environments and integrating them with real-world tasks, such as document processing, summarization, and conversational agents. If you're looking to advance your practical knowledge of LLMs and AI application development, this course is for you.

The course contains approximately 8 hours of video content. The actual time required to complete the course may vary depending on your prior knowledge and how much time you dedicate to hands-on projects and exercises. With focused engagement, the course can be completed in a few days, though you may choose to spend additional time experimenting with the tools and refining your projects.

Yes, you can preview the first video and view the syllabus before you enroll. You must purchase the course to access content not included in the preview.

If you decide to enroll in the course before the session start date, you will have access to all of the lecture videos and readings for the course. You’ll be able to submit assignments once the session starts.

Once you enroll and your session begins, you will have access to all videos and other resources, including reading items and the course discussion forum. You’ll be able to view and submit practice assessments, and complete required graded assignments to earn a grade and a Course Certificate.

If you complete the course successfully, your electronic Course Certificate will be added to your Accomplishments page - from there, you can print your Course Certificate or add it to your LinkedIn profile.

This course is currently available only to learners who have paid or received financial aid, when available.

Yes. In select learning programs, you can apply for financial aid or a scholarship if you can’t afford the enrollment fee. If fin aid or scholarship is available for your learning program selection, you’ll find a link to apply on the description page.

Financial aid available,