llm-course

mlabonne/llm-course

Course to get into Large Language Models (LLMs) with roadmaps and Colab notebooks.

81k
Stars
9.4k
Forks
84
Open issues
750
Watchers
Apache-2.0Last pushed Feb 5, 2026

Course to get into Large Language Models (LLMs) with roadmaps and Colab notebooks.

Categories

Tags

Similar tools

Install

git clone https://github.com/mlabonne/llm-course

README

𝕏 Follow me on X β€’ πŸ€— Hugging Face β€’ πŸ’» Blog β€’ πŸ“™ LLM Engineer's Handbook


LLM Engineer's Handbook CoverThe 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

NotebookDescriptionNotebook
🧐 LLM AutoEvalAutomatically evaluate your LLMs using RunPod
πŸ₯± LazyMergekitEasily merge models using MergeKit in one click.
🦎 LazyAxolotlFine-tune models in the cloud using Axolotl in one click.
⚑ AutoQuantQuantize LLMs in GGUF, GPTQ, EXL2, AWQ, and HQQ formats in one click.
🌳 Model Family TreeVisualize the family tree of merged models.
πŸš€ ZeroSpaceAutomatically create a Gradio chat interface using a free ZeroGPU.
βœ‚οΈ AutoAbliterationAutomatically abliteration models with custom datasets.
🧼 AutoDedupAutomatically deduplicate datasets using the Rensa library.

Fine-tuning

NotebookDescriptionArticleNotebook
Fine-tune Llama 3.1 with UnslothUltra-efficient supervised fine-tuning in Google Colab.Article<a href="https://colab.research.google.c