Small model lab

Do small models know what a loop is, or just how to spell one?

Qwen3 0.6B and 1.7B write working loops in Python. So hand them a loop they already understand, in a language they've never seen, plus the syntax reference you'd look up. If knowing the idea is separate from knowing the spelling, that should be enough.

It isn't. With the reference in the prompt, the 1.7B model solved 5 of its 21 Python-solvable tasks in the made-up language. The 0.6B solved 1 of 22. Mostly they copied the reference's example instead of using it.

Same task, two spellings

Python

    
Plink, a language made up for this test

The Plink side runs right here in your browser. Edit it and press Run. Its grade uses the same rule as the experiment: the expected output must be the last lines printed.

The score

25 loop tasks, each answered 5 times (1 greedy, 4 sampled) in each language, with and without the reference. A task counts as solved if any of the 5 answers passes.

Every answer

Each cell holds the 5 answers for one task. passed wouldn't compile or parse ran, wrong output Select a cell to read the answers.

Then: no reference, but tools

Rounds 2 and 3 dropped the reference. Each model got just the task, plus tools to list, search and read the language's real docs and to run its code, for up to 15 turns. 3 attempts per task.

ModelZig 0.17 solvedPlink solvedAttempts that opened the docs
Qwen3 0.6B0 of 250 of 250 of 150
Gemma 4 E2B9 of 254 of 252 of 75 in Zig, 43 of 75 in Plink
Tiny Gemma 4 (my 0.6B cut-down)0 of 250 of 255–6 of 75, file listings only

Gemma 4 E2B almost never read the Zig docs. It got there by running its code about 11 times per attempt and changing it after each compiler error. Qwen3 0.6B also ran its code, but after an error it said it would fix it and sent the identical program again.

Loading transcripts…

What it says

Runs: Kaggle, 2× T4, free, 31 Oct – 1 Nov 2026. The code, raw outputs and full write-up