The LLM Course is Hugging Face’s free online course on large language models and natural language processing. It teaches both through the company’s own open-source libraries, Transformers, Datasets, Tokenizers and Accelerate, together with the Hugging Face Hub, and also covers some tools from outside that ecosystem. The course began as an NLP course and, according to its introduction, has since shifted its emphasis to LLMs. Hugging Face describes it as completely free and without ads.
What the course covers
The official course page lists twelve chapters plus a setup chapter, in four parts:
- Chapters 1 to 4: how Transformer models work, using the Transformers library, fine-tuning a pretrained model and sharing models and tokenizers on the Hub. Chapter 1 also covers encoder, decoder and encoder-decoder architectures, inference with LLMs, and bias and limitations.
- Chapters 5 to 8: the Datasets and Tokenizers libraries, classic NLP tasks and how to ask for help when code breaks.
- Chapter 9: building and sharing model demos on the Hub.
- Chapters 10 to 12: advanced LLM topics. Chapter 10 curates datasets with the Argilla annotation tool, chapter 11 covers chat templates, supervised fine-tuning and LoRA, and chapter 12 introduces reinforcement learning for reasoning models through the community Open R1 project.
Prerequisites
The introduction asks for a good knowledge of Python and recommends taking an introductory deep learning course first, naming fast.ai’s Practical Deep Learning for Coders and DeepLearning.AI’s programs. It does not expect prior PyTorch or TensorFlow experience, though it says familiarity with either helps. Most of the course relies on a free Hugging Face account.
Format, time and certificate
The course is self-paced text with code you can run. Each section opens in Google Colab or Amazon SageMaker Studio Lab, and the notebooks are on GitHub; the setup chapter recommends Colab for beginners and does not cover a local Windows setup. Hugging Face says each chapter is designed to take one week at about six to eight hours, which makes roughly twelve weeks for the full course, but learners can go at any pace. Chapters end with quizzes, and some include a short exam that requires signing in. The course FAQ says there is currently no certification for the course. Questions go to the Hugging Face forums, and the site offers the course in more than 25 languages.
Who teaches it
The authors listed on the course page are Hugging Face engineers and developer advocates, including Lewis Tunstall and Leandro von Werra, co-authors of O’Reilly’s Natural Language Processing with Transformers, and Sylvain Gugger, a core maintainer of the Transformers library who previously worked at fast.ai.
How it compares with alternatives
The LLM Course is narrower and more hands-on than a general introduction: it assumes you know Python and some deep learning, and it teaches one widely used toolset in depth. Beginners may start with Google’s Machine Learning Crash Course, while Stanford’s CS231n covers vision rather than language. Our roundup of the best AI courses to start learning in 2026 places it among other free options.