Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Coursera

Fine-Tuning Transformers with Hugging Face

Pragmatic AI Labs via Coursera

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Master the complete workflow for fine-tuning transformer models using the Hugging Face ecosystem. This hands-on course takes you from navigating the Hugging Face Hub to deploying production-ready models.You'll start by learning to discover, evaluate, and select models and datasets from the Hub's vast repository. Then you'll build practical skills in loading and preprocessing data, including streaming techniques for datasets too large to fit in memory.The core of the course focuses on fine-tuning transformers using the Trainer API. You'll implement custom callbacks, configure training optimizations like mixed precision, and develop comprehensive evaluation pipelines with metrics including accuracy, F1, precision, and recall.The capstone project ties everything together: you'll build an end-to-end sentiment analysis system, from data preprocessing and augmentation through training, evaluation, and publishing your model to Hugging Face Hub with professional documentation.By course end, you'll have hands-on experience with the same tools and workflows used by ML teams at leading organizations, plus a published model in your portfolio.

Syllabus

  • Working With Data
    • Build robust data pipelines for transformer fine-tuning. Load datasets from multiple sources, apply transformations efficiently, and handle real-world data challenges like class imbalance.
  • Training
    • Fine-tune transformer models using the Trainer API. Configure training parameters, optimize performance with mixed precision, and monitor progress with callbacks and logging.
  • Publishing
    • Share fine-tuned models with the community. Publish to Hugging Face Hub with proper documentation, and automate the training-to-deployment pipeline with GitHub Actions.
  • Capstone and Critical Assessment
    • Build an end-to-end sentiment analysis system that fine-tunes a transformer model on custom data and deploys it to Hugging Face Hub. This capstone demonstrates mastery of the complete fine-tuning workflow.

Taught by

Noah Gift and Alfredo Deza

Reviews

Start your review of Fine-Tuning Transformers with Hugging Face

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.