Ling-3.1-flash-1019-singprobe
Model Description
SingProbe is an intrinsic streaming guardrail for Ling-3.1-flash-1019. Its attention head reads three layers of the base model's hidden states during generation and scores query intent, response unsafety, and hallucination risk at each token.
The probe uses 8 attention heads with a head dimension of 64 and a 2,048-token window. The release weights use bfloat16. For the method and training code, see the SingProbe technical report and SingProbe repository.
Evaluation
Each benchmark has equal weight in its suite. Query F1 uses generated responses. Response safety F1 uses the benchmark-provided responses. For each F1 row, one threshold is selected across the suite to maximize mean F1.
Quick Start
Install the SingProbe build of SGLang. The example below downloads the probe and starts an eight-GPU server with the matching base model. Set MODEL_PATH to your local copy of Ling-3.1-flash-1019.
Read the per-token scores from meta_info.token_probe_probs in the /generate response. Keys label_0 through label_7 score query intent, label_8 scores response unsafety, and label_9 scores hallucination risk.
Citation