Back to Learning Area

The Ecosystem: Hugging Face

Where the AI world stores its models — a tour through the largest repository.

  • Architectures
  • 12 min
  • Beginner

Plain Language

This preview is in Plain Language. The whole portal is also available in Plain Language. You can change the language at the top. Or use the button below. Our Plain Language texts are AI-assisted and editorially reviewed. They follow the core principles of easy-to-read language, but they are not certified Easy Read: a review panel of people with learning difficulties does not test them.

Preview: Hugging Face: finding AI models

What is Hugging Face?

Hugging Face is a website for AI models. There are over three million models to download there. In the model hub, you find models. In spaces, you try models in your browser. In the datasets hub, you find data.

What is a model card?

A model card is the description of a model. It explains strengths and limits. It also shows the license. Weights are the data of the model. Weights means: the model saves learning results as numbers.

Leaderboards and rankings

A leaderboard is a ranking list of AI models. Researchers test models with special tests. A high ranking means: the model is good in these tests. But the best model depends on your task. Always compare multiple models.

You want to use an AI model beyond ChatGPT's chat window. But where do you actually find models? How do you tell which one is good? And what does it mean when a model is labeled "open source"?

Hugging Face is the central platform for the open AI ecosystem — the place where models, datasets, and demos converge. This chapter shows you how to navigate it, read a Model Card, and critically evaluate leaderboard scores.

The Platform — Your Map to the AI Model World

Hugging Face organizes the open AI ecosystem around three pillars. Each pillar has a clear function — together they form the infrastructure on which the entire open-source AI ecosystem is built.

Model Hub A searchable repository hosting over three million pre-trained models — language models, image generators, audio and video models.
Datasets Hub Over a million datasets for training, fine-tuning, and evaluating models.
Spaces Interactive web demos (built with Gradio, for example) where you can try models directly in the browser — no code, GPU, or setup required.

Models in the Model Hub

3 M+

Freely searchable and downloadable

Think of Hugging Face as a massive public library. The Model Hub is the book collection — over three million titles, organized by category, language, and popularity. The Datasets Hub is the archive room containing the raw research material that the books were written from. And Spaces are the reading rooms where you can open any book and try it out interactively, without taking it home.

Just like a library, the most popular books are easy to find (sorted by downloads and likes), but a niche book that perfectly fits your topic might be more useful than the bestseller. One caveat: downloads and likes can be artificially inflated. In May 2026, a fake OpenAI repository carrying malware briefly hit number one on the trending list that way. So always check who uploaded a model.

Example: You type "llama 3" into the Model Hub search bar. Sorted by downloads, the top result is meta-llama/Llama-3.1-8B-Instruct — an official Meta repository.

The page shows millions of downloads, thousands of likes, the full Model Card with architecture details and benchmark scores, and a "Use this model" button that generates the Python code to load it in three lines. In the Spaces tab, you'll find dozens of community-built demos. One catch: the repository is gated. Before you can download the files, you have to log in and request access from Meta.

Caution

Misconception: The models on Hugging Face come from Hugging Face

Hugging Face is primarily a hosting and infrastructure platform, and only marginally a model developer (e.g. SmolLM). The vast majority of models come from organizations like Meta (Llama), Google (Gemma), Microsoft (Phi), Mistral, and thousands of independent researchers. Hugging Face provides the distribution channel, the standardized documentation format, and the community tools — similar to how GitHub does not write software but enables it to be shared. In September 2026, NVIDIA announced it would acquire Hugging Face (the deal is expected to close in the first half of 2027); according to NVIDIA, the platform will remain open to the entire AI ecosystem.

Model Cards & Weights — What's Inside a Model?

When you open a model repository on Hugging Face, you find two things: a Model Card (structured documentation) and the model weights (the actual learned parameters).

Definition

Model Card

Analogy

A Model Card is like a package insert for a medication: It describes what the model is designed for, how it was trained, what limitations it has, and under what conditions you may use it.

The weights are the gigantic matrices of numerical values that the model learned during training. They are stored as large binary files (typically in safetensors format), and their size scales directly with parameter count.

Definition

Open Weights

Analogy

Open weights are like a restaurant selling you their signature dish to take home: You can eat it, reheat it, and add toppings — but you don't get the recipe, the ingredient list, or the kitchen equipment specifications.

True open source is the complete recipe book: ingredients, preparation steps, temperatures, and plating instructions — so you could recreate the dish from scratch in your own kitchen. Example: OLMo publishes everything — training code, dataset, and weights.

Open Weights (e.g. Llama)

Weights: yes | Training code: no | Training data: no | License: restricted (700M user threshold)

Open Source (e.g. OLMo)

Weights: yes | Training code: yes | Training data: yes | License: fully open

Storage (8B model)

~16  GB

Approx. 16 GB at full 16-bit precision — more parameters mean larger files

Example: The Model Card for mistralai/Mistral-7B-Instruct-v0.3 tells you: 7 billion parameters, a vocabulary of 32,768 tokens, Apache 2.0 license (full commercial freedom). According to Mistral, the underlying Mistral 7B matches or beats Llama 2 13B (a model nearly twice its size) on every benchmark it published. The Limitations section points out that the model has no moderation mechanisms.

Caution: Available does not mean license-free

Even when weights are publicly available, licenses vary enormously. Llama 3.1 comes with the "Llama 3.1 Community License" under which companies with more than 700 million monthly users on the release date (July 2024) must request a separate license from Meta. Some models are released exclusively for non-commercial research. Always check the license field in the Model Card before building a product.

Leaderboards — How Models Are Ranked (and Why Rankings Lie)

With over three million models available, the community needs systematic comparison methods. Two dominant approaches have emerged: automated benchmarks and human evaluation.

Automated Benchmarks

e.g. the former Open LLM Leaderboard (retired in 2025), originally with MMLU, ARC, HellaSwag, GSM8K — standardized, scalable, but gameable

Chatbot Arena (now: Arena)

Elo-style rating: Blind human evaluation — practical, but subjective and slow

Automated benchmarks are like car magazine comparison tables: 0-to-60 acceleration, fuel efficiency, trunk volume — precise numbers that rank every car on paper. The Chatbot Arena is the test drive: you sit in two cars and decide which one you actually prefer for your daily commute. A car that tops the magazine charts might feel terrible to drive.

MMLU (Massive Multitask Language Understanding): 57 knowledge domains from astronomy to law — tests broad factual knowledge.

ARC (AI2 Reasoning Challenge): Elementary-level science questions — tests logical reasoning.

HellaSwag: Complete sentences meaningfully — tests language understanding and common sense.

GSM8K: Grade-school math word problems — tests step-by-step calculation and problem solving.

Caution

Benchmark Gaming: When Scores Lie

A model developer notices that MMLU questions follow predictable patterns. They add MMLU-style questions to their training data — not the exact questions, but structurally similar ones. Their model jumps 5 points on the leaderboard. Users download it excitedly — only to find it performs no better (or even worse) on their actual tasks.

Caution

Misconception: The top model is the best for my project

Leaderboards measure average performance across diverse tasks. A 70-billion-parameter model ranking first overall may be dramatically outperformed by a fine-tuned 7-billion-parameter model on your specific task (e.g., German legal text summarization). The right model depends on your use case, your hardware, and your latency requirements.

Interactive: Comparing Model Cards

Here the models from this chapter sit side by side, the way their model cards describe them: size, license, and what was actually released. The table estimates storage like the 8B model above: roughly 2 GB per billion parameters. Sort by a column or click a model.

Note

Key Takeaways

  1. Hugging Face is the central infrastructure of the open AI ecosystem with three pillars: Model Hub, Datasets Hub, and Spaces.
  2. A Model Card tells you what a model can do, how it was trained, and under what conditions you may use it.
  3. "Open weights" is not the same as "open source" — always check what was actually published.
  4. Leaderboard scores are a starting point for comparison, not a final verdict — the right model depends on your specific task.

You now know where AI models live and how to evaluate them. In the next article, we bring a model to your own computer: With Ollama and LM Studio, you can run language models locally — no cloud, no subscription.

Check

Quiz: Hugging Face

Not completed

What is the primary function of "Spaces" on Hugging Face?

Select one answer

Answer Key: 1) B · 2) B · 3) B · 4) B · 5) B

Check

Checkpoint

Can you explain this in your own words? Tick what you've got.

0 of 3 done