By finishing the "LLM Twin: Building Your Production-Ready AI Replica" free course, you will learn how to design, train, and deploy a production-ready LLM twin of yourself powered by LLMs, vector DBs, and LLMOps good practices.
Why should you care? ๐ซต
โ No more isolated scripts or Notebooks! Learn production ML by building and deploying an end-to-end production-grade LLM system.
You will learn how to architect and build a real-world LLM system from start to finishโ-โfrom data collection to deployment.
You will also learn to leverage MLOps best practices, such as experiment trackers, model registries, prompt monitoring, and versioning.
The end goal? Build and deploy your own LLM twin.
What is an LLM Twin? It is an AI character that learns to write like somebody by incorporating its style and personality into an LLM.
- Crawl your digital data from various social media platforms.
- Clean, normalize and load the data to a Mongo NoSQL DB through a series of ETL pipelines.
- Send database changes to a RabbitMQ queue using the CDC pattern.
- โ๏ธ Deployed on AWS.
- Consume messages from a queue through a Bytewax streaming pipeline.
- Every message will be cleaned, chunked, embedded (using Superlinked, and loaded into a Qdrant vector DB in real-time.
- โ๏ธ Deployed on AWS.
- Create a custom dataset based on your digital data.
- Fine-tune an LLM using QLoRA.
- Use Comet ML's experiment tracker to monitor the experiments.
- Evaluate and save the best model to Comet's model registry.
- โ๏ธ Deployed on Qwak.
- Load and quantize the fine-tuned LLM from Comet's model registry.
- Deploy it as a REST API.
- Enhance the prompts using RAG.
- Generate content using your LLM twin.
- Monitor the LLM using Comet's prompt monitoring dashboard.
- โ๏ธ Deployed on Qwak.
Along the 4 microservices, you will learn to integrate 3 serverless tools:
Audience: MLE, DE, DS, or SWE who want to learn to engineer production-ready LLM systems using LLMOps good principles.
Level: intermediate
Prerequisites: basic knowledge of Python, ML, and the cloud
The course contains 11 hands-on written lessons and the open-source code you can access on GitHub.
You can read everything and try out the code at your own pace.ย
The articles and code are completely free. They will always remain free.
If you plan to run the code while reading it, you have to know that we use several cloud tools that might generate additional costs.
Pay as you go
- AWS offers accessible plans to new joiners.
- For a new first-time account, you could get up to 300$ in free credits which are valid for 6 months. For more, consult the AWS Offerings page.
- Qwak has a QPU based pricing plan. Here's what you need to know:
- A QPU stands for Qwak Processing Unit, and is the equivalent of 4vCPU-16GB.
- Qwak offers up to 100QPU/month for free for up to one year after registration.
- After that, a policy of 1.2$/QPU is applied as a pay-as-you-go tactic.
- To find more about Qwak pricing, consult Qwak Pricing Page
- To find more about Qwak Compute Instances, consult Qwak Instances Page
Freemium (Free-of-Charge)
Important
To understand the entire code step-by-step, check out our articles โ
The course is split into 11 lessons. Every Medium article will be its own lesson.
- The Importance of Data Pipelines in the Era of Generative AI
- Change Data Capture: Enabling Event-Driven Architectures
- SOTA Python Streaming Pipelines for Fine-tuning LLMs and RAG โ in Real-Time!
- The 4 Advanced RAG Algorithms You Must Know to Implement
- The Role of Feature Stores in Fine-Tuning LLMs: From raw data to instruction dataset
- How to fine-tune LLMs on custom datasets at Scale using Qwak and CometML
- Best Practices when evaluating fine-tuned LLMs
- Architect scalable and cost-effective LLM & RAG inference pipelines
- How to evaluate your RAG using RAGAs Framework
- The LLM-Twin Free Course on Production-Ready RAG applications
- Ending Notes (TBD)
The course is created under the Decoding ML umbrella by:
Paul Iusztin Senior ML & MLOps Engineer |
|
Alexandru Vesa Senior AI Engineer |
|
Rฤzvanศ Alexandru Senior ML Engineer |
This course is an open-source project released under the MIT license. Thus, as long you distribute our LICENSE and acknowledge our work, you can safely clone or fork this project and use it as a source of inspiration for whatever you want (e.g., university projects, college degree projects, personal projects, etc.).
A big "Thank you ๐" to all our contributors! This course is possible only because of their efforts.