Home›Library›AI & Data Science
Curated LibraryLLMs with Hugging Face: Transformers, Tokenizers and Fine-Tuning
A 15-lecture walkthrough of the Hugging Face LLM course. It covers how transformers work, the pipeline and tokenizer internals, and fine-tuning a pretrained model with the Trainer API and with a custom training loop, then sharing models on the Hub. It suits Python-literate developers who are new to Hugging Face and want a grounding before moving to more advanced fine-tuning methods.
- 15 lessons
- 3h 44m total
- AI & Data Science
- English
- Earns YodaCoins
Curated by YodaHut. These lessons are hosted on YouTube and produced by their original creators, who are not affiliated with YodaHut. You still earn YodaCoins, keep your streak and track progress here.
What You'll Learn
- Run common NLP tasks such as sentiment analysis with the Hugging Face pipeline API
- Explain the history of transformers, encoder vs decoder architectures, and the difference between an architecture and a checkpoint
- Describe what happens inside a pipeline: tokenization, model forward pass and post-processing
- Use tokenizers and load pretrained models with the Transformers library
- Fine-tune a pretrained model using the Trainer API and using a custom PyTorch-style training loop
- Publish and share your trained models on the Hugging Face Hub
Prerequisites
- Basic Python programming
- Familiarity with machine learning concepts such as training and inference is helpful
- A Hugging Face account and a Colab or local Python environment for following along
Course Curriculum
15 lessons · 3h 44m- 01Course Overview: Learning LLMs with Hugging Face12:07
- 02Introduction to LLMs21:09
- 03Introduction to Transformers13:38
- 04Transformers Decoded: History and Pre-training vs Fine-tuning17:48
- 05Transformers Decoded: Encoder-Decoder Architecture and Checkpoints15:33
- 06Getting Started with the Transformers Library8:40
- 07Inside the Transformers Pipeline18:08
- 08How Hugging Face Models Work11:41
- 09Understanding Tokenizers11:13
- 10The Complete Transformers Pipeline End to End7:28
- 11Sharing Models on the Hugging Face Hub13:16
- 12Fine-tuning Pretrained Models16:37
- 13Fine-tuning with the Trainer API27:19
- 14Fine-tuning with a Custom Training Loop17:26
- 15Sharing Your Models on the Hugging Face Hub (Follow-up)12:12
About the Instructor
Learn AI with Ajinkya Kolhe
YouTube creator
The lessons in this course were produced by Learn AI with Ajinkya Kolhe and are published on YouTube. YodaHut selected and sequenced them into this course; we did not make them, and Learn AI with Ajinkya Kolhe is not affiliated with YodaHut.
Visit the channel on YouTubeMore in the Library: AI & Data Science

Time Series Forecasting with Python: ETS, ARIMA, Machine Learning, Deep Learning and Prophet

Time Series Forecasting in Python: ARIMA, VAR, Prophet and LSTM

Time Series Analysis and Forecasting in Python: From Stationarity to ARIMA and SARIMA

ComfyUI Academy: Build Stable Diffusion Workflows from Scratch

ComfyUI for AI Image Generation: Stable Diffusion, Flux, LoRAs, Upscaling and Editing
