Seven of 305 official Ollama files barely solve any code tasks, a new audit finds

An audit found seven low-bit Ollama files solving at most six of 164 coding tasks. They are not corrupted, and one calibration step rescues most of the damage.

Paylaş
Seven of 305 official Ollama files barely solve any code tasks, a new audit finds

You pull a small model through Ollama, ask it to write code and get nonsense. The problem may not be yours. A study by Aditi Patodiya, updated on arXiv, ran 305 model files from Ollama's official library one by one. Seven of them, 2.3%, solved at most six of 164 coding tasks. The cause is the surprise: these files are not corrupted. They match their recipe exactly, and the recipe itself ruins these particular models.

What this is about

Most models that run locally go through quantization, a compression that stores the model's numbers in fewer bits so the file fits on an ordinary computer. Think of saving a photo at lower quality. At 80% nobody notices. Go too low and faces become unrecognizable. With models that breaking point is hard to predict. The registry pages and file metadata the study examined recorded no functional test.

How the test worked

On August 12, 2026 the study took every code-capable file of up to 8 GB from 15 model lines in Ollama's official library, plus 22 popular community files from Hugging Face. That made 327 files in total. Each went through a 15-task screen that takes about 30 seconds of generation per file. Suspects were rerun on all 164 HumanEval+ tasks and compared with healthy files from the same family, so that models that are simply weak were not flagged unfairly.

Seven official files proved non-functional, all low-bit versions of models with at most four billion parameters. They include several versions of Qwen2.5-Coder-3B and a low-bit phi3.5. Two community files turned out to fail for lack of a chat template, a correction made in the paper's third version.

The main finding

The author rebuilt five failing files from the original model using the same recipe. All five matched the registry file tensor for tensor, so nothing broke in transfer or conversion. The paper's first version had called these defective conversions, and that diagnosis was corrected. Then one thing changed. Same model, same toolchain, same tensor mix, with an importance matrix added. This calibration step uses sample text to measure which numbers the model really relies on and protects them during compression.

At three of the four failing levels of Qwen2.5-Coder-3B, scores rose from zero to between 76 and 113 of 164 tasks, or 46% to 69%. The model's 4-bit tag scores 80%. The smaller Qwen2.5-Coder-1.5B worked without calibration, so the recipe alone does not predict failure and files must be run to know. None of the 66 sampled files that passed the screen turned out to be non-functional, which suggests the screen does its job.

What it means for you

The great majority of local models are fine. The risk concentrates in 2-bit and 3-bit versions of the smallest models. If you use a small model for code, choose the 4-bit version and try a few simple tasks after downloading. The study recommends that registries screen low-bit files before publishing, then calibrate or withhold failures. The audit data and a tool called quantcheck are public.

There are limits. This is a single-author preprint that measures only coding tasks and reflects the library as of August. Results for writing, vision or chat could differ. The paper also notes that 26 of the 305 tags still lack a pre-tokenizer type two years after a known fix. To see the results from other angles, follow the assessments of independent researchers as well.

Sources: arXiv: Broken on Arrival, Full paper