Parameter Space Inspector

BLOG / HUGGING FACE

I found a model on Hugging Face. Is it any good for me?

A model card tells you what the maker measured. An evening with the Inspector tells you what the model does on your text: what the file really is, how surprised it is by your documents, where its answers fork, and whether it is the fine-tune it claims to be.

Updated 2026-10-25 · The Emergence Machine · Markdown version · RSS

I found a model on Hugging Face. Is it any good for me? A PSI Studio walkthrough: the five steps of an evening, what each one checks, the distance of light fine-tunes and of a look-alike from their base, and what it will not tell you

Who this is for. Anyone who browses Hugging Face, finds a model with a promising card and a few thousand downloads, and wants to know whether it is good for their own use before building on it. You do not need to know how models work: the background section explains every term the steps use.

Background: four ideas you need

1. The model file, and what it says about itself

To run a model on your own computer, you usually download a GGUF file: a header that describes the model (its architecture, its number of layers and heads, its dictionary, its chat template), followed by its weights, the billions of numbers every answer is computed from. The same model is often published at several quantisations: the weights rounded to fewer bits, so the file is smaller and faster but a little less precise. The quantisation is written in the file name: Q8_0 is about 8 bits a weight, Q4_K_M about 5, Q2_K about 3.

A model card is what the maker wrote. The header is what the file is. The File view reads the header without loading the weights: name, architecture, layers, width, heads, context, vocabulary, the quantisation recipe (for example "mostly Q4_K (medium)") and every metadata key. A value the header does not carry is shown as "absent from header". Its table Weights by storage type lists how every part of the model is stored, in bits per parameter.

2. Tokens and surprise: how well the model reads your text

A model reads text in tokens: pieces from its own dictionary. PSI calls them pieces. Before each piece, the model guesses what comes next, as odds over its whole dictionary. Surprise turns the odds it gave the piece that really came into bits:

Odds the model gave the real next piece Surprise
100% 0 bits
50% (a coin flip) 1 bit
1 in 1,000 about 10 bits
1 in a million about 20 bits

The Read view colours every piece of a text by its surprise: the brighter, the more surprising. Hover a piece for its odds, its surprise and what the model expected instead. Above the text it gives the average surprise per piece. Pieces that were not even among the model's top 20 guesses are off scale: drawn hatched, shown as "over N bits", and the headline average counts each at that floor ("average surprise ≥ X bits"). Two models reading the same text can be compared on that number: the one less surprised predicts your material better.

3. The fork map: where an answer is decided

When a model writes, it picks one piece at a time from its odds. The Generate view shows its answer as a fork map: one column per step, the piece it wrote on top and the pieces it could have written below, each with its odds. Most columns have one choice at 90% or more. A few are close calls: those forks decide where the answer goes. Click a choice in the map and the model rewrites the answer from that point, down the road it did not take.

4. Distance from the base, and the untrained twin

A fine-tune is a model trained a little further from a base model, so its weights stay close to the base's. PSI measures that closeness as a distance between the two sets of weights: a light fine-tune is a few hundredths away or less; a model that only shares the base's shape is much further. This is how Commons checks a card's claim "fine-tuned from X", and how it records a model's lineage.

The Understanding view asks questions next-word training never posed, each answer scored against a plausible wrong one, as a margin in nats (a unit of surprise: 1 nat is about 1.44 bits). Its baseline is the untrained twin: the same architecture with random weights. A test passes only when the model beats the twin by more than the noise (0.5 nats), so you see what training added, not what the architecture gives away.

What you need

  • PSI installed and running. See Install.
  • For steps 1 to 4, the local model: llama.cpp and the model as a GGUF file. No Python and no GPU are needed, though a GPU is faster.
  • For steps 5 and 6, the inside engine: Python 3.12 with PyTorch and the model's unpacked folder (its full-precision weights), with about 9 GB of free GPU memory for a model the size of Qwen3-4B, or slowly on the processor. See What each view needs.
  • The model you found, and the base model or the model you use today to compare it with. PSI ships no model: you bring them, from Hugging Face or any download. Most popular models have a GGUF repository (its name usually ends in -GGUF). PSI can fetch both kinds once a Hugging Face token is saved in Settings > Hugging Face.
  • A page of your own text, typical of what you will give the model, and the question your users ask.
  • Somewhere to write down a few numbers, for example a copy of this table:
The model you found Base, or the model you use today
Architecture and quantisation (File)
Average surprise on your page (the ≥ number)
Off scale (hatched)
The three brightest pieces
Odds at the fork that decides your answer
Distance from the base (Commons)
Understanding tests passed against the twin

Steps

Step 1. Get the model into PSI

  1. Press the gear button (⚙, Model settings) at the top right. This opens Settings.
  2. If you downloaded the GGUF yourself, skip to point 4. Otherwise, under Import from Hugging Face, paste the model's address (https://huggingface.co/owner/name, or a link to one .gguf file) and press Get. If the section is not there, press Set up Hugging Face and save a token first.
  3. A card appears: the licence, whether the model is gated (accept its terms on its page first), which engine can read it, its size and whether it fits your GPU. Choose a file and press Get this GGUF. For steps 5 and 6, also press Get the weights folder.
  4. Under Local model, pick the .gguf and press Load (or Scan folder to look in another folder, or paste the full path and press Load this file). Wait until the line under the list says Loaded.

Step 2. Read the file, not the card

  1. Open the File view (under Look inside). It shows the architecture, the layer and head counts, the quantisation of every tensor, the tokenizer and the chat template.
  2. Two things to check: that the architecture matches the card's claim, and the quantisation, since a Q4 file of a great model can be a weak model. Look at Weights by storage type for the full picture.
  3. Look for a licence among the metadata keys. One surprise we met on the way: a file often does not carry its own licence, so the card and the base model's terms are the only record.

Step 3. Feed it your text

  1. Open Read (under Start here). Delete the sample text in the box.
  2. Paste a page that is typical of what you will give it: a ticket, a contract, a chapter, a code file. Press Read it.
  3. When it finishes, the line next to the button gives the pieces scored, the average surprise (the ≥ number) and how many pieces are off scale. Write them down.
  4. Hover the three brightest pieces and write down each one and its surprise.
  5. Do the same with the base model or the model you use today: load it in Settings (step 1, point 4), wait for Loaded, and read exactly the same page.

The one that is less surprised by your text understands it better, and the bright pieces tell you where each one struggles.

Step 4. Ask it your question

  1. Load the model you found again, and open Generate (under Start here).
  2. Replace the question in the box with the question your users ask, and press Generate (or Ctrl+Enter).
  3. Look at the fork map. If the answer is decided at a fork where the top choice had only 60 to 70%, click the other road and see what it would have said instead. Your pick is drawn dotted, so you can tell it from the model's own choice.
  4. Write down the odds at the fork that decides the answer.

A model that is confident and right at the forks is the one you want; a model that is confident and wrong is the one the card did not warn you about.

Step 5. Check the lineage

If the card says "fine-tuned from X", run the distance screen in Commons:

  1. Open Commons (under Beta) and go to Recipes, part 5 · the second path: merge public models from Hugging Face.
  2. Type the base the card names (for example Qwen/Qwen2.5-0.5B) and press Find models that merge with it. PSI lists that base's public fine-tunes and marks which ones have the same shape. It reads configs and file lists only.
  3. Tick the model you found and press Make the recipe. This downloads the base and the model once, each file checked against its hash.
  4. In the recipe's check, read the from base column: the distance of the model from the base. A model far from the base is flagged "Far from the base".

Light fine-tunes sit at 0.0004 to 0.04 from their base; a look-alike trained from scratch sat at 0.56 in our tests. The screen also names the parent the model was really trained from, which is the licence you inherit.

Step 6. Score it against the twin

  1. Point the inside engine at the model's weights folder: after Get the weights folder in step 1, press Use it for the inside engine; or in Settings, under Inside-the-model engine, set the weights folder and press Save and restart the engine.
  2. Open Understanding (under Experiments) and press Run the tests.
  3. Press Measure the untrained twin. It builds a randomly initialised copy of the same configuration, which takes as much memory again as the model.
  4. Read each row: the model's margin, the twin's beside it, and the verdict. A difference within ±0.5 nats is "within noise".

Every score is reported beside an untrained twin of the same architecture, so you see what training added rather than what the architecture gives away.

What you will see

Compare your filled-in table with what follows; the distances in step 5 are the ones to check yours against.

Usually a model that is roughly what its card says, with one or two places where your text trips it. Sometimes a model that is not a fine-tune of what it claims, or a quantisation that lost the numbers you care about. Either way you leave with measurements on your own material, which is what the card could never give you.

What it will not tell you

Whether the model is safe or compliant for your setting. The Inspector measures what the model does; your policy decides what that means.

Keep what you learned

Keep the table you filled in: it is your record of this model on your material. Understanding keeps its results in this browser, per model. The Self-portrait view reads the stored results that come with PSI, so a model PSI has not measured has no page there yet.

Questions people ask

How do I know if a Hugging Face model is good for my use?

Measure it on your own text. In PSI's Read view, paste a page typical of your use into that model and into the one you use today: the one less surprised by your text understands it better, and the bright tokens show where each struggles. Then ask your users' question in Generate and look at the forks.

Does a GGUF model file include its licence?

Often not: a GGUF file often does not carry its own licence, so the model card and the base model's terms are the only record. PSI's File view shows what the file does carry: architecture, layer and head counts, the quantisation of every tensor, the tokenizer and the chat template.

Can PSI tell me if a model is safe or compliant?

No. PSI measures what the model does; your policy decides what that means for safety or compliance in your setting.