Hugging Face Transformers Tutorial for NLP in Python
Learn Hugging Face Transformers by building a support-message router in Python: pipelines, tokenizers, models, datasets and fine-tuning with the Trainer, then evaluating, sharing, speeding up and serving the model. Beginner-friendly parts, all on your own computer.
Start with Part 1Install Transformers and Run Your First Pipeline
Start a Hugging Face Transformers project in Python: what Transformers, the Hub and pipelines are, install Transformers 5.24.1 and PyTorch 2.15.0 with uv, run your first pipeline on your GPU, and build the first version of a support-message router with zero-shot classification.