Learning path · Local models

Hugging Face for beginners: find, size and download local AI models

Almost every open AI model you can run at home is published on Hugging Face. This guide shows you how to find the right one, check that you're allowed to use it, pick a file that fits your computer, and load it into Ollama or LM Studio.

Checked October 15, 2026 against the Hugging Face Hub docs, the Ollama docs and the LM Studio docs. Text-only guide: button names are quoted exactly as they appear on each site.

On this page: What Hugging Face is · Find a model · Read a model card · Licenses · GGUF and quantization · Pick a size · Download into Ollama · Download into LM Studio · Fixing common problems

What Hugging Face is

Hugging Face is the main public library for AI models, a bit like an app store crossed with GitHub. Companies such as Meta, Google, Microsoft, Mistral, Alibaba (Qwen) and OpenAI publish their open-weight models there, and the community uploads ready-to-run versions of them. Browsing and downloading most models is free and needs no account. You only need a free account for "gated" models, where the publisher asks you to accept a license first.

How to find a model

  1. Go to huggingface.co/models. You'll see a long list of models with a filter panel on the left.
  2. Under Tasks, pick what you want: "Text Generation" for chat and coding, "Text-to-Image", "Text-to-Video" or "Text-to-Speech".
  3. Under Libraries, tick GGUF if you want a chat or coding model for Ollama or LM Studio. On a Mac, MLX versions also work in LM Studio.
  4. Use the Sort menu (top right of the list) and choose "Most downloads" or "Trending". Popular models are usually the better-tested ones.
  5. Or skip the searching: our model picker lists checked models for each hardware tier, each linked to its official page.

Official vs community uploads. The part before the slash is the publisher, for example Qwen/Qwen3-8B is from the Qwen team. Ready-to-run GGUF copies are usually made by well-known community uploaders (for example bartowski or unsloth) or by the publisher itself. Prefer the official page for facts and license, and a popular, recently updated uploader for GGUF files.

Tip: tell Hugging Face your hardware. Signed in, open your account settings, go to Local Apps, and add your hardware (GPU or Mac). Model pages then show which file sizes should fit your machine (Hugging Face: Local Apps).

How to read a model card

Every model page opens on its Model card tab, written by the publisher (what model cards contain). Look for five things:

Licenses: can you use it for work?

A community GGUF copy keeps the original model's license. Always check the original.

Gated models. Some pages show a box asking you to share your contact details and accept terms. Sign in, read the terms, and click the button in that box (for example "Agree and access repository"). Access is often instant; some publishers review requests by hand (Hugging Face: gated models).

What GGUF and quantization mean

GGUF is a single-file format for running language models on ordinary computers. It's what Ollama, LM Studio and llama.cpp use (Hugging Face: GGUF). Quantization shrinks a model by storing its numbers with less precision. One model is usually offered in many quantized files, named like this:

LabelSize vs originalQualityWhen to pick it
Q8_0about halfPractically identicalYou have plenty of memory
Q6_Kabout 40%Very closeA safe upgrade if it fits
Q4_K_Mabout 30%Small, usually unnoticeable lossThe default. Start here.
Q3_K_M / Q2_Kabout 20–25%Noticeably worseOnly to squeeze a big model in

Image and video models use other formats (.safetensors, FP8 or GGUF copies for ComfyUI), but the same idea applies: smaller files trade a little quality for fitting in less memory.

How to pick a size for your RAM or VRAM

The rule: the file size, plus 2–4GB for the conversation, must fit in your GPU memory (VRAM), or in about 70% of a Mac's memory. A rough guide at Q4_K_M:

Your computerModel size that runs wellExample
8GB VRAM, or a 16GB Mac or PCup to about 8B (file ≈ 5GB)Qwen3 8B, Qwen2.5-Coder 7B
12–16GB VRAM, or a 32GB Macup to about 14B, or 20–30B mixture-of-expertsgpt-oss-20b, Qwen3-Coder 30B-A3B (tight)
24GB VRAM, or a 48–64GB Macup to about 32B (file ≈ 20GB)Qwen2.5-Coder 32B, Devstral Small
48GB+ VRAM, or a 96–128GB Mac70B and large mixture-of-expertsLlama 3.3 70B, gpt-oss-120b

To find your memory: on Windows, open Task Manager → Performance → GPU and read "Dedicated GPU memory". On a Mac, Apple menu → About This Mac and read "Memory". Full per-model picks are in the model picker.

Download a Hugging Face model into Ollama

Install Ollama first (steps in Run AI models on your own computer). Then:

  1. On Hugging Face, open a GGUF model page, for example bartowski/Qwen2.5-Coder-7B-Instruct-GGUF.
  2. Click Use this model (top right) and choose Ollama. Pick a quantization from the list, for example Q4_K_M, and copy the command it shows.
  3. Open Terminal (Mac) or PowerShell (Windows), paste the command and press Enter. It looks like:
    CommandPaste this into Terminal (Mac) or PowerShell (Windows).
    ollama run hf.co/bartowski/Qwen2.5-Coder-7B-Instruct-GGUF:Q4_K_M
  4. What you should see: "pulling manifest", then a progress bar while the file downloads, then "success" and a >>> prompt. Type a question to test it. Type /bye to exit.
  5. From now on the model appears in ollama list and in any app connected to Ollama, under the same hf.co/... name.

This works for any public GGUF model on Hugging Face (Hugging Face: use Ollama with any GGUF model). Many popular models are also in Ollama's own library under short names like qwen3:8b.

Download a Hugging Face model into LM Studio

  1. Open LM Studio and click the Discover tab (the magnifying glass in the left sidebar).
  2. Type the model name, for example "Qwen2.5 Coder 7B". Results come straight from Hugging Face.
  3. Click a result. On the right, LM Studio lists the available files and marks the ones likely to fit your machine, and warns when one is probably too large.
  4. Pick a Q4_K_M file (or an MLX 4-bit file on a Mac) and click Download. A progress bar appears at the bottom.
  5. When it finishes, go to the Chat tab, click the model selector at the top, choose the model and start typing.

Shortcut: on a Hugging Face model page, Use this model → LM Studio opens the model directly in LM Studio (LM Studio: download a model).

Fixing common problems

Keep going