← All AI resources

Tutorials

Hugging Face LLM tutorials

Resource by Phil Schmid

Published by the Learnetto team

About this resource

Phil Schmid’s free Hugging Face tutorials are hands-on guides for Transformers, fine-tuning, inference and deploying open models. Start here when you know basic Python and want implementation-focused lessons rather than a broad AI overview.

Why it is worth your time

The useful part of Schmid’s library is its proximity to real Hugging Face workflows: loading models and datasets, adapting them, choosing inference options and turning experiments into deployable services. Use the tutorials as task-specific labs. Choose the guide closest to your current model or deployment problem, reproduce it in a small repository, then replace the sample data and defaults with your own constraints. That produces a stronger learning artifact than copying several notebooks without testing what changes.

Who this is for

Python developers and ML practitioners who want concrete Hugging Face examples for open models, fine-tuning, inference and deployment.

A practical learning path

The archive spans several skill levels and changes with the Hugging Face stack. Use this order to build one reproducible project instead of collecting disconnected notebooks.

  1. 1

    Confirm the tutorial date, Python and library versions, model licence, hardware needs and expected output before installing anything.

  2. 2

    Reproduce one current Transformers example with its original model and dataset, recording package versions and memory use.

  3. 3

    Adapt the example to a small representative dataset and compare the base model with the adapted result on held-out cases.

  4. 4

    Package the strongest result behind a repeatable inference script or service, then measure latency, memory, cost and failure behaviour.

What you will learn

  • How Transformers, datasets and Hugging Face tooling fit together in an implementation
  • Which fine-tuning and inference choices affect memory, latency and deployment
  • How to move from a tutorial notebook toward a reproducible application or service

What to know before you start

  • This is a collection of independent tutorials rather than one beginner curriculum.
  • Examples can depend on specific library and hardware versions, so check dates and package constraints.
  • Some exercises require GPU access or paid compute that is not included with the material.

Topics covered

Continue learning