A base LLM plus 11 lines of code is all you need for a decision model

helloiamleonie · x · 2026-11-02

Engineer Leonie shares her prep for an upcoming talk at @aiDotEngineer in Shanghai: building a decision model takes just a base LLM and 11 lines of code. The accompanying snippet shows classification with LiquidAI LFM3-1.7B — route a support ticket by scoring label tokens (A/B/C) from one forward pass, then softmax into probabilities (0.23/0.70/0.07). She notes the approach has caveats, to be covered in the talk.

Original post →

More from coding & agent

coding & agent channel →