The real tokenmaxxing move: use frontier agents to build small classifiers for large-scale data curation.
Small classifiers already help curate the data used to train LLMs. I wanted to see how far an agent could take me in building one.
I used Astra, SetFit and
@huggingface Jobs to turn 200 agent-labelled examples into a reusable document-purpose classifier, reviewing the categories and tricky cases along the way.
It classified 191,724 FinePDFs-Edu documents for ~$0.70 in inference compute, versus an estimated $13โ26 to label the same document excerpts with low-cost batch LLMs.
Training experiments added ~$2.90 in compute.
Workflow, mistakes, reusable model and a prompt to try on your own data: