News ·
Turning GLM-5.3-Flash into a Jev-like decision model
A write-up shows how GLM-5.3-Flash can be turned into a Jev-like decision model that returns typed decisions with per-option probabilities in a single forward pass, no fine-tuning needed.

The authors demonstrate that an off-the-shelf LLM, without fine-tuning, can act like a specialized decision model: given a state, a question, and named options, it returns a chosen option plus a probability for each one in a single forward pass. They evaluated GLM-5.3-Flash served on vLLM via Privatemode, comparing it against TypeSafe's Jev and Convai's Laya on a benchmark of 29 public, labeled datasets with 2 to 151 options. The setup is described as roughly on par with Jev in accuracy and speed, faster from Europe, and protected by confidential computing.
The technique works by exploiting the fact that an LLM outputs a probability distribution over its vocabulary. The prompt contains the options as JSON with indexes and ends prefilled with "choice_index:", so the first generated token is an option index. Instead of reading the emitted token, the library reads the probabilities the model assigned to the option indexes at that position, normalizes them over the options, and picks the most probable. Details that mattered for vLLM: allowed_token_ids restricts output to valid option tokens, top_logprobs is insufficient because it reports the pre-restriction distribution (formatting tokens crowd out options), logprob_token_ids returns logprobs for exactly the requested token ids, and token ids are fetched from the server via a /completions echo call since digits may not be single tokens.
The approach uses the /chat/completions endpoint with continue_final_message and add_generation_prompt set to false, which lets the model continue the prefilled turn and also accept images alongside text. That enables typed decisions on images, which the authors say Jev cannot do. For builders, this offers high-throughput decision making without generating full JSON, with confidence distributions useful for routing to human review, and without training a dedicated model. A playground and the benchmark code are available in the accompanying repository.
References
- Hacker News · privatemode.ai
Read the full story at Hacker News ↗Like, save or discuss on Buzz


