Skip to main content
HomePython

Course

Working with Hugging Face

BasicSkill Level
4.8+
4,763 reviews
Updated 07/2025
Navigate and use the extensive repository of models and datasets available on the Hugging Face Hub.
Start Course for Free
PythonArtificial Intelligence2 hr8 videos26 Exercises2,050 XP30,198Statement of Accomplishment

Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.

Loved by learners at thousands of companies

Group

Training 2 or more people?

Try DataCamp for Business

Course Description

Start Building AI with Hugging Face

In today's rapidly evolving landscape of machine learning (ML) and artificial intelligence (AI), Hugging Face stands out as a vital platform, allowing anyone to leverage the latest models, datasets, and functionality in their projects.

Explore the Hugging Face Hub

To begin, you'll navigate the Hugging Face Hub's vast model and dataset repository. You'll load, use, and save models from Hugging Face, and download and manipulate datasets for model training.

Build Pipelines for Text Applications

Utilize pre-trained models available on Hugging Face for text classification tasks, such as grammatical correctness and dynamic category assignment; summarize long passages of text using both extractive and abstractive summarization models, and even begin having conversations with documents!

By the end of the course, you'll be equipped with the knowledge and skills to tackle a wide range of text-based ML and AI tasks effectively using Hugging Face.

Feels like what you want to learn?

Start Course for Free

What you'll learn

  • Assess when AutoModel and AutoTokenizer classes provide advantages over standard pipelines for advanced NLP customization
  • Define the Python steps needed to construct and execute transformers pipelines for text classification, summarization, and document question-answering
  • Differentiate the computational and workflow implications of running inference locally versus through Hugging Face inference providers
  • Identify the key metadata elements in Hugging Face model and dataset cards that influence model or data set selection
  • Recognize the methods for loading, filtering, and querying datasets using the Hugging Face datasets library

Prerequisites

Introduction to Functions in Python
1

Getting Started with Hugging Face

Discover the power of Hugging Face, the go-to AI platform for developers and data scientists. Explore pre-trained models, access datasets, and set up workflows to launch your AI-powered solutions.
Start Chapter
2

Building Pipelines with Hugging Face

Working with Hugging Face
Course
Complete

Earn Statement of Accomplishment

Add this credential to your LinkedIn profile, resume, or CV
Share it on social media and in your performance review
Enroll Now

Don’t just take our word for it

*4.8
from 4,763 reviews
85%
14%
1%
0%
0%
  • Diego
    1 hour ago

  • Vy
    10 hours ago

  • Francisco
    11 hours ago

  • Samarth
    16 hours ago

  • Mohamed Ali
    19 hours ago

    Très bon équilibre entre pédagogie et pratique, idéal pour les développeurs qui souhaitent commencer à utiliser des LLM localement ou intégrer l’IA dans leurs projets.

  • Amin
    19 hours ago

Diego

Vy

Francisco

FAQs

Is this course suitable for beginners?

Yes. Chapter 1 starts with installing huggingface_hub and explains what Hugging Face is, so learners only need basic Python knowledge to follow along.

Which Hugging Face libraries and functions will I use?

You will work with huggingface_hub to browse models, transformers for pipelines, AutoModel and AutoTokenizer for custom workflows, and the datasets library to load and filter data.

What can I build after completing this course?

You can build text classifiers for binary, multi-class, and zero-shot tasks, generate summaries with controlled length, and create question-answering pipelines that read PDF documents.

Why does the course cover AutoModel and AutoTokenizer alongside pipelines?

Pipelines offer a simple syntax for common tasks, while AutoModel and AutoTokenizer give you the control to build custom NLP workflows when default pipelines are not enough.

Join over 19 million learners and start Working with Hugging Face today!

Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.

Grow your data skills with DataCamp for Mobile

Make progress on the go with our mobile courses and daily 5-minute coding challenges.