4.6ย (18)
5 Weeks
ยทCohort-based Course
Master language models and embedding models through training, fine-tuning, aligning, distilling, and merging transformer architectures!
4.6ย (18)
5 Weeks
ยทCohort-based Course
Master language models and embedding models through training, fine-tuning, aligning, distilling, and merging transformer architectures!
Course overview
๐งโ๐ป Language Model Engineering refers to the evolving set of best practices for training, fine-tuning, and aligning LLMs to optimize their use and function to balance performance with efficiency.
These best practices have formed the basis for the LLMs, or Large Language Models (a.k.a. Foundation Models) and Small Language Models (SLMs) of today.
๐ค Whether youโre looking at OpenAIโs GPT series, Anthropic Claude, Grok, Google Gemini, Mistral, or any other model provider, the core underlying transformer architectures are similar, as are the training and tuning methods.
When chasing after high scores on LLM benchmarks or creating state-of-the-art SLMs, techniques like Model Merging and Distillation are important as well.
๐ซ This course will provide you with the foundational concepts and code to train, fine-tune, and align state-of-the-art SLMs and LLMs using industry-standard and emerging approaches from the open-source edge heading into 2025.
๐ค Become the expert in your organization on all things training (pretraining, post-training), fine-tuning (supervised fine-tuning, instruction tuning, chat tuning, etc.), alignment (PPO, DPO, etc.), Small Language Models (SLMs), Model Merging, Distillation, and more!
01
Data scientists, researchers, or engineers experienced with classic Machine Learning who want to build custom Small Language Models (SLMs).
02
Product managers who need to understand the core concepts and code behind custom SLMs to effectively lead their product teams.
03
Stakeholders who aim to train, fine-tune, or align proprietary SLMs for their customers in 2025.
๐ฆพ Build, train, and evaluate Language Models using transformer variants (GPT, BERT, BART)
๐ง Calculate self-attention and understand the latest implementations (Flash Attention, FA2)
๐ Demystify embedding layers, embedding representations, pre-trained vs. learned embeddings, ROPE, and more!
๐ช Decode embedding space representations for optimal next-token prediction
๐กย Build, train, and evaluate embedding models (like those in ๐ค Sentence Transformers)
๐ย Complete unsupervised and continued pretraining of LLMs and SLMs from scratch
๐ย Fine-tune pre-trained LMs for instruction-following, chat, and more via parameter-efficient methods
๐ค๏ธ Align LMs to balance helpfulness with harmlessness and other criteria (RLXF, DPO)
๐ Explore frontiers of Language Models (Mixture-of- approaches, Model Merging, alternative fine-tuning, and more!)
Live sessions
Learn directly from "Dr. Greg" Loughnane & Chris "The Wiz ๐ช" Alexiuk in a real-time, interactive format.
Lifetime access
Go back to course content and recordings whenever you need to.
Community of peers
Stay accountable and share insights with like-minded professionals.
Certificate of completion
Share your new skills with your employer or on LinkedIn.
Maven Guarantee
This course is backed by the Maven Guarantee. Students are eligible for a full refund up until the halfway point of the course.
LLM Engineering - Foundations to SLMs
78 lessons โข 8 projects
4.6ย (18 ratings)
A background in fundamental Machine Learning and Deep Learning
Understanding supervised learning, unsupervised learning, and neural network architectures is required. Introductory NLP and Computer Vision knowledge is encouraged. Not sure where to start? Read this.
A ability to program in Python within a Jupyter Notebook Environment
Understand basic Python syntax and constructs. You should be comfortable training and evaluating simple ML & DL models using test, train, and dev sets. Not sure where to start? Look here.
The LLM Engineering Onramp
Youโll find brief introductions to core concepts weโll cover in more depth in the class - this is meant to get the learning juices flowing with bite-sized training materials from Dr. Greg and The Wiz.
Start learning for free now!
๐ Detailed Schedule!
Understand how everything comes together in the course to provide a holistic overview of the how LLMs are engineered.
Get all the details about the assignments, associated papers, and key concepts you'll learn!
Send me the deets โ๏ธ
Co-Founder & CEO @ AI Makerspace
In 2023, "The Wiz ๐ช" a.k.a. "The LLM Wizard ๐ช" and I created theย LLM Engineering: The Foundationsย andย LLM Ops: LLMs in Productionย courses. In 2024, we launched The AI Engineering Bootcamp.
From 2021-2023 I led the product & curriculum team at FourthBrain (Backed by Andrew Ng's AI Fund) to build industry-leading online bootcamps in ML Engineering and ML Operations (MLOps).
Previously, I worked as an AI product manager, university professor, data science consultant, AI startup advisor, and ML researcher; TEDx & keynote speaker, lecturing since 2013.
๐จโ๐ซ Learn with us free onย YouTube!
๐จโ๐ผ Connect with me onย LinkedIn!
Co-Founder & CTO @ AI Makerspace
During the day, I work as a Developer Advocate for NVIDIA. Previously, I worked with Greg at FourthBrain (Backed by Andrew Ng's AI Fund) on MLE and MLOps courses, and on a few Deeplearning.ai events!
A former founding MLE and data scientist, these days you can find me cranking out Machine Learning and LLM content!
My motto is "Build, build, build!", and I'm excited to get building with all of you!
๐จโ๐ซ YouTube:ย AI Makerspace Official,ย My Personal
๐จโ๐ผ Connect with me onย LinkedIn!
Be the first to know about upcoming cohorts
4-6 hours per week
Class!
Tuesdays & Thursdays, 4:00-6:00pm PT
Weekly Programming Projects
2-4 hours per week
Each class period, we will get hands-on with Python coding homework!
Office Hours
Tuesdays and Fridays
Dr. Greg: Thursdays @ 8 AM PT
The Wiz ๐ช: Fridays @ 3 PM PT
Peer Support Sessions
Varies
Peers supporters are here to serve as your destination group; they're available for homework help, concept deep dives, and to hang out with!
Find them live in class, on Discord, and even in their own dedicated weekly sessions!
Hands-on learning at the LLM edge
We teach concepts AND code. Never one or the other. AI has accelerated so quickly that anyone who's been a manager the last few years has not yet seen the code for themselves.
Pair programming made fun and easy
Grow your network. Build, ship, and share with a community! Build relationships with peers and instructional staff to unlock opportunities in the years ahead.
Find fellow travelers for your journey
Join a community of like-minded AI practitioners who are all in on Generative AI, and who are heading down the same career path as you are.
Be the first to know about upcoming cohorts