Hugging Face

Tap a star to rate

Hugging Face Learn is the free course library of Hugging Face, the platform where, in its own words, "the machine learning community collaborates on models, datasets, and applications." The courses are for programmers and machine learning practitioners who want to work with modern AI models using the same open-source tools Hugging Face maintains, such as Transformers, Datasets, Tokenizers, Diffusers, TRL and smolagents. The Learn page currently lists twelve resources: the LLM Course, Context Course, Robotics Course, a smol course, Agents Course, Deep RL Course, Community Computer Vision Course, Audio Course, Open-Source AI Cookbook, ML for Games Course, Diffusion Course and ML for 3D Course. The courses are documentation-style sites with text, code, quizzes and hands-on exercises, and the LLM, smol and Audio course teams are made up of Hugging Face engineers and educators.

What the catalog covers

The short descriptions on the Learn page show the range. The LLM Course teaches large language models with libraries from the Hugging Face ecosystem. The Context Course covers context engineering for code agents. The Robotics Course teaches building robots with LeRobot. The smol course is described as the "smollest course on post-training AI models." The Agents Course teaches building and deploying your own AI agents, the Deep RL Course covers deep reinforcement learning, and the Community Computer Vision Course covers computer vision with Hugging Face libraries and models. The Audio Course applies transformers to audio data. The Open-Source AI Cookbook is "A collection of open-source-powered notebooks by AI builders, for AI builders." The ML for Games Course covers integrating AI models into games and game development workflows, the Diffusion Course covers diffusion models and the Diffusers library, and the ML for 3D Course covers 3D machine learning.

The LLM Course

The LLM Course is the broadest. Its introduction says it teaches large language models and natural language processing with Transformers, Datasets, Tokenizers and Accelerate plus the Hugging Face Hub, and that "It's completely free and without ads." Chapters 1 to 4 introduce the Transformers library, how transformer models work, and how to take a model from the Hub, fine-tune it on a dataset and share the result. Chapters 5 to 8 cover Datasets, Tokenizers, classic NLP tasks and a chapter on getting help when stuck. Chapter 9 shows how to build and share demos on the Hub, and chapters 10 to 12 move to curating high-quality datasets, fine-tuning large language models and building reasoning models.

The course asks for a good knowledge of Python, works better after an introductory deep learning course, and does not expect prior PyTorch or TensorFlow knowledge. Each chapter is designed to take 1 week at around 6-8 hours of work, though learners can take as long as they need. Every section has a banner to run its code in Google Colab or Amazon SageMaker Studio Lab, the Jupyter notebooks are on GitHub, and an "Ask a question" banner sends learners to the right section of the Hugging Face forums, where a list of project ideas is also kept. The authors include Abubakar Abid, who founded Gradio during his Stanford PhD before Hugging Face acquired it, Ben Burtenshaw, Sylvain Gugger, Lewis Tunstall, Leandro von Werra and Merve Noyan.

On certification, the FAQ says there is currently no certificate for this course and that a certification program for the Hugging Face ecosystem is in the works, though the first chapter's menu already lists a certification exam. The course is released under the Apache 2 license, so it can be reused with appropriate credit, and community translations cover many languages, each with a glossary file explaining how machine learning terms were translated.

The smol course

The smol course is a fine-tuning course "for software developers and engineers looking to fast track their LLM fine-tuning skills." It covers instruction tuning, supervised fine-tuning, evaluation, preference alignment with algorithms like DPO, and vision language models, with reinforcement learning, synthetic data and a closing award ceremony scheduled as later units. Learners use TRL and Transformers, work in pre-configured environments for the hands-on sections, complete use case assignments on a real-world problem of their choice, and can join challenges that compare their fine-tuned models with other students'. Prerequisites are a basic grasp of AI and LLM concepts, Python, machine learning fundamentals, PyTorch or a similar framework, and transformer basics. Each chapter is designed for 1 week at roughly 3-4 hours of work, and study groups and questions run through the Discord server.

Certification there is "completely free." Learners can audit the course, or earn one of two certificates: a fundamentals certificate for completing Unit 1, or a certificate of completion for finishing all units and submitting a final project.

The Audio Course

The Audio Course is aimed at learners with a deep learning background and general familiarity with transformers; no audio expertise is needed. Its units move from working with audio data and audio pipelines through transformer architectures for audio, a music genre classifier, automatic speech recognition (including transcribing meeting recordings) and text to speech, to building real-world audio applications. Each unit has theory, quizzes and, in some chapters, hands-on exercises. The course page says all materials are "100% free, public and open-source." Two certificates are on offer: a certificate of completion for finishing 80% of the hands-on exercises, and a certificate of honors for finishing all of them. The team is four Hugging Face engineers and educators, among them Sanchit Gandhi and Vaibhav Srivastav.

Accounts, compute and cost

The courses themselves are free, and an account is free too. Some hands-on work benefits from a GPU: the smol course recommends a computer with an internet connection and preferably GPU access, noting that Hugging Face Pro works well. The pricing page lists the PRO account at $9 a month, with 10× private storage, 20× included inference credits and 8× ZeroGPU quota among its benefits, while basic CPU and ZeroGPU hardware for Spaces is free. Team plans cost $20 a month per user and Enterprise $50 a month per user, and dedicated Inference Endpoints start at $0.033 an hour. The pricing page also mentions community GPU grants for side projects.

Who it suits

Hugging Face Learn suits developers, data scientists and ML engineers who already code in Python and want hands-on, current material on LLMs, agents, fine-tuning, audio, robotics or diffusion, built around the same open-source libraries the company maintains. It costs nothing to follow, the content is open source, and the forums and Discord give a place to ask questions. Learners who want a certificate should pick the courses that offer one, such as the smol course or the Audio Course, and complete beginners will find the stated prerequisites demanding.

More in Data Science and AI Courses

See all