Hugging Face · Official course

LLM Course

Learn transformers, datasets, tokenizers and the foundations of modern LLMs.

Free learning material01 · Foundations
Open official resource

What you will study

  1. 01Transformer models
  2. 02Datasets and tokenizers
  3. 03Model evaluation
MASTERLEARN

Read the study guide

This Masterlearn guide explains the key ideas and gives you an independent practice task. Open the official resource for the provider’s full lessons and videos; sign-in may be required.

Content reviewed:
01

Transformer models

A tokenizer converts text to token identifiers; a Transformer processes their representations. Track the shapes of inputs and outputs before changing model settings.

02

Datasets and tokenizers

Separate training, validation and test examples before experimentation. Reuse the tokenizer expected by the model and inspect padding, truncation and labels.

03

Model evaluation

Choose a metric that matches the task and inspect individual mistakes. Keep the test set separate from prompt or training decisions to avoid an optimistic score.

Practice assignment

Run a small text-classification example, save five predictions and explain two errors using the input text.

Completion checklist

  • Explain the three topics in your own words.
  • Complete the assignment and keep the output or design notes.
  • Test an edge case and record one limitation.