The interesting number in Hugging Face’s write-up of ML Intern is not the accuracy — it is the bill. Yuvraj Sharma wanted a small version of the 9B prompt rewriter that ships with Qwen-Image 2.1, described it in a chat message, and had a 0.8B model the next day that runs on a CPU, returns valid output 99.7% of the time, and uses about a quarter of its teacher’s tokens. The compute for that project, including having the 9B model label 8,797 example requests, came to USD 16 (Hugging Face).
What was reported
- A 0.8B prompt rewriter distilled from a 9B teacher, running on CPU.
- 99.7% valid output, at about a quarter of the teacher’s token count.
- USD 16 of compute for the first project, including 8,797 teacher-labelled examples.
- Five more models built the same way after the first, each ending as a public model on the Hub with its evaluation in the model card.
- The agent plans the work, asks for a budget before spending, runs a small test before the real job, then trains, evaluates and publishes on Hugging Face hardware.
- Prompt length grew from about 450 words on the first project to roughly 2,000 by the sixth, as the author learned what the agent needed to be told.
The trade-off that matters
The citrus model in the same write-up improved from 14.9% to 52.8% accuracy on 335 test photos. That is a large relative gain and still a majority error rate: a specialised small model is a good fit when a narrow task has a high tolerance for wrong answers, and a bad one when it does not.
The arithmetic (ours)
Nine billion parameters to 0.8 billion is a factor of 11.25. If a distilled model holds most of its teacher’s quality on a narrow task, the cost per useful output falls by roughly that factor on memory and by more on latency — which is the whole economic argument for specialisation. The USD 16 figure also gives a reference point: 8,797 labelled examples for a few dollars implies labelling costs that were unthinkable for a lab as recently as 2024, and is the kind of number that makes “rent a little compute, train a small model” a viable alternative to calling a frontier API.
Why an AI-token holder should care
Two of the site’s data pages sit directly behind this. Decentralised inference pricing tracks what the same open model costs per million tokens at Bedrock, Chutes and Engy; a credible route to cheap task-specific 0.8B models moves demand toward exactly the small-model lanes those subnets sell. And GPU hour prices is where the training side is priced — a project that costs USD 16 in compute is not a customer for a GPU market at all, which is the uncomfortable implication for anyone assuming AI-token compute demand grows with every new model.
What we could not verify
- Whether the 99.7% valid-output rate holds outside the rewriter task.
- The per-project costs for the other six models. Only the first project’s compute figure is stated.
- Whether the distilled models match the teacher on quality, as opposed to validity of output format.
- Independent evaluation: every figure is the author’s own, published alongside his models rather than by a third party.
Vendor-adjacent account, written by the Hugging Face staff who ran it. The accuracy and cost figures are theirs; the parameter ratio and the labelling-cost argument are our arithmetic.