Hugging Face

Getting Started with Hugging Face Transformers

Keep adding new skills with 10,000+ programs for $239 (usually $399). Save now.

Hugging Face

Getting Started with Hugging Face Transformers

Ritesh Vajariya

Instructor: Ritesh Vajariya

Included with Coursera Plus

Ask Coursera

Gain insight into a topic and learn the fundamentals.
Beginner level

Recommended experience

5 hours to complete
Flexible schedule
Learn at your own pace
Gain insight into a topic and learn the fundamentals.
Beginner level

Recommended experience

5 hours to complete
Flexible schedule
Learn at your own pace

What you'll learn

  • Navigate the Hugging Face Hub, locate pre‑trained models, and run transformer inference for text, vision, and audio tasks.

  • Understand how tokenization and model‑inference work under the hood, including padding, truncation, and data‑type handling.

  • Read and interpret model‑card information—licensing, bias, and performance metrics—to decide whether a model is fit for deployment.

Details to know

Shareable certificate

Add to your LinkedIn profile

Recently updated!

June 2026

Assessments

5 assignments

Taught in English

See how employees at top companies are mastering in-demand skills

 logos of Petrobras, TATA, Danone, Capgemini, P&G and L'Oreal

There are 4 modules in this course

With over two million models on the Hugging Face Hub, knowing where to start is half the battle. Build a mental map of the HF ecosystem—models, datasets, Spaces, and how they connect—then use the pipeline API to run inference across text, vision, and audio tasks in just a few lines of code. By the end of this module, you’ll know how to find the right model for a given task and get results fast.

What's included

3 videos1 reading1 assignment1 ungraded lab

Most production model failures don’t come from bad models — they come from bad inputs. Tokenization, padding, truncation, and attention masks are where text becomes the numerical representation a model can actually process. Get any of these wrong and the model fails silently — no error message, just bad results. This module teaches you what happens between raw text and model input, and how to control every step.

What's included

4 videos1 reading1 assignment1 ungraded lab

The pipeline API bundles preprocessing and model execution into one call — convenient, but opaque. This module hands you the components separately. Load models with the right AutoModel class, inspect the configuration to understand what you’re working with, run manual inference on tokenized inputs, and manage memory by loading in reduced precision. By the end, you’ll understand exactly what pipeline was doing for you — and be able to do it yourself.

What's included

3 videos1 reading1 assignment1 ungraded lab

A model that works in a notebook can still fail catastrophically in production — not because of accuracy, but because of misaligned intended use, undisclosed biases, or incompatible licensing. This module teaches the evaluation skills that separate responsible practitioners from reckless ones. Read model cards critically, assess intended use against your actual use case, evaluate bias and limitation disclosures, and verify license compatibility before recommending a model for deployment.

What's included

3 videos2 readings2 assignments1 ungraded lab

Instructor

Ritesh Vajariya
Hugging Face
28 Courses1,394 learners

Offered by

Hugging Face

Why people choose Coursera for their career

Felipe M.

Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."

Jennifer J.

Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."

Larry W.

Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."

Chaitanya A.

"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

Frequently asked questions