Labelling 40k support tickets with an 8B model — lessons learned
We needed 40k historical support tickets labelled into 14 categories for a classifier fine-tune. Hand-labelling was quoted at more than the GPU cost of everything else combined, so we used a local 8B with a structured-output prompt instead. What worked:
- Two-pass labelling. First pass labels, second pass re-reads only the low-confidence ones with the label definitions inlined. Caught ~9% flips.
- Five examples per category in the prompt, chosen from a hand-labelled seed of 300. More examples didn't help; fewer hurt.
- Temperature 0 and a JSON schema — free-text rationales before the label made everything worse.
End result: spot-checking 1,000 tickets by hand gave 94% agreement with the model labels, good enough for our purposes. The full pipeline ran overnight on one 4090.
Did you measure agreement per category? In my experience the failures cluster — the model is 99% on "billing" and 70% on whatever two categories the humans also argue about. Those tail categories are where the second pass earns its keep.
Excellent writeup — this is exactly the kind of concrete pipeline post the dataset channel keeps asking for. One suggestion for the wiki version: include the seed-set selection method. Whether those 300 examples were random or stratified probably explains half the variance people see trying to reproduce this.