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
This course is part of AI & LLM Engineering Mastery - GenAI, RAG Complete Guide Specialization
Included with
Ask Coursera
Recommended experience
Recommended experience
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.
Skills you'll gain
Tools you'll learn
Details to know
See how employees at top companies are mastering in-demand skills
Build your subject-matter expertise
- 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 videos•Total 41 minutes
- PDF RAG Workflow: Architecture Overview•5 minutes
- PDF and Chunk Processing and Chunk Overlap: Deep Dive•12 minutes
- Setting Up the SimpleRAGSystem Class and Methods•10 minutes
- Testing the PDF RAG System•13 minutes
- Simple PDF RAG Workflow: Summary•2 minutes
2 readings•Total 20 minutes
- Introduction to the Course 'Building and Fine-Tuning LLM Applications'•10 minutes
- Full Specialization Resources•10 minutes
1 assignment•Total 15 minutes
- Hands-On: PDF RAG System with Text Chunking - Assessment•15 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 videos•Total 96 minutes
- LLM Frameworks Introduction: LangChain Fundamentals•4 minutes
- What Is LangChain and Main Components•6 minutes
- LangChain Setup and ChatModel•10 minutes
- Hands-On: LangChain ChatPromptTemplates•7 minutes
- Indexes, Retrievers, and Data Preparation: Overview•4 minutes
- Hands-On: LangChain TextLoaders•5 minutes
- Hands-On: Text Splitting and Cleaning•8 minutes
- Hands-On: Embeddings and Retriever with FAISS VectorStore•11 minutes
- LangChain TextSplitter: Deep Dive•3 minutes
- LangChain DirectoryLoader•5 minutes
- LangChain PDFLoader•3 minutes
- Hands-On: LangChain Chains•6 minutes
- Hands-On: Simple RAG System with Chat and LangChain Chains•7 minutes
- Hands-On: Full RAG System QA Bot Using LangChain•19 minutes
1 assignment•Total 15 minutes
- LangChain Fundamentals and Workflow Integration - Assessment•15 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 videos•Total 88 minutes
- LLM Application: News Summarizer—Architectural Overview•3 minutes
- News Summarizer: Full Implementation•19 minutes
- LLM Application: YouTube Video Summarizer—Architectural Overview•3 minutes
- YouTube Video Summarizer and Q&A Dependency Setup•4 minutes
- YouTube Video Summarizer Class Setup and Walkthrough•15 minutes
- YouTube Video Summarizer Q&A: Testing the Workflow•10 minutes
- LLM Application: Voice Assistant RAG System—Architectural Overview•4 minutes
- Voice Assistant RAG System: Demo•5 minutes
- Voice Assistant RAG System: Walkthrough and Demo•25 minutes
1 assignment•Total 15 minutes
- Hands-On: Building LLM Applications with LangChain - Assessment•15 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 videos•Total 51 minutes
- Fine-Tuning Introduction: Overview•3 minutes
- Fine-Tuning Techniques: Overview•8 minutes
- Fine-Tuning Comparison of Techniques•2 minutes
- Fine-Tuning General Process: Overview•2 minutes
- Fine-Tuning OpenAI Models Pricing•4 minutes
- Tokens and the Tokenizer OpenAI Tool•4 minutes
- Hands-On: Fine-Tuning an OpenAI Model—Full Walkthrough•22 minutes
- Creating a Chatbot with Our Fine-Tuned Model and Testing•4 minutes
1 assignment•Total 15 minutes
- Fine-Tuning LLMs - Assessment•15 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 videos•Total 65 minutes
- LoRA Introduction: Benefits•4 minutes
- LoRA Deep Analysis•5 minutes
- LoRA Implementation Strategy Workflow•3 minutes
- Hands-On: Training Models—LoRA and PEFT•14 minutes
- Running LoRA Model Fine-Tuning and Testing•8 minutes
- Creating an API Service to Interface with Our Fine-Tuned Models•10 minutes
- Testing Our LoRA Model API Endpoint•7 minutes
- Chatting with LoRA Fine-Tuned Models•6 minutes
- Full LoRA Workflow: Train and Chat with Fine-Tuned Models•8 minutes
1 assignment•Total 15 minutes
- LoRA-Based Fine-Tuning and Deployment - Assessment•15 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 video•Total 4 minutes
- Conclusion to the Specialization•4 minutes
1 reading•Total 10 minutes
- Conclusion to the Course 'Building and Fine-Tuning LLM Applications'•10 minutes
2 assignments•Total 75 minutes
- Full Course Assessment•60 minutes
- Full Course Practice Assessment•15 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
Explore more from Software Development
- Status: Free Trial
Course
- Status: Free Trial
Specialization
- Status: Free TrialS
Simplilearn
Course
- Status: Free Trial
Course
Why people choose Coursera for their career
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.
More questions
Financial aid available,
