Tag
This article explains how to use the logprobs parameter in LLMs to implement Jev-style encapsulation for supporting structured queries, and extend to visual models via the attachments field for image processing, offering a flexible and customizable computer vision approach.
The article describes a Python wrapper for LLMs that uses token probabilities for classification tasks, extended to vision models with an example for real-time webcam frame analysis.
This article demonstrates how to use any GGUF model with llama.cpp for binary classification tasks, such as spam detection, by configuring parameters to output probabilities from logprobs.
The author shares experiments using a custom WebUI to let Gemma and Qwen models inspect their own logprobs to detect hallucinations. Initial observations suggest that first-recall token probabilities can indicate uncertainty, though both models struggle to read their own logprobs.
User discovers that OpenAI is hiding the 'logprobs' parameter in their newest models, limiting access to probability information.
ServiceNow engineers detail their migration from vLLM V0 to V1, focusing on resolving backend correctness issues like logprob semantics and runtime defaults to ensure stable reinforcement learning training dynamics.