How to choose a Hugging Face model with five filters

By Christophe Paka · Facts checked on 7 November 2026

"How do you know this is the model you need?" a reader asked on r/huggingface. You search the catalog, sort by downloads and pick a famous name. Then you spend a night pulling a file your machine cannot even load.

There is a calmer way to choose a hugging face model. Use five filters, in order, each cheaper than the next. The figure draws the funnel, from millions of repos down to a shortlist of 2 or 3.

A funnel from millions of public model repos through five filters in order: task fit, fits your hardware, quant for your runtime, licence, and rank by signals, ending in a shortlist of 2 or 3 models.
Figure 4.3 Five filters, applied in order, turn millions of models into a shortlist of 2 or 3; hardware fit removes the most.
Use this diagram on your site

Free to share in your blog post, docs, course or slides, as long as the credit link stays. Paste the code below where the figure should go.

How to read this figure

  1. Start at the top: millions of repos. Every public model starts in the pool. You will never read them all, so do not try. Each filter below throws out a large share before you look closer at what is left.

  2. Filter 1: task fit. Use the task filter on huggingface.co/models first. A brilliant code model is a poor support writer, and a model built for the wrong task never gets better.

  3. Filter 2: fits your hardware. Drop every model too big for your memory: the graphics card's memory (VRAM), the usable share of a Mac's memory, or ordinary RAM on a laptop with no graphics card. This filter removes the most. A rough test: the file size plus about a fifth must fit there, so a 4 GB file needs close to 5 GB. Model size and quant level predict that file size before you see the file.

  4. Filter 3: a file for your tool. If you use Ollama or LM Studio, you need a GGUF file: one file holding the whole model, squeezed to a quant level such as Q4_K_M, the usual first pick on home hardware. A model with no GGUF at your level is not a candidate yet. See which files each tool needs.

  5. Filter 4: the licence. Filter by licence in the catalog, before you fall for a model. Keep only terms you can live with. A permissive licence lets you ship a product, as long as you keep the notices and the credit. Others may forbid commercial use or set use rules.

  6. Filter 5: rank by signals, then stop. Only now do downloads, likes, the last update, Paper Page upvotes and discussions order what is left. Signals show that many people looked; they do not prove quality. You end with a shortlist of 2 or 3 to test.

Key takeaways

  • Run the five filters in this order, and never start from a leaderboard or a list of best models.
  • Rule out any model whose file size plus about a fifth is more than your memory.
  • Test the 2 or 3 models left on your own prompts before you commit to one.

Worked example: the funnel for a support helpdesk

The book's running project is a helpdesk that drafts replies to customers. Here is the funnel applied to it.

  1. Task fit: keep models that write text. A code model is out, however good.
  2. Hardware: on a plain laptop, only small models pass. An 8B model as a Q4_K_M file weighs 4.92 GB, so it clears even an 8 GB graphics card. With a 24 GB card, a bigger model can pass as a squeezed file, a smaller quant level.
  3. File for your tool: the bigger model needs a Q4_K_M GGUF to run in a local runner.
  4. Licence: keep terms the helpdesk can live with. Both finalists use apache-2.0, a permissive licence that lets you ship a product.
  5. Signals: order what is left by downloads, likes and the last update.

Result: Two candidates remain: HuggingFaceTB/SmolLM2-360M-Instruct for any laptop, and Qwen/Qwen3.8-27B as a Q4_K_M GGUF for a 24 GB graphics card. Each is the best fit for one machine.

Questions readers ask

How do I find the best AI model on Hugging Face?

Look for the best fit, not the best. Filter by task, drop models too big for your memory, keep those with a file for your tool, filter by licence, then rank by signals. The funnel never asks which model tops a leaderboard, only which fits your job, machine and terms.

Which model fits my GPU?

Use the rough test: the file size plus about a fifth must fit in your graphics card's memory, or in RAM if you run without one. A 4 GB file needs close to 5 GB. For example, an 8B model as a Q4_K_M file weighs 4.92 GB and clears an 8 GB card. The book's chapter 6 turns model size and quant level into a file size.

Why apply the filters in that order?

Each filter is cheaper than the next, and the early ones remove the most. Task and hardware throw out most of the catalog fast. Signals come last because they only order what is left; many people looking is not proof of quality.

Do the same filters work for picking a model to fine tune?

The same order helps, with two more checks. The base model's licence must allow your use, because an adapter you train carries the base model's terms. And the run needs its own memory sums; the book's chapter 11 covers training. This funnel sizes a model to run, not to train.

Sources: The model catalog; Repository licenses (Hub docs).

This figure is from Hugging Face Made Crystal Clear, chapter 4.

The chapter builds the idea step by step, with recipes you can follow, a Try it to check yourself, and every source.

Get the book

All diagrams