ModelRefs / Hugging Face — AI Glossary

Hugging Face — AI Glossary

The leading open-source ML platform providing model hosting, datasets, Transformers library, and inference APIs. Also called HF or HuggingFace.

Overview

Hugging Face hosts 400,000+ model checkpoints and 100,000+ datasets on the Hub. The Transformers library (PyTorch/JAX/TensorFlow) is the reference implementation for open-weight LLMs. Products: Inference Endpoints (managed GPU inference), Spaces (ML app hosting), AutoTrain (no-code fine-tuning), and the PEFT/TRL/Diffusers libraries.

Reference details

Topicinfrastructure
Also known asHF, HuggingFace
Last reviewed2026-06-24

How it works

  1. Models, datasets and demos are stored as git repositories with large-file support, so an artefact has a history and a resolvable revision.
  2. Client libraries resolve a repository id and revision, then cache locally — which is why a pinned revision is reproducible and an unpinned one is not.
  3. Standard configuration files let a model be loaded by a common interface regardless of who published it, which is what made the ecosystem interoperable.
  4. Hosted inference and spaces run models on the platform, so a checkpoint can be tried without local hardware.
  5. Anyone can publish, so provenance, licence and evaluation claims are the publisher's and need checking rather than assuming.

Example: Why the revision matters more than the name

A pipeline loads a model by repository name with no revision. The publisher pushes a new checkpoint; the next environment build downloads different weights, and evaluation moves with nothing in the diff to explain it. Pinning the revision makes that upgrade an explicit commit instead of a surprise. The discipline is identical to a dependency lockfile, with the difference that the failure is a quiet behaviour change rather than a loud build error.

Commonly confused with

The name covers three things that are worth separating: the company and its ecosystem, the Hub where models and datasets are hosted, and the Transformers library that most open-weight code imports. A model hub is the generic category the Hub belongs to — MLflow's registry and cloud registries are others. Saying "we use Hugging Face" usually means the library, the Hub or the Inference Endpoints product, and those are different dependencies.

When to use it

Reach for it when:

  • Obtaining or publishing open model weights and datasets with versioning.
  • Loading models through a common interface rather than per-publisher code.
  • Reproducibility requires pinning an exact revision.

Reach for something else when:

  • You only call a hosted proprietary API, where there is no artefact to fetch.
  • An internal approval lifecycle is needed, which is a registry's job rather than a distribution hub's.
  • Trusting publisher claims — licence and provenance need verifying independently.

Continue your research

Use these connected ModelRefs sections to compare alternatives, inspect implementation paths, and review the evidence and governance boundaries relevant to Hugging Face — AI Glossary.

Frequently asked questions

What is Hugging Face?

The leading open-source ML platform providing model hosting, datasets, Transformers library, and inference APIs.

Is Hugging Face the same as HF?

Yes — HF, HuggingFace are common aliases for Hugging Face.

What concepts are related to Hugging Face?

Closely related concepts include model hub, model registry, open weights.