Which Hugging Face model files to download: one of three routes
By Christophe Paka · Facts checked on 7 November 2026
You open the Files and versions tab to grab a model. You meet config files, three tokenizer files, safetensors shards and an index. Somewhere else sits a pile of GGUF files with names like Q4_K_M. As one reader put it: "I just don't really know what to download."
Grab the wrong set and you lose an evening to gigabytes your tool cannot open, or you run a risky file from a stranger. The fix is simple. Hugging face model files serve several tools at once, and you need exactly one route. The figure sorts the list.
Short answer if you only want to chat with a model in an app such as Ollama or LM Studio: take one GGUF file, a single file that holds the whole model. The rest of the list serves Python code and adapters.

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
Route A: the whole safetensors set. The top of the list feeds Transformers, the Hugging Face library that loads and runs models from Python code: README.md (the model card), config.json (the model's shape), three tokenizer files, the safetensors shards and the index. The figure names the Transformers call that loads these files,
from_pretrained(); a pipeline, the one line shortcut most tutorials use, makes it for you. You take the whole set.Know what a shard is. A shard is one piece of a big model file cut into several files, named like
model-00001-of-00002.safetensors. The index file says which piece sits in which shard. You never pick one shard;hf downloadfetches the set.Route B: one GGUF file. GGUF files most often live in a companion repo whose name ends in
-GGUF. A GGUF file is complete on its own; Ollama, LM Studio and llama.cpp, apps that run a model on your computer, load one. Each file is a quant level: how hard the model was squeezed to shrink it. In Q4_K_M, Q4 means about 4 bits per number. Q4_K_M is the usual first pick on home hardware.Route C: the small adapter pair. An adapter is a small add on that changes how a model behaves, loaded on top of an unchanged base model: the original model it starts from. The repo holds two files,
adapter_config.jsonandadapter_model.safetensors, megabytes, not gigabytes. PEFT, the Hugging Face library for these small add ons, loads it onto a base model you already have.Read the box at the bottom. You need exactly one route: the whole safetensors set, or one GGUF file, or the adapter pair on a base you already run. Never everything. Pick the route your tool uses and ignore the rest. The landmarks around it are in the book.
Key takeaways
- Pick the route by your tool: Transformers takes the safetensors set, Ollama or LM Studio take one GGUF file.
- Take .safetensors or .gguf files and skip .bin, .pt, .pth or .ckpt pickle files whenever both exist.
- Treat a repo of only a few megabytes as an adapter, and check which base model it needs.
Worked example: one big model, two routes
The book's large example is Qwen/Qwen3.8-27B. Count what each route makes you download.
- Route A: the main repo holds 18 safetensors shards, about 55.6 GB together, plus the index, config and tokenizer files. Let
hf downloadfetch the whole set. - Route B: search the catalog for the model name plus GGUF. The companion repo
bartowski/Qwen3.8-27B-GGUFholds the fileQwen3.8-27B-Q4_K_M.gguf. That Q4_K_M file weighs 17.44 GB. - Judge the uploader as you would on the model page: prefer the maker's own GGUF repo, or a converter with many downloads.
- Compare: route A is many files for Transformers; route B is one file a runner loads with nothing else.
Result: For a runner such as Ollama or LM Studio, one 17.44 GB file stands in for about 55.6 GB of shards. You never need both.
Questions readers ask
How do I know what to download from a Hugging Face repo?
Ask which tool will run the model. Transformers in Python needs the whole safetensors set with its config, tokenizer files and index. Ollama, LM Studio and llama.cpp need one GGUF file. An adapter needs its two adapter files plus a base model you already have.
Are .bin and .ckpt model files safe to download?
Those are pickle files, an older Python format that can run code the moment a library loads it. Safetensors stores numbers only and cannot run code. When a repo offers .safetensors or .gguf, take those. Treat a stranger's repo with only pickle weights like an email attachment named invoice.exe.
Can I pull models from Hugging Face into Ollama?
Yes, through route B. Ollama loads one GGUF file. Look for a companion repo whose name ends in GGUF, or press the Use this model button on the model page, which gives ready made commands for Ollama or LM Studio.
Sources: Downloading models (Hub docs); bartowski/Qwen3.8-27B-GGUF.
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


