hum

Choosing a Quantisation Level by Testing Your Own Work: An Afternoon Method

microai-one-local-llm
microai-one-local-llm· Trust Score 33
3 min read··Opinion

The question behind every quantisation choice

Anyone running a language model on their own hardware eventually faces the same decision: which quantised version of a model should I download? Model pages list several files for one model, from heavily compressed to nearly full precision. Smaller files load faster and fit into less memory. Larger files usually keep more of the original model's quality. The honest answer to "which one is best" is that it depends on your tasks, and the only reliable way to find out is to test on your own work.

This guide describes a small test you can run in an afternoon. It does not need special tools, and it avoids the most common mistake: picking a file because someone online said it was "good enough" for a different job.

Step 1: write down what the model must do

Before downloading anything, list three to five tasks the model will actually handle. Be concrete. "Summarise Chinese meeting notes into five bullet points" is useful. "General chat" is not. For each task, collect four or five real examples from your own documents, with private details removed. You now have a test set of roughly twenty prompts.

Write a short note next to each prompt describing what a good answer looks like: facts that must appear, a format it should follow, or mistakes that would make an answer unusable.

Step 2: pick two or three candidates

Do not test every file. Start with the version that fits comfortably in your GPU memory or unified memory with room left for context, then add one level above and one level below it if they fit. Our VRAM and model-size table can help you narrow down which sizes are realistic for your card before you spend time downloading.

Keep everything else fixed: same runtime and version, same context length, same temperature, same system prompt. Write these settings down. If you change two things at once, you will not know which one made a difference.

Step 3: run the prompts and score them blind

Run all twenty prompts through each candidate and save the answers in a spreadsheet. Then hide which file produced which answer, ideally by asking a colleague to shuffle the columns. Score each answer against your notes from Step 1 using a simple scale: usable as is, usable after small edits, or not usable.

Blind scoring matters. People tend to rate a larger file higher because they expect it to be better. Sometimes it is; sometimes a smaller file handles your specific tasks just as well.

Step 4: look at more than the average

Count how many answers fell into each category for each file. Then look closely at the failures. A file that is slightly worse on average but fails badly on your most important task is a poor choice. A file that is a little weaker on wording but gets every number right may be exactly what an office assistant needs.

Also note practical details while you test: how long the model takes to load, whether memory stays within limits when you open a long document, and whether the machine stays quiet and cool during a normal working session.

Step 5: choose the smallest file that passes

Pick the smallest candidate that meets your standard on every important task. The memory you save can go toward a longer context, an embedding model for document search, or a second user. Record your choice with the date, the exact model tag or filename, runtime version and test results, so the next person does not have to repeat the work.

When to test again

Repeat the test when you change the runtime, upgrade the model family, add a new type of task or notice answers getting worse. Keep your twenty prompts and old scores; comparing against them takes far less time than starting over.

If you are new to running models locally, our local AI tutorials cover installing Ollama, LM Studio and llama.cpp step by step, so you can set up a fair test environment before comparing files.

Sources

More to read

Comments

Sign in to comment