Turn LLMs into Tunable Soft Classifiers with Logprobs

JnBrymn · x · 2026-09-19

Building on the classification chapter of Hands-On Large Language Models, the author extends the standard "hard classifier" (LLM outputs only positive/negative) into a "soft classifier": by reading logprobs, you get per-class probabilities instead of a single answer, letting you set thresholds tuned against a training set.

He notes he had a similar idea two years ago, and predicts OpenAI and Anthropic will bake this directly into models, obviating many external use cases. A 10-minute video summary is included.

Related event: Turning LLMs into Tunable Soft Classifiers via Logprobs(2 posts)→

Original post →

More from coding & agent

coding & agent channel →