Ultralytics YOLO27: Join the waitlist.
License YOLO
Back to Ultralytics Glossary

Hugging Face

Hugging Face is the AI company behind the Hub, which hosts millions of open models, datasets, and demo apps, and the Transformers library.

Hugging Face is an AI company and open-source community whose Hub is a central place to publish, find, and download machine learning models, datasets, and demo applications. In October 2026 the Hub lists more than 3.1 million models and 1 million datasets, from large language models (LLMs) and vision transformers to speech, robotics, and object detection checkpoints. The company also maintains widely used open-source libraries, led by Transformers.

Clément Delangue, Julien Chaumond, and Thomas Wolf founded the company in New York in 2016 as a chatbot app for teenagers, named after the hugging face emoji. Its PyTorch port of Google's BERT, published in November 2018, grew into Transformers as the company shifted from the chatbot to open-source tools. In September 2026, NVIDIA agreed to acquire Hugging Face for about $12.9 billion, in a deal expected to close in the first half of 2027, pending regulatory approval, with Hugging Face keeping its brand as an open platform.

The Hub#

Every model, dataset, and Space on the Hub is a Git repository with full version history. Large files such as weights are stored by Xet, Hugging Face's storage backend, which deduplicates data in chunks, so uploading a modified checkpoint transfers only the chunks that changed. The Hub hosts three kinds of repositories:

  • Models: Model weights, configuration files, and a model card, a README whose metadata records the license, training data, evaluation results, and limitations. Many repositories store weights as safetensors, a format that loads without executing code, and gated repositories make users accept the owner's terms before downloading.
  • Datasets: Data files with a dataset card and an in-browser viewer. The datasets library loads them through Apache Arrow and can stream datasets too large to download.
  • Spaces: Hosted demo apps built with Gradio, Docker, or static HTML, often the quickest way to try a new model in the browser.

Inference Providers route API requests for Hub models to partner serverless providers, and Inference Endpoints deploy a model on dedicated hardware. A typical project moves through the Hub like this:

Open-Source Libraries#

  • Transformers: Model definitions and pretrained weights for text, vision, audio, and multimodal tasks behind one API, including the pipeline function that runs a task in a few lines. It is now in its fifth major version.
  • Diffusers: Pipelines for diffusion models that generate images, video, and audio.
  • Datasets and Tokenizers: Fast data loading and processing, and fast Rust implementations of the tokenization schemes that models use.
  • PEFT and TRL: Parameter-efficient fine-tuning methods such as LoRA, and post-training methods such as direct preference optimization for aligning language models.
  • timm, LeRobot, and smolagents: PyTorch image models, robot learning datasets and policies, and lightweight AI agents.

Downloading Models From the Hub#

The huggingface_hub library downloads any file from a repository and caches it locally, so later calls reuse the cached copy. Ultralytics publishes YOLO26 checkpoints in the Ultralytics/YOLO26 repository, all five sizes for detection, segmentation, classification, pose estimation, and oriented boxes:

from huggingface_hub import hf_hub_download
from ultralytics import YOLO

# Download YOLO26n weights from the Ultralytics repository on the Hub (cached after the first call)
weights = hf_hub_download(repo_id="Ultralytics/YOLO26", filename="yolo26n.pt")

# Load the downloaded checkpoint and run detection
model = YOLO(weights)
results = model("https://ultralytics.com/images/bus.jpg")
results[0].save(filename="bus_detections.jpg")

hf_hub_download returns the path of yolo26n.pt in the local Hugging Face cache, and the saved image shows YOLO26n's detections on the bus photo.

  • GitHub: Hosts source code in Git repositories. The Hugging Face Hub uses Git too and adds what machine learning artifacts need: storage for multi-gigabyte weights, model and dataset cards, dataset viewers, and hosted inference.
  • Model zoos: Framework-specific collections such as PyTorch Hub load models through one library, and the Hub serves models from many libraries, each tagged with the library that loads it.
  • Model registries: Private catalogs that track a team's model versions, stages, and deployment approvals, usually inside an MLOps platform.

Real-World Applications#

  • Fine-tuning open models: Teams download open-weight LLMs, adapt them with LoRA, and push the small adapter files back to the Hub instead of full copies of the model.
  • Reproducible research: Papers publish their weights and datasets on the Hub, and Hugging Face's paper pages link each paper to the models, datasets, and Spaces that use it.
  • Open training data: FineWeb, a Hugging Face dataset of cleaned and deduplicated English web text from Common Crawl, has grown from 15 trillion tokens at release to more than 18.5 trillion.

Explore solutions

Computer vision in sports

Computer vision in sports

Discover how Ultralytics YOLO powers sports vision with player and ball tracking, performance analytics, coaching insights, and athlete rehabilitation.
Learn more
Computer vision for aerial imagery

Computer vision for aerial imagery

Turn drone and aerial imagery into real-time insights for agriculture, aquaculture, conservation, and geospatial analysis with Ultralytics YOLO.
Learn more
Computer vision in aerospace

Computer vision in aerospace

Apply computer vision in aerospace with Ultralytics YOLO for aircraft inspection, runway FOD detection, airport ground operations, and composite defect detection.
Learn more
Computer vision in security

Computer vision in security

Protect every site with Ultralytics YOLO models. Vision AI powers perimeter monitoring, threat detection, license-plate recognition, and workplace safety.
Learn more
Computer vision in robotics

Computer vision in robotics

Power smarter machines with Ultralytics YOLO models. Vision AI in robotics drives autonomous navigation, perception, object tracking, and real-time control.
Learn more
Computer vision in logistics

Computer vision in logistics

Streamline logistics with Ultralytics YOLO models. Vision AI enables package inspection, sorting, vehicle tracking, and real-time warehouse safety monitoring.
Learn more
Computer vision in retail

Computer vision in retail

Reimagine retail with Ultralytics YOLO models. Vision AI powers inventory tracking, shelf monitoring, queue management, and smarter customer insights.
Learn more
Computer vision in healthcare

Computer vision in healthcare

Build healthcare solutions with Ultralytics YOLO models. Vision AI in healthcare powers faster medical imaging, smarter diagnostics, and patient monitoring.
Learn more
Computer vision in manufacturing

Computer vision in manufacturing

Optimize manufacturing with Ultralytics YOLO models. Vision AI drives quality control, defect detection, PPE compliance, and assembly line automation.
Learn more
Computer vision in automotive

Computer vision in automotive

Apply computer vision in automotive with Ultralytics YOLO models. Vision AI elevates road safety, driver assistance, and vehicle automation for smarter roads.
Learn more
Computer vision in agriculture

Computer vision in agriculture

Bring vision AI to smart agriculture with Ultralytics YOLO models. Power crop monitoring, livestock tracking, and precision farming for higher, smarter yields.
Learn more

Let's build the future of AI together!

Begin your journey with the future of machine learning