85,023
stars
+62+166+1,652
9,893
forks
758
watchers
43
prs
100
issues
0
releases
0
discussions
README
𝕏 Follow me on X •
🤗 Hugging Face •
💻 Blog •
📙 LLM Engineer's Handbook
The LLM course is divided into three parts:
1. 🧩 LLM Fundamentals is optional and covers fundamental knowledge about mathematics, Python, and neural networks.
2. 🧑🔬 The LLM Scientist focuses on building the best possible LLMs using the latest techniques.
3. 👷 The LLM Engineer focuses on creating LLM-based applications and deploying them.
[!NOTE]
Based on this course, I co-wrote the LLM Engineer's Handbook, a hands-on book that covers an end-to-end LLM application from design to deployment. The LLM course will always stay free, but you can support my work by purchasing this book.
For a more comprehensive version of this course, check out the DeepWiki.
📝 Notebooks
A list of notebooks and articles I wrote about LLMs.
Toggle section (optional)
Tools
| Notebook | Description | Notebook |
|----------|-------------|----------|
| 🧐 LLM AutoEval | Automatically evaluate your LLMs using RunPod | |
| 🥱 LazyMergekit | Easily merge models using MergeKit in one click. | |
| 🦎 LazyAxolotl | Fine-tune models in the cloud using Axolotl in one click. | |
| ⚡ AutoQuant | Quantize LLMs in GGUF, GPTQ, EXL2, AWQ, and HQQ formats in one click. | |
| 🌳 Model Family Tree | Visualize the family tree of merged models. | |
| 🚀 ZeroSpace | Automatically create a Gradio chat interface using a free ZeroGPU. | |
| ✂️ AutoAbliteration | Automatically abliteration models with custom datasets. | |
| 🧼 AutoDedup | Automatically deduplicate datasets using the Rensa library. | |
Fine-tuning
| Notebook | Description | Article | Notebook |
|---------------------------------------|-------------------------------------------------------------------------|---------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------|
| Fine-tune Llama 3.1 with Unsloth | Ultra-efficient supervised fine-tuning in Google Colab. | Article | |
| Fine-tune Llama 3 with ORPO | Cheaper and faster fine-tuning in a single stage with ORPO. | Article | |
| Fine-tune Mistral-7b with DPO | Boost the performance of supervised fine-tuned models with DPO. | Article | |
| Fine-tune Mistral-7b with QLoRA | Supervised fine-tune Mistral-7b in a free-tier Google Colab with TRL. | | |
| Fine-tune CodeLlama using Axolotl | End-to-end guide to the state-of-the-art tool for fine-tuning. | Article | |
| Fine-tune Llama 2 with QLoRA | Step-by-step guide to supervised fine-tune Llama 2 in Google Colab. | Article | |
Quantization
| Notebook | Description | Article | Notebook |
|---------------------------------------|-------------------------------------------------------------------------|---------------------------------------------------------------------------------------------|-------------------------------------------------Top issues
#40New colab : Fine-tune LLMs with Axolotl End-to-end guide to the state-of-the-art tool for fine-tuning5 comments · 2024-01-26#8Cannot quantize after fine tuning on colab5 comments · 2023-09-23#79Link is not right4 comments · 2024-06-06#64Error when trying to quantize GGUF.4 comments · 2024-04-20#55lazyaxolotl runpod not running4 comments · 2024-03-21#54Can I translate it into chinese?4 comments · 2024-03-14#44`ref_model` not needed in `Fine_tune_a_Mistral_7b_model_with_DPO.ipynb`4 comments · 2024-01-31#13Add example on fine-tuning for function calling4 comments · 2023-11-29
News & coverage (8)
Hacker NewsLarge Language Model Course▲ 178 · 10 comments · 2023-12-01Hacker NewsAsk HN: Open source courses for ML and Deep Learning▲ 1 · 0 comments · 2023-11-30Hacker NewsLLM Course▲ 1 · 0 comments · 2023-11-30KDnuggets5 Free Courses to Learn AI Engineering2026-09-29Pasquale PillitteriThe Best GitHub Repos to Learn Artificial Intelligence (Free)2026-07-04KDnuggets10 GitHub Repositories to Master Large Language Models2025-05-12Towards Data ScienceThe Large Language Model Course2025-02-04Towards Data ScienceFine-tune Llama 3 with ORPO2025-02-04