Skip to content
#

hidden-states

Here are 30 public repositories matching this topic...

CPU activation probes for AI-agent guardrails and classification. One frozen local model pass, many independent heads. Open models, code and reproducible benchmarks.

  • Updated Oct 19, 2026
  • Python

Pre-generation tool-call gating via linear probes on LLM hidden states. F1 ≈ 0.91–0.94 on BFCL v4, 14–22× faster than full generation. Cross-architecture transfer across Llama / Qwen / Phi / Mistral (3B–7B) with ≥96% retention.

  • Updated May 8, 2026
  • Jupyter Notebook

Principal component geometry and feature readout in Transformer hidden states (GPT-2, OPT, Qwen2.5). Shows 96–98% PC1 variance concentration is driven by the first token, while PC2–PC8 preserve transferable token-level surprisal across articles.

  • Updated Nov 5, 2026
  • Python

Add this topic to your repo

To associate your repository with the hidden-states topic, visit your repo's landing page and select "manage topics."

Learn more