liveBook · Manning

Hugging Face

Also called HuggingFace

Hugging Face is a platform and ecosystem for hosting, discovering, sharing, and using machine-learning models, datasets, applications, and related tools.

How 5 Manning books explain it

Natural Language Processing in Action, Second Edition

Hugging Face Hub is an online repository and collaboration platform for sharing machine-learning models, datasets, and applications.

How it is used
Deploys shared machine-learning models locally through downloads, authentication, and Python loading workflows.
How deep it goes
Explains authentication and model loading procedurally, but does not develop Hub-wide collaboration or dataset workflows.
Examples
Uses Llama 2 7B downloads, HF_TOKEN environment loading, prompt tokenization, and generated answers.
What you can do after
Operate/configure authenticated local model use with Hugging Face Hub and Transformers.

Read how Natural Language Processing in Action, Second Edition explains Hugging Face →

Starting Data Analytics with Generative AI and Python

Hugging Face is a platform that hosts and distributes machine-learning models, datasets, and related development resources.

How it is used
Locates, downloads, and shares pretrained models for NLP and machine-learning tasks.
How deep it goes
Explains the Model Hub, documentation, tutorials, and community role, but stops short of detailing implementation steps.
Examples
Uses sentiment analysis, text generation, language translation, model downloads, documentation, tutorials, and community-shared models.
What you can do after
Apply via Hugging Face by selecting and downloading a pretrained model for an NLP task while checking its security.

Read how Starting Data Analytics with Generative AI and Python explains Hugging Face →

Hugging Face in Action

The Hugging Face Hub is a platform for hosting, discovering, sharing, and collaborating on machine learning models and datasets.

How it is used
Supports model and dataset discovery, browser evaluation, application development, sharing, and controlled artifact downloads.
How deep it goes
Explains discovery, browser inference, Transformers integration, and revision-pinned downloads without covering model internals.
Examples
Demonstrates DETR object detection, browser-uploaded images, Transformers code samples, and Pegasus configuration-file downloads.
What you can do after
Apply it via the Model Hub, Hosted Inference API, Transformers, and huggingface_hub to evaluate models and run selected artifacts.

Read how Hugging Face in Action explains Hugging Face →

Software Testing with Generative AI

Hugging Face is a platform and community hub for sharing, accessing, training, and documenting machine-learning models and datasets.

How it is used
Supports problem-driven discovery, access, adaptation, training, and documentation for machine-learning models.
How deep it goes
Defines the platform’s resources and selection rationale but defers detailed model adaptation and further training.
Examples
Uses a models index containing hundreds of thousands of differently trained models.
What you can do after
Apply via Hugging Face by finding pretrained models and related resources for a specific machine-learning problem.

Read how Software Testing with Generative AI explains Hugging Face →

Deep Learning with PyTorch, Second Edition

A repository service for discovering, sharing, and exchanging pretrained models and weights.

How it is used
Provides a model repository and high-level wrapper for applying pretrained transformer and diffusion models.
How deep it goes
Defines model zoos and demonstrates one text-generation pipeline, while deferring transformer mechanics to a later treatment.
Examples
Uses a GPT-2 pipeline to complete a nine-word prompt and produce a generated continuation.
What you can do after
Apply pretrained text-generation models through the transformers pipeline interface.

Read how Deep Learning with PyTorch, Second Edition explains Hugging Face →

Also covered in

What to know first

Related concepts

Questions about Hugging Face

What is Hugging Face?

Hugging Face is a platform and ecosystem for hosting, discovering, sharing, and using machine-learning models, datasets, applications, and related tools.

Which Manning books explain Hugging Face?

Natural Language Processing in Action, Second Edition, Starting Data Analytics with Generative AI and Python, Hugging Face in Action, Software Testing with Generative AI and Deep Learning with PyTorch, Second Edition.

What should I know before learning Hugging Face?

Manning books that teach Hugging Face usually introduce language model, foundation model, natural language processing and BERT first.

What is the difference between Hugging Face and CivitAI?

Hugging Face is a platform and ecosystem for hosting, discovering, sharing, and using machine-learning models, datasets, applications, and related tools. CivitAI is a website and community platform for sharing, discovering, and downloading Stable Diffusion models and related resources.

What are the parts of Hugging Face?

Hugging Face includes foundation model.

What is Hugging Face also called?

Hugging Face is also called HuggingFace.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.