How we test whether a local LLM can answer from your files
Imagine you have a weekday timetable saved on your drive. You ask whether the service runs on Saturday. In one of our tests, Qwen read that a service ran every weekday and concluded there was no Saturday service. Open the passage and you can see the problem. It tells you about weekdays. Saturday is still an open question.
That small mistake shaped how we test local language models for Offline Kit. We keep the question, the answer, and the passage together. Then we check whether a reader could reach the same conclusion from the file. Across three models tested through Ollama, Qwen3 4B Instruct earned the next trial on our 8 GB M1. Gemma 3 1B remains the default. Here’s what led us there.
Start with a passage you can check
First we gave each model the evidence ourselves. That let us test its reading without a search failure getting in the way. We marked an answer down for adding an unsupported detail, dropping a condition, or assigning a statement to the wrong source. If the file answered only part of the question, a good response had to preserve what the file said and identify what was missing.
| Installed model | What we asked it to do | What we learned |
|---|---|---|
Gemma 3 1B · gemma3:1b |
Answer 16 supplied-passage questions twice at its usual settings. | 22 of 32 answers were complete and supported. It sometimes omitted a requested detail, such as which loss function the code used. |
Qwen2.5-Coder 3B · qwen2.5-coder:3b |
Answer a separate fixed set with several prompts, including questions about code and conflicting editions. | Some API answers improved. It still mixed editions and attributed claims to the wrong source. |
Qwen3 4B Instruct · qwen3:4b-instruct-2507-q4_K_M |
Answer the same 16 questions as Gemma, twice. | 24 of 32 answers passed at its usual settings. At temperature zero it gave the same answer on all 16 repeat pairs, including the mistaken Saturday inference. |
The November run used a 24 GB M5. We kept the passages, prompts, 2,048-token context, and 256-token answer limit fixed for Gemma and Qwen3. Turning down the sampling temperature made answers more repeatable. Qwen’s score stayed at 24/32. The earlier Coder run used different questions, so its findings stand on their own.
Follow the answer back through the library
In December we let Offline Kit look up the passage. We chose 50 questions, asked each twice, and ran both models through the same experimental source-excerpt feature on the M5. We scored three things separately. Did the search find the needed facts? Did the model select the words that supported its answer? Did the answer shown to the reader get the question right?
| Check on the December 3 run | Gemma 3 1B | Qwen3 4B |
|---|---|---|
| Search returned the required source and facts | 84/90 | 84/90 |
| Model selected supporting text from the search results | 13/98 | 73/98 |
| Model selected supporting text when we supplied the reference passage | 9/98 | 80/98 |
| Displayed answer passed review | 17/100 | 80/100 |
Search gave both models the same starting point. The gap opened when they had to choose text that answered the question. Even with the reference passage in hand, Gemma often declined to select support. Each row counts the checks that applied. A question asking for an unstated fact, for example, has no supporting fact for search to find.
Qwen also took longer to start. After unloading each model, we waited 9.34 seconds for Qwen’s first request and 3.38 seconds for Gemma’s. Across the run, the median request finished in under a second for both. Those timings include the local answer workflow. A quick reply could also be a model declining to answer.

Ask fresh questions after a fix
We changed the excerpt feature so a model could select a numbered passage and Offline Kit could verify the original words. On a 64-question development set, Qwen passed all 128 displayed-answer checks. Most of those questions had already guided repairs. To see what would happen when the questions were unfamiliar, a separate evaluation agent prepared 16 and froze the expected answers before either model ran. Both models answered each question twice.

Qwen passed 24 of 32 answers using the library search. Gemma passed 20 of 32. Giving each model the reference passage recovered two more answers apiece. The fresh questions put the earlier perfect score in perspective. They also gave us specific failures to work on, including how to answer when a file supports only one part of a question.
By December 4, Qwen passed 286 of 286 answer checks across five sets used to verify repairs. We keep that figure with the repair record because the questions were familiar by then. One result you can see in the local app is a partial answer. Asked about a neuron’s representation and its peak memory use, the app returned the labels supported by the code and marked the memory figure as unestablished.
Take the comparison to the 8 GB M1 Mac
Gemma has already run on the 8 GB M1. During an earlier workload, macOS reported memory pressure at the warning level and swap grew by about 629 MiB. Qwen’s paired M1 run is still ahead. We’ve prepared the same questions and local model files so we can disconnect the Mac, time the first answer, and watch memory pressure and swap as questions continue. We’ll also check what happens when a reader cancels a reply or the model service stops.
You can try a small version with a file you know. In the local app, select an indexed document in Chat and enable Answer each question part with source excerpts (experimental). Ask for one detail you can point to and another the document leaves open. Then open the cited passage. You should be able to find the first detail in the original words and see where the answer leaves the second one open.
← Back to the blog