# Model hub

> Canonical: https://skillalmanac.com/glossary/model-hub | Last verified: 2026-11-24 | Index status: not offered to search engines

A model hub is an online repository where people publish, version, discover and download machine learning models and related files; the Hugging Face Hub is a well-known example that hosts models, datasets and demo apps.

Also called: Hugging Face model hub, AI model hub, model repository, model hubs.

## In plain language

A model hub is like a code-sharing site for AI models. A lab or a hobbyist uploads a model's files with a description, and anyone can search for it, read about it and download it to run on their own machine or through an API. The Hugging Face Hub is one example, and it also hosts datasets and small demo apps. The convenience has a risk: anyone can publish, so a listing is not an endorsement. Before using a model, read its model card, check who published it and what licence applies, and look at the file format, since some formats can run code when loaded. Downloading from an unknown publisher is the main thing to avoid.

## Technical definition

Hugging Face's documentation describes the Hub as hosting Git-based repositories, which are version-controlled folders, for models, datasets and Spaces, with versioning, commit history, diffs and branches. The Model Hub page describes it as a place to host model checkpoints for storage, discovery and sharing, downloadable with the huggingface_hub client library, with the Transformers library or with other integrated libraries. Model repos carry model cards. On security, the Hub documents malware scanning of repository files and a pickle import scan, and says the pickle scan is not foolproof. OWASP's supply chain entry says there are no strong provenance assurances in published models and recommends verifiable sources with signatures and file hashes.

## How it shows up when you use agents

Local model tools and Transformers-based scripts fetch models from a hub, and an agent setup that runs a [self-hosted model](/glossary/self-hosted-llm) often starts with a download from one. The hub gives you a name, a version history and a [model card](/glossary/model-card). It does not give you a guarantee about what is inside the files.

What breaks when this is misunderstood: people assume a listing was reviewed. Hugging Face's pickle documentation warns that loading a pickle file can run arbitrary code, suggests loading models from users and organisations you trust, and says its scan is not foolproof. OWASP's supply chain entry says there are no strong provenance assurances in published models.

Next action: before downloading, read the card, check the publisher and licence, and look at the file formats; the Hugging Face documentation names safetensors as a simple weights format it was experimenting with. Pin a specific version rather than a moving branch, and keep a downloaded model away from secrets until you trust it. See also [Hugging Face](/glossary/hugging-face) and [open-weights models](/glossary/open-weights-model).

## Common confusions

- **Model hub versus Hugging Face.** Hugging Face is a company; its Hub is one model hub. Other hubs and repositories exist.
- **Model hub versus model registry.** A hub is for shared discovery and download. A registry inside a team tracks that team's own models; this entry covers the former.
- **Hosting versus endorsing.** The Hub hosts what the community uploads. Scans and model cards help, but neither is an audit.
- **Myth.** A model on a hub is safe to run. OWASP lists untrusted pre-trained models as a supply chain risk.

## Worked examples in this catalogue

### [Hugging Face](https://skillalmanac.com/publishers/huggingface)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: The publisher page lists the catalogue entries published under the Hugging Face name.

Why it exercises the concept: It shows what is in this catalogue from the company behind the best-known hub; the hub itself is a separate website.

### [huggingface-datasets](https://skillalmanac.com/skills/huggingface/huggingface-datasets)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: Metadata, rows, search and filters for a Hugging Face dataset, read through the Dataset Viewer API.

Why it exercises the concept: Datasets live on the same hub as models.

### [huggingface-gradio](https://skillalmanac.com/skills/huggingface/huggingface-gradio)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: Gradio web interfaces and demos built in Python.

Why it exercises the concept: Hugging Face's documentation lists Gradio as one of the SDKs for Spaces, the demo apps hosted on the Hub, so this is the demo side of a hub.

### [Check a Claude Skill From GitHub Before Installing It](https://skillalmanac.com/learn/check-a-claude-skill-from-github-before-installing)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: A step-by-step review of third-party skill code before it runs, including reading scripts and checking where the repository comes from.

Why it exercises the concept: The same habit applies to a model downloaded from a hub: check the source and read what you can before trusting it.

## Related terms

- [Hugging Face](https://skillalmanac.com/glossary/hugging-face.md)
- [Open-weights model](https://skillalmanac.com/glossary/open-weights-model.md)
- [Model card](https://skillalmanac.com/glossary/model-card.md)
- [Ollama](https://skillalmanac.com/glossary/ollama.md)
- [Self-hosted LLM](https://skillalmanac.com/glossary/self-hosted-llm.md)
- [Model weights](https://skillalmanac.com/glossary/model-weights.md)
- [Replicate](https://skillalmanac.com/glossary/replicate-ai.md)

## Sources

- [Hugging Face Hub documentation](https://huggingface.co/docs/hub/index), Hugging Face (accessed 2026-11-24)
- [The Model Hub](https://huggingface.co/docs/hub/models-the-hub), Hugging Face (accessed 2026-11-24)
- [Pickle Scanning](https://huggingface.co/docs/hub/security-pickle), Hugging Face (accessed 2026-11-24)
- [LLM03:2025 Supply Chain](https://genai.owasp.org/llmrisk/llm032025-supply-chain/), OWASP Gen AI Security Project (accessed 2026-11-24)

Definitions are written by Skill Almanac from the sources above and checked against them on 2026-11-24. [Glossary index](https://skillalmanac.com/glossary.md).
